<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="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>
</body>
</html>