Compute Grid Spacing for a Given  Y+

Improve CFD Accuracy with Correct Mesh Resolution

It's important that your mesh near the wall is properly sized to ensure accurate simulation of the flowfield. This calculator computes the height of the first mesh cell off the wall required to achieve a desired Y+ using flat-plate boundary layer theory.

Input

Reset to sea level conditions
freestream velocity (m/s)
freestream density (kg/m3)
dynamic viscosity (kg/m s)
reference length (m)
desired y+

Output

Compute Wall Spacing
wall spacing (m)
Reynolds number
Note: -1 indicates an input error

The Math

These computations are based on flat-plate boundary layer theory from Frank M. White's Fluid Mechanics 5th edition, page 467.

Calculate Grid Spacing on iPhone and Android™

Now you can compute wall spacing while at your desk or while on the road with the Y+ Calculator for iPhone, iPad, or Android. This free app is a handy tool for calculating the grid spacing at a wall to achieve a target y+ value for viscous computational fluid dynamics (CFD) computations. Simply specify the flow conditions, the desired y+ value, and compute your grid spacing. The Y+ Calculator converts between SI and Imperial units.

 

Grid spacing calculator image

How to Get More Information About Pointwise and CFD

Sign up for our newsletter or register for one of our interactive forums that encourage discussions about various mesh generation topics.

SUBSCRIBE newsletter