OpenFOAM Mesh Conversion Test

OpenFOAM provides many libraries for converting meshes generated in any of the major common formats. Listed below are reported these utilities.


Library Conversion from:
fluentMeshToFoam FLUENT mesh .msh, both 2D and 3D
starToFoam Mesh STAR-CDPROSTAR
sammToFoam Mesh STAR-CD SAMMA
gambitToFoam GAMBIT mesh .neu
ansysToFoam I-DEAS mesh ANSYS.ans
cfxToFoam CFX mesh .geo
ccm26ToFoam File STAR-CCM
gmshToFoam Gmsh file .msh
kivaToFoam KIVA3v mesh
netgenNeutralToFoam Netgen mesh
tetgenToFoam Tetgen .ele, .node and .face meshes

In order to convert a mesh to OpenFOAM format it suffices to make the following steps:


Below is shown the result of a simple 3D GAMBIT mesh conversion. The GAMBIT mesh was exported as a .msh file and the OpenFOAM fluent3DMeshToFoam utility was used.

The figure shows (half) a simple 3D geometry meshed with GAMBIT.

The figure shows the above (full) GAMBIT mesh converted by OpenFOAM.

OpenFOAM mesh converters can be used even in case of complicated geometries. Next is shown a mesh in OpenFOAM format after having converted it from FLUENT. The geometry describes a train coach and was designed for studying air conditioning flow inside the vehicle.

The figure shows the surface of a train coach mesh converted by OpenFOAM from a FLUENT format.

The next example shows how to convert a mesh generated by OpenFOAM to a FLUENT format. The steps to do are the following.

The figure shows a simple 3D mesh generated by OpenFOAM.

The figure shows the above OpenFOAM mesh converted to a FLUENT format.