[Gmsh] Eliminating geometric duplications in imported geometry

Bram Sterling bram.sterling at ossiumhealth.com
Fri Mar 17 23:24:37 CET 2017


I'm trying to mesh a 3D 2-material construct created in another program
(FreeCAD) and brought into Gmsh by way of a BREP file.  After some
troubleshooting downstream, I determined that Gmsh is turning the two
volumes into two disjoint meshes despite their extensive shared surface.

Poking around, I suspect the reason for this is that the two volumes share
no elementary geometry.  Instead, the shared lines and surfaces are
duplicated.

If the original geometry had been defined in a Geo script this would seem
straightforward to fix manually, but it seems a bit more complicated here,
especially as this is bound to come up again with more complex geometry
later.  Is deleting the redundant geometry and rebuilding other effected
parts manually the best option, or is there a better way?


Thank you,
Bram Sterling
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20170317/b32475ad/attachment-0001.html>


More information about the gmsh mailing list