Utility snappyHexMesh reads set-up from system/snappyHexMeshDict and refines background mesh in direction to the surface model. The snappyHexMeshDict dictionary is already set.
Create the mesh running snappyHexMesh utility:
# snappyHexMesh
When finished, check the mesh running checkMesh and view the mesh in paraview: # checkMesh -latestTime # paraFoam