Dear all,<br><br>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:<br><pre>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<b>,73,1</b>};};
Extrude Surface {28, {0,1,0}, {-2,0,0}, 2*Pi/3}{Layers{10<b>,73,1</b>};};
Extrude Surface {50, {0,1,0}, {-2,0,0}, 2*Pi/3}{Layers{10<b>,73,1</b>};};</pre>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?<br>
<br>Many thanks in advance,<br><br>Paolo Tricerri<br>