[Gmsh] Structured mesh between two volumes (one inside another)

Hernandez Pereira, Cristina cristina.hernandez-pereira17 at imperial.ac.uk
Wed Jun 27 17:15:44 CEST 2018


Hi,


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.

Hope you can help me,


Thanks in advance,


Cristina

________________________________
De: Hernandez Pereira, Cristina
Enviado: martes, 26 de junio de 2018 9:54:35
Para: gmsh at onelab.info
Asunto: Structured mesh between two volumes (one inside another)


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/20180627/9c7f0e8c/attachment.html>


More information about the gmsh mailing list