Boundary layers and y⁺
Choose near-wall spacing to match the model, then check it on the solved flow.
First-cell spacing
is the distance from the wall to the relevant first solution point, is friction velocity and is wall shear stress. Check your solver’s definition of that point. The full height of a first prism and its center-to-wall distance differ.
For a wall-integrated RANS model, is a common starting target, subject to the model and the accuracy needed. For wall functions, use the implementation’s target range and assumptions. A low value near a separation line can reflect weak wall shear, so alone cannot establish adequate resolution.
Design the layer stack
Set first spacing, total thickness, number of layers and growth together. Resolve the expected boundary layer, and transition smoothly into the surrounding cells. Inspect junctions, tips and narrow gaps for collapsed layers and abrupt changes. Plot the solved distribution over the whole surface.
For LES and hybrid RANS–LES
Wall-resolved LES also needs adequate wall-parallel resolution, often expressed as and . WMLES follows its own sampling and spacing guidance. In DES-family methods, the grid scale can directly affect model behavior, so a refinement can change which flow scales are modeled and resolved.