[Gmsh] Problem with using Extrude command
Shahla Feizi
shahlafeizi at gmail.com
Fri Sep 11 00:32:05 CEST 2015
I have been trying to mesh a 3D cube with multiple layers using gmsh. I
need all hexahedral elements. My 2D geometry is first meshed with
unstructured grid and all quad elements which is achieved using recombine.
Extruding the 2D mesh in z direction using :
out1[]=Extrude {0, 0,911} {Surface{114};
Layers{{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},{0.0329,0.1570,.4894,.5412,.6586,0.6915,0.8716,0.8957,.9034,0.9045,.9111,0.9265,0.9286,0.9506,0.9594,0.9671,0.9835,1}};Recombine;};
creates a problem. The mesh on say z=911 is not identical to z=0. So 3D
mesh fails. I have attached part of the mesh in XY plane in transparent
mode (checked off visibility of Surface faces in Tools>Options>Mesh) to
show how the mesh at z=0 and z=911 are not identical.
>From reference manual, section 6.3.2, it's stated that Extrude command
extrudes both the geometry and the mesh using a translation. So mesh is
only translated along z, and it shouldn't change after translating.
Could anyone help resolve this issue? Thanks a lot in advance.
Best regards,
Shahla
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20150910/3a261b2f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: XY plane-Gmsh.jpg
Type: image/jpeg
Size: 285110 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20150910/3a261b2f/attachment-0001.jpg>