2 2

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

Running SnappyHexMesh - Stator Region

Utility snappyHexMesh reads set-up from system/snappyHexMeshDict and refines background mesh in direction to the surface model. Create the mesh running snappyHexMesh utility:
$ \color{white} \gg$ snappyHexMesh

Renumber mesh using renumberMesh utility:
$ \color{white} \gg$ renumberMesh -latestTime

When finished, check the mesh running checkMesh and view the mesh in paraview:
$ \color{white} \gg$ checkMesh
$ \color{white} \gg$ paraFoam

statorMeshViewTurbine

Figure: Stator mesh view.

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

$ \color{white} \gg$ cp -rf 3/polyMesh/* constant/polyMesh/
$ \color{white} \gg$ rm -rf 1 2 3