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:
1 3 snappyHexMesh

Renumber mesh using renumberMesh utility:

1 3 renumberMesh -latestTime

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

1 3 checkMesh
1 3 paraFoam

solidMeshViewBlade

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:

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