<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Hi,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Yesterday I realised this .geo file had some errors, because I forgot to define some volumes. I checked everything but I am still struggling trying to generate the quadrangular structured mesh. I have just sent you an
 email with my updated .geo file. </p>
<p style="margin-top:0;margin-bottom:0">Hope you can help me,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Thanks in advance,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Cristina</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>De:</b> Hernandez Pereira, Cristina<br>
<b>Enviado:</b> martes, 26 de junio de 2018 9:54:35<br>
<b>Para:</b> gmsh@onelab.info<br>
<b>Asunto:</b> Structured mesh between two volumes (one inside another)</font>
<div> </div>
</div>
<meta content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<p style="margin-top:0; margin-bottom:0">Hi, my question may be basic but I am new to Gmsh, so hope you can help me.</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0"><span style="font-size:12pt">I want to build a cubic domain with a rounded box in the middle. The inner box has to be empty (no mesh inside), whilst the space between the domain and the cube needs to have a structured
 mesh. I would then use the mesh and geometry for an OpenFOAM case, simulating the air flow around the inner box, which is an obstacle.</span></p>
<p style="margin-top:0; margin-bottom:0"><span style="font-size:12pt"><br>
</span></p>
<p style="margin-top:0; margin-bottom:0"><span style="font-size:12pt">I have tried to adapt the transfinite <span style="font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols; font-size:16px">example </span>(located
 in <span style="font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols; font-size:16px">demos\simple_geo\transfinite </span>from version 3.0.6 of gmsh) that has
 a cube and a sphere inside. However, in my case, when I define the surfaces around the inner rounded cube by doing Line Loop and then Plane Surface, the surfaces that are created are not correct and, thus, I cannot continue using the commands Surface Loop
 and Volume to create the connection volumes. Please find attached the .geo file.</span></p>
<p style="margin-top:0; margin-bottom:0"><span style="font-size:12pt"><br>
</span></p>
<p style="margin-top:0; margin-bottom:0"><span style="font-size:12pt">I think it could be related with the definition of the faces in the rounded cube, because they seem to be weirdly built.</span></p>
<p style="margin-top:0; margin-bottom:0"><span style="font-size:12pt"><br>
</span></p>
<p style="margin-top:0; margin-bottom:0"><span style="font-size:12pt">Can anyone hlep me with this?</span></p>
<p style="margin-top:0; margin-bottom:0"><span style="font-size:12pt"><br>
</span></p>
<p style="margin-top:0; margin-bottom:0"><span style="font-size:12pt">Thanks in advance,</span></p>
<p style="margin-top:0; margin-bottom:0"><span style="font-size:12pt"><br>
</span></p>
<p style="margin-top:0; margin-bottom:0"><span style="font-size:12pt">Cristina Hernandez</span></p>
</div>
</div>
</body>
</html>