Gmsh error 2 when generating 3D mesh with entities embedded in volume
Hello,
Gmsh is reporting “Could not recover boundary mesh: error 2” when generating a 3D mesh after embedding lower dimensional entities in a volume. This error does not occur if no entities are embedded in the volume. Can anyone please tell me what can cause this problem and solutions to them?
I am taking care to ensure that embedded entities are not part of the volume boundary, as per the Gmsh API comments in the header files, albeit I’m not sure if that is mandatory as the comments only state that they “should not” be part of the inTag entity boundary.
It is possible that one or more of the entities I am embedding extends out past the volume boundary, or is located entirely outside it, due to geometrical precision limitations. However I have tried setting the options Geometry.Tolerance and Geometry.ToleranceBoolean to values significantly greater than this imprecision, and found that the error still occurs.
Kind regards, Stephen