Commics is an open-source Python module 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 and its Python interface NGSpy. 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.


Team (TU Wien)

Team (external)

  • Lukas Exl (Postdoc, University of Vienna)
  • Gino Hrkac (Professor, University of Exeter)
  • Norbert J. Mauser (Professor, University of Vienna)