Professional Documents
Culture Documents
Fluent Turbulence 19.0 L04 NearWallModeling
Fluent Turbulence 19.0 L04 NearWallModeling
0 Release
− 𝑈 is the known velocity tangent to the wall at a distance of Δ𝑦 from the wall, 𝑢τ is called
friction velocity, 𝑈 + is the non-dimensional near wall velocity, 𝑦 + is the non-dimensional
distance from the wall, 𝜏𝑤 is the wall shear stress
• The goal is to find universial wall behavior for the non-dimensional variables
• Viscous sublayer
− Very close to the wall, the molecular viscosity plays a dominant role in momentum and heat transfer
− Turbulent fluctuations are damped out and the wall shear stress is almost entirely viscous. The u-
momentum equation reduces to:
𝜕𝑈
𝜇 = 𝜏𝑤 , constant
𝜕𝑦
𝜏𝑤
which yields a linear velocity profile 𝑈= 𝑦 i.e. 𝑈 + = 𝑦 +
𝜇
• Logarithmic layer
1
− The logarithmic relation for the near wall velocity is: 𝑈+ = ln( 𝑦 + ) + 𝐶
𝜅
− It is assumed that in this region the non-dimensional velocity distribution is independent of the flow
type (𝜅 and 𝐶 are constants)
𝜏𝑤𝑎𝑙𝑙 = 0 ⇒ 𝑢𝜏 = 0
• An alternative velocity scale 𝑢∗ can be used instead of 𝑢𝜏 in the logarithmic region (note that
𝑢𝜏 = 𝑢∗ for equilibrium flows)
1/4
𝑢∗ = 𝐶𝜇 𝑘1/2
Outer region
• Velocity profile in logarithmic scale
• Near wall – universal profiles:
− Linear near wall
Log. region
− Logarithmic further out
− Buffer layer in-between
• Outer flow depends on problem Sub-layer 1
𝑈+ = log( 𝑦 + ) + 𝐶
(boundary layer, channel flow, …) 𝜅
• Rational:
− Why resolve the “universal” part of velocity profile if it is
flow-independent?
− Place first grid point in the log. region to avoid very fine
grid in the viscous sublayer
− Only true for equilibrium flows (𝑑𝑝Τ𝑑𝑥 = 0)
otherwise the log-law is not correct
− Note that the boundary layer still needs to be resolved – log.
only the sub-layer is “bridged”
− The grid needs to ensure that the first wall cell-center is
inside the log-layer (difficult) Flux Flux
Cf
this is inconsistent
• This behavior is not acceptable for any
numerical method as grid refinement should
always lead to an asymptotic solution
• With standard wall functions, the user gets
“punished” for mesh refinement Rex
Mesh Grid 1 Grid 2 Grid 3 Grid 4
Y+ 100 50 10 5
boundary layer (in the current case only 3-4) Resolved solution Resolved solution
• This leads to large errors in the TVR of ~50%
relative to resolved solution
• The use of wall functions limits grid resolution
of boundary layer for moderate and low Re TVR
number flows! 𝝁𝒕
𝑻𝑽𝑹 =
𝝁
• The goal is to make the solution insensitive to the y+ values of the first grid cell
• This is typically achieved by a blending of sublayer and log-layer formulations
• There are many “historical” names for this concept:
− Automatic wall treatment (used for k-ω based models in Fluent and CFX)
− Enhanced Wall Treatment (EWT) used for k-ε based formulation in Fluent (using 2-Layer formulation)
• The solution is only reasonably y+-insensitive for larger y+ values when:
− There are still enough cells inside the boundary layer
− The solution is close to equilibrium (no strong pressure gradients and separation etc.)
− The number of cells for resolving the boundary layer depends on the accuracy requirements
• For airplane simulation up to 30-40 cells are used to get an accurate representation of the
boundary layer
• For most industrial simulation ~10-15 cells are sufficient
• For complex configurations lower numbers might be used for practical reasons
+ + 𝜌𝑢+ 2 + + 𝜌𝑢 + 𝑃𝑟
With: 𝑇𝑙𝑎𝑚 = Pr 𝑢𝑙𝑎𝑚 + 𝑢 and 𝑇𝑡𝑢𝑟𝑏 = 𝑃𝑟𝑡 𝑢𝑡𝑢𝑟𝑏 +𝑃+ 𝑢2 + −1 𝑢𝑐+ 2 𝑢+ 2
2𝑞𝑤 2𝑞𝑤 𝑃𝑟𝑡
St
sufficient number of cells inside the boundary layer
− Discrepancy to Correlation for 𝑦 + = 80 near leading edge is
therefore not a problem of near wall formulation but of
insufficient boundary layer resolution
− For larger X/Rex all solutions are identical
X[m]
20 © 2018 ANSYS, Inc.
Check Boundary Layer Resolution
Very fine mesh for transition prediction
EVR
• Boundary layers require a minimum resolution for
accurate results
• Number of cells depends on accuracy requrements
• For aerodynamic flows, one should have more than
10 cells inside the boundary layer – for highly
accurate simulation even up to Ny~30-40.
• For industrial flows around Ny~10 should be the
target
• For complex flows, it is possible that one can only mt
EVR =
afford a few prism layers (3-5). In this case accuracy m
can be compromised
• Count prism layers inside boundary layer by plotting EVR typically clearly indicates boundary layer
EVR with mesh on top (the mesh shown here is very as it has maximum in the middle of the layer
fine)
0.027 𝜌𝑈 2 𝜏𝑤
𝜌𝑈𝑥 𝜏𝑤 = 𝐶𝑓 𝑥 ⋅ 𝑢𝜏 =
Re𝑥 = 𝐶𝑓 𝑥 = 1ൗ 2 𝜌
𝜇 Re𝑥 7
− In this equation y is a function of x. However the power of 1/14 is very low. Therefore one can
assume (except for very small Rex)
1Τ 1Τ 𝜈 1ൗ14 − 13ൗ
14
y
Re𝑥 14
≈ Re𝐿 14 Δ𝑦 = 8.6 ⋅ 𝑦+ Re𝐿 = 8.6 ⋅ 𝑦 + 𝐿 Re𝐿
𝑈
− Note that y is the mesh spacing. For Fluent the cell center is only half of y (therefore 8.6 -> 17.2)
See also an alternative Y+ calculation method in the appendix
26 © 2018 ANSYS, Inc.
Wall Treatment - Comparison
t tw
Ut = w Ut = = 0.82 m/s
r r
• The wall shear stress ,tw ,can be found from the skin • We know we are aiming for y + of 50, hence:
t w = 1 C f rU 2 y= = 9x10 -4 m
2 Ut r
• A literature search suggests a formula for the skin our first cell height y should be approximately 1
friction on a plate1 thus: mm. If you instead want y+ = 1, just replace 50 with
C f = 0.058 Rel-0.2 1 in the formula above, which gives y = 1.8x10-5 m
1 An equivalent formula for internal flows, with Reynolds number based on the pipe diameter is Cf = 0.079 Red-0.25