[Gmsh] writing old msh format 1.0 in gmsh 2.0

Colignon David David.Colignon at ulg.ac.be
Tue Jun 19 13:59:03 CEST 2007


Hi,

just add

Mesh.MshFileVersion = 1 ;

in your .geo file, or with the command line, use

gmsh aaaa.geo -2 -format msh1

Cheers,

Dave

-- 
David Colignon, Ph.D.
ELAP - Unité d'Electricité Appliquée
Institut Montefiore B28
Université de Liège
4000 LIEGE - BELGIQUE
Tél: +32 (0)4 366 37 32
Fax: +32 (0)4 366 29 10
http://elap.montefiore.ulg.ac.be

> Since I've been using the old gmsh (up to version 1.65) quite a lot,
> I wrote my own converter from *.msh 1.0  to some other grid formats.
>
> This way I am able to generate pretty 3D meshes for a Method of Moments
> electromagnetics solver,
> using only the "gmsh -2 file.geo" option.
>
> As gmsh now provides the 2.0 format. Do I need to add the new format
> reading capability to my converter,
> or can I write still the old 1.0 *.msh format with gmsh 2.0.x?
>
> Thanks for your help!
>
> best regards
>
>
> robert.kebel at ieee.org
>
>
>
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh
>