PLC Error: A segment and a facet intersect at a point with OpenCascade - what is wrong with my volume assembly?
Hello, I have a CAD file of a propeller that I'm trying to build a volume mesh for. I'm using a similar process as to what I've used with the Built-In kernel, but it does not appear to be working correctly so I think there's something simple I'm overlooking.
I have two groups of surfaces in the mesh: the propeller ("prop_surfs[]") and the farfield ("farfield_surfs[]"). I try to create a Physical Volume with the following code:
prop_sl = newsl;
Surface Loop(prop_sl) = {prop_surfs[]};
farfield_sl = newsl;
Surface Loop(farfield_sl) = {farfield_surfs[]};
vol = newv;
Volume (vol) = {prop_sl, farfield_sl};
I'm able to mesh this in 2D with no issues. The mesh looks good and I see no overlapping elements. However, when I try to mesh 3D, I get the error "PLC Error: A segment and a facet intersect at a point" and a boundary mesh issue is shown somewhere randomly along either the farfield cylinder or the propeller mesh.
If the boundary mesh issue were only seen along the propeller, I would expect a problem with the underlying CAD - but the cylinder is a very simple geometry created within Gmsh. Is there something I'm missing about working with OpenCascade?