<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=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@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;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="ES" link="blue" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Is thiis would be related to the normals of the surfaces?. I noticed that the normals is oriented outward. So i tried to invert the normals but i cannt find a way to do this.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I attach a figure below.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Best Regards </p>
<p class="MsoNormal">Jacob<img width="787" height="518" style="width:8.1979in;height:5.3958in" id="Imagen_x0020_3" src="cid:image002.png@01D39FEA.A3D5FC70"></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Enviado desde <a href="https://go.microsoft.com/fwlink/?LinkId=550986">
Correo</a> para Windows 10</p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="border:none;padding:0cm"><b>De: </b><a href="mailto:jacoban90@outlook.es">Jacob Abdelfatah Ndioubnane</a><br>
<b>Enviado: </b>martes, 6 de febrero de 2018 22:36<br>
<b>Para: </b><a href="mailto:cgeuzaine@ulg.ac.be">Christophe Geuzaine</a>; <a href="mailto:gmsh@onelab.info">
gmsh@onelab.info</a>; <a href="mailto:gmsh-owner@onelab.info">gmsh-owner@onelab.info</a>;
<a href="mailto:gmsh-request@ace20.montefiore.ulg.ac.be">gmsh-request@ace20.montefiore.ulg.ac.be</a>;
<a href="mailto:gdmcbain@protonmail.com">G. D. McBain</a><br>
<b>Asunto: </b>Boolean Fragments. Créate 3d mesh from surfaces. Surface Loop creates aditional surfaces</p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi gmsh users:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m trying to créate a 3d mesh of a cube from a merged 3d surfaces to apply physical groups easily. I applied the booleanFragments operator, and it removes the aditional edges and vértices. However, when I créate a Surface loop, automatically
generates aditional surfaces(when i go to tools;vissibility;tree appears 12 surfaces) it creates a , and the volume is referenced to the dupplicate surfaces. Im able to créate both 2d and 3d meses, but when i export into freefem as .mesh or .msh is not loaded
correctly. Is there any way to solve this problem. I attach the .geo script below and also the .brep surfaces and the generated .mesh and .msh meses.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#548235">// Gmsh project created on Tue Feb 06 20:13:28 2018<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#548235">SetFactory("OpenCASCADE");<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#548235"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#548235">Merge "Inlet.brep";<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#548235">Merge "Walls.brep";<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#548235">Merge "Outlet.brep";<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#548235"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#548235">s() = Surface "*";<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#548235">BooleanFragments{ Surface{s(0)}; Delete; }{ Surface{s({0:#s()-1})}; Delete; }//+<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#548235"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#548235"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#548235"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#548235"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#548235">//+<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#548235">Surface Loop(1) = {1, 5, 2, 3, 6, 4};<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#548235"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#548235">Volume(1) = {1};<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#548235"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:black">Thank you very much in advance.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:black">Best Regards <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">Jacob<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#548235"><o:p> </o:p></span></p>
<p class="MsoNormal">Enviado desde <a href="https://go.microsoft.com/fwlink/?LinkId=550986">
Correo</a> para Windows 10<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>