Hying
unread,Nov 23, 2025, 8:39:34 PMNov 23Sign 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,
From mumax3 workshop, the prefactor and shift functions are defined as following for FM(1nm)/SL(1nm)/FM(1nm):
prefactorZ := Const( (2 * AFMAex) / (cellsize*cellsize*Ms))
up := Mul(prefactorZ,Mul(Add(Mul(Const(-1),m),Shifted(m,0,0, 2)),Shifted(Const(1),0,0,2)))
down := Mul(prefactorZ,Mul(Add(Mul(Const(-1),m),Shifted(m,0,0,-2)),Shifted(Const(1),0,0,-2)))
freelayerthickness=2e-9
setgridsize(256,64,3)
setcellsize(1e-9,1e-9,1e-9)
// define 2 layers
defregion(1,layer(2))
defregion(2,layer(0))
setgeom(layer(0).add(layer(2)))
I’m not sure that How should I modify the up and down functions for my structure: FM(2nm)/SL(1nm)/FM(2nm):
freelayerthickness=4e-9
setgridsize(8,8,5)
setcellsize(3.75e-9,3.75e-9,1e-9)
// define 2 layers
top:=cylinder(30e-9,2e-9).transl(0,0,1.5e-9)
bottom:=cylinder(30e-9,2e-9).transl(0,0,-1.5e-9)
defRegion(1, bottom)
defRegion(2, top)
setgeom(top.add(bottom))
Thank you very much in advance for any help!
Best, Hying