Amrit Kumar Mondal
unread,Jun 5, 2024, 12:46:55 PM6/5/24Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mumax2
Dear All,
I am currently working on a project involving the manipulation of layer thicknesses, specifically the free layer, spacer layer, and fixed layer. However, I'm encountering some confusion regarding the code provided.
//////////////////////////////////// Mumax example code //////////////////////////////////////
// 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 spacer layer parameters
lambda = 1
Pol = 0.5669
epsilonprime = 0
// set up fixed layer polarization
angle := 20
px := cos(angle * pi/180)
py := sin(angle * pi/180)
fixedlayer = vector(px, py, 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)
///////////////////////////////////////////////////////////////////////////////////////////////////////////
I aim to vary the thickness of all layers within the range of 1 nm to 10 nm. Could you kindly offer guidance or assistance on how to execute this task within the provided code?
Thank you in advance.
-------
Amrit Kumar Mondal