16.08.2013 Views

The UMIST-N Near-Wall Treatment Applied to Periodic Channel Flow

The UMIST-N Near-Wall Treatment Applied to Periodic Channel Flow

The UMIST-N Near-Wall Treatment Applied to Periodic Channel Flow

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

CHAPTER 4. NUMERICAL IMPLEMENTATION 53<br />

<strong>The</strong> discretised transport equation for k is<br />

kP − k t−1<br />

P<br />

∆t ∆yp =<br />

<br />

ν + νt<br />

<br />

∂k<br />

∂y<br />

where<br />

σk<br />

n<br />

+Pk∆yp − ε∆yp<br />

Pk = νt<br />

n<br />

〈U〉n − 〈U〉 s<br />

∆yp<br />

and 〈U〉 n and 〈U〉 s are interpolated values.<br />

<br />

ν + νt<br />

−<br />

2<br />

σk<br />

s<br />

<br />

∂k<br />

∂y s<br />

(4.8)<br />

(4.9)<br />

Discretised transport equations for ˜ε and ω can be found in a similar manner.<br />

Some further equations whose discretised forms are noteworthy are<br />

⎛<br />

⎞2<br />

∂〈U〉 ∂〈U〉<br />

− ∂y<br />

∂y<br />

E = 2ννt ⎝ n<br />

s ⎠<br />

∆yp<br />

⎛<br />

ˆε = 2ν ⎝<br />

√k n<br />

−<br />

∆yp<br />

√k s<br />

⎞<br />

⎠<br />

2<br />

(4.10)<br />

(4.11)<br />

Thus, an algebraic equation may be generated for each node P . <strong>The</strong> discre-<br />

tised differential equations are expressed in the code in the form<br />

(AP − SP ) φp = ANφN + ASφS + SU<br />

(4.12)<br />

where φ is the unknown parameter from the original differential equation.<br />

AP , AN and AS are coefficients on nodal values. Previous time step infor-<br />

mation is included as a source. <strong>The</strong> source is split in<strong>to</strong> two terms, SU and<br />

SP φp for reasons of numerical stability. It is advantageous <strong>to</strong> have a large<br />

coefficient on φp, so negative quantities are sometimes moved from SU in<strong>to</strong><br />

SP (dividing by φp) <strong>to</strong> artificially increase this coefficient. At other times,<br />

sources involve a product of φp, and the use of SP is a natural choice.

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

Saved successfully!

Ooh no, something went wrong!