Contrib gmsh2ToFoam

From OpenFOAMWiki
Revision as of 02:30, 17 February 2007 by 7islands (Talk | contribs)

Valid versions: OF version 13.png

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

gmsh2ToFoam-20070217.tar.gz

5 History

7islands 13:28, 16 Feb 2007 (CET): First upload.

7islands 03:30, 17 Feb 2007 (CET): Improved compatibility with .msh files generated by Windows versions of Gmsh.