[Gmsh] cylinder in a box

Christophe Geuzaine geuzaine at gmail.com
Sun Mar 25 09:13:59 CEST 2018

> On 24 Mar 2018, at 21:15, Miro Kuchta <miroslav.kuchta at gmail.com> wrote:
> Hi,
> I would like to mesh a box and a cylinder such that the mesh conforms
> to the interface. With the attached script I get several (22) duplicate vertices
> in the mesh. If the cylinder is shorter such that it is entirely contained in the
> box then there are no duplicate vertices.
> Could you point me to the correct way of doing this?

Use fragments instead of difference :

-------------- next part --------------
A non-text attachment was scrubbed...
Name: geometry_fixed.geo
Type: application/octet-stream
Size: 213 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20180325/6e08c61c/attachment.geo>
-------------- next part --------------

> Thanks, Miro
> <geometry.geo>_______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh

More information about the gmsh mailing list