Y+ (Y-Plus) Wall Distance Calculator

Calculate first cell height for CFD mesh y⁺ requirements. Includes Reynolds number, friction velocity, boundary layer region guide, and y⁺ reference table.

kg/m³
Pa·s
m
m/s
1 for low-Re models, 30+ for wall functions
First Cell Height
7.7 µm
For y⁺ = 1
Reynolds Number
3.42M
Turbulent flow
Skin Friction (Cf)
0.00286
Flat plate correlation
Wall Shear Stress
4.3810 Pa
τw = ½CfρU²
Friction Velocity
1.8911 m/s
u* = √(τw/ρ)
Kinematic Viscosity
1.460e-5 m²/s
ν = µ/ρ
Boundary Layer Regions
y⁺<5
5-30
Log-law 30-300
Outer
Wall Distance for Various y⁺
y⁺Wall DistanceRegion
0.10.8 µmViscous sublayer
0.53.9 µmViscous sublayer
17.7 µmViscous sublayer
215.4 µmViscous sublayer
538.6 µmBuffer layer
1077.2 µmBuffer layer
300.232 mmLog-law region
500.386 mmLog-law region
1000.772 mmLog-law region
2001.544 mmLog-law region
3002.317 mmOuter layer
Planning notes, formulas, and examples

About the Y+ (Y-Plus) Wall Distance Calculator

Y-plus (y⁺) is a dimensionless wall distance used in computational fluid dynamics (CFD) to determine whether your near-wall mesh resolution is adequate for the chosen turbulence model. It's defined as y⁺ = yρu*/µ, where y is the distance from the wall, ρ is density, u* is the friction velocity, and µ is dynamic viscosity. Getting y⁺ right is arguably the most important step in CFD mesh generation.

Different turbulence models require different y⁺ ranges. Low-Reynolds-number models like k-ω SST need y⁺ ≈ 1 at the wall — the first cell must be entirely within the viscous sublayer. Wall-function models (standard k-ε) need y⁺ = 30-300 — the first cell should be in the log-law region. Using the wrong y⁺ range for your turbulence model produces incorrect wall shear stress, heat transfer, and separation predictions.

This calculator estimates the first cell height needed to achieve a target y⁺ using the flat-plate skin friction correlation. It also provides reverse calculation (y⁺ from given cell height), fluid property presets, and a full y⁺ range table showing which boundary layer region each value falls in.

When This Page Helps

Every CFD engineer checks y⁺ before meshing because the wrong first cell height either wastes computation or gives the wrong wall treatment. This calculator replaces manual spreadsheets and gives a fast first estimate for air, water, and other common flows, so you can set a wall-distance target before you build the prism layers.

How to Use the Inputs

  1. Select mode: calculate wall distance for target y⁺, or check y⁺ from wall distance.
  2. Enter fluid density, viscosity, reference length, and free-stream velocity.
  3. Use fluid presets for common fluids (air, water).
  4. For wall distance mode: enter target y⁺ (1 for low-Re models).
  5. For check mode: enter your existing first cell height.
  6. Review wall distance, Reynolds number, and boundary layer regions.
Formula used
y = y⁺µ/(ρu*). Friction velocity: u* = √(τw/ρ). Wall shear: τw = ½CfρU². Skin friction (Schlichting): Cf = 0.058Re⁻⁰·². Reynolds number: Re = ρUL/µ.

Example Calculation

Result: First cell: 0.0078 mm, Re = 3.4M, u* = 1.87 m/s

Air at 50 m/s over a 1 m plate: Re = 3.4M (turbulent). Cf = 0.058 × (3.4e6)^-0.2 = 0.0028. τw = 0.5 × 0.0028 × 1.225 × 50² = 4.3 Pa. u* = √(4.3 / 1.225) = 1.87 m/s. y = 1 × 1.789e-5 / (1.225 × 1.87) = 7.8 µm = 0.0078 mm.

Tips & Best Practices

  • For k-ω SST: aim for y⁺ ≤ 1. This model resolves the viscous sublayer directly.
  • For standard k-ε with wall functions: aim for y⁺ = 30-300. y⁺ < 11 causes errors.
  • Use geometric growth ratio 1.1-1.2 for near-wall prism layers to transition smoothly.
  • The flat-plate correlation gives an initial estimate — local y⁺ varies along the geometry.
  • Always check y⁺ in your converged solution to verify mesh adequacy.

Reading the Result

Use y⁺ to decide whether the first cell sits in the viscous sublayer or in the wall-function region. That interpretation matters more than the number itself, because the same y⁺ target can imply very different physical cell heights in air, water, or high-speed flow.

Mesh Strategy

The flat-plate estimate is a starting point, not a final mesh rule. Real geometries need local checks after the solver runs, especially around separation points, curvature, and changing Reynolds number.

Practical Limits

If you are using k-ω SST, aim for y⁺ near 1. If you are using a wall-function approach, aim for the range your model expects and keep layer growth smooth enough that the near-wall grid does not collapse.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • A dimensionless wall distance: y⁺ = yρu*/µ. It locates. the first mesh cell within the boundary layer structure: y⁺ < 5 is the viscous sublayer, 5-30 is the buffer layer, 30-300 is the log-law region.