20.11.2014 Views

PPKE ITK PhD and MPhil Thesis Classes

PPKE ITK PhD and MPhil Thesis Classes

PPKE ITK PhD and MPhil Thesis Classes

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2.3 Computational Fluid Flow Simulation on Body Fitted Mesh Geometry<br />

with IBM Cell Broadb<strong>and</strong> Engine <strong>and</strong> FPGA Architecture 59<br />

Notations |ū| <strong>and</strong> |¯c| represent the average value of the u velocity component <strong>and</strong><br />

the speed of sound at an interface, respectively.<br />

A vast amount of experience has shown that these equations provide a stable<br />

discretization of the governing equations if the time step obeys the following<br />

Courant-Friedrichs-Lewy condition (CFL condition):<br />

∆t ≤<br />

min (∆x, ∆y)<br />

min<br />

. (2.14)<br />

(i,j)∈([1,M]×[1,N]) |u i,j | + c i,j<br />

2.3.2.4 The Second-order Scheme<br />

The overall accuracy of the scheme can be raised to second-order if the spatial <strong>and</strong><br />

the temporal derivatives are calculated by a second-order approximation. One<br />

way to satisfy the latter requirement is to perform a piecewise linear extrapolation<br />

of the primitive variables P L <strong>and</strong> P R at the two sides of the interface in (2.10).<br />

This procedure requires the introduction of additional cells with respect to the<br />

interface, i.e. cell LL (left to cell L) <strong>and</strong> cell RR (right to cell R). With these<br />

labels the reconstructed primitive variables are<br />

with<br />

P L = P L + g L (δP L , δP C )<br />

2<br />

, P R = P R − g R (δP C , δP R )<br />

, (2.15)<br />

2<br />

δP L = P L − P LL , δP C = P R − P L , δP R = P RR − P R (2.16)<br />

while g L <strong>and</strong> g R are the limiter functions.<br />

The previous scheme yields acceptable second-order time-accurate approximation<br />

of the solution, only if the variations in the flow field are smooth. However,<br />

the integral form of the governing equations admits discontinuous solutions as<br />

well, <strong>and</strong> in an important class of applications the solution contains shocks. In<br />

order to capture these discontinuities without spurious oscillations, in (2.15) we<br />

apply the minmod limiter function, also:<br />

⎧<br />

δP L if |δP L | < |δP C |<br />

⎪⎨ <strong>and</strong> δP L δP C > 0<br />

g L (δP L , δP C ) = δP C if |δP C | < |δP L |<br />

<strong>and</strong> δP L δP C > 0<br />

⎪⎩<br />

0 if δP L δP C ≤ 0<br />

The function g R (δP C , δP R ) can be defined analogously.<br />

(2.17)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!