Hello !
First of all thanks for the awesome mmg tool, it works like a charm in general !
I’m having some trouble using mmg to remesh using a level-set function, the context is the following:
I’m working in a shape optimization problem using a level set method, for accuracy requirements (I have to compute some quantities on the 0 level set) on each iteration I remesh my working domain using -ls option of mmg. However, sometimes when disconnected regions begin to merge mmg becomes unable to continue the remeshing and then the algorithm got stuck with an non-updated mesh, compromising the whole computation.
Whenever this happens, the output of mmg is:
Error: MMG5_minQualCheck: too bad quality for the worst element: (elt 2440 -> 0.000000e+00)
Warning: MMG2D_pack: unexpected edge table… Ignored data.
The input line I use:
mmg2d_O3 -hmax 0.01 -hmin 0.001 -hausd 0.01 aux.mesh -ls aux.sol -out auxLS.mesh
Is there any command or strategy to avoid this problem?
Thank you very much for your help !