OpenFOAM is supplied with several utilties that perform mesh
checking and manipulation. The full list of utilties is given below
Mesh manipulation
attachMesh
Attach topologically detached mesh using prescribed mesh modifiers
autoPatch
Divides external faces into patches based on (user supplied) feature angle
cellSet
Selects a cell set through a dictionary
checkMesh
Checks validity of a mesh
couplePatches
Utility to reorder cyclic and processor patches
createPatch
Utility to create patches out of selected boundary faces. Faces come either from existing patches or from a faceSet
deformedGeom
Deforms a polyMesh using a displacement field U and a scaling factor supplied as an argument
faceSet
Selects a face set through a dictionary
flattenMesh
Flatten the front and back planes of a 2D Cartesian mesh
insideCells
Pick up cells with cell centre ‘inside’ of surface. Requires surface to be closed and singly connected
mergeMeshes
Merge two meshes
mirrorMesh
(Currently no description)
moveDynamicMesh
Mesh motion and topological mesh changes utility
moveEngineMesh
Solver for moving meshes for engine calculations.
moveMesh
Solver for moving meshes
objToVTK
Read obj line (not surface!) file and convert into vtk
patchTool
(Description not found)
pointSet
Selects a point set through a dictionary
refineMesh
Utility to refine cells in multiple directions. Either supply -all option to refine all cells (3D refinement for 3D cases; 2D for 2D cases) or reads a refineMeshDict with - cellSet to refine - directions to refine
renumberMesh
Renumbers the cell list in order to reduce the bandwidth, reading and renumbering all fields from all the time directories
rotateMesh
Rotates the mesh and fields from the direction n1 to the direction n2
splitMesh
Splits mesh by making internal faces external. Uses attachDetach
splitMeshRegions
Splits mesh into multiple regions and writes them to consecutive time directories. Each region is defined as a domain whose cells can all be reached by cell-face-cell walking. Uses meshWave. Could work in parallel but never tested
stitchMesh
‘Stitches’ a mesh
subsetMesh
Selects a section of mesh based on a cellSet
tetDecomposition
Takes a mesh and decomposes it into tetrahedra using a face-cell centre decomposition
transformPoints
Transforms the mesh points in the polyMesh directory according to the options:
zipUpMesh
Reads in a mesh with hanging vertices and zips up the cells to guarantee that all polyhedral cells of valid shape are closed