To run the model, open electromagnet.pro or transfo.pro with Gmsh
and click on the "Run" button in the left panel.
Features addressed in this tutorial
Eddy current problems in frequency- and time-domain
Complex-valued solutions (phasors)
Use of a template library containing generic formulations
The electromagnet model electromagnet.pro is the same as in Tutorial
2, but set up using a predefined template formulation file. In
addition to static fields, the template provides frequency-domain and
time-domain magnetodynamic formulations to compute the induced currents
in the magnetic (and conducting) core for both steady-state and transient
The transformer model transfo.pro uses the same template file to model a
simple transformer. A circuit coupling is used to connect the primary winding
to a voltage source and the secondary winding to a resistive load.