The recent but steady trend towards increased magnetic and geometric complexity in the design of wigglers and undulators, of which tapered wigglers, hybrid structures, laced electromagnetic wigglers, magnetic cladding, twisters and magic structures are examples, has caused a need for reliable 3-D computer models and a better understanding of the behavior of magnetic systems in three dimensions. The capabilities of the MAGNUS-3D group of programs are ideally suited to solve this class of problems and provide insight into 3-D effects. MAGNUS-3D can solve any problem of magnetostatics involving permanent magnets, linear or nonlinear ferromagnetic materials and electric conductors of any shape in space. The magnetic properties of permanent magnets are described by the complete nonlinear demagnetization curve as provided by the manufacturer, or, at the user's choice, by a simpler approximation involving the coercive force, the residual induction and the direction of magnetization. The ferromagnetic materials are described by a magnetization table and an accurate interpolation relation. An internal library with properties of common industrial steels is available. The conductors are independent of the mesh and are described in terms of conductor elements from an internal library. MAGNUS-3D uses the finite element method and the two-scalar-potentials formulation of Maxwell's equations to obtain the solution, which can then be interactively used to obtain all kinds of tables and plots and to calculate quantities needed in magnetic engineering. This includes tables of values of the field components at specified points or lines, plots of field lines in 3-D or of the magnetic bodies seen from any point of view in space, function graphs representing a field component plotted against a coordinate along any line in space (such as the beam line), and views of the conductors and the mesh. All views feature color, perspective, and partial or full hidden surface removal. The magnetic quantities that can be calculated include the force or torque on conductors or magnetic bodies, the energy, the flux through a specified surface, line integrals of any field component along any line in space, and the average field or potential harmonic coefficients. This paper describes the programs with emphasis placed on their use for wiggler design, and an example of mesh generation and calculations for an advanced undulator concept.
Read full abstract