freefoam-gmshToFoam(1) Reads .msh file as written by Gmsh.


freefoam gmshToFoam <.msh file> [-keepOrientation] [-help] [-srcDoc] [-doc]


Needs surface elements on mesh to be present and aligned with outside faces of the mesh. I.e. if the mesh is hexes, the outside faces need to be quads


<.msh file>

TODO Detailed description of argument.


Do not check ordering.


Display help message.


Display Doxygen API documentation page for this application.


Display Doxygen source documentation page for this application.


There is something seriously wrong with the ordering written in the .msh file. Normal operation is to check the ordering and invert prisms and hexes if found to be wrong way round. Use the -keepOrientation to keep the raw information.

The code now uses the element (cell,face) physical region id number to create cell zones and faces zones (similar to fluentMeshWithInternalFaces).

A use of the cell zone information, is for field initialization with the "setFields" utility. see the classes: topoSetSource, zoneToCell.


OpenCFD Ltd.


Part of the freefoam(1) suite.


• Copyright © 2008-2012 Michael Wild.

• Copyright © 1991-2010 OpenCFD Ltd.