[Gmsh] Meshes with 27 nodes hexahedrons

Christophe Geuzaine cgeuzaine at ulg.ac.be
Tue May 10 09:06:53 CEST 2011


On 10/05/11 08:53, Michel Dupront wrote:
>
> Hello,
>
> I am trying to generate a 27 nodes hexahedron mesh.
> I have a test.geo file to create a structured hexahedron
> mesh. When I run:
> $ gmsh test.geo -3 -order 1
> I get a first order hexahedron mesh. Here a hexahedron has
> 8 nodes.
> If I run with -order 2 I get hexahedrons with 20 nodes.
> How do I get hexahedrons with 27 nodes ?
>

Make sure you have the following option:

Mesh.SecondOrderIncomplete = 0;

(It's also available in the GUI in Tools->Options->Mesh->General

> Thanks for any help.
>
>
>
>
> _______________________________________________
> 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