COMSOL Module for Micromagnetics

COMSOL Multiphysics is an excellent finite element analysis, solver and multiphysics simulation software. It contains many different modules for different purposes, but it lacks of a module for simulating magnetization dynamics, i.e. the micromagnetics. There are several other excellent micromagnetic simulation packages, such as OOMMF, MuMax, … We developed a new Micromagnetic simulation package based on the COMSOL platform, utilizing its excellent finite element and model designing tools, as well as its straightforward integration with other physical fields such as the mechanics and electromagnetic.

Some examples of the capabilities of this COMSOL Module for Micromagnetics are listed below:

  1. The simplest macrospin simulation
  2. The spin wave excitation and propagation in homogeneous magnetic domain, including exchange and DMI
  3. The spin wave excitation and propagation in inhomogeneous magnetic textures, such as domain wal or skyrmions
  4. The inclusion of dipolar fields
  5. The inclusion of thermal flucatuations
  6. The inclusion of the magnetoelastic coupling 
  7. The integration with the electromagnetic module within COMSOL
  8. The integration with the microwave within COMSOL


This package is mainly developed by Dr. Weichao Yu.

The papers generated using this package include:

1. Yu, W., Lan, J. & Xiao, J. Magnetic Logic Gate Based on Polarized Spin Waves. Phys. Rev. Applied 13, 024055 (2020).

2. Yu, W., Wang, J., Yuan, H. Y. & Xiao, J. Prediction of Attractive Level Crossing via a Dissipative Mode. Phys. Rev. Lett. 123, 227201 (2019).

3. Yu, W., Lan, J. & Xiao, J. Polarization-selective spin wave driven domain-wall motion in antiferromagnets. Phys. Rev. B 98, 144422 (2018).

4. Lan, J., Yu, W. & Xiao, J. Antiferromagnetic domain wall as spin wave polarizer and retarder. Nature Communications 8, 178 (2017).

5. Yu, W., Lan, J., Wu, R. & Xiao, J. Magnetic Snell’s law and spin-wave fiber with Dzyaloshinskii-Moriya interaction. Phys. Rev. B 94, 140410 (2016).

6. Lan, J., Yu, W., Wu, R. & Xiao, J. Spin-Wave Diode. Phys. Rev. X 5, 041049 (2015).

© Jiang Xiao 2014