[Gmsh] [Gmsh ]One layer of solid elements through thickness instead of two

Christophe Geuzaine cgeuzaine at uliege.be
Thu Oct 8 21:56:51 CEST 2020



> On 8 Oct 2020, at 08:37, Pawel Kudela <pk at imp.gda.pl> wrote:
> 
> Dear Gmsh community,
> 
> Do you know how to force gmsh to produce only one layer of hexahedral elements through the thickness of the thin-walled structure like in the attached example? I want to have only one layer of linear elements which will be than converted to higher order spectral element type.
> 
> 3D meshing always produces two elements even though 1 layer is set in extrude operation.
> 

You get 2 elements in the layer because of the 

  Mesh.SubdivisionAlgorithm = 2; // 1: all quadrangles; 2: all hexas

command, which subdivides the mesh (to get a full quad/hex mesh).

There's active work on new quad meshing tools, so hopefully this limitation will disappear in the future.

Christophe

> Regards,
> 
> Pawel
> 
> -- 
> 
> Polish Academy of Sciences
> Institute of Fluid-Flow Machinery
> Centre for Mechanics of Machines
> Mechanics of Intelligent Structures Department
> Fiszera 14 St, 80-231 Gdansk
> tel. +48 58 5225 251
> <plate_extruded_with_stringer.geo>_______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh

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






More information about the gmsh mailing list