[Gmsh] Advices to get a hex mesh out of a complex geometry

Marco Tiberga M.Tiberga at tudelft.nl
Mon May 6 14:22:53 CEST 2019


Dear Gmsh developers and users,

I am building an unstructured mesh for a complex geometry which I imported from a step file (attached you can find both the .geo and the .stp files I am using).
I successfully managed to create a good-quality tetrahedral mesh.

My CFD code, however, handles hexahedral meshes as well (but not hybrid meshes or meshes with prisms and/or pyramids), so I was wondering whether I could recombine the current mesh to get what I want. However, up to now all my attempts failed.
Setting "Mesh.RecombineAll = 1;" without any further specification leads to a failing 3D meshing, which anyway contains pyramids, so it is not suitable for me. Considering that the recombined 2D mesh contains some triangles, following Tutorial 11, I tried the "Mesh.RecombinarionAlgorithm = 2 and 3", but both fail with "Error   : Full-quad recombination not ready yet for periodic surfaces", which surprised me, because I have no periodic surfaces in the model (and I am sure about this because the .msh file of the tets mesh does not contain any $Periodicity info).

So, I was wondering whether you had any other advice to give me in order to obtain the desired hex mesh, if possible at all due to the complex wedge-shape of the domain. FYI, I am using Gmsh 4.3.0.

Thanks a lot in advance for your time and help!

Best regards,

Marco Tiberga
PhD candidate
Delft University of Technology
Faculty of Applied Sciences
Radiation Science & Technology Department
Mekelweg 15, 2629 JB Delft, The Netherlands
E-Mail: m.tiberga at tudelft.nl<mailto:m.tiberga at tudelft.nl>
Website: http://www.nera.rst.tudelft.nl/


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20190506/c66913b5/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mesh.geo
Type: application/octet-stream
Size: 2354 bytes
Desc: mesh.geo
URL: <http://onelab.info/pipermail/gmsh/attachments/20190506/c66913b5/attachment-0001.geo>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: msfr_gmsh.stp
Type: application/octet-stream
Size: 165132 bytes
Desc: msfr_gmsh.stp
URL: <http://onelab.info/pipermail/gmsh/attachments/20190506/c66913b5/attachment-0001.stp>


More information about the gmsh mailing list