[Gmsh] 2nd order tetrahedral elements in Gmsh

Christophe Geuzaine cgeuzaine at ulg.ac.be
Mon May 9 12:19:30 CEST 2011


On 09/05/11 12:00, Serban.Georgescu at uk.fujitsu.com wrote:
> Dear all,
>
> I have recently started using Gmsh and I’ve bumped into the following
> problem. I hope there is someone who can help me sort it out.
>
> As far as I know, the usual way of generating 2^nd order tetrahedral
> elements is to add a new degree of freedom in the middle of every edge
> of a 1^st order element. From what I see, in the case of the 2^nd order
> meshes generated using Gmsh, these middle nodes are moved from their
> default location, e.g. in order to better approximate a curved boundary.
> I know this is a good feature, but the FEM solver that I am using does
> not support such elements.
>
> Is there a way to turn this feature off? What I mean is, is there a way
> to generate “usual” meshes, with the middle nodes positioned exactly in
> the middle of the edges?
>


Hi Serban - Yes: just add "Mesh.SecondOrderLinear=1;" in your script file.

> Thanks!
>
> Serban
>
> ______________________________________________________________________
>
>   Fujitsu Laboratories of Europe Limited
>   Hayes Park Central, Hayes End Road, Hayes, Middlesex, UB4 8FE
>   Registered No. 4153469
>
>   This e-mail and any attachments are for the sole use of addressee(s) and
>   may contain information which is privileged and confidential. Unauthorised
>   use or copying for disclosure is strictly prohibited. The fact that this
>   e-mail has been scanned by Trendmicro Interscan does not guarantee that
>   it has not been intercepted or amended nor that it is virus-free.
>
>
>
> _______________________________________________
> 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