<div dir="ltr"><div><div>Hello,<br><br></div>Take a look at background mesh techniques.<br></div><div>Here's an example from my research.<br></div><div><br></div>Best regards<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2014-07-01 11:07 GMT-03:00 Amarpal Singh Kapoor <span dir="ltr"><<a href="mailto:amarpalsinghkapoor@gmail.com" target="_blank">amarpalsinghkapoor@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">Dear users,<div><br></div><div>I'm new to gmsh and am trying to refine a mesh in specific regions. Lets consider my domain to be a unit square and my current aim is to have a finer mesh along the boundaries. I'm using the method of attractor and threshold to refine my mesh locally (like in t10.geo). I can have a successful refinement on any 3 boundaries only. The moment I include the 4th edge in the edge list, I get an almost uniform mesh. </div>

<div><br></div><div>Q1. What is the reason behind this?</div><div><br></div><div><img src="cid:ii_146f23a2722698d6" alt="Inline image 1" height="212.81540203850508" width="436"><br></div><div><br></div><div>Q2. Is there a better way of achieving this type of refinement?</div>

<div><br></div><div>I have attached my .geo file with this email.</div><div><br></div><div>Kind Regards,</div><div>Amar</div></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></div>