[Gmsh] Physical surface
Alexis Blasselle
alexis.blasselle at gmail.com
Tue Mar 2 15:35:03 CET 2010
I can't understand why my physical surface 22 is "unknown":
// exemple
lc1 = 0.05 ;
R = 0.5;
H = 3 ;
Point(100) = {0., 0., 0., lc1};
// premier cercle
Point(1) = { 0. , 0. , -H/2 , lc1 } ;
Point(2) = { R , 0. , -H/2 , lc1 } ;
Point(3) = { 0. , R , -H/2. , lc1 } ;
Point(4) = { -R , 0. , -H/2 , lc1 } ;
Point(5) = { 0. , -R , -H/2 , lc1 } ;
Circle(23) = { 2 , 1 , 3 } ;
Circle(34) = { 3 , 1 , 4 } ;
Circle(45) = { 4 , 1 , 5 } ;
Circle(52) = { 5 , 1 , 2 } ;
Line Loop (1) = {23, 34, 45, 52 };
out23[] = Extrude {0,0,-H} { Line{23}; };
out34[] = Extrude {0,0,-H} { Line{34}; };
out45[] = Extrude {0,0,-H} { Line{45}; };
out52[] = Extrude {0,0,-H} { Line{52}; };
Line Loop (2) = {out23[0], out34[0], out45[0], out52[0] };
Plane Surface(1) = {2};
Physical Surface(22) = {out23[1], out34[1], out45[1], out52[1], -1 };
Translate {4., 0, 0} { Duplicata{ Surface{22}; } }
Thank you in advance for your answer,
Best regards,
Miss Blasselle
--
http://www.ann.jussieu.fr/~blasselle/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20100302/923ef60e/attachment.html>