> On 28 May 2018, at 18:36, andrew <armit...@gmail.com> wrote:
> 
> 
> Hi,
> 
> I am trying to make a 3d mesh from an extruded 2d mesh. I use the code 
> attached but when I run the code I get 2 layers instead of one. Is there a 
> way to get a single extruded layer or I am doing something wrong?
> 

This is due to the fact that you set "Mesh.SubdivisionAlgorithm".

(Note that in 3D you should set "Mesh.SubdivisionAlgorithm = 2" to get a 
conformal mesh.)


> Kind regards
> 
> Andrew
> 
> <Clipboard02.jpg><test.geo>_______________________________________________
> gmsh mailing list
> gmsh@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

Free software: http://gmsh.info | http://getdp.info | http://onelab.info

_______________________________________________
gmsh mailing list
gmsh@onelab.info
http://onelab.info/mailman/listinfo/gmsh

Reply via email to