Hi Paolo, That syntax is deprecated. Before it was possible to explicit region numbers for the layers. You should remove it.
Regards, Ruth On 05 Mar 2013, at 14:33, Paolo Tricerri <[email protected]> wrote: > 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 > _______________________________________________ > gmsh mailing list > [email protected] > http://www.geuz.org/mailman/listinfo/gmsh — Dr. Ir. Ruth V. Sabariego University of Liege, Electrical Engineering and Computer Science http://ace.montefiore.ulg.ac.be/
_______________________________________________ gmsh mailing list [email protected] http://www.geuz.org/mailman/listinfo/gmsh
