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.

Computational fluid dynamics (CFD) is essentially a series of approximations; the role of the practitioner is managing the magnitude of the errors in these approximations. In CFD, one of the most basic approximations lies in the type of cells used for the simulation. This article will address some of the potential pitfalls encountered with a generic cell-centered finite volume scheme.

This webinar, “Towards Mesh Adaptation,” introduces a feature currently in development for mesh adaptation. It accepts from the flow solver a point cloud on which target cell sizes are specified. This point cloud is used as a clustering source in Pointwise to adapt both the volume and surface meshes.

Now you can compute wall spacing while at your desk or while on the road with the Y+ Calculator for iPhone 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.

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

*Image courtesy of TecPlot

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

${\mathrm{Re}}_{\mathrm{x}}=\frac{\rho {U}_{\mathrm{\infty}}L}{\mu}$

${C}_{\mathrm{f}}=\frac{0.026}{{{\mathrm{Re}}_{x}}^{1/7}}$

${\tau}_{\mathrm{wall}}=\frac{{C}_{f}\rho {{U}_{\infty}}^{2}}{2}$

${U}_{\mathrm{fric}}=\sqrt{\frac{{\tau}_{\mathrm{wall}}}{\rho}}$

$\Delta s=\frac{{y}^{\mathrm{+}}\mu}{{U}_{\mathrm{fric}}\rho}$