NGSolve / netgen

https://ngsolve.org
GNU Lesser General Public License v2.1
281 stars 129 forks source link

Meshing unit cube with subtracted touching internal sphere segfaults #121

Open trevorqn opened 2 years ago

trevorqn commented 2 years ago

Meshing a unit cube with a subtracted small internal sphere that is just touching one face (r=0.25 centered at {0.5, 0.5, 0.25}), leads to segmentation fault during volume meshing.

I have tried to play around with the meshing parameters, but am so far unsuccessful. Are there any workarounds that might get these types of cases to work?

Attached minimal geometry: test.brep

ChrLackner commented 2 years ago

On the current master branch I can mesh it successfully with default meshing parameters. Which version of opencascade are you using? I have 7.5.3