<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi Paolo,</div><div>That syntax is deprecated. Before it was possible to explicit region numbers for the layers.</div><div>You should remove it.</div><div><br></div><div>Regards,</div><div>Ruth</div><div><br></div><div><br></div><br><div><div>On 05 Mar 2013, at 14:33, Paolo Tricerri <<a href="mailto:paolotricerri@gmail.com">paolotricerri@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">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>
_______________________________________________<br>gmsh mailing list<br><a href="mailto:gmsh@geuz.org">gmsh@geuz.org</a><br>http://www.geuz.org/mailman/listinfo/gmsh<br></blockquote></div><br><div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>—</div><div>Dr. Ir. Ruth V. Sabariego</div><div>University of Liege, Electrical Engineering and Computer Science</div><div><a href="http://ace.montefiore.ulg.ac.be/">http://ace.montefiore.ulg.ac.be/</a></div><div><br></div></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br></body></html>