3D meshing fails depending on prescribed characteristic length
Dear gmsh support,
I ran across the unexpected behavior where my geometry meshes fine with a given characteristic length, but fails with a slightly different characteristic length.
The attached example (narrowed down from a much larger geometry, thus the weird construction/dimensions) using the C++ API works fine with
./example 0.095131
but fails with
./example 0.095130
with the following error
Info : Found void region
Warning : No tetrahedra in region 2
Info : 3D refinement terminated (52 nodes total):
Info : - 0 Delaunay cavities modified for star shapeness
Info : - 0 nodes could not be inserted
Info : - 0 tetrahedra created in 3.91211e-05 sec. (0 tets/s)
Error : No elements in volume 2
terminate called after throwing an instance of 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >'
Aborted (core dumped)
I could reproduce this behavior with SDK versions 4.8.4, 4.7.1 and 4.3.0 on a Ubuntu 20.04 Linux desktop.
If that is of any help/relevance, the transition between working/failing characteristic lengths seems to be around 10 times the (thin) depth of the example geometry (this rather coarse mesh discretization is desired in my case).
Please tell me if I can provide additional information. Thank you in advance for your help and best regards,
Julien