Request for verification of my MuMax3 implementation

40 views
Skip to first unread message

SANDHYA RAVICHANDRAN (RA2433002011028)

unread,
Jul 6, 2026, 3:09:57 AMJul 6
to mumax2

Dear Dr. Lauzier,

Thank you very much for your previous reply regarding my SOT implementation. Your suggestions were extremely helpful.

Following your recommendation, I updated my code by removing the combined damping-like and field-like torque terms and implementing the spin-orbit torque using Masked() so that each torque is applied only to its respective magnetic layer.

In my model, the magnetic layers are located at layer(2) (top) and layer(0) (bottom), with a non-magnetic spacer at layer(1).

I am varying the saturation magnetization (Ms) of the two magnetic layers to study magnetic compensation. Since the damping-like and field-like SOT coefficients are inversely proportional to Ms, the SOT strength changes as Ms changes. Therefore, I calculate separate SOT coefficients for the top and bottom layers and apply them using Masked().

To ensure that I have implemented everything correctly, I have attached my complete MuMax3 script. I would be very grateful if you could kindly review it and let me know whether the implementation is correct, particularly with respect to:

  1. the layer-specific implementation of the damping-like and field-like SOT using Masked(),
  2. the AFM interlayer exchange implementation,
  3. the corresponding AddEdensTerm() definitions,
  4. and whether there are any other implementation issues that I may have overlooked.

I am planning to rerun all of my simulations and reanalyze the results based on this updated implementation, so I wanted to verify the code before proceeding. I would greatly appreciate any comments or suggestions.

Thank you very much for your time and assistance.

Kind regards,

Sandhya

layer resolved SOT program..txt
Reply all
Reply to author
Forward
0 new messages