Error in Adapt function

Hi FF++ users,
I am trying to implement a material removal problem with mesh movement. However, after running for some time, I encounter a Bamg error when using the adaptmesh command. I have shared a picture of the error in the comments.
Could you please suggest the correct way to use movemesh and adaptmesh? Additionally, I would appreciate guidance on how to perform interpolation afterward.

Thanks for your time!