2 2

Next: Model setting without an Up: Alternative formulation Previous: Alternative formulation   Contents   Index

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:
11 snappyHexMesh

Renumber mesh using renumberMesh utility:
11 renumberMesh -latestTime

When finished, check the mesh running checkMesh and view the mesh in paraview:
11 checkMesh -latestTime
11 paraFoam

solidMeshViewTurbine

Figure: Solid mesh view.

The final mesh is located in the directory named by a number. Copy mesh to constant/polyMesh directory and remove unnecessary directories:
$ \color{white} \gg$ cp -rf 3/polyMesh/* constant/polyMesh/
$ \color{white} \gg$ rm -rf 1 2 3 processor*