y⁺ and the first-cell height: how to size the near-wall mesh
What y⁺ measures, what value it should have for each turbulence model and how to estimate the first-cell height before generating the mesh.
In a turbulent flow simulation, almost all the interesting physics happens in a very thin layer next to the walls. That is where friction and heat exchange form, and that is where the mesh decides whether the result will be reliable. The parameter that measures how well the mesh resolves this region is y⁺.
What y⁺ is
y⁺ is the distance from the wall made dimensionless by the viscous scale of the flow:
where uτ is the friction velocity and τw the wall shear stress. Near the wall, the velocity profile has three regions: the viscous sublayer (y⁺ < 5), the buffer layer (5 < y⁺ < 30) and the logarithmic region (y⁺ > 30).
What y⁺ should be
- k-ω SST and Spalart–Allmaras resolving the wall: y⁺ ≈ 1 in the first cell. Values up to 5 are still acceptable.
- k-ε with wall functions: the first cell must lie in the logarithmic region, 30 < y⁺ < 300.
- Avoid the 5–30 range: the wall is not resolved and the wall function is not valid.
In flows with separation — tube banks in crossflow, airfoils near stall, turbine blades away from the design point — wall functions fail. In those cases, resolve the wall with y⁺ ≈ 1.
Estimating the first cell before meshing
Since τw is only known after the simulation, we use a flat-plate correlation to estimate it:
For air at 50 m/s over a 1 m chord (Re ≈ 3.4×10⁶), y⁺ = 1 gives a first cell on the order of 10−5 m. It is an estimate: after the first simulation, check the actual y⁺ on the walls and adjust.
How many prism layers
The prism layer must cover the boundary layer. The thickness of the flat-plate turbulent boundary layer is approximately:
With the first height Δy and a growth rate r (1.15 to 1.2), the number of layers N needed to add up to δ is:
Keep the growth rate constant across the meshes of a convergence study; otherwise, the comparison loses its meaning.
How EVA programs do this
WinGGen, TurboMak, Hydrokin and Heater compute the first cell from the chosen y⁺, the number of layers to cover the estimated boundary layer and write these values directly into the Fluent Meshing scripts. That way, the same calculation you see on screen reaches the mesh.
Read also
Shaft fatigue: from Goodman to elliptical ASME, without pitfalls
Why a shaft fails well below its static strength, how to build the alternating and mean stresses, and the most common errors in the Marin and stress-concentration factors.
Read the article →Load combinations in NBR 8681: why γ depends on the nature of the action
Ultimate and serviceability combinations, partial factors by type of permanent load and the mistakes that show up most in frame models.
Read the article →
