MMG3D Lagrangian motion: cannot maintain body shape

Hello Saleh,
Would you mind to share mesh, displacement and the exact command you are using?
I didn’t get if you are trying to further deform the output of a first run, or you are just running the very same command on the very same initial mesh (I have just checked and it still works on my computer).

Regards,
Luca

Hi Luca,

Yes, I am trying to further deform the output of the first run.

Regards,

Hello Saleh,
I am testing by imposing the same displacement on the output of the first deformation, and I can reproduce your problem. It seems to be an issue with the internal adaptation just after the movement that I haven’t fully identified yet.

Anyway, everything goes smooth if you use -lag 1 (only swap allowed to perform displacement).
While I try to correct the issue, a more robust solution to improve the mesh quality after the displacement could be that of running mmg3d in adaptation mode on the output (in a separate call) with the -optim option on.

Best regards,
Luca

1 Like