Finite-Element Simulation of an Accelerator Magnet: an Exercise

This note describes an extended exercise on the finite-element (FE) simulation of an accelerator magnet. The students construct and simulate a magnet model using the FEMM freeware. They get the opportunity to exercise on the theory of FEs, including Maxwell equations, magnetoquasistatic formulation, weighted residual approach, choice of appropriate FE shape functions and algebraic system of equations, thereby guided by fill-in sheets. They are invited to implement the most crucial parts of a simple FE solver. Finally, the own software is used to simulate the magnet once more and to develop some problem-dedicated post-processing routines. The exercise educates students in accelerator physics and electrical engineering on the construction and simulation of accurate and manageable FE models, the algorithms behind a standard FE solver and some ideas to extend a FE solver for own purposes. All necessary files to carry out the exercise are freely available.