Running SnappyHexMesh - Solid Region

Utility snappyHexMesh refines background mesh in direction to the surface model, reading set-up from system/snappyHexMeshDict. Create the mesh running snappyHexMesh utility:
 snappyHexMesh

Renumber mesh using renumberMesh utility:

 renumberMesh -latestTime

When finished, check the mesh running checkMesh and view the mesh in paraview:

 checkMesh
 paraFoam

Figure: Solid mesh view.

The final mesh is located in the directory called by a number. Copy the mesh to the constant/polyMesh directory and remove unnecessary mesh directories:

 cp -rf 3/polyMesh/* constant/polyMesh/
 rm -rf 1 2 3 processor*