Hi!
I’m generating a rather complex mesh by doing a lot of boolean operations in gmsh with the open cascade kernel. It results in some small edges, faces and domains. Is there any trick in gmsh or fenics or recomended other software to defeature such a geometry?
I can easily identify the small entities, but I can’t figure out how to remove them…
An example could be a geometry created by this
import gmsh
gmsh.initialize()
b1=gmsh.model.occ.addBox(0,0,0,2,2,2)
b2=gmsh.model.occ.addBox(1.2,1.2,1.2,2,2,2)
b3=gmsh.model.occ.addBox(1.2,1.2,1.2,0.1,0.1,0.1)
gmsh.model.occ.removeAllDuplicates()
gmsh.model.occ.synchronize()
gmsh.fltk.run()
Volume 3 is quite small compared to the other volumes. How to get rid of it (including all its edges and faces) in an automated way, that also works for much more complicated cases?
Sorry if the topic is too ‘gmsh’, but the solution need not be in gmsh. The only requirement is that the final mesh has to work with fenics.
Best Regards,
Søren