  This lecture note describes how to set up and what is behind a magnetodynamic
field simulation for an accelerator magnet. The relevant formulation of
Maxwell's equations is derived. The formulation is discretized in space by the
finite-element method and in time by a standard time integration method. The
steps for setting up the accelerator-magnet model are described. An exemplary
simulation of the GSI SIS-100 magnet is given as illustration. Finally, some
extensions to the standard FE method, dedicated to accelerator magnets, are
discussed.
