[Gmsh] Question about Full Thorus
Paolo Tricerri
paolotricerri at gmail.com
Tue Mar 5 14:33:25 CET 2013
Dear all,
I am trying to build a geometry with a shape of half of a thorus, On the
gmsh forum, between old posts, I have found this one, made by Mr. Geuzaine:
lc = 0.4;
Point(1) = {0,0,0,lc};
Point(2) = {1,0,0,lc};
Point(3) = {0,1,0,lc};
Point(4) = {0,-1,0,lc};
Point(5) = {-1,0,0,lc};
Circle(1) = {2,1,3};
Circle(2) = {3,1,5};
Circle(3) = {5,1,4};
Circle(4) = {4,1,2};
Line Loop(5) = {1,2,3,4};
Plane Surface(6) = {5};
Extrude Surface {6, {0,1,0}, {-2,0,0}, 2*Pi/3}{Layers{10*,73,1*};};
Extrude Surface {28, {0,1,0}, {-2,0,0}, 2*Pi/3}{Layers{10*,73,1*};};
Extrude Surface {50, {0,1,0}, {-2,0,0}, 2*Pi/3}{Layers{10*,73,1*};};
which was really useful and it let me avoid many problems. I have still one
question, since I have not been able to understand the role of the number
that have been highlighted in bold in the script. Playing with the script I
have understood that the first 10 is the number of "slices" that divide the
angle but I have tried changing the 73 and the mesh was not changing.
Changing the 1 I was getting errors. Could someone explain me the meaning
of those numbers?
Many thanks in advance,
Paolo Tricerri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20130305/231c99af/attachment.html>