This post is about how to calculate yPlus in OpenFOAM.
For RANS
1) with wall function; simply type ‘yPlusRAS’
2) without wall function;
i- type wallShearStress
ii- calculate manually: y+ = sqrt(wallShearStress/rho) * y/nu
y = height of the cell near to the wall
nu = kinematic viscosity.
For LES
1_ simply type ‘yPlusLES’
enjoy!