Computational micromagnetics with Commics

Published: 10-10-2019| Version 1 | DOI: 10.17632/29wv9h78h7.1
Carl-Martin Pfeiler,
Michele Ruggeri,
Bernhard Stiftner,
Lukas Exl,
Matthias Hochsteger,
Gino Hrkac,
Joachim Schöberl,
Norbert J. Mauser,
Dirk Praetorius


We present our open-source Python module Commics for the study of the magnetization dynamics in ferromagnetic materials via micromagnetic simulations. It implements state-of-the-art unconditionally convergent finite element methods for the numerical integration of the Landau–Lifshitz–Gilbert equation. The implementation is based on the multiphysics finite element software Netgen/NGSolve. The simulation scripts are written in Python, which leads to very readable code and direct access to extensive post-processing. Together with documentation and example scripts, the code is freely available on GitLab.