Theory
Effective field: $H_e = H + \alpha M$Anhysteretic: $M_{an}= M_s \coth\!\left(\tfrac{H_e}{a}\right) - \tfrac{a}{H_e}$
Flux density: $B = \mu_0(H + M)$
Loss: $W = \mu_0 \oint H\,dM$
Animate B-H loop tracing with the Jiles-Atherton model. Compute coercivity, remanence, BH-max, and hysteresis loss in real time for soft iron, hard magnets, transformer cores, and ferrite.
The simulator uses the Jiles-Atherton model to calculate the magnetization M. The core idea is separating the ideal, reversible anhysteretic magnetization from the irreversible, lossy process of domain wall motion. The effective field accounts for internal interactions.
$$H_e = H + \alpha M$$ $$M_{an}= M_s \left( \coth\left(\frac{H_e}{a}\right) - \frac{a}{H_e}\right)$$Here, $H$ is the applied external field, $\alpha$ is a mean field parameter representing inter-domain coupling, $M_s$ is the saturation magnetization, and $a$ is a shape parameter. $M_{an}$ is the ideal magnetization if there were no hysteresis.
The actual magnetization M is found by solving a differential equation that pins the change in M to the change in the anhysteretic curve, with a term for irreversible losses. From M, we find the total magnetic flux density B and the energy loss per cycle W.
$$B = \mu_0 (H + M)$$ $$W = \mu_0 \oint H \, dM$$$B$ is the flux density (what you'd measure with a gaussmeter), $\mu_0$ is the permeability of free space. The loss $W$ is the area enclosed by the M-H loop. In the simulator, adjusting parameters like coercivity directly changes the shape of this loop and thus the calculated loss.
Transformer & Inductor Cores: These use "soft" magnetic materials with very narrow hysteresis loops (low coercivity and remanence). The tiny loop area minimizes energy lost as heat every time the AC current reverses, crucial for efficiency in power grids and electronics.
Permanent Magnets: Used in motors, speakers, and fridge magnets, these are "hard" magnetic materials. They require a wide loop with high remanence (to stay strong) and high coercivity (to resist demagnetization from external fields or high temperatures).
Magnetic Recording Media: Hard disk drives and magnetic tapes use materials with a specific, square-shaped hysteresis loop. This allows tiny regions to be reliably "written" (magnetized in one direction) and "read" without accidental flipping.
Non-Destructive Testing & Sensors: Measuring the hysteresis loop of a steel structure, like a bridge or pipeline, can reveal internal stresses or material degradation. Changes in the loop's shape signal potential fatigue or damage before it becomes visible.
When you start using this simulator, there are a few common pitfalls. First is the oversimplified idea that "a material with a high coercivity Hc is a good magnet". While it's true that hard magnets have a large Hc, the definition of "good" varies completely depending on the application. For example, a magnetic circuit in a speaker requires a material with a reasonably high Hc that is resistant to temperature changes (hard to demagnetize). On the other hand, a motor core absolutely requires a soft iron material with a small Hc (a thin loop); if you used a hard magnet here, it would just overheat and not rotate. When selecting a material, work backwards from "what you want to achieve".
Next is the pitfall of parameter settings. While you can freely change parameters like "saturation magnetization" and "molecular field coefficient α" in the simulator, in real materials these parameters are not independent of each other. For instance, if you arbitrarily increase α too much for a ferrite, you might get non-physical loop shapes (e.g., overly squared). When identifying J-A model parameters in practical work, the golden rule is to fit them to measured B-H loop data and determine them as a set of parameters. For example, for a certain ferrite material, you get a balanced set of values like $M_s=3.2\times10^5$ [A/m], $a=50$ [A/m], $α=0.001$.
Finally, be careful not to assume that "the simulation loop area directly equals the heat generation". It's true that hysteresis loss W is proportional to the loop area, but you must not forget that in actual devices, "eddy current loss" is added to this. Especially in an alternating magnetic field, eddy current loss becomes more dominant as the frequency increases. In this tool, if you select "transformer core" and increase the frequency, the loop shape won't change (because it doesn't consider eddy currents), but in reality, the reason for laminating thin silicon steel sheets is precisely to suppress these eddy currents.
Understanding magnetic hysteresis is fundamental, even foundational, within CAE, particularly for electromagnetic field analysis (EM analysis). Specifically, it directly relates to "iron loss calculation", which accurately estimates core losses in motors and transformers. When analyzing a motor with FEM (Finite Element Method) software, the B-H curve and loss coefficients set for the materials are often represented by this very J-A model. Sloppy calculations can lead to large errors in predicting motor efficiency, causing significant setbacks in product development.
It is also deeply connected to the fields of power engineering and power electronics. In selecting cores for transformers and inductors used in switching power supplies, hysteresis loss in the operating frequency band dictates efficiency. For example, a DC-DC converter operating at 100kHz uses a ferrite core with a thin loop and excellent high-frequency characteristics. Conversely, large transformers for commercial frequencies (50/60Hz) use grain-oriented electrical steel. By switching materials in this simulator, you should be able to experience how the order of magnitude of the loss changes.
As another application area, consider non-destructive testing (NDT). Internal stress and fatigue degradation in magnetic materials subtly change the shape of the magnetic hysteresis loop. There are techniques that measure this to evaluate material condition. In the simulator, changing the "pinning coefficient k" changes the loop's width; in reality, this can correspond to an increase in internal defects or strain in the material. In other words, the B-H loop can also serve as a material's "health check report".
As a first next step, I recommend learning about "dynamic hysteresis". This simulator models quasi-static changes (when the magnetic field is changed slowly), but in actual AC applications, you need to consider the loop broadening due to frequency (the influence of eddy currents) and the effect of the rate of change of the magnetic field itself on losses. Mathematically, a world awaits you with extended J-A models containing differential terms like $dM/dt$, or empirical formulas like the "Steinmetz equation" which separates and calculates losses.
If you want to delve a bit deeper into the mathematical background, take a look at numerical solutions for ordinary differential equations. The core of the J-A model is solving the differential equation for magnetization M: $$ \frac{dM}{dH} = \frac{M_{an} - M}{k \delta - α(M_{an}-M)} $$ (where $\delta$ is the sign indicating the increasing or decreasing direction of the magnetic field H). Behind the simulator's smooth animation, it calculates this equation frame by frame using numerical methods like the "Euler method" or "Runge-Kutta method". Writing a simple script yourself to reproduce this will make the essence of the model crystal clear.
Finally, learning from the material's perspective is also important. Knowing the basics of microscopic magnetism physics makes the meaning of the parameters much clearer. For example, "saturation magnetization $M_s$" corresponds to the sum of the magnetic moments of the atoms in the material, and the "molecular field coefficient α" corresponds to the strength of the exchange interaction that forms magnetic domains. When you select "ferrite" in the simulator, the loop becomes somewhat squared because of the underlying microscopic magnetization reversal mechanism (primarily magnetization rotation rather than domain wall motion). Being able to imagine the connection between the tool's parameters and physical phenomena should elevate your applied skills as a CAE engineer to the next level.