The magnetic scalar potential and demagnetization vector for a cylinder tile
Rasmus Bjørk
TL;DR
This work derives closed-form analytical solutions for the magnetic scalar potential generated by uniformly magnetized cylindrical slices and full cylinders by solving Poisson's equation and expressing the potential as a dot product $\Psi_M(\mathbf{r})=\mathbb{N}_\Psi(\mathbf{r})\cdot\mathbf{M}$, where the demagnetization vector $\mathbb{N}_\Psi$ encodes all geometric information and is constructed from elliptic integrals. The authors provide explicit surface-term decompositions for the six faces of a cylinder slice, including careful treatment of angular, radial, and axial singularities, and show that the same approach yields the full-cylinder case with appropriate angular limits and complete elliptic integrals. Validation against finite element simulations demonstrates perfect agreement for both the slice and the full cylinder, confirming the correctness and numerical reliability of the analytic expressions. The resulting framework facilitates high-precision magnetic field calculations and can be advantageous for physics-informed machine learning and other applications requiring conservative scalar potentials.
Abstract
A closed-form solution for the magnetic scalar potential generated by a uniformly magnetized cylindrical slice and a full cylinder is determined by solving Poisson's equation analytically. The solution is given in terms of elliptic integrals of the first, second and third kind. We show that the magnetic scalar potential can be written as the dot product of a demagnetization vector, containing all the geometric information of the generating cylinder, and the magnetization. We validate the derived analytical expressions for the magnetic scalar potential by comparing with a finite element simulation and show that these agree perfectly for both the cylindrical slice and the full cylinder.
