Hi Mumax community,
Long time mumax user here. I am currently trying to simulate the stray fields in the air above a nanodisk, but don't seem to be getting the right results. I have a 30nm thick nanodisk and want to find the stray field 50nm above the disk. I've been relaxing the magnetization first and then running it with time evolution. But since it is just a static field I think it does not matter much.
1. What parameter values should I use for air? So far I have been setting Msat = 0 and Aex = 0. But perhaps this is incorrect? Should I just leave the parameters blank instead?
2. Is there something else I may be missing? I just want the stray field in the layer 50nm above the disk... but my results are not coming out correct.
Thank you very much for any insight.
--------------------------------------------------------------------------------------------------------------------------------------------
setgridsize(1200,1200,9) //
setcellsize(5e-9,5e-9,10e-9)
EdgeSmooth = 0
setgeom(cylinder(6e-6,30e-9).transl(0,0,-30e-9))
DefRegion(1,cylinder(6e-6,30e-9).transl(0,0,-30e-9)) //disk
DefRegion(2,layer(8)) // layer want stray field in
DefRegion(3,layers(3,8)) //air
///// Run/Load initial magnetization
//m.SetRegion(1,randomMag())
//save(m)
m.LoadFile("m000001.ovf")
///// Defining disk properties
Msat.SetRegion(1, 8e5)
Aex.SetRegion(1, 10e-11)
alpha.SetRegion(1, 0.95)
Ku1.SetRegion(1,0)
anisU.SetRegion(1,vector(0,0,1))
///// Defining air properties
Msat.SetRegion(2, 0)
Aex.SetRegion(2, 0)
Msat.SetRegion(3, 0)
Aex.SetRegion(3, 0)
////// Field output
bstatic := 0.07
Bx := 0
By := 0.587785*bstatic //cos(54deg)
Bz := 0.80901*bstatic //sin(54deg)
B_ext = vector(Bx,By,Bz)
/////// Run/Save data
OutputFormat = OVF2_TEXT
//relax()
Run(5e-9)
save(B_demag.Region(1)) //demag inside the disk
save(m)