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 61<br />

<strong>The</strong> subgrid values are updated within the main iteration loop of the CFD<br />

code. After 〈U〉, k, and ε or ω in the main grid have been updated in one<br />

iteration, the subgrid update function is called. This function is essentially<br />

the main iteration loop of another, embedded CFD code that performs one<br />

iteration <strong>to</strong> solve for 〈U〉, k, and ˜ε or ω in the subgrid. Before the subgrid<br />

calculations are performed, data are taken from the main grid <strong>to</strong> act as<br />

boundary conditions on the subgrid. After the subgrid is updated, subgrid-<br />

averaged values are extracted in order <strong>to</strong> act as wall function inputs <strong>to</strong> the<br />

next main grid iteration. Thus, there is a cyclic exchange of information.<br />

<strong>The</strong> data required as input <strong>to</strong> the subgrid calculation are the values of 〈U〉,<br />

k, and ε or ω at the outer extent of the subgrid (where the subgrid ends and<br />

the main grid transport equations begin). Transport equations are solved in<br />

every subgrid cell (except in the case of the k-ω model, where the very-near-<br />

wall values of ω are prescribed, as discussed above). At the wall node, zero<br />

values of 〈U〉, k, and ˜ε are set. At the node placed farthest from the wall,<br />

at the outer-most point on the subgrid, the values of 〈U〉, k, and ˜ε or ω are<br />

set as being equal <strong>to</strong> the corresponding values linearly interpolated from the<br />

two nearest main grid nodes.<br />

<strong>The</strong> boundary conditions on the main grid are more complex. 〈U〉 receives its<br />

boundary condition as in the above section on log-law wall functions, except<br />

that the wall shear stress, τw is obtained from the application of New<strong>to</strong>n’s<br />

law of viscosity at the subgrid’s near-wall cell node:<br />

<br />

∂ 〈U〉 <br />

τw = ρν <br />

∂y<br />

y=0<br />

Taking s1 as the near-wall subgrid cell node and discretising ∂〈U〉<br />

∂y<br />

<br />

<br />

y=0<br />

(4.28)<br />

within

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

Saved successfully!

Ooh no, something went wrong!