We calculate the flow with the kinematic viscosity ν which is changed to 1e-2, 1e-3, 1e-4, 1e-5, 1e-6, 1e-7, and 1e-8 (in m2/s), respectively, and from the results, get the dimensionless distance and the dimensionless velocity from the cell adjacent to the wall. Then we compare them with the Spalding's law. The dimensionless distance y+, the dimensionless velocity u+, and the Spalding's law are defined as follows.
The dimensionless distance from wall:
the dimensionless velocity:
Spalding's law:
where uτ is the wall friction velocity (= (wall shear stress/fluid density)1/2), y is the distance between the center of the cell adjacent to the wall and the wall, u is the flow velocity at the center of the cell adjacent to the wall, and ν is the kinematic viscosity. And, κ = 0.41 and E = 9.8 are used.
Periodic boundary conditions are set for the inflow region "front" and the outflow region "back", and no-slip wall conditions are set for the channel wall regions "lowerWall" and "upperWall". The mesh is created only in the Y direction and the calculation is performed as a 2-dimensional model.
The target mean velocity of 10 m/s for each kinematic viscosity is specified in the file constant/transportProperties as follows.
Ubar [0 1 -1 0 0 0 0] (10 0 0);
The meshes are as follows.
Meshes
The calculation result is as follows.
y+ vs. u+ (The circular marker is the calculated value and the line is the Spalding's law)
The calculated values are approximately consistent with the Spalding's law.
Commands
cp -r $FOAM_TUTORIALS/incompressible/boundaryFoam/boundaryWallFunctionsProfile boundaryWallFunctionsProfile
cd boundaryWallFunctionsProfile
blockMesh
echo "# yPlus vs uPlus" > yPlus_vs_uPlus