Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simulates the switch of a spin-torque MRAM #284

Open
jmiasif opened this issue May 25, 2024 · 0 comments
Open

simulates the switch of a spin-torque MRAM #284

jmiasif opened this issue May 25, 2024 · 0 comments

Comments

@jmiasif
Copy link

jmiasif commented May 25, 2024

Hi ubermag team @fangohr @marijanbeg @swapneelap
Description:
This mumax3 scripts simulates the switch of a spin-torque MRAM
stack consisting of a fixed layer, spacer and free layer, using
the Slonczewski model.

// geometry
sizeX := 160e-9
sizeY := 80e-9
sizeZ := 5e-9

Nx := 64
Ny := 32
 
setgridsize(Nx, Ny, 1)
setcellsize(sizeX/Nx, sizeY/Ny, sizeZ)
setGeom(ellipse(sizeX, sizeY))

// set up free layer
Msat  = 800e3
Aex   = 13e-12
alpha = 0.01
m     = uniform(1, 0, 0)

// set up fixed layer polarization
angle := 20
px := cos(angle * pi/180)
py := sin(angle * pi/180)
fixedlayer = vector(-px, -py, 0)

// set up fixed and spacer layer parameters
lambda       = 1
Pol          = 0.5669
epsilonprime = 0

// send current
Jtot := 0.008            // total current in A
area := sizeX*sizeY*pi/4
jc   := Jtot / area       // current density in A/m2
J = vector(0, 0, jc)

// schedule output & run
autosave(m, 100e-12)
tableautosave(10e-12)
run(1e-9)

when we increase ms =1.3e6 kA/mand jc=2E11 A in mumax its not simulated while i wait for more than hour but not simulated why?
besically i want to find magnetisation in z direction and want to calculate switching time from 1 to -1.
can we run this mumax code in ubermag please help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant