This problem considers the magnetic field in a core containing a permanent magnet.
The system obeys the PDE
curl((curl(A)-P)/mu) + J = 0,
where A is the magnetic vector potential, P is the magnetization, J is the current density, and mu is the permeability.

The adapted grid (click to zoom)

The magnetic potential Az

The magnetic field strength
