Difference between revisions of "Contrib gmsh2ToFoam"

From OpenFOAMWiki
Line 17: Line 17:
 
==Download==
 
==Download==
  
[[Media:gmsh2ToFoam-20070217.tar.gz|gmsh2ToFoam-20070217.tar.gz]]
+
[[Media:gmsh2ToFoam-20070218.tar.gz|gmsh2ToFoam-20070218.tar.gz]]
  
 
==History==
 
==History==
[[User:7islands|7islands]] 13:28, 16 Feb 2007 (CET): First upload.
+
[[User:7islands|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.
  
 
[[User:7islands|7islands]] 03:30, 17 Feb 2007 (CET): Improved compatibility with .msh files generated by Windows versions of Gmsh.
 
[[User:7islands|7islands]] 03:30, 17 Feb 2007 (CET): Improved compatibility with .msh files generated by Windows versions of Gmsh.
 +
 +
[[User:7islands|7islands]] 13:28, 16 Feb 2007 (CET): First upload.

Revision as of 02:32, 18 February 2007

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-20070218.tar.gz

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.