<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello,</p>
<p>Part of your code is missing : I cannot reproduce it.</p>
<p>I however suspect the last<span style="font-variant-ligatures:
no-common-ligatures" class=""> line to be the bad guy :</span></p>
<p><span style="font-variant-ligatures: no-common-ligatures"
class="">Plane Surface(s_low_i) = {ll_low_i};</span></p>
<p><span style="font-variant-ligatures: no-common-ligatures"
class="">Could you try with "Surface" (instead of "Plane
Surface") ?</span></p>
<p><span style="font-variant-ligatures: no-common-ligatures"
class="">Best,</span></p>
<p><span style="font-variant-ligatures: no-common-ligatures"
class="">Bertrand<br>
</span></p>
<div class="moz-cite-prefix">Le 25/02/2020 à 17:18, Sabrina Zacarias
a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:0118F318-5A20-4550-81D5-08304653D85C@ikp.tu-darmstadt.de">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Dear experts,
<div class=""><br class="">
</div>
<div class="">I am doing a very simple test to see the mesh of a
surface, but the output is not right (see attachment). I would
be grateful if someone can point out what I’m missing. This is
the code:</div>
<div class=""><br class="">
</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class=""> //Electrode</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures; color:
#c1651c" class=""> 16 </span><span
style="font-variant-ligatures: no-common-ligatures" class="">
lc_el=1;</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures; color:
#c1651c" class=""> 17 </span><span
style="font-variant-ligatures: no-common-ligatures" class="">
x0=0;</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures; color:
#c1651c" class=""> 18 </span><span
style="font-variant-ligatures: no-common-ligatures" class="">
y0=0;</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures; color:
#c1651c" class=""> 19 </span><span
style="font-variant-ligatures: no-common-ligatures" class="">
z0=0;</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo;" class=""><span
class=""> 20 w=50;</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; color: rgb(193, 101,
28);" class=""><span style="font-variant-ligatures:
no-common-ligatures" class=""> 21 </span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures; color:
#c1651c" class=""> 22 </span><span
style="font-variant-ligatures: no-common-ligatures" class="">
//inner radius</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; color: rgb(193, 101,
28);" class=""><span style="font-variant-ligatures:
no-common-ligatures" class=""> 23 </span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures; color:
#c1651c" class=""> 24 </span><span
style="font-variant-ligatures: no-common-ligatures" class="">
pel_1_1 = newp; Point(pel_1_1) = {x0,y0,z0,lc_el}; //center</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures; color:
#c1651c" class=""> 25 </span><span
style="font-variant-ligatures: no-common-ligatures" class="">
pel_2_1 = newp; Point(pel_2_1) = {Rel_in,y0,z0,lc_el};</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures; color:
#c1651c" class=""> 26 </span><span
style="font-variant-ligatures: no-common-ligatures" class="">
pel_3_1 = newp; Point(pel_3_1) = {x0,Rel_in,z0,lc_el};</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; color: rgb(193, 101,
28);" class=""><span style="font-variant-ligatures:
no-common-ligatures" class=""> 27 </span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures; color:
#c1651c" class=""> 28 </span><span
style="font-variant-ligatures: no-common-ligatures" class="">
//circular boundary 1</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; color: rgb(193, 101,
28);" class=""><span style="font-variant-ligatures:
no-common-ligatures" class=""> 29 </span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures; color:
#c1651c" class=""> 30 </span><span
style="font-variant-ligatures: no-common-ligatures" class="">cel_1_i
= newc; Circle(cel_1_i) = {pel_2_1,pel_1_1,pel_3_1};</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures; color:
#c1651c" class=""> 31 </span><span
style="font-variant-ligatures: no-common-ligatures" class="">//same
+width</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures; color:
#c1651c" class=""> 32 </span><span
style="font-variant-ligatures: no-common-ligatures" class="">pel_1_2
= newp; Point(pel_1_2) = {x0,y0,z0+w,lc_el}; //center</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures; color:
#c1651c" class=""> 33 </span><span
style="font-variant-ligatures: no-common-ligatures" class="">pel_2_2
= newp; Point(pel_2_2) = {Rel_in,y0,z0+w,lc_el};</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures; color:
#c1651c" class=""> 34 </span><span
style="font-variant-ligatures: no-common-ligatures" class="">pel_3_2
= newp; Point(pel_3_2) = {x0,Rel_in,z0+w,lc_el};</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; color: rgb(193, 101,
28);" class=""><span style="font-variant-ligatures:
no-common-ligatures" class=""> 35 </span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures; color:
#c1651c" class=""> 36 </span><span
style="font-variant-ligatures: no-common-ligatures" class="">//circular
boundary 2</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; color: rgb(193, 101,
28);" class=""><span style="font-variant-ligatures:
no-common-ligatures" class=""> 37 </span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures; color:
#c1651c" class=""> 38 </span><span
style="font-variant-ligatures: no-common-ligatures" class="">cel_2_i
= newc; Circle(cel_2_i) = {pel_3_2,pel_1_2,pel_2_2};</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; color: rgb(193, 101,
28);" class=""><span style="font-variant-ligatures:
no-common-ligatures" class=""> 39 </span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures; color:
#c1651c" class=""> 40 </span><span
style="font-variant-ligatures: no-common-ligatures" class="">//lines
connecting circles 1 & 2 (translated in z===width)</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; color: rgb(193, 101,
28);" class=""><span style="font-variant-ligatures:
no-common-ligatures" class=""> 41 </span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures; color:
#c1651c" class=""> 42 </span><span
style="font-variant-ligatures: no-common-ligatures" class="">l_low_i
= newl; Line(l_low_i) = {pel_2_2,pel_2_1};</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures; color:
#c1651c" class=""> 43 </span><span
style="font-variant-ligatures: no-common-ligatures" class="">l_low_ii
= newl; Line(l_low_ii) = {pel_3_1,pel_3_2};</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; color: rgb(193, 101,
28);" class=""><span style="font-variant-ligatures:
no-common-ligatures" class=""> 44 </span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures; color:
#c1651c" class=""> 45 </span><span
style="font-variant-ligatures: no-common-ligatures" class="">//surface
loop </span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; color: rgb(193, 101,
28);" class=""><span style="font-variant-ligatures:
no-common-ligatures" class=""> 46 </span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures; color:
#c1651c" class=""> 47 </span><span
style="font-variant-ligatures: no-common-ligatures" class="">ll_low_i
= newreg; Line Loop(ll_low_i) =
{cel_1_i,l_low_ii,cel_2_i,l_low_i};</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures; color:
#c1651c" class=""> 48 </span><span
style="font-variant-ligatures: no-common-ligatures" class="">s_low_i
= news; Plane Surface(s_low_i) = {ll_low_i};</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; color: rgb(193, 101,
28);" class=""><span style="font-variant-ligatures:
no-common-ligatures" class=""> 49 </span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; color: rgb(193, 101,
28);" class=""><span style="font-variant-ligatures:
no-common-ligatures" class=""><br class="">
</span></div>
<span class="">Thank you very much in advance.<br class="">
</span><span class=""><br class="">
</span><span class="">Best regards,<br class="">
</span><span class=""><br class="">
</span><span class="">Sabrina<br class="">
</span><span class=""><img apple-inline="yes"
id="AB518410-DD91-45DF-9000-4EFA560070EE"
src="cid:part1.1CE3E485.B99153DD@sorbonne-universite.fr"
class="" width="788" height="442"><img apple-inline="yes"
id="1E564F30-ECF7-4CB3-9FD7-03E01FC1F65B"
src="cid:part2.7A76D3E7.ECD93D93@sorbonne-universite.fr"
class="" width="774" height="729"></span><span class=""><br
class="">
<div class="">-- <br class="">
Sabrina Zacarias<br class="">
Institut für Kernphysik<br class="">
Technische Universität Darmstadt<br class="">
S2|14 / office 319<br class="">
Schlossgartenstr. 9<br class="">
<br class="">
64289 Darmstadt<br class="">
<br class="">
Office: +49 6151 16 23589<br class="">
</div>
</span>
<br class="">
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
gmsh mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gmsh@onelab.info">gmsh@onelab.info</a>
<a class="moz-txt-link-freetext" href="http://onelab.info/mailman/listinfo/gmsh">http://onelab.info/mailman/listinfo/gmsh</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Bertrand THIERRY
CNRS researcher
Laboratoire Jacques Louis Lions
Office 310, Corridor 15-25
+33 1 44 27 72 01
<a class="moz-txt-link-freetext" href="http://bthierry.pages.math.cnrs.fr/">http://bthierry.pages.math.cnrs.fr/</a></pre>
</body>
</html>