The geometry dictionary describes all input geometry required by snappyHexMesh:
The geometry section can describe triangulated surfaces or searchable objects. A simple definition may take the form:
geometry { sphere.stl // name of the geometrical entity { type triSurfaceMesh; } myBox // name of the geometrical entity { type searchableBox; min (1.5 1 -0.5); max (3.5 2 0.5); } };
Triangulated surfaces must be located in the $FOAM_CASE/constant/triSurface
directory. The following formats are supported:
Some formats support multiple regions, e.g. 'SOLID' in the stl format. Each surface and region in a surface becomes a separate patch in the final mesh.
These objects define analytical shapes, and are treated similarly to triangulated surfaces, e.g. to define the geometry to mesh or refinement regions.
Options:
Would you like to suggest an improvement to this page? | Create an issue |
Copyright © 2016-2017 OpenCFD Ltd.