Incompatible Surface _ in Transfinite Volume _
I am building a transfinite mesh with the OCC kernel with the following geometry (with volume labels):
II am having with the last step - adequately meshing the transfinite volume. I am able to get a fully errorless 2D transfinite mesh:
However, I get an "Incompatible Surface _ in Transfinite Volume _" error for the volumetric mesh for multiple surfaces and volumes and I'm not entirely sure why:
I've troubleshooted several issues, but I haven't been able to find a solution. My current belief is that calling the gmshOCC.addCurveLoop() function adds another curve tag (is this intentional - in contrast calling gmshOCC.addSurfaceLoop() doesn't add another surface tag) that may interfere with my transfinite mesh settings, however, I'm not too sure.
Another issue may also be the high number of duplicate entities in my model. I didn't use gmshOCC.removeDuplicateNodes() to simplify a lot of other modeling definitions, but would these duplicates entities also have an affect in getting this error.
I've attached my code for further reference. Note, that this code has lots of components, so it is relatively long and messy in some parts.