Y+ Calculator
Test cases replayed : 2 of 2 match · Methodology · No outside source listed
Enter the flow speed, a reference length, the fluid density and viscosity and the y+ you want to get the first mesh cell height.
Result
First cell height y (micrometers, µm)
Reynolds number
- Skin-friction coefficient Cf
- Wall shear stress (Pa)
- Friction velocity u_τ (m/s)
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Free-stream velocity, in m/s: enter 0 or more.
- Reference length, in m: enter 0 or more.
- Fluid density (kg/m³): enter 0 or more.
- Dynamic viscosity (Pa·s): enter 0 or more.
- Target y+: enter 0 or more.
- Read the result: First cell height y (micrometers, µm); the panel also shows Reynolds number, Skin-friction coefficient Cf, Wall shear stress (Pa) and Friction velocity u_τ (m/s).
How this calculator works
y+ = ρ u_τ y / μ, with friction velocity u_τ = √(τ_w / ρ). Solving for y gives the wall distance of the first mesh cell for the y+ you want (about 1 for wall-resolved models, 30 or more with wall functions).
The wall shear stress is estimated from the turbulent flat-plate law Cf = 0.0592 Re_x^(−1/5) (Prandtl's one-seventh-power-law result, used for 5 × 10⁵ < Re < 10⁷), τ_w = ½ Cf ρ U². It is a starting estimate; check the y+ the solver reports after a first run.
The formula
| Symbol | Meaning | Unit |
|---|---|---|
| Free-stream velocity | m/s | |
| Reference length | m | |
| Fluid density | kg/m³ | |
| Dynamic viscosity (Pa·s) | ||
| Target y+ | ||
| Reynolds number | ||
| Skin-friction coefficient Cf | ||
| Wall shear stress | Pa | |
| Friction velocity u_τ (m/s) | ||
| First cell height y (micrometers, µm) |
Worked example
| Free-stream velocity | 10 m/s |
|---|---|
| Reference length | 1 m |
| Fluid density (kg/m³) | 1.225 |
| Dynamic viscosity (Pa·s) | 1.81e-05 |
| Target y+ | 1 |
| Reynolds number | 676,796 |
|---|---|
| Skin-friction coefficient Cf | 0.004 |
| Wall shear stress (Pa) | 0.2474 |
| Friction velocity u_τ (m/s) | 0.4494 |
First cell height y (micrometers, µm) 32.8808
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
What y+ should I aim for?
Around 1 when the turbulence model resolves the viscous sublayer (for example k-ω SST without wall functions), and about 30 to 300 when wall functions are used.
Why is this only an estimate?
Real geometries have pressure gradients and separation, so the local shear stress differs from the flat-plate value.