These are the utilities distributed with OpenFOAM
Contents
1 errorEstimation
2 Mesh
2.1 advanced
2.2 conversion
- cfxToFoam Converts a CFX mesh to OpenFOAM format.
- fluentMeshToFoam Converts a Fluent mesh to OpenFOAM format.
- foamMeshToFluent Writes out the OpenFOAM mesh in Fluent mesh format.
- gambitToFoam Converts a GAMBIT mesh to OpenFOAM format.
- gmshToFoam Reads .msh file as written by Gmsh. Does not use physical type of mesh quantities yet.
- ideasToFoam Converts an ANSYS input mesh file, exported from I-DEAS, to OpenFOAM format.
- kivaToFoam Converts a KIVA3v grid to OpenFOAM format.
- mshToFoam Reads .msh format generated by the Adventure system.
- sammToFoam Converts a STAR-CD SAMM mesh to OpenFOAM format.
- starToFoam Converts a STAR-CD PROSTAR mesh into OpenFOAM format.
- tetgenToFoam Reads .ele and .node and .face files as written by tetgen.
- writeMeshObj For mesh debugging: writes mesh as three separate OBJ files which can be viewed with e.g. javaview.
2.3 generation
- blockMesh Mesh generator.
- makePolyMesh Constructs a polyMesh from a shapeMesh.
2.4 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. Is now all built-in into morphing so reuse that code.
- 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.
- fieldToCellSet Select cells based on field. Give min and max to select.
- flattenMesh Flatten the front and back planes of a 2D cartesian mesh.
- mergeMeshes Merge two meshes.
- mirrorMesh Mirrors a mesh around a given plane.
- moveEngineMesh Solver for moving meshes for engine calculations.
- moveMesh Solver for moving meshes.
- objToVTK Read obj line (not surface!) file and convert into vtk.
- 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.
- refineShapeMesh Refines a region of a shapeMesh according to parameters specified in a refineShapeMeshDict dictionary.
- renumberMesh Renumbers the cell list in order to reduce the bandwidth, reading and renumbering all fields from all the time directories.
- scalePoints Scales the mesh points in the polyMesh directory by a factor supplied as an argument.
- 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.
- 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.
- zipUpMesh Reads in a mesh with hanging vertices and zips up the cells to guarantee that all polyhedral cells of valid shape are closed.
3 miscellaneous
4 parallelProcessing
5 postProcessing
6 Pre-processing
- boxTurb Makes a box of turbulence which conforms to a given energy spectrum and is divergence free,
- engineSwirl Generates a swirling flow for engine calulations.
- FoamX Case management tool.
- mapFields Maps volume fields from one mesh to another, reading and interpolating all fields present in the time directory of both cases. Parallel and non-parallel cases are handled without the need to reconstruct them first.