How to remove surfaces in Python API
Dear all,
I have three a surface in a box and after running gmsh.model.occ.fragment()
the surface is divided into three ones. Is there a way to merge these three surfaces as the single previous one? I also tried to create the same single surface after my boolean operation. It is created, but when I try to refine my mesh around it using gmsh.model.mesh.field.setNumbers(1, "FacesList", [])
, but it is not successful. Should I firstly remove that exisintg three surfaces and then create the new one and refine may mesh there? I tried to remove existing surfaces using gmsh.model.occ.remove(26)
but it raises an error. I uploaded a fig to clarify my request. Surfaces 6, 7 and 10 are formed after doing boolean operation and surface 100 is created by myself and I want to refine the mesh around it. I do appreciate any help in advance.