<div dir="ltr"><div class="gmail_default" style="font-size:small">Now that I see it more your file creates overlapping lines (7 & 1102 for example). There is a problem with your script logic in the creation of these lines.</div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-11-16 14:27 GMT+02:00 andrew <span dir="ltr"><<a href="mailto:armitatz@gmail.com" target="_blank">armitatz@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small">The problem is at the addition of gp_lines.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Your loop does not add the lines in the gp_lines array. If you add them manually then it is ok.</div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2017-11-16 13:39 GMT+02:00 Bormann, F. <span dir="ltr"><<a href="mailto:F.Bormann@tue.nl" target="_blank">F.Bormann@tue.nl</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div lang="EN-GB" vlink="purple" link="blue">
<div class="m_-3966678350174394855m_-7287752535208530532WordSection1">
<p class="MsoNormal">Dear Sir or Madam,<u></u><u></u></p>
<p class="MsoNormal">I run into a problem currently with GMSH.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I have a rectangle LxH that I want to mesh. <u></u><u></u></p>
<p class="MsoNormal">Within that rectangle I have two lines that split the whole rectangle into 3 subdomains. Along those lines (a<=x<=L) I want to introduce a fine mesh.<u></u><u></u></p>
<p class="MsoNormal">Thereto, I use a Field (Line attractor and Threshold). This is a matter of choice, since the problem will be upscaled towards more and overlapping refined regions.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">However, now I realise that between those two lines no mesh coarsening takes place, although it actually should.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Is there something that I am missing or is there a more neat way to do it?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Attached is the geo-file. To mesh that model I use the default 2D meshing option.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span>Best regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span>Franz Bormann<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.5pt;color:#797979"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.5pt;color:#797979">PhD student<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.5pt;color:#797979">Department of Mechanical Engineering
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.5pt;color:#797979">Mechanics of Materials<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.5pt;color:#797979">Eindhoven University of Technology</span><span><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.5pt;color:#797979">Gem-Z.4.21 | <a href="tel:+31%2040%20247%202054" target="_blank" value="+31402472054">+31 40-247 2054</a></span><span><u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<br></div></div>______________________________<wbr>_________________<br>
gmsh mailing list<br>
<a href="mailto:gmsh@onelab.info" target="_blank">gmsh@onelab.info</a><br>
<a href="http://onelab.info/mailman/listinfo/gmsh" target="_blank" rel="noreferrer">http://onelab.info/mailman/lis<wbr>tinfo/gmsh</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>