Difference between revisions of "Contrib gmsh2ToFoam"

From OpenFOAMWiki
Line 7: Line 7:
 
==Usage==
 
==Usage==
  
Identical to the original <tt>gmshToFoam</tt>. <tt>Gmsh2ToFoam</tt> can also handle the conventional (version 1.0) .msh file format and automatically determines the format version.
+
Identical to the original <tt>gmshToFoam</tt>. <tt>Gmsh2ToFoam</tt> can also handle the conventional (version 1.0) .msh file format and automatically detects the format version.
 
+
For feedback and discussion go to [http://openfoam.cfd-online.com/forum/messages/1/3841.html this thread] on the Message Board.
+
  
 
==Technical==
 
==Technical==
  
 
The only known incompatibility with the original <tt>gmshToFoam</tt> is that <tt>gmsh2ToFoam</tt> 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.
 
The only known incompatibility with the original <tt>gmshToFoam</tt> is that <tt>gmsh2ToFoam</tt> 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 [http://openfoam.cfd-online.com/forum/messages/1/3841.html this thread] on the Message Board.
  
 
==Download==
 
==Download==
  
[[Media:gmsh2ToFoam-20070216.tar.gz|gmsh2ToFoam-20070216.tar.gz]]
+
[[Media:gmsh2ToFoam-20070217.tar.gz|gmsh2ToFoam-20070217.tar.gz]]
  
 
==History==
 
==History==
First Upload: [[User:7islands|7islands]] 13:28, 16 Feb 2007 (CET)
+
[[User:7islands|7islands]] 13:28, 16 Feb 2007 (CET): First upload.
 +
 
 +
[[User:7islands|7islands]] 03:30, 17 Feb 2007 (CET): Improved compatibility with .msh files generated by Windows versions of Gmsh.

Revision as of 02:30, 17 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-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.