3D force computation between a collection of magnets.
To run the model, open magnets.pro with Gmsh.
The model uses either a magnetic scalar or vector potential formulation to solve the magnetostatic Maxwell system in three dimensions. The forces are computed using the Maxwell stress tensor.
Model developed by C. Geuzaine.