μMAG Standard Problem #2 studies the switching behaviour of a Permalloy thin-film rectangular element (length $5d$, width $d$, thickness $0.1d$) as a function of the particle size $d$ measured in exchange lengths $l_{\mathrm{ex}} = \sqrt{2A / \mu_0 M_s^2}$. A saturating field is applied along the diagonal of the film (1,1,0.1) direction, then reversed to obtain the hysteresis loop.
The key results are:
- $H_c / M_s$ — coercive field (normalised by $M_s$)
- $M_{rx} / M_s$ — remanent magnetisation, $x$-component
- $M_{ry} / M_s$ — remanent magnetisation, $y$-component
In the small-particle limit ($d/l_{\mathrm{ex}} \to 0$) the magnetisation is nearly uniform and a 3D Stoner-Wohlfarth analysis gives $H_c / M_s = 0.05707$.