[Gmsh] Cannot mesh a simple volume
Fabrice Pepin
fa_201 at yahoo.fr
Tue Apr 11 23:49:43 CEST 2017
Hello,
I try to mesh a simple box volume using version 2.16 without success and I do not understand why.Everything is fine up to 2D mesh. I want to have 4 hexa "piled" together.Picture 1 shows quadrangles (with shrink factor) which are OK.On the GUI I click on mesh 3D and then the quadrangles are split and 3D mesh gets error.Can anybody tell me what I do wrong ? Thank you in advance.
Fabrice.
// hexa elements
// 4 along length , 1 along width z, 1 along height y
size = 480/4;
Point (1) = {0, 0, 0, size};
Point (2) = {0, 0, 30, size};
Line (1) = {1, 2};
Extrude {0, 30, 0} { Line{1}; Layers {{1}, {1} }; }
Transfinite Surface {5} Right;
Extrude {480, 0, 0} { Surface{5}; Layers { {1, 1, 1, 1}, {0.25, 0.5, 0.75, 1} } ;}
Transfinite Line "*" = 2;
Transfinite Surface "*" Right;
Recombine Surface "*" =0 ;
Transfinite Volume "*" ;
Mesh 1;
Mesh 2;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20170411/1d6876eb/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1.png
Type: image/png
Size: 6653 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20170411/1d6876eb/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2.png
Type: image/png
Size: 17508 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20170411/1d6876eb/attachment-0003.png>
More information about the gmsh
mailing list