mumax / 3

GPU-accelerated micromagnetic simulator
Other
461 stars 155 forks source link

Demag field Issue #286

Closed hamedvakilit closed 1 month ago

hamedvakilit commented 3 years ago

Hi all,

I wanted to try simulating skyrmion in antiferromagnets. I define each sublattice separately like a checkerboard. (attached "ferri-skyrm-test")

When I turn the demag field on/off I get different results: On: demag-on

Off: demag-off

Which should not be the case, as demag field in AFMs is zero. I tried this with OOMMF as well and it works correctly, I get the same results with and without the demag field.

I tried it without defining each sublattice in mumax as well, attached "AFM-skyrm-test", and used run(5e-9) to relax it and it gives correct results, but when I use relax() or minimize() instead, it will give different results (same as the two above figures).

Am I doing something wrong or is it an issue with mumax?

Thanks

AFM-skyrm-test.mx3.txt ferri-skyrm-test.mx3.txt

godsic commented 3 years ago

@hamedvakilit So mumax3 agrees with OOMMF only when you relax with run(5e-9) instead of relax() or minimize(), right?