Contrib gmsh2ToFoam
1 Short Description
A modified gmshToFoam with support to .msh file format version 2.0 (ASCII type only) introduced in gmsh-2.0.0.
2 Usage
Identical to the original gmshToFoam. Gmsh2ToFoam can also handle the conventional (version 1.0) .msh file format and automatically detects the format version.
3 Technical
The only known incompatibility with the original gmshToFoam is that gmsh2ToFoam produces a fatal error if the mesh contains second-order elements, instead of silently ignoring them. This is simply due to saving my programming time of some 10 minutes so I could change the behavior upon request.
For feedback and discussion go to this thread on the Message Board.
4 Download
5 History
7islands 03:32, 18 Feb 2007 (CET):
- Incorporated primitivePatch::meshPointMap() call optimization from Bernhard's gmshToFoamMod.
- Fixed correspondence between OpenFOAM cellZone/patch numbering and Gmsh physical/elementary entity tagging. The meaning of physical entity tag seems to be different between .msh file format versions.
7islands 03:30, 17 Feb 2007 (CET): Improved compatibility with .msh files generated by Windows versions of Gmsh.
7islands 13:28, 16 Feb 2007 (CET): First upload.