Mesh Conversion

Mesh Conversion

OpenFOAM accepts meshes generated by any of the major mesh generators and CAD systems. Listed below are converter utlities for the major commercial mesh generators. Note that it is also possible to import the meshes from most general purpose mesh generators since they will export in a format read by one of the converters.

Mesh converters


ansysToFoam Converts an ANSYS input mesh file, exported from I-DEAS, to OPENFOAM® format
cfx4ToFoam Converts a CFX 4 mesh to OPENFOAM® format
datToFoam Reads in a datToFoam mesh file and outputs a points file. Used in conjunction with blockMesh
fluent3DMeshToFoam Converts a Fluent mesh to OPENFOAM® format
fluentMeshToFoam Converts a Fluent mesh to OPENFOAM® format including multiple region and region boundary handling
foamMeshToFluent Writes out the OPENFOAM® mesh in Fluent mesh format
foamToStarMesh Reads an OPENFOAM® mesh and writes a PROSTAR (v4) bnd/cel/vrt format
foamToSurface Reads an OPENFOAM® mesh and writes the boundaries in a surface format
gambitToFoam Converts a GAMBIT mesh to OPENFOAM® format
gmshToFoam Reads .msh file as written by Gmsh
ideasUnvToFoam I-Deas unv format mesh conversion
kivaToFoam Converts a KIVA grid to OPENFOAM® format
mshToFoam Converts .msh file generated by the Adventure system
netgenNeutralToFoam Converts neutral file format as written by Netgen v4.4
plot3dToFoam Plot3d mesh (ascii/formatted format) converter
sammToFoam Converts a STAR-CD (v3) SAMM mesh to OPENFOAM® format
star3ToFoam Converts a STAR-CD (v3) PROSTAR mesh into OPENFOAM® format
star4ToFoam Converts a STAR-CD (v4) PROSTAR mesh into OPENFOAM® format
tetgenToFoam Converts .ele and .node and .face files, written by tetgen
writeMeshObj For mesh debugging: writes mesh as three separate OBJ files which can be viewed with e.g. javaview