MagTense: a micromagnetic framework using the analytical demagnetization tensor

Rasmus Bjørk*, Emil Blaabjerg Poulsen, Kaspar Kirstein Nielsen, Andrea Roberto Insinga*

*Corresponding author for this work

Research output: Contribution to journalJournal articleResearchpeer-review


We present the open source micromagnetic framework, MagTense, which utilizes a novel discretization approach of rectangular cuboid or tetrahedron geometry “tiles” to analytically calculate the demagnetization field. Each tile is assumed to be uniformly magnetized, and from this assumption only, the demagnetization field can be analytically calculated. Using this novel approach we calculate the solution to the mag standard micromagnetic problems 2, 3 and 4 and find that the MagTense framework accurately predicts the solution to each of these. Finally, we show that simulation time can be significantly improved by performing the dense demagnetization tensor matrix multiplications using NVIDIA CUDA.
Original languageEnglish
Article number168057
JournalJournal of Magnetism and Magnetic Materials
Number of pages8
Publication statusPublished - 2021


  • Micromagnetism
  • Demagnetization tensor
  • Standard problems
  • MagTense

Fingerprint Dive into the research topics of 'MagTense: a micromagnetic framework using the analytical demagnetization tensor'. Together they form a unique fingerprint.

Cite this