[Gmsh] Combine two extruded volumes

Christophe Geuzaine cgeuzaine at uliege.be
Wed Apr 3 21:20:20 CEST 2019



> On 3 Apr 2019, at 04:06, Phu Nguyen <phu.nguyen at monash.edu> wrote:
> 
> Dear all,
> 
> I am trying to mesh a (half) cylinder with a strap around it. See attachment. I made a surface for the cylinder, and extruded it to get the cylinder. Then I made another surface and extruded for the strap.
> 
> Then, I meshed the resulting volumes and observe that the cylinder mesh and the strap mesh are independent of each other. What I need is that the strap is glued to the cylinder. How can it be done?
> 

Do you want an unstructured mesh, or do you want to also extrude the mesh?

If it's the former, you can keep your methodology (with the OpenCASCADE kernel) and use BooleanFragments at the end to create a conformal geometry, with an internal surface shared by the two volumes - which will give you a conformal mesh.

If it's the latter, you need to extrude (e.g. by rotation in your case) two surfaces joined by a curve, so that the internal curve will get extruded into the internal surface.

Christophe

> Thanks for your time.
> 
> Best regards,
> Phu
> 
> 
> 
> <Screen Shot 2019-04-03 at 1.03.49 pm.png>
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh

— 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine






More information about the gmsh mailing list