Y+ Calculator
Estimate the wall distance for your CFD analysis using the Y+ calculator.
The formula
u_τ = √(τ_w/ρ); y⁺ = ρu_τy/µ; C_f = 0.058Re⁻⁰·²
y⁺ is built on the friction velocity
The wall coordinate y⁺ = ρu_τy/µ uses the friction velocity u_τ = √(τ_w/ρ), which comes from the wall shear stress. It is typically three to five percent of the free-stream velocity, so substituting the bulk velocity — a tempting shortcut, since a bulk Reynolds number is easy to hand — inflates the answer by a factor of twenty or more and produces a mesh that resolves nothing near the wall.
Getting there needs the skin friction coefficient first, which is why this calculator asks for the geometry: the correlation for a flat plate is not the correlation for a pipe.
Stay out of the buffer layer
Below about y⁺ = 5 the viscous sublayer dominates and u⁺ = y⁺ holds directly, so a mesh fine enough to sit there resolves the wall properly. Above about y⁺ = 30 the logarithmic law holds and a wall function can bridge the gap cheaply. Between the two lies the buffer layer, where neither description is valid and both approaches are wrong.
A first cell landing at y⁺ = 15 is therefore worse than one at either 1 or 50. Note also that y⁺ refers to the CENTROID of the first cell, not its outer face, so the cell itself is twice the height this calculator reports.