> On 13 Apr 2018, at 11:48, Yoann LE BARS <[email protected]> wrote: > > > Hello everybody out there! >
Hi Yoann, > After further investigations, it turns out that tools from SLIM are > producing files on MSH format version 3, while WaveWatch 3 is using MSH > format version 2. I will probably modify WaveWatch 3 to make it accept > version 3 format, but before I need to convert files from version 3 to > version 2. Therefore, my questions are: > > Where can I find the description of MSH format version 3? Version 3 was never officially released/documented. Gmsh 4.0 will introduce a much more efficient version 4 format. > Is there any script converting from version 3 to version 2? You can simply load the mesh in Gmsh, and save it in version 2. You can do this with the GUI, in a .geo script, or directly on the command line: gmsh v3.msh -save -o v2.msh Christophe > Anyway, I have started some code to convert files (code attached to this > message), but without version 3 description, I am a bit stuck. > > Best regards. > > -- > Yoann LE BARS > http://le-bars.net/yoann <http://le-bars.net/yoann> > *Diaspora : [email protected] > <mailto:[email protected]><convertmsh.py>_______________________________________________ > gmsh mailing list > [email protected] > http://onelab.info/mailman/listinfo/gmsh
_______________________________________________ gmsh mailing list [email protected] http://onelab.info/mailman/listinfo/gmsh
