|
22 is a Physical surface, not a geometrical entity. You cannot apply functions (Translate) that act on the geometry on physical entities. The end of your file should be something like this: Line Loop (1) = {23, 34, 45, 52 }; Plane Surface(1) = {1}; 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}; }; surfTot[] = {out23[1], out34[1], out45[1], out52[1], 1}; //Line Loop (2) = {out23[0], out34[0], out45[0], out52[0] }; //Plane Surface(1) = {2}; Physical Surface(22) = {surfTot[]}; Translate {4., 0, 0} { Duplicata{ Surface{surfTot[]}; } } Hope this helps, Ruth On 02/03/10 15:35, Alexis Blasselle wrote: I can't understand why my physical surface 22 is "unknown": -- Dr. Ir. Ruth V. Sabariego University of Liege, Dept. of Electrical Engineering & Computer Science, Applied & Computational Electromagnetics (ACE), phone: +32-4-3663737 - fax: +32-4-3662910 - http://ace.montefiore.ulg.ac.be/ |
_______________________________________________ gmsh mailing list [email protected] http://www.geuz.org/mailman/listinfo/gmsh
