[Gmsh] Structured mesh between two volumes (one inside another)
Hernandez Pereira, Cristina
cristina.hernandez-pereira17 at imperial.ac.uk
Tue Jun 26 10:54:35 CEST 2018
Hi, my question may be basic but I am new to Gmsh, so hope you can help me.
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.
I have tried to adapt the transfinite example (located in demos\simple_geo\transfinite 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.
I think it could be related with the definition of the faces in the rounded cube, because they seem to be weirdly built.
Can anyone hlep me with this?
Thanks in advance,
Cristina Hernandez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20180626/2f1239c4/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cube_inside_cube.geo
Type: application/octet-stream
Size: 2052 bytes
Desc: cube_inside_cube.geo
URL: <http://onelab.info/pipermail/gmsh/attachments/20180626/2f1239c4/attachment-0001.geo>
More information about the gmsh
mailing list