<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.StileMessaggioDiPostaElettronica17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="IT" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Dear All,<o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">I need to mesh 2 volumes (to be filled with two materials) sharing a surface boundary: “pieno” and “vuoto”<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I modeled the geometry in an external CAD and imported them in Gmsh as two .step volumes.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I meshed everything correctly, but I have duplicated nodes (because of duplicate geometry) on the interface (boundary surface).<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Is there a way to remove duplicates (which are numerically concident) from script? Either remove duplicates on the geometry or in the mesh will work.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Here I attach my script and step files:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal">Merge "pieno.step";<o:p></o:p></p>
<p class="MsoNormal">Merge "vuoto.step";<o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Mesh.CharacteristicLengthExtendFromBoundary = 0;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Mesh.CharacteristicLengthFactor = 0.5;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Mesh.CharacteristicLengthMin = 0.4;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Mesh.CharacteristicLengthMax = 20;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Mesh.CharacteristicLengthFromCurvature = 0;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Mesh.CharacteristicLengthFromPoints = 1;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Coherence;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Physical Volume("pieno") = {1};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Physical Volume("vuoto") = {2};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thank you again for support and for the possibility to use this program.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:IT">________________________________________________________<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:IT">Prof. Antonio E. UVA<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:IT">Dipartimento di Meccanica, Matematica e Management (DMMM)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:IT">Politecnico di Bari <o:p>
</o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:IT">Viale Japigia 182 - 70126 - Bari, ITALY<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:IT">Tel +39 080 5962737<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:IT">Fax +39 080 5962777<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:IT">________________________________________________________<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
</body>
</html>