[Gmsh] (no subject)

Nilesh Manker nmanker at gmail.com
Tue Nov 28 09:03:29 CET 2017


issue regarding hexahedral meshing in gmsh , i did tetrahedral meshing in
gmsh but i  do for hexahedral meshing for cylinderical object
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20171128/e46404c8/attachment.html>
-------------- next part --------------
//+
Point(1) = {2.5, 0, 0, 3};
//+
Point(2) = {5.25, 0, 0, 3};
//+
Point(3) = {8, 0, 0, 3};
//+
Line(1) = {1, 2};
//+
Line(2) = {2, 3};
//+
Extrude {0, 0, 14} {
  Line{1}; Line{2}; Layers{15};
}
//+
Extrude {{0, 0, 1}, {0, 0, 0}, Pi/2} {
  Surface{6}; Surface{10}; Layers{25}; 
}
//+
Extrude {{0, 0, 1}, {0, 0, 0}, Pi/2} {
  Surface{32}; Surface{54}; Layers{25};
}
//+
Extrude {{0, 0, 1}, {0, 0, 0}, Pi/2} {
  Surface{76}; Surface{98}; Layers{25};
}
//+
Extrude {{0, 0, 1}, {0, 0, 0}, Pi/2} {
  Surface{120}; Surface{142}; Layers{25};
}
//+
Physical Surface("185") = {129, 107, 172, 151, 19, 41, 85, 63};
//+
Physical Surface("186") = {49, 27, 180, 159, 115, 137, 93, 71};
//+
Physical Surface("187") = {133, 89, 45, 176};
//+
Physical Surface("189") = {75, 31, 163, 119};
//+
Physical Volume("190") = {1, 2, 3, 4, 5, 6, 7, 8};
//+



More information about the gmsh mailing list