This could be an interesting solution, I forgot that multiple geometries/meshes can be loaded with the "Merge" script command. I could see problems at the interface between the bottom face of the heatsink and the pre-meshed component (the elements would be coincidental to the face, but not part of the face). I'll have to look more into how to rebuild the geometries (another twist here is that I'm using a system that writes BREP files for Gmsh, and not using the native modelling capabilities).<div>
<br></div><div>Best,</div><div>Tibi</div><div><br><br><div class="gmail_quote">On Thu, Jul 14, 2011 at 4:22 AM, Zenker, Dr. Matthias <span dir="ltr"><<a href="mailto:Dr.Matthias.Zenker@erbe-med.com">Dr.Matthias.Zenker@erbe-med.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="EN-US" link="blue" vlink="purple">
<div dir="ltr" align="left"><font face="Arial"><font color="#0000ff"><font size="2"><span>You may also try to mesh all the rest, load just the mesh (without the geometry), merge the geometry for the heat sink and remesh . The only
problem could indeed be at the interface. Maybe you could try to have the interface already meshed, remove volume and interface from the heat sink geometry, and rebuild the volume of the heat sink using the meshed interface.</span></font></font></font></div>
<div dir="ltr" align="left"><font face="Arial"><font color="#0000ff"><font size="2"><span>I didn't test it myself, though.</span></font></font></font></div>
<div dir="ltr" align="left"><font face="Arial"><font color="#0000ff"><font size="2"><span></span></font></font></font> </div>
<div dir="ltr" align="left"><font face="Arial"><font color="#0000ff"><font size="2"><span>HTH,</span></font></font></font></div>
<div><font face="Arial"><font color="#0000ff"><font size="2"><span></span></font></font></font> </div>
<div><font face="Arial"><font color="#0000ff"><font size="2"><span>Matthias</span></font></font></font></div>
<div><font face="Arial"><font color="#0000ff"><font size="2"><span></span></font></font></font> </div>
<div dir="ltr" lang="de" align="left">
<hr>
<font size="2" face="Tahoma"><b>Von:</b> <a href="mailto:Serban.Georgescu@uk.fujitsu.com" target="_blank">Serban.Georgescu@uk.fujitsu.com</a> [mailto:<a href="mailto:Serban.Georgescu@uk.fujitsu.com" target="_blank">Serban.Georgescu@uk.fujitsu.com</a>]
<br>
<b>Gesendet:</b> Donnerstag, 14. Juli 2011 09:05<br>
<b>An:</b> <a href="mailto:tibich72@gmail.com" target="_blank">tibich72@gmail.com</a><br>
<b>Cc:</b> <a href="mailto:gmsh@geuz.org" target="_blank">gmsh@geuz.org</a><br>
<b>Betreff:</b> Re: [Gmsh] Load a partial mesh into Gmsh<br>
</font><br>
</div><div><div></div><div class="h5">
<div></div>
<div>
<p class="MsoNormal"><span style="color:#1f497d;font-size:11pt">Hi Tibi,</span></p>
<p class="MsoNormal"><span style="color:#1f497d;font-size:11pt"> </span></p>
<p class="MsoNormal"><span style="color:#1f497d;font-size:11pt">How about meshing all the components individually and saving the meshes, meshing the heatsink by itself and then combining all the meshes into the final one?
</span></p>
<p class="MsoNormal"><span style="color:#1f497d;font-size:11pt">It seems to me that the only difficulty is to match the meshes on the interface (hopefully, only one face).</span></p>
<p class="MsoNormal"><span style="color:#1f497d;font-size:11pt"> </span></p>
<p class="MsoNormal"><span style="color:#1f497d;font-size:11pt">Regards,</span></p>
<p class="MsoNormal"><span style="color:#1f497d;font-size:11pt">Serban</span></p>
<p class="MsoNormal"><span style="color:#1f497d;font-size:11pt"> </span></p>
<div style="border-bottom:medium none;border-left:medium none;padding-bottom:0cm;padding-left:0cm;padding-right:0cm;border-top:#b5c4df 1pt solid;border-right:medium none;padding-top:3pt">
<p class="MsoNormal"><b><span style="font-size:10pt">From:</span></b><span style="font-size:10pt"> <a href="mailto:gmsh-bounces@ace20.montefiore.ulg.ac.be" target="_blank">gmsh-bounces@ace20.montefiore.ulg.ac.be</a> [mailto:<a href="mailto:gmsh-bounces@ace20.montefiore.ulg.ac.be" target="_blank">gmsh-bounces@ace20.montefiore.ulg.ac.be</a>]
<b>On Behalf Of </b>Tibi Chelcea<br>
<b>Sent:</b> 13 July 2011 22:54<br>
<b>To:</b> <a href="mailto:gmsh@geuz.org" target="_blank">gmsh@geuz.org</a><br>
<b>Subject:</b> [Gmsh] Load a partial mesh into Gmsh</span></p>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I'm working on a system that simulates a family of components; these components are fixed (as in modeled once, and then re-used again and again), but the heatsinks attached to them are user-defined. Gmsh takes a long time to mesh this system,
so I'd like to cut down the time used for meshing. I was wondering whether it's possible to use Gmsh as follows:</p>
<div>
<p class="MsoNormal">- Pre-mesh each of the components and save these meshes</p>
</div>
<div>
<p class="MsoNormal">- Then, when meshing the entire system (a component + an user-defined heatsink), Gmsh loads the mesh for the component, and meshes only the heatsink.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Is this possible to do? I've seen some mentioning of "background mesh" in the documentation, but there is very little on that, and it's not clear whether it does what I'd like or how to define it.</p>
</div>
<div>
<p class="MsoNormal"><br>
Any hint/help is really appreciated.</p>
</div>
<div>
<p class="MsoNormal">Tibi Chelcea</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
</div>
<table>
<tbody>
<tr>
<td bgcolor="#ffffff"><font color="#000000">
<pre>______________________________________________________________________
Fujitsu Laboratories of Europe Limited
Hayes Park Central, Hayes End Road, Hayes, Middlesex, UB4 8FE
Registered No. 4153469
This e-mail and any attachments are for the sole use of addressee(s) and
may contain information which is privileged and confidential. Unauthorised
use or copying for disclosure is strictly prohibited. The fact that this
e-mail has been scanned by Trendmicro Interscan does not guarantee that
it has not been intercepted or amended nor that it is virus-free.</pre>
</font></td>
</tr>
</tbody>
</table>
<br>
<br></div></div>
_____________________________________________________________________<br>
ERBE Elektromedizin GmbH<br>
Firmensitz: 72072 Tuebingen<br>
Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede<br>
Registergericht: Stuttgart HRB 380137<br>
<br>
</div>
</blockquote></div><br></div>