thank you very much, and scuse me for this simple question ! (I'm new at gmsh)<br><br>Best regards,<br><br>alexis<br><br><div class="gmail_quote">2010/3/2 Ruth V. Sabariego <span dir="ltr"><<a href="mailto:r.sabariego@ulg.ac.be">r.sabariego@ulg.ac.be</a>></span><br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


  

<div text="#000000" bgcolor="#ffffff">
22 is a Physical surface, not a geometrical entity. <br>
You cannot apply functions (Translate) that act on the geometry on
physical entities.<br>
  <br>
The end of your file should be something like this:<div class="im"><br>
<br>
<br>
Line Loop (1) = {23, 34, 45, 52 };<br></div>
Plane Surface(1) = {1};<div class="im"><br>
<br>
out23[] = Extrude {0,0,-H} { Line{23}; };<br>
out34[] = Extrude {0,0,-H} { Line{34}; };<br>
out45[] = Extrude {0,0,-H} { Line{45}; };<br>
out52[] = Extrude {0,0,-H} { Line{52}; };<br>
<br></div>
surfTot[] = {out23[1], out34[1], out45[1], out52[1], 1};<br>
<br>
//Line Loop (2) = {out23[0], out34[0], out45[0], out52[0] };<br>
//Plane Surface(1) = {2};<br>
<br>
Physical Surface(22) = {surfTot[]};<br>
<br>
Translate {4., 0, 0} { Duplicata{ Surface{surfTot[]}; } }<br>
<br>
<br>
Hope this helps,<br>
Ruth<div class="im"><br>
<br>
<br>
<br>
<br>
On 02/03/10 15:35, Alexis Blasselle wrote:
</div><blockquote type="cite"><div><div></div><div class="h5">I can't understand why my physical surface 22 is "unknown":<br>
  <br>
// exemple<br>
  <br>
lc1 = 0.05 ;<br>
R = 0.5;<br>
H = 3 ;<br>
  <br>
Point(100) = {0., 0., 0., lc1};<br>
// premier cercle<br>
Point(1) = {  0. ,  0. , -H/2 , lc1  } ;<br>
Point(2) = {  R  ,  0. , -H/2 , lc1  } ;<br>
Point(3) = {  0. ,  R  , -H/2. , lc1  } ;<br>
Point(4) = { -R  ,  0. , -H/2 , lc1  } ;<br>
Point(5) = {  0. , -R  , -H/2 , lc1  } ;<br>
  <br>
Circle(23) = { 2 , 1 , 3 } ;<br>
Circle(34) = { 3 , 1 , 4 } ;<br>
Circle(45) = { 4 , 1 , 5 } ;<br>
Circle(52) = { 5 , 1 , 2 } ;<br>
  <br>
Line Loop (1) = {23, 34, 45, 52 };<br>
  <br>
  <br>
out23[] = Extrude {0,0,-H} { Line{23}; };<br>
out34[] = Extrude {0,0,-H} { Line{34}; };<br>
out45[] = Extrude {0,0,-H} { Line{45}; };<br>
out52[] = Extrude {0,0,-H} { Line{52}; };<br>
  <br>
Line Loop (2) = {out23[0], out34[0], out45[0], out52[0] };<br>
Plane Surface(1) = {2};<br>
  <br>
Physical Surface(22) = {out23[1], out34[1], out45[1], out52[1], -1 };<br>
  <br>
Translate {4., 0, 0} { Duplicata{ Surface{22}; } }<br>
  <br>
  <br clear="all">
Thank you in advance for your answer,<br>
  <br>
Best regards,<br>
  <br>
Miss Blasselle<br>
-- <br>
  <a href="http://www.ann.jussieu.fr/%7Eblasselle/" target="_blank">http://www.ann.jussieu.fr/~blasselle/</a><br>
  </div></div><pre><fieldset></fieldset>
_______________________________________________
gmsh mailing list
<div class="im"><a href="mailto:gmsh@geuz.org" target="_blank">gmsh@geuz.org</a>
<a href="http://www.geuz.org/mailman/listinfo/gmsh" target="_blank">http://www.geuz.org/mailman/listinfo/gmsh</a>
  </div></pre>
</blockquote>
<br>
<pre cols="72">-- 
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 - <a href="http://ace.montefiore.ulg.ac.be/" target="_blank">http://ace.montefiore.ulg.ac.be/</a>
</pre>
</div>


<br>_______________________________________________<br>
gmsh mailing list<br>
<a href="mailto:gmsh@geuz.org">gmsh@geuz.org</a><br>
<a href="http://www.geuz.org/mailman/listinfo/gmsh" target="_blank">http://www.geuz.org/mailman/listinfo/gmsh</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.ann.jussieu.fr/~blasselle/">http://www.ann.jussieu.fr/~blasselle/</a><br>