y+ calculator

Find the first cell height for a target y+, then size the boundary layer and prism layer stack for Simcenter STAR-CCM+.

Method: flat-plate and pipe-flow correlations · Reviewed by Christoffer Johansson, M.Sc. · Updated October 2026

Fluid
Flow
SI units

1First cell height

What is L?
L = DFlow direction →

Length of the body in the flow direction, or the diameter for a cylinder or sphere.

About 1 resolves the viscous sublayer. 30–300 suits wall functions.

First cell height Δy1

–

m · full cell height

Within the correlation's range

Wall distance of the cell centre yP
–
Reynolds number ReL
–
Skin-friction coefficient Cf
–
Wall shear stress τw
–
Friction velocity uτ
–
Kinematic viscosity ν
–

Cell-centred finite-volume codes such as Simcenter STAR-CCM+ evaluate y+ at the cell centre, so the full first cell height is twice yP.

2Boundary layer thickness

Boundary layer

Boundary layer thickness δ

–

m at x =

Reynolds number Rex
–

3Prism layer

Layer heights to scale relative to each other. The wall is at the bottom.

Prism layer total thickness

–

m

Last layer thickness
–
Thickness ratio (last/first)
–

Simcenter STAR-CCM+ prism layer settings

Use Geometric Progression stretching and an absolute Prism Layer Total Thickness. Enter these in the prism layer default controls of your automated mesh operation.

Distribution Mode: Stretch Factor (default)

Number of Prism Layers
–
Prism Layer Stretching
–
Prism Layer Total Thickness
–

Other modes: replace the stretching with

Wall Thickness: Thickness of Near Wall Prism Layer
–
Thickness Ratio: Prism Layer Thickness Ratio
–

Not on Simcenter STAR-CCM+ yet? Try it free →

4Transition to the core mesh

Last prism layer thickness
– · from step 3

The height of the first core cell next to the last prism layer.

Size ratio, core cell / last layer

–

Enter a core cell size to check the transition. As a rule of thumb, aim for a ratio between 1.0 and 1.5. In Simcenter STAR-CCM+, the Near Core Layer Aspect Ratio and, for trimmed meshes, the Maximum Core/Prism Transition Ratio help limit the jump.

How to use the y+ calculator

1. Choose the fluid and the flow type. External flow runs over a body; internal flow runs through a pipe or duct. Air and water at 20 °C fill in density and viscosity. Choose Custom for anything else.

2. Enter the velocity, the reference length and the y+ you want at the wall. The first cell height Δy1 updates as you type. This is the value to use as the prism layer near-wall thickness.

3. Check the boundary layer thickness in step 2. It tells you how much of the boundary layer your prism layer covers.

4. Set the stretching ratio and the number of layers in step 3, then copy the values into the prism layer default controls of your automated mesh operation. In step 4, compare the last layer with your core mesh size, so the mesh grows smoothly away from the wall.

L = DFlow direction →
External flow around a cylinder or sphere: L is the diameter. For a plate, wing or vehicle, use its length in the flow direction.
L = DhFully developed velocity profile
Internal flow: L is the hydraulic diameter Dh = 4A/P, which equals the diameter for a round pipe.

Which y+ should you aim for?

The right target depends on how your turbulence model treats the wall. Keep the first cell either in the viscous sublayer or in the log layer, not in between.

ApproachTarget y+When to use itSimcenter STAR-CCM+ wall treatment
Wall-resolvedabout 1Wall shear, heat transfer, separation and transition matterLow y+ or All y+ Wall Treatment
Wall functions30–300Attached flows where you need speed more than near-wall detailHigh y+ or All y+ Wall Treatment
Avoid if you can5–30Buffer layer: the least accurate region for both approachesAll y+ Wall Treatment blends the two here

Not sure which turbulence model or wall treatment to use? The Turbulence model selector recommends both for your case.

Formulas, assumptions and validity

The calculator estimates the wall shear stress from skin-friction correlations for a smooth flat plate (external flow) or a smooth pipe (internal flow), then solves the definition of y+ for the wall distance.

ReL = ρUL / μ (1)

Cf = 0.058 Rex−1/5 (2)
External flow, evaluated at x = L: local skin friction on a smooth, fully turbulent flat plate (Prandtl, 1/7-power velocity profile), about 5 × 105 < Rex < 107.

Cf = 0.079 ReD−1/4 (3)
Internal flow: Blasius, smooth pipe, Fanning friction factor, about 4 × 103 < ReD < 105.

τw = ½ Cf ρU2 (4)

uτ = √(τw / ρ) (5)

yP = y+μ / (ρuτ),  Δy1 = 2yP (6)

δ = 0.37 x Rex−1/5  or  δ = 5.0 x Rex−1/2 (7)
Turbulent and laminar flat plate, with Rex = ρUx / μ.

Δy1Δyn−1ΔynΔyn+1first celllast prism layerfirst core cellprism layertotal thicknesscore meshwall
Δy1
First cell height (near-wall thickness)
Δyn / Δyn−1
Stretch factor (prism layer stretching)
Δyn / Δy1
Thickness ratio
Δyn+1 / Δyn
Transition to the core mesh (step 4)
Prism layer terms. Each layer is r times thicker than the one below it.

total = Δy1(rn − 1) / (r − 1),  last = Δy1rn−1,  ratio = rn−1 (8)
For geometric-progression stretching. The terms are shown in the figure above.

Assumptions: a smooth wall, zero pressure gradient, incompressible and steady flow, and a turbulent boundary layer from the leading edge. For external flow the correlation is evaluated at x = L, where the wall shear on a flat plate is lowest, so y+ will be higher further upstream. Treat the result as a starting point and check y+ after your first run.

Worked example: air over a 1 m plate at 20 m/s

Air at 20 °C (ρ = 1.204 kg/m³, μ = 1.813 × 10−5 Pa·s) flows at 20 m/s over a 1 m flat plate, and the target is y+ = 1. These are the calculator's default values.

ReL = 1.33 × 106, which is inside the range of the turbulent correlation. Cf = 3.46 × 10−3 and τw = 0.833 Pa, so uτ = 0.832 m/s. The cell centre must sit at yP = 18.1 µm, which gives a first cell height Δy1 = 36.2 µm.

At x = 1 m the turbulent boundary layer is δ = 22.1 mm thick. Seven prism layers with a stretching of 1.2 grow to 468 µm, and the last layer is 108 µm, about three times the first. Together they cover only about 2 % of δ: the rest of the boundary layer is resolved by the core mesh, so check the transition in step 4, or add layers if you want the prism layer to cover more of it.

Check y+ after your first run

Correlations give a starting value, not the final answer. After the first converged run, plot the Wall Y+ field function on your wall boundaries in a scalar scene. Expect variation: y+ is higher where the flow accelerates and lower near stagnation and separation.

Because y+ scales roughly with the wall distance, rescaling the near-wall thickness by target ÷ actual y+ is a good first approximation; remesh and check again. Our Simcenter STAR-CCM+ training covers meshing and wall treatment in more depth.

References and changelog

References

F. M. White, Fluid Mechanics, 5th ed., McGraw-Hill, 2003: chapter 6 (Blasius pipe friction) and chapter 7 (Prandtl's 1927 flat-plate relations, about 5 × 105 < Re < 107).

H. Schlichting, Boundary-Layer Theory, 7th ed., McGraw-Hill, 1979: chapter XXI (turbulent flat plate at zero pressure gradient, power-law skin friction).

Review

Reviewed by Christoffer Johansson, M.Sc., Senior Application Specialist at Volupe. Version 2.0.

Changelog

13 September 2023: the first cell height is reported as the full cell height (2 × the wall distance of the cell centre). Earlier versions reported the cell-centre distance.

October 2026: new interface. Rex is now computed from x (it stayed at ReL when x was edited). Validity warnings added. Same correlations, so default results are unchanged.

Questions about y+

Calculator reviewed by

Christoffer Johansson

Senior Application Specialist, M.Sc.

Questions about near-wall meshing? We reply within one day.

Ask a technical question →

What is y+ in CFD?

y+ is the dimensionless distance from a wall, y+ = uτy/ν. It tells you which part of the boundary layer the first cell sits in: the viscous sublayer (y+ below about 5), the buffer layer (5–30) or the log layer (about 30–300). Turbulence models treat these regions differently, so the mesh has to match the wall treatment.

What y+ should I use with the k-ω SST model?

SST works with a resolved wall (y+ ≈ 1) or with wall functions (y+ 30–300). Aim for y+ ≈ 1 when wall shear, heat transfer or separation matter. In Simcenter STAR-CCM+ the All y+ Wall Treatment handles both, but avoid leaving most of the wall in the buffer layer.

Is the first cell height the full cell or the distance to the cell centre?

The full cell. Cell-centred finite-volume codes such as Simcenter STAR-CCM+ evaluate y+ at the cell centre, halfway up the first cell, so the calculator doubles the wall distance. Since September 2023 it reports the full height, which is the value to enter as the near-wall thickness.

Which length should I use for L?

For external flow, use the length of the body in the flow direction, such as a plate length, chord or vehicle length; for a cylinder or sphere, use the diameter. For internal flow, use the hydraulic diameter Dh = 4A/P and the bulk velocity.

How many prism layers do I need?

Enough to grow smoothly from Δy1 to a size that matches the core mesh. Stretching ratios of about 1.1–1.3 are common near walls. Wall-resolved meshes (y+ ≈ 1) need many more layers than wall-function meshes, often 15–30, depending on the stretching and how much of the boundary layer you want the prism layer to cover. Use step 4 to check that the last layer meets the core mesh smoothly.

Why is the y+ in my simulation different from the target?

The calculator uses correlations for a flat plate or a straight pipe. Real geometries accelerate, decelerate and separate the flow, so the wall shear, and with it y+, varies along the wall. For external flow the estimate is made at x = L, where flat-plate wall shear is lowest. Check the Wall Y+ field after the first run and adjust.

Can I use this calculator for Ansys Fluent or OpenFOAM?

Yes. The physics does not depend on the solver, and the cell-centre factor applies to cell-centred finite-volume codes such as Ansys Fluent and OpenFOAM. Vertex-based codes such as Ansys CFX measure y+ at the first node instead. Only the prism layer setting names are specific to Simcenter STAR-CCM+.

Talk to an engineer in your region

Every Volupe business developer holds an engineering degree. Find your regional contact below, or send us a message.

Denmark and Central Eastern Europe

Lukas Johansson

Sales Director, M.Sc.

Norway, Finland and the Baltics

Carl Wanngård

Business Developer, M.Sc.

DACH region

David Fabis

Business Developer, M.Sc.

DACH region

André Hau

Business Developer, M.Sc.

Sweden

Fredrik Liljedahl

Business Developer, M.Sc.

Europe

Henrik Pahlitzsch

Business Developer, M.Sc.

Iberia

Mikel Sevilla

Business Developer

Ask us about Y+ calculator CFD

Use this form for licence quotes, demos, training and technical questions.

What happens next

  1. A reply within one day.
  2. A scoping call with one of our engineers.
  3. A quote, demo or other next step that fits your enquiry.

After purchase: support from Volupe simulation engineers.

For a quote, the number of users, modules and your timeline help us answer faster.
See how we handle your details in our privacy policy. This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Scroll to Top