<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Dear Henk,<br><br>Thanks for the reply-it answers part of my question, that is, how to mesh the volume between the outer cuboid and the inner STL model.<br><br>However, how do I generate a mesh which is fine around the inner surface (the model) and becoming coarse towards the surrounding cuboid?. I tried using the threshold and attractor fields but it seems the latter does not support surfaces:<br>http://geuz.org/pipermail/gmsh/2009/004198.html<br><br>Is it possible to extract the surface points of the model and use them as attractors?.<br><br>Thanks,<br>MIke.<br><cite></cite><br><br>--- On <b>Thu, 6/18/09, dolfyn <i><info@dolfyn.net></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: dolfyn <info@dolfyn.net><br>Subject: Re: [Gmsh] Meshing the volume between a model and a
 surrouding cuboid<br>To: gmsh@geuz.org<br>Date: Thursday, June 18, 2009, 9:43 PM<br><br><div class="plainMail">Dear Mike,<br><br>Do you mean something like this?<br><br><a href="http://www.dolfyn.net/dolfyn/gmsh/tutorial07.html" target="_blank">http://www.dolfyn.net/dolfyn/gmsh/tutorial07.html</a><br><br>Next step with the 'attractor' can be achieved with a background <br>mesh (a todo for me).<br><br>Enjoy!<br>Henk<br><br>Op Thursday 18 June 2009, schreef Mike B.:<br>> Dear Gmsh users,<br>><br>> I'm rephrasing a previous question, hopefully to make it clearer<br>> what I'm after:<br>><br>> I have an object (given as an STL file) and which I load it into<br>> Gmsh with Merge 'obj.stl'. I then define in Gmsh a control volume<br>> ( a cuboid ) around the model.<br>><br>> Now, I want to mesh the volume between the cuboid and the model.<br>> How do I do that?. Also, I'd like to have a finer mesh close to<br>> the model
 surface and a coarser one away from it (use the<br>> `Attractor' field?).<br>><br>> Would appreciate help how to achieve these two.<br>><br>> Thanks,<br>> Mike.<br><br>_______________________________________________<br>gmsh mailing list<br><a ymailto="mailto:gmsh@geuz.org" href="/mc/compose?to=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></div></blockquote></td></tr></table><br>