Computational micromagnetics with Commics
For researchers in micromagnetics, this offers a new open-source tool with advanced numerical methods, but it is an incremental contribution as it builds on existing software.
Commics is an open-source Python module for micromagnetic simulations that implements unconditionally convergent finite element methods for the Landau-Lifshitz-Gilbert equation, providing readable code and post-processing capabilities.
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.