Calculate CFD y+ and first-cell wall distance from flow speed, viscosity, wall shear stress, or skin friction coefficient inputs for meshes.

Y+ Calculator

Choose the starting point that matches the values you have.
First layer
Check y+
Known shear/Cf

Related Calculators

Y+ Formula

y + = y ร— uโ‚œau / nu

Where the friction velocity is:

uโ‚œau = sqrt(tauw / rho) = U ร— sqrt(Cf / 2)

And the first cell-center distance for a target y+ is:

y = y + ร— nu / uโ‚œau
  • y+ โ€” dimensionless wall distance
  • y โ€” distance from the wall to the first cell center (m)
  • u_tau โ€” friction velocity (m/s)
  • tau_w โ€” wall shear stress (Pa)
  • rho โ€” fluid density (kg/mยณ)
  • nu โ€” kinematic viscosity (mยฒ/s)
  • U โ€” freestream or reference flow speed (m/s)
  • Cf โ€” local skin friction coefficient

For the first-layer estimate, Cf comes from smooth flat-plate correlations: Cf = 1.328/โˆšRe for laminar flow and Cf โ‰ˆ 0.0592/Re0.2 for turbulent flow, with Re = UL/ฮฝ. These are first-cell estimates only. After running the simulation, recompute y+ from the solved wall shear stress and refine the mesh if needed.

Reference Values

Typical y+ ranges by near-wall treatment:

Approach Target y+ Notes
Wall-resolved (low-Re, SST k-ฯ‰, Spalart-Allmaras)y+ < 1Resolves the viscous sublayer.
Enhanced / blended wall treatmenty+ < 5 or y+ > 30Avoid the buffer zone.
Standard wall functions30 โ‰ค y+ โ‰ค 300Log-law region.
Buffer layer5 < y+ < 30Avoid placing the first cell here.

Common fluid properties at 20ยฐC used by the calculator:

Fluid ฮฝ (mยฒ/s) ฯ (kg/mยณ)
Air1.5 ร— 10โปโต1.225
Water1.004 ร— 10โปโถ998
Seawater1.05 ร— 10โปโถ1025
Light oil1.0 ร— 10โปโด870

Example and FAQ

Example. A 1 m chord airfoil in air at 30 m/s, target y+ = 1. Re = 30 ร— 1 / 1.5e-5 = 2.0 ร— 10โถ. Cf โ‰ˆ 0.0592 / (2.0e6)0.2 โ‰ˆ 0.00328. u_tau = 30 ร— โˆš(0.00328/2) โ‰ˆ 1.22 m/s. y = 1 ร— 1.5e-5 / 1.22 โ‰ˆ 1.23 ร— 10โปโต m, or about 0.012 mm.

Is y the first cell height or the cell-center distance? y is the distance from the wall to the first cell center. With a typical near-wall prism, the full first-layer thickness is about 2y.

Should I divide by 2 for a half-channel? No. y is measured from the wall, regardless of channel symmetry.

My solved y+ differs from the estimate. Expected. Flat-plate Cf is a starting point. Use the Check y+ tab with the solved wall shear stress (u_tau = โˆš(ฯ„w/ฯ)) and adjust the mesh.

What about pipe flow? Use hydraulic diameter as the characteristic length and the bulk velocity as U. For a more accurate first guess, substitute a pipe Cf correlation such as Cf = 0.079ยทRe-0.25 and use the Known shear/Cf tab.