Performing droplet soliton simulation

18 views
Skip to first unread message

Suman Kumar Maharana

unread,
May 2, 2025, 7:33:51 AMMay 2
to Boris Computational Spintronics
Dear Serban,  
I would like to perform simulations of nanocontact (NC)–based spin-torque oscillators to nucleate a droplet soliton. Please suggest a possible method for defining the nanocontact or for injecting spin current in a specific region.  
Thank you.  
Best regards,  
Suman

Suman Kumar Maharana

unread,
May 2, 2025, 7:40:06 AMMay 2
to Boris Computational Spintronics
Here is a sample code in MuMax for injecting a spin current in a specific region.

setgridsize(2000, 75, 1)
setcellsize(5e-9, 5e-9, 5e-9)

region1 := cylinder(100e-9, 5e-9)
j.setregion(1, vector(0, 0, jc)

Serban Lepadatu

unread,
May 5, 2025, 2:20:22 AMMay 5
to Boris Computational Spintronics
Hi Suman,

You can do this by configuring electrodes and enabling the transport module.
For an introduction on working with the transport module and electrodes see Tutorial 10 in the manual.

e.g. define an electrode with addelectrode command with a given rectangle (see help for this command in the manual or console: ?addelectrode).
you will need at least 2 electrodes, and designate on of them as the ground electrode, e.g. first one: desginateground 0.
you can then set a potential drop, e.g. setpotential 1, for 1 V.

Alternatively, if you just want a constant current density then use the setcurrentdensity (transport module still required).

Regards,
Serban

Reply all
Reply to author
Forward
0 new messages