Surface orientations in surface loops - OCC
Hello,
I am creating geometry using the OCC kernel. My geometry has five different volumes, all of which touch each other (they combine to form a solid cylinder). All the volumes need to be conformal. I was using gmsh.model.occ.fragment
, but since it was a little slow, I decided to create the conformal geometry manually by being very careful not to duplicate entities.
I have been successful until creating volumes with gmsh.model.occ.addSurfaceLoop
and gmsh.model.occ.addVolume
. The problem is: if the surfaces used for the surface loop are not oriented consistently, gmsh.model.occ.addSurfaceLoop
and gmsh.model.occ.addVolume
will create identical surfaces with new orientations so that they are consistent. That causes duplication, and it affects my bookkeeping of surface tags.
The thing is, I cannot just give negative surface tags as I could in gmsh.model.geo.addSurfaceLoop
because the OCC kernel doesn't recognize it. Moreover, I couldn't find any way to change the orientation of a surface in geometry scope like gmsh.model.mesh.reverse
. So I cannot see a way to create a volume with a surface loop without duplicating some surfaces. Are there any solutions for this?
Thank you,
Sina