The following wall functions are those appropriate to a near-wall layer in local equilibrium, which may be written as follows:
U_{+}/U_{τ} = ln(E*Y^{+})/κ
k = U_{τ}^{2}/√(C_{μ}C_{d})
ε = (C_{μ}C_{d})^{0.75}*k^{1.5}/(κ*δ)
(1)
(2)
(3)
where:
In PHOENICS the log-law constants κ and E are set in Group 1 Section 1 of GREX3 as follows: AK = 0.41 and EWAL = 8.6, which is appropriate for smooth walls.
Equation (1) is the well-known logarithmic law of the wall.
Strictly this law should be applied to a point whose Y^{+} value is in the range 30 < Y^{+} <130.
The user may elicit printout of the Y^{+} values in the PHOENICS RESULT file by setting YPLS=T or WALPRN=T in the Q1 file.
The boundary condition for the turbulent kinetic energy k assumes that the turbulence is in local equilibrium and consequently, this set of wall functions is not really suitable under separated conditions, as turbulent energy diffusion towards the wall is significant, leading to appreciable departures from local equilibrium.
The wall function defined by equation (1) is implemented in the momentum equations by way of source terms which take the form:
S_{mom} = ρ*s*abs(U_{r})*(V_{w}-V)
(4)
where rho denotes the fluid density, s the friction factor ( = τ_{w}/(ρ*U_{r}^{2}) ), V denotes the in-cell value of velocity, and V_{w} denotes the value of the velocity at the wall. The friction factor is determined from:
s = max (s_{turb}, s_{lam})
where:
s_{lam} = 1./Re
s_{turb} = (κ/ln(E*Re*√(s_{turb}))^{2}
Re is the local Reynolds number, defined as
Re = U_{r}*δ/ν
(5)
(6)
(7)
(8)
and the expression for sturb follows from equation (1). The value of s_{turb} is determined by iteration from equation (7).
For heat and mass transfer at the wall, the flux of the variable phi from the wall to the fluid is given by:
S_{φ} = ρ*St*abs(U_{r})*(φ_{w}-φ)
(9)
in which φ denotes the in-cell value of the heat- or mass-transfer variable, and φ_{w} denotes the wall value of φ. St is the Stanton number ( = -Q_{w}/(ρ*C_{p}*abs(U_{r})*(φ-φ_{w}) ), determined from:
St = max (St_{turb}, St_{lam})
where:
St_{lam} = 1./(Pr_{t}*Re)
St_{turb} = s_{turb}/(Pr_{t}*(1.+Pm*SQRT(sturb)))
where the P_{m} is the smooth-wall sublayer-resistance function of Jayatilleke [1969]
P_{m} = 9.*(Pr_{l}/Pr_{t}-1)*(Pr_{t}/Pr_{l})**0.25
Pr_{t} and Pr_{l} denote the turbulent and laminar Prandtl numbers respectively.
(10)
(11)
(12)
(13)
Elhadidy [1980] proposed a P_{m}-function that applies to the whole Pr_{l} range, and is given by:
where; Ym=11.5 and b =(Pr_{l}/Pr_{t}). This has been successfully validated for low Prl fluids such as liquid metals, but has yet to be implemented in PHOENICS.