[Gmsh] -NumSubEdges for imported high order .msh

Christophe Geuzaine cgeuzaine at ulg.ac.be
Wed Nov 4 14:21:45 CET 2015


> On 03 Nov 2015, at 17:58, Andre Aguiar <ufabc.andre at gmail.com> wrote:
> 
> Dear all,
> 
> 
> 
> First of all, thank you all for the effort on the development of such a great tool for all of us.
> 
> 
> 
> I am a currently undergrad working on the development of high order meshing (obtained from linear ones) and I was trying to visualize it on Gmsh. The problem I’m facing (sorry for the pun) is that my higher order elements are not being visualized as curved ones.
> 
>  
> I am creating a .msh file myself (without a background .geo). I have checked the –numsubedges command, but it seems it needs some .geo behind it, otherwise faces just stay the same (linear). When I create a mesh from a .geo file, it works, though (Like in sphere.geo demo file - so it's probably not any option config)
> 

Hi Andre - the option is "Mesh.NumSubEdges": just add it in your config file, or in a script, on on the command line e.g. with -string "Mesh.NumSubEdges = 5;"

Christophe


>  
> Is there any way to interpolate the faces, given the order I want to visualize it? Or would you mind refering me another way to visualize it as a curved element?
> 
> 
> 
> Thanks and regards,
> 
> Andre
> 
> 
> 
> _______________________________________________
> 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

Tetrahedron V, July 4-5 2016: http://tetrahedron.montefiore.ulg.ac.be
Free software: http://gmsh.info | http://getdp.info | http://onelab.info