72
73 Momentum equations
For u -momentum Eq. 9.1.1 becomes:
πππ’π = πππ’π+ ππΈπ’πΈ+ πππ’π+ πππ’π+ πππ’π+ ππ΅π’π΅+ ππ’ (9.1.2) Where ππ’ also includes the ππ‘πππ
At the inlet, velocities are known. In Fig. 9.1, inlet boundary is the west face of the cell with center P. The top and bottom face of the control volume can be found in the perpendicular direction of the two dimensional cell. When a Dirichlet type boundary condition is applied, for momentum equations this means, the mass flux πΉπ€ is known from known velocities at inlet.
That is
πΉπ€ = π[π’πππππ‘{(π¦π β π¦π )π€(π§π‘β π§π)π€β (π¦π‘β π¦π)π€(π§πβ π§π )π€}
+ π£πππππ‘{(π₯π‘β π₯π)π€(π§πβ π§π )π€β (π₯πβ π₯π )π€(π§π‘β π§π)π€}
+ π€πππππ‘{(π₯πβ π₯π )π€(π¦π‘β π¦π)π€ β (π₯π‘β π₯π)π€(π¦πβ π¦π )π€}] (9.1.3) Now, Eq. 9.1.2 can be modified by using the following condition,
ππ€ = 0 (9.1.4)
ππ = {π·π€+ πππ₯(πΉπ€, 0)} + ππΈ + ππ+ ππ+ ππ+ ππ΅+ πππ
+ [πΉπβ πΉπ€ + πΉπβ πΉπ + πΉπ‘β πΉπ] (9.1.5)
ππ’ = [{ππ1(π’πβ π’π )π+ ππ2(π’π‘β π’π)π}
β {ππ€1(π’πβ π’π )π€ + ππ€2(π’π‘β π’π)π€} + {ππ1(π’πβ π’π€)π + ππ2(π’π‘β π’π)π}
β {ππ 1(π’πβ π’π€)π + ππ 2(π’π‘β π’π)π } + {ππ‘1(π’πβ π’π€)π‘+ ππ‘2(π’πβ π’π )π‘}
β {ππ1(π’πβ π’π€)π+ ππ2(π’πβ π’π )π}]
+ π{[πΉππ’πβ πΉπ€π’π€ + πΉππ’π β πΉπ π’π +πΉπ‘π’π‘β πΉππ’π]ππ·π
β [πΉππ’πβ πΉπ€π’π€+ πΉππ’π β πΉπ π’π +πΉπ‘π’π‘β πΉππ’π]πΆπ·π}
+ {π·π€+ πππ₯(πΉπ€, 0)}π’πππππ‘+ ππππ’ππ+ ππ‘πππ (9.1.6)
Other quantities remain unchanged.
Turbulent kinetic energy and dissipation equations
ππππ = ππππ+ ππΈππΈ+ ππππ+ ππππ+ ππππ+ ππ΅ππ΅+ ππ (9.1.7) ππΞ΅π = ππΞ΅π+ ππΈΞ΅πΈ+ ππΞ΅π+ ππΞ΅π+ ππΞ΅π+ ππ΅Ξ΅π΅+ πΞ΅ (9.1.8)
74 where for turbulent kinetic energy we have extra terms embedded in ππ and ππ arising from production and dissipation as follows:
ππ = ππ+ ππΈ+ ππ+ ππ+ ππ + ππ΅+ πππ+ππβ ππβπππΏπ
+ [πΉπβ πΉπ€ + πΉπβ πΉπ + πΉπ‘β πΉπ] (9.1.9)
ππ= [{ππ1(ππ β ππ )π+ ππ2(ππ‘β ππ)π}
β {ππ€1(ππβ ππ )π€+ ππ€2(ππ‘β ππ)π€} + {ππ1(ππβ ππ€)π + ππ2(ππ‘β ππ)π}
β {ππ 1(ππβ ππ€)π + ππ 2(ππ‘β ππ)π } + {ππ‘1(ππ β ππ€)π‘+ ππ‘2(ππβ ππ )π‘}
β {ππ1(ππβ ππ€)π+ ππ2(ππβ ππ )π}]
+ π{[πΉπππβ πΉπ€ππ€+ πΉπππ β πΉπ ππ +πΉπ‘ππ‘β πΉπππ]ππ·π
β [πΉπππβ πΉπ€ππ€+ πΉπππ β πΉπ ππ +πΉπ‘ππ‘β πΉπππ]πΆπ·π}
+ (πΊπ)πΏπ + ππππππ (9.1.10)
And similarly for turbulent dissipation equation we have extra terms embedded in ππ and ππ as follows:
ππ = ππ+ ππΈ+ ππ+ ππ+ ππ + ππ΅+ πππ+ππβ ππππ
+ [πΉπβ πΉπ€ + πΉπβ πΉπ + πΉπ‘β πΉπ] (9.1.11)
ππ = [{ππ1(ππβ ππ )π+ ππ2(ππ‘β ππ)π}
β {ππ€1(ππ β ππ )π€ + ππ€2(ππ‘β ππ)π€} + {ππ1(ππβ ππ€)π+ ππ2(ππ‘β ππ)π}
β {ππ 1(ππβ ππ€)π + ππ 2(ππ‘β ππ)π } + {ππ‘1(ππβ ππ€)π‘+ ππ‘2(ππβ ππ )π‘}
β {ππ1(ππβ ππ€)π+ ππ2(ππβ ππ )π}]
+π{[πΉπππβ πΉπ€ππ€+ πΉπππβ πΉπ ππ +πΉπ‘ππ‘β πΉπππ]ππ·π
β [πΉπππβ πΉπ€ππ€+ πΉπππβ πΉπ ππ +πΉπ‘ππ‘β πΉπππ]πΆπ·π} + πΆπ1ππβ
πππΊππΏπ + ππππππ
(9.1.12) With mass flux given by prescribed velocities, one needs to provide known values at inlet for turbulent kinetic energy and dissipation. That is, π·π = ππ€ = ππππππ‘ and, π·π = ππ€ = ππππππ‘ . For Turbulent kinetic energy this means
75
ππ€ = 0 (9.1.13)
ππ = {π·π€ + πππ₯(πΉπ€, 0)} + ππΈ+ ππ+ ππ+ ππ+ ππ΅+ πππ+ ππβ ππβπππΏπ
+ [πΉπβ πΉπ€ + πΉπβ πΉπ + πΉπ‘β πΉπ] (9.1.14)
ππ= [{ππ1(ππ β ππ )π+ ππ2(ππ‘β ππ)π}
β {ππ€1(ππβ ππ )π€+ ππ€2(ππ‘β ππ)π€} + {ππ1(ππβ ππ€)π + ππ2(ππ‘β ππ)π}
β {ππ 1(ππβ ππ€)π + ππ 2(ππ‘β ππ)π } + {ππ‘1(ππ β ππ€)π‘+ ππ‘2(ππβ ππ )π‘}
β {ππ1(ππβ ππ€)π+ ππ2(ππβ ππ )π}]
+ π{[πΉπππβ πΉπ€ππ€+ πΉπππ β πΉπ ππ +πΉπ‘ππ‘β πΉπππ]ππ·π
β [πΉπππβ πΉπ€ππ€+ πΉπππ β πΉπ ππ +πΉπ‘ππ‘β πΉπππ]πΆπ·π}
+ {π·π€+ πππ₯(πΉπ€, 0)}ππππππ‘+ (πΊπ)πΏπ + ππππππ (9.1.15) For Turbulent dissipation equation this means,
ππ€ = 0 (9.1.16)
ππ = {π·π€ + πππ₯(πΉπ€, 0)} + ππΈ+ ππ+ ππ+ ππ+ ππ΅+ πππ+ ππβ ππππ
+ [πΉπβ πΉπ€ + πΉπβ πΉπ + πΉπ‘β πΉπ] (9.1.17)
ππ = [{ππ1(ππβ ππ )π+ ππ2(ππ‘β ππ)π}
β {ππ€1(ππ β ππ )π€ + ππ€2(ππ‘β ππ)π€} + {ππ1(ππβ ππ€)π+ ππ2(ππ‘β ππ)π}
β {ππ 1(ππβ ππ€)π + ππ 2(ππ‘β ππ)π } + {ππ‘1(ππβ ππ€)π‘+ ππ‘2(ππβ ππ )π‘}
β {ππ1(ππβ ππ€)π+ ππ2(ππβ ππ )π}]
+ π{[πΉπππβ πΉπ€ππ€+ πΉπππβ πΉπ ππ +πΉπ‘ππ‘β πΉπππ]ππ·π
β [πΉπππβ πΉπ€ππ€+ πΉπππβ πΉπ ππ +πΉπ‘ππ‘β πΉπππ]πΆπ·π} + {π·π€+ πππ₯(πΉπ€, 0)}ππππππ‘+ πΆπ1ππβ
πππΊππΏπ + ππππππ
(9.1.18)
Pressure correction equations
Since the inlet boundary mass fluxes are known (or treated as such), they need not be corrected.
This is equivalent to prescribing zero-gradient boundary conditions for the pressure-correction equation, which is readily implemented by setting to zero the coefficient (ππ in this case) of
76 pressure correction equation, corresponding to the boundary node. The same treatment also applies for outlet, symmetry and wall boundaries. Pressure correction equation for a control volume near the west boundary is given below.
ππππβ² = ππππβ² + ππΈππΈβ² + ππππβ² + ππππβ² + ππππβ² + ππ΅ππ΅β² + b (9.1.19) Where
ππ = ππ+ ππΈ+ ππ+ ππ+ ππ + ππ΅ (9.1.20)
ππ = 0 (9.1.21)
ππΈ = π { πΌπ’( 1
ππ)π{(π¦πβ π¦π )(π§π‘β π§π) β (π¦π‘β π¦π)(π§πβ π§π )}π2 + πΌπ£( 1
ππ)π{(π₯π‘β π₯π)(π§πβ π§π ) β (π₯πβ π₯π )(π§π‘β π§π)}π2 + πΌπ€( 1
ππ)π{(π₯πβ π₯π )(π¦π‘β π¦π) β (π₯π‘β π₯π)(π¦πβ π¦π )}π2}
(9.1.22)
ππ = π { πΌπ’( 1
ππ)π{(π¦π‘β π¦π)(π§πβ π§π€) β (π¦πβ π¦π€)(π§π‘β π§π)}π2 + πΌπ£( 1
ππ)π{(π₯πβ π₯π€)(π§π‘β π§π) β (π₯π‘β π₯π)(π§πβ π§π€)}π2 + πΌπ€( 1
ππ)π{(π₯π‘β π₯π)(π¦πβ π¦π€) β (π₯πβ π₯π€)(π¦π‘β π¦π)}π2}
(9.1.23)
ππ = π { πΌπ’( 1
ππ)π {(π¦π‘β π¦π)(π§πβ π§π€) β (π¦πβ π¦π€)(π§π‘β π§π)}π 2 + πΌπ£( 1
ππ)π {(π₯πβ π₯π€)(π§π‘β π§π) β (π₯π‘β π₯π)(π§πβ π§π€)}π 2 + πΌπ€( 1
ππ)π {(π₯π‘β π₯π)(π¦πβ π¦π€) β (π₯πβ π₯π€)(π¦π‘β π¦π)}π 2}
(9.1.24)
ππ = π { πΌπ’( 1
ππ)π‘{(π¦π β π¦π€)(π§πβ π§π ) β (π¦πβ π¦π )(π§πβ π§π€)}π‘2 + πΌπ£( 1
ππ)π‘{(π₯πβ π₯π )(π§πβ π§π€) β (π₯πβ π₯π€)(π§πβ π§π )}π‘2 + πΌπ€( 1
ππ)π‘{(π₯πβ π₯π€)(π¦πβ π¦π ) β (π₯πβ π₯π )(π¦πβ π¦π€)}π‘2}
(9.1.25)
77 ππ΅ = π { πΌπ’( 1
ππ)π{(π¦πβ π¦π€)(π§πβ π§π ) β (π¦π β π¦π )(π§πβ π§π€)}π2 + πΌπ£( 1
ππ)π{(π₯πβ π₯π )(π§πβ π§π€) β (π₯πβ π₯π€)(π§πβ π§π )}π2 + πΌπ€( 1
ππ)π{(π₯πβ π₯π€)(π¦πβ π¦π ) β (π₯πβ π₯π )(π¦πβ π¦π€)}π2}
(9.1.26) π = π[π’πππππ‘{(π¦πβ π¦π )π€(π§π‘β π§π)π€ β (π¦π‘β π¦π)π€(π§πβ π§π )π€}
+ π£πππππ‘{(π₯π‘β π₯π)π€(π§πβ π§π )π€β (π₯πβ π₯π )π€(π§π‘β π§π)π€} + π€πππππ‘{(π₯πβ π₯π )π€(π¦π‘β π¦π)π€ β (π₯π‘β π₯π)π€(π¦πβ π¦π )π€}]
β π[π’πβ{(π¦πβ π¦π )π(π§π‘β π§π)πβ (π¦π‘β π¦π)π(π§πβ π§π )π} + π£πβ{(π₯π‘β π₯π)π(π§πβ π§π )πβ (π₯πβ π₯π )π(π§π‘β π§π)π} + π€πβ{(π₯πβ π₯π )π(π¦π‘β π¦π)πβ (π₯π‘β π₯π)π(π¦πβ π¦π )π}]
+ π[π’π β{(π¦π‘β π¦π)π (π§πβ π§π€)π β (π¦πβ π¦π€)π (π§π‘β π§π)π } + π£π β{(π₯πβ π₯π€)π (π§π‘β π§π)π β (π₯π‘β π₯π)π (π§πβ π§π€)π } + π€π β{(π₯π‘β π₯π)π (π¦πβ π¦π€)π β (π₯πβ π₯π€)π (π¦π‘β π¦π)π }]
β π[π’πβ{(π¦π‘β π¦π)π(π§πβ π§π€)π β (π¦πβ π¦π€)π(π§π‘β π§π)π} + π£πβ{(π₯πβ π₯π€)π(π§π‘β π§π)πβ (π₯π‘β π₯π)π(π§πβ π§π€)π} + π€πβ{(π₯π‘β π₯π)π(π¦πβ π¦π€)πβ (π₯πβ π₯π€)π(π¦π‘β π¦π)π}]
+ π[π’πβ{(π¦πβ π¦π€)π(π§πβ π§π )πβ (π¦πβ π¦π )π(π§πβ π§π€)π} + π£πβ{(π₯πβ π₯π )π(π§πβ π§π€)πβ (π₯πβ π₯π€)π(π§πβ π§π )π} + π€πβ{(π₯πβ π₯π€)π(π¦πβ π¦π )πβ (π₯π β π₯π )π(π¦πβ π¦π€)π}]
β π[π’π‘β{(π¦πβ π¦π€)π‘(π§π β π§π )π‘β (π¦πβ π¦π )π‘(π§πβ π§π€)π‘} + π£π‘β{(π₯π β π₯π )π‘(π§πβ π§π€)π‘β (π₯πβ π₯π€)π‘(π§πβ π§π )π‘}
+ π€π‘β{(π₯πβ π₯π€)π‘(π¦π β π¦π )π‘β (π₯πβ π₯π )π‘(π¦πβ π¦π€)π‘}] (9.1.27)
Outlet boundary
If the values of the dependent variables are known at exit boundaries, these are then fixed as such. However, it is rare that such information is known in advance. In such cases the outlet boundary should be placed far downstream from the region of interest, at a location where the flow is everywhere directed outwards so that any inaccuracy in estimating the outlet conditions will not propagate far upstream, provided that the Reynolds number is large. In Fig. 9.2, outlet boundary is shown for a two-dimensional cell. The top and bottom face of the control volume
78 can be found in the perpendicular direction of the two-dimensional cell. If the outlet boundary is situated far away from the region of interest, then a Neumann type boundary condition can be applied.
Fig. 9.2: Cell adjacent to outlet boundary (two dimensional) Mathematically this implies:
ππ·
ππ = 0 (9.1.28)
Momentum equations
Using Neumann type boundary condition for momentum equation we can write
ππ’
ππ,ππ£
ππ,ππ€
ππ , = 0 (9.1.29)
For the outlet boundary shown in Fig. 9.2 this can be implemented simply by setting
π’π = π’π, π£π = π£π, π€π = π€π (9.1.30)
The modification of the algebraic form the equations may be carried out in a similar fashion as shown earlier.
In the case of the velocity components, it is also necessary to ensure that they satisfy overall continuity, i.e. that sum of the outlet mass fluxes πΉπ must equal sum of inlet mass fluxes πΉπΌ .This can be done by calculating outlet mass fluxes using newly estimated values of velocity components and correcting these components by multiplying them with the ratio πΉπΉππΌ.
Turbulent kinetic energy and dissipation equation Using Neumann type boundary condition we can write,
79
βπ
βπ,βΟ΅
βπ = 0 (9.1.31)
Hence,
ππ = ππ, ππ = ππ (9.1.32)
The modification of the algebraic form the equations may be carried out in a similar fashion as shown earlier
Pressure correction equations
Once velocities are known at the outlet boundary, pressure correction equation will be treated just like inlet boundary.
Symmetry boundary
The conditions applying at an axis or plane of symmetry are:
- no cross-flow (zero convective flux);
- zero diffusion flux of dependent variables in the normal direction.
For a boundary aligned with the xy-axis as shown in Fig. 9.3, zero convective flux can be implemented by setting the normal velocity at the boundary to be zero that is π€ = 0. The values of the dependent variables at symmetry boundary nodes are needed for evaluation of fluxes through cell faces which intersect this boundary (for the situation shown in Fig. 8.3, these are e, w, n and s cell faces). These values can be calculated from the interior nodal values by imposing the condition of zero normal gradient (which is equivalent to specifying the zero- diffusion flux), i.e.:
ππ·
ππ = 0 (9.1.33)
Here n denotes the coordinate normal to the symmetry plane or axis. So,
π·π = π·π (9.1.34)
Where
π· = π’, π£, π, Ξ΅ (9.1.35)
80 Fig. 9.3: Cell adjacent to symmetry boundary
For a boundary aligned with the xz-axis, the symmetry boundary condition is as follows,
π£ = 0, π·π = π·π (9.1.36)
Where,
π· = π’, π€, π, Ξ΅ (9.1.37)
Wall boundary
Implementation of Wall functions
Rigid impermeable walls occur in most fluid flow problems. The values of the velocity components (u, v, w) and hence the mass fluxes πΉπ, πΉπ€, πΉπ, πΉπ , πΉπ‘, πΉπ are known to be zero there.
These conditions are easy to impose; however, in the case of turbulent flows the calculation of the stresses on the wall needs special treatment, since expression (7.2.33) becomes inappropriate for the wall cell faces (Launder and Spalding, 1974; Gosman and Ideriah, 1976).
This is due to existence of boundary layers, across which steep variations of flow properties occur and the standard π β π model of turbulence becomes inadequate (Launder and Spalding, 1974). In order to adequately avoid these problems it would be necessary to employ a fine grid and use a low Reynolds number form of the π β π model of turbulence (Jones and Launder, 1972), which would be expensive. An alternative and widely employed approach is to use formulae known as "wall functions" (Launder and Spalding, 1974) to bridge this region: this has been followed in the present study. It is based on a one-dimensional Couette flow analysis,
z
y x
81 which is assumed to be valid in the near-wall region, and will be summarized briefly in what follows.
Fig. 9.4: Wall boundary
The wall shear stress π π€ is expressed as a function of the adjacent nodal velocity component parallel to the wall, πβ π , thus (see Fig. 9.4):
π π€ = βππ€ (πβ π)π (9.1.38)
where the coefficient ππ€ is determined from a two-part "universal" velocity profile expression (Gosman and Ideriah, 1976), ie.:
a) laminar sublayer:
ππ€ = π
πΏπ if π¦π+ < 11.6 (9.1.39)
b) fully turbulent layer:
ππ€ = ππΆπ1/4ππ1/2ΞΊ
ln (πΈπ¦π+) if π¦π+ > 11.6 (9.1.40) Where π¦π+ is calculated as:
π¦π+ = ππΆπ1/4ππ1/2πΏπ
ΞΌ (9.1.41)
x y
z
82 In the above equations ΞΊ is the Von Karman's constant (π = 0.4187) and E is an integration constant which depends on the wall roughness, and through which other effects such as pressure gradients and mass transfer can be accounted for (Launder and Spalding, 1974). For smooth impermeable walls E is assigned a constant value of 9.0 (Launder and Spalding, 1974).
Since the momentum equations are resolved in the directions of the Cartesian coordinates, the resultant shear wall force πβ π€ needs also be expressed in terms of its Cartesian components. For simplicity, it is assumed here that πβ π€ acts in the direction opposite to πβ π, as shown in Fig. 9.4.
This force is equal to the product of the wall shear stress π π€ and the area π΄π€ , ie.:
πβ π€ = π π€π΄π€ = βππ€π΄π€(πβ π)π (9.1.42)
Its components in the x, y and z directions can readily be obtained if the πβ π is expressed in terms of its components in these directions, ie.:
ππ€π = βππ€π΄π€(πππ)π (9.1.43)
πβββ π can be obtained by subtracting from the total velocity πβ its component in the direction normal to the wall, πβ π , which is deducible from the scalar product of πβ and the unit normal vector πβ . If the Cartesian components of πβ are π1 , π2 and π3 , then the following expressions for shear force components result:
ππ€π₯ = βππ€π΄π€{[1 β (π1)2]π’πβ π1π2π£π β π1π3π€π} (9.1.44) ππ€π¦ = βππ€π΄π€{βπ1π2π’π+ [1 β (π2)2]π£πβ π2π3π€π} (9.1.45) ππ€π§ = βππ€π΄π€{βπ1π3π’π β π2π3π£π+ [1 β (π3)2]π€π} (9.1.46) The normal vector πβ is defined by the vector product of two cell face "central lines", eg. for the situation shown in Fig. 8.4, from (ππ€βββββ )π and (ππ ββββ )π.
Thus, for the momentum equations the shear stress integrals over boundary cell faces, appearing in equation like (7.2.33), are replaced by the ππ€π , defined in (9.1.44-9.1.46).
The equations for k and Ξ΅ also need special treatment for the near wall cells. In the equation for k, the diffusion flux through the wall cell face is set to zero (Launder and Spalding, 1974), while the source terms are modified as follows.
Within the turbulent layer a balance between production and dissipation of turbulent kinetic energy is assumed (Launder and Spalding, 1972), giving the following relation for Ξ΅:
83 π =πΆπ3/4π3/2
ΞΊ y (9.1.47)
The dissipation of k is now obtained by integration over the near-wall cell (Gosman and Ideriah, 1976):
ββ«πΏπ ππππ β βππβ²β² ππ = βππΆπ
3 4ππβ
1 2π’π+πΏππ
π¦π ππ (9.1.48)
where π’π+ is given by:
π’π+ = π¦π+ , if π¦π+ < 11.6 π’π+ = 1
ΞΊln(πΈπ¦π+) , if π¦π+ > 11.6 (9.1.49) In the above ππβ is evaluated at the previous iteration.
The rate of generation of turbulent kinetic energy G, under the Couette flow assumptions, is given by:
πΊ β ππ€πππ
ππ (9.1.50)
Integration over the cell volume gives the ππβ² part of the linearized source term (Gosman and Ideriah, 1976) as:
β«πΏππΊ ππ β ππβ² = ππ€[ππ πΏππΏπ]
π
(9.1.51) The transport equation for Ξ΅ is abandoned for the next-to-wall cells due to its inapplicability there. Instead, Ξ΅ is fixed to the value given by Eq. 9.1.47 by means of linearized source term, ie. by setting:
ππβ²= πΏπΆπ3/4ππ3/2 ΞΊ π¦π ππβ²β²= πΏ
(9.1.52) where L is a large number, typically 1030.
84