English

Magnetic-field modeling with surface currents: Physical and computational principles of bfieldtools

Computational Physics 2020-08-17 v2 Applied Physics

Abstract

Surface currents provide a general way to model static magnetic fields in source-free volumes. To facilitate the use of surface currents in magneto-quasistatic problems, we have implemented a set of computational tools in a Python package named bfieldtools. In this work, we describe the physical and computational principles of this toolset. To be able to work with surface currents of arbitrary shape, we discretize the currents on triangle meshes using piecewise-linear stream functions. We apply analytical discretizations of integral equations to obtain the magnetic field and potentials associated with the discrete stream function. In addition, we describe the computation of the spherical multipole expansion and a novel surface-harmonic expansion for surface currents, both of which are useful for representing the magnetic field in source-free volumes with a small number of parameters. Last, we share examples related to magnetic shielding and surface-coil design using the presented tools.

Keywords

Cite

@article{arxiv.2005.10060,
  title  = {Magnetic-field modeling with surface currents: Physical and computational principles of bfieldtools},
  author = {Antti J. Mäkinen and Rasmus Zetter and Joonas Iivanainen and Koos C. J. Zevenhoven and Lauri Parkkonen and Risto J. Ilmoniemi},
  journal= {arXiv preprint arXiv:2005.10060},
  year   = {2020}
}

Comments

Updated document style, some references and wordings. 15 pages, 8 figures

R2 v1 2026-06-23T15:41:15.194Z