Utility snappyHexMesh refines the background mesh in the 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