[Gmsh] issue saving bdf file in command line mode

Christophe Geuzaine cgeuzaine at ulg.ac.be
Sat Oct 5 11:51:31 CEST 2013


On 02 Oct 2013, at 17:19, Miguel Morais <moraismig at gmail.com> wrote:

> Hi,
> 
> I have been trying to convert a mesh in med format to bdf format in non interactive mode.
> This mesh consists of nodes and 2nd order tetrahedrals (TET10).
> 
> The command line I used is the following:
> 
> gmsh.exe mesh.med -format bdf -o mesh.bdf -3
> 
> What happens is that the mesh is reduced to 1st order (TET4).
> If I do the conversion using the graphical interface this doesn't happen.
> 
> I suppose the problem is in the command line options I used, can you suggest the correct options?
> 

It's indeed a quirk in the way "-3" works (it will reset the mesh order to 1).

You could do: gmsh.exe mesh.med -0 -o mesh.bdf  ("-0" simply outputs the model without changing it)




> Thanks
> 
> Miguel
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh

-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine