Translational motion - eddy current problem

Hi,
Has anyone implemented an eddy current problem with a magnet moving along a line passing over an electrically conducting body (or a similar problem)? I would appreciate some example or document that I can study.

Hi, I’ve attached an example of a magnetic dipole moving over a metal plate. It seems to work fine when I use the direct approach. However, I can not get the iterative solver to work (output is residual = nan).
Can anyone find what I’ve done wrong?
moving_plate_3D_forum.ipynb (110.2 KB)

Hi,
you try to create preconditioners on semidefinite matrices (a), create the smoother on the mstar matrix. and then give the cg some more iterations to converge to your limit with a simple jacobi

best Christopher