[Gmsh] Getting Through GetDP and Gmsh Basics

David Colignon David.Colignon at ulg.ac.be
Sun Oct 11 17:17:46 CEST 2009



Bruce McGee wrote:
> Hi Guys
> 
> Thanks for GetDP and gmsh.  Here is my problem:
> 
> When I use gmsh to generate a mesh (I am using the file test.geo as an 
> input file) and attempt to run the pre on the file from within gmsh I 
> get the following error on in Message Console
> 
> 
> ------------------------------------------------------------------------
> 
> 
> 
> 
> A screen shot of the first few lines of test.msh are below

Hi Bruce,

the getdp executable is a little bit old now and does not understand the latest default mesh format (2.1) of Gmsh. In 
Gmsh, you should use File -> "Save As", then choose Format -> "Gmsh mesh" and finally choose Format : "Version 2.0 
ASCII" when asked by the MSH options popup window, which will save your mesh in the 2.0 format readable by getdp.

Or alternatively add the following line in your .geo file:

Mesh.MshFileVersion = 2 ;


Cheers,

Dave



> 
> Can you help me.
> 
> Bruce
> 
> 
> 
> ------------------------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh