Why does the mesh size exceed given bounds?
Hi, I want to generate a 3d mesh from a size field based on a post-processing view using the Delaunay algorithm. The view stores values in the interval [lc_min, lc_max] and I also set Mesh.MeshSizeMin = lc_min
and Mesh.MeshSizeMax = lc_max
. I furthermore deactivate the options Mesh.MeshSizeFromPoints
, Mesh.MeshSizeFromCurvature
and Mesh.MeshSizeExtendFromBoundary
. However, I still obtain a mesh with element edges almost twice as large as lc_max and smaller than lc_min (here I read that Gmsh uses the mesh edges as the characteristig size: https://gmsh.geuz.narkive.com/AQWYWtiL/characteristic-length).
Is there a way to force the element edges to stay in the given interval [lc_min, lc_max] or are these only soft constraints?
Best, Jonathan
Edit: I found an existing issue (#2485) discussing a similar problem. I guess there is no way to control the mesh size by hard?