diff --git a/tutorial/t1.geo b/tutorial/t1.geo index 9c20d814e6241254d336f7cc94e607eaed55e211..ce12fd846b9370ebac3b4eb90d3ab510468e43eb 100644 --- a/tutorial/t1.geo +++ b/tutorial/t1.geo @@ -67,18 +67,18 @@ Physical Point(1) = {1,2} ; // both with the region number 1. The mechanism is identical for line or surface // elements: -MY_FIRST_LINE = 99; -Physical Line(MY_FIRST_LINE) = {1,2} ; +MY_LINE = 2; +Physical Line(MY_LINE) = {1,2} ; Physical Line("My second line (auto physical id)") = {3} ; -Physical Line("My third line (physical id 199)", 199) = {4} ; +Physical Line("My third line (physical id 5)", 5) = {4} ; Physical Surface("My surface") = {6} ; // All the line elements created during the meshing of lines 1 and 2 will be -// saved in the output mesh file with the physical id 99. The elements from line +// saved in the output mesh file with the physical id 2. The elements from line // 3 will be saved in the output mesh file with an automatic physical id, // associated with the label "My second line (auto physical id)". The elements -// from line 4 will be saved with physical id 199, associated with the label "My -// third line (physical id 199)". And finally, all the triangular elements +// from line 4 will be saved with physical id 5, associated with the label "My +// third line (physical id 5)". And finally, all the triangular elements // resulting from the discretization of surface 6 will be given an automatic // physical id associated with the label "My surface"). diff --git a/tutorial/t3.geo b/tutorial/t3.geo index 04c1576e0aff82568d22fba80216f265f6fe9736..e77cfb3857f178523acdf1e49ec0ee1c159b89fb 100644 --- a/tutorial/t3.geo +++ b/tutorial/t3.geo @@ -28,7 +28,7 @@ Extrude {0,0,h} { // ({0,1,0}), an axis point ({-0.1,0,0.1}) and a rotation angle (-Pi/2): Extrude { {0,1,0} , {-0.1,0,0.1} , -Pi/2 } { - Surface{122}; Layers{7}; Recombine; + Surface{28}; Layers{7}; Recombine; } // Note that a translation ({-2*h,0,0}) and a rotation ({1,0,0}, {0,0.15,0.25}, @@ -41,7 +41,7 @@ DefineConstant[ angle = {90, Min 0, Max 120, Step 1, Name "Parameters/Twisting angle"} ]; out[] = Extrude { {-2*h,0,0}, {1,0,0} , {0,0.15,0.25} , angle * Pi / 180 } { - Surface{144}; Layers{10}; Recombine; + Surface{50}; Layers{10}; Recombine; }; // In this last extrusion command we retrieved the volume number programatically