3D Magnetostatics and magnetic rigid-body forces | |
---|---|
![]() |
![]() |
Browse model files — Download zip archive |
Quick start
To run the model, open magnets.pro
with Gmsh
and click on the "Run" button in the left panel.
Features addressed in this tutorial
- 3D Magnetostatics
- Dual vector and scalar magnetic potentials formulations
- Boundary condition at infinity with infinite elements
- Maxwell stress tensor and rigid-body magnetic forces
Additional information
This rather didactic tutorial solves the electromagnetic field and the rigid-body forces acting on a set of magnetic pieces of parallelepipedic or cylindrical shape. The tutorial model proposes both dual 3D magnetostatic formulations: the magnetic vector potential formulation with spanning-tree gauging, and the scalar magnetic potential formulation. As in tutorial 2 (magnetostatic field of an electromagnet), a shell of so-called infinite elements is used here to impose the exact zero-field boundary condition at infinity. The preferred way to compute electromagnetic forces in GetDP is as an explicit by-product of the Maxwell stress tensor.
References
This work was funded in part by the Walloon Region (WBGreen No 1217703 FEDO, WIST3 No 1017086 ONELAB) and by the Belgian Science Policy (IAP P7/02). Copyright (c) 2012-2018 ULiège-UCL.