Import an OpenFOAM Mesh

The Caedium RANS Flow and Caedium Professional add-ons can both import OpenFOAM meshes, but they require a special dummy (empty) file to locate the OpenFOAM case directory.

Preparation

Caedium assumes that the OpenFOAM mesh (polyMesh) lies within the standard case directory structure:

<case-directory-root>/constant/polyMesh/...

where <case-directory-root> can be any directory name.

To be able to select an OpenFOAM case using the Caedium import dialog, you need to have a dummy (empty) file at the same directory level as the <case-directory-root>, with filename:

<case-directory-root>.ofm

Procedure

With the dummy file in place, you can proceed to select File->Import... in the Caedium Menu Bar. Select Geometry as the file type and navigate to the location of the <case-directory-root>.ofm file. Double-click on <case-directory-root>.ofm to import the OpenFOAM mesh into Caedium.

Notes

  • When you export an OpenFOAM case using Caedium, it will also write out the <case-directory-root>.ofm dummy file
  • Caedium does not support arbitrary polyhedra, such as the elements produced by snappyHexMesh

Socialize

Trending Now