Below are my codes. Yes, I am working in PMA system. I do not want to remove the demeg field, but want to mimic a real system because the simulation window is limited. I have set the ext_rmsurfacecharge(), but the Walker Breakdown occurs under 0.3 mT. In addition, I want to learn about the first parameter of ext_rmsurfacecharge(), the zero represents mx, and the two represents mz? Last but not least, when I keep the DW in the center of window by ext_centerwall(), the DW position recorded by ex_dwpos() is quite different from the case without keeping DW in the center. Does it mean the demeg field has a non-negligible effect on DW motion?
Thanks a lot!
Nx:=256
Ny:=256
Nz:=1
sizeX:=1e-6
sizeY:=1000e-9
sizeZ:=1e-9
SetGridSize(Nx,Ny,Nz)
SetCellSize(sizeX/Nx,sizeY/Ny,sizeZ/Nz)
cellsizeY:=sizeY/Ny
Msat = 6.23e5
anisU = vector(0, 0, 1)
Ku1 = 4.62e5
Aex = 2e-11
alpha = 0.015
//Dind = 0.03e-3
//remove edge charges
BoundaryRegion := 0
MagLeft := 1
MagRight := -1
ext_rmSurfaceCharge(BoundaryRegion, MagLeft, MagRight)
m = twodomain(0, 0, 1, -1, 0, 0, 0, 0, -1)
relax()
snapshot(m)
//ext_centerwall(2)
autosave(m,0.1e-9)
tableadd(ext_dwxpos)
tableadd(ext_dwspeed)
tableautosave(0.1e-9)
B_ext=vector(0,0,0.3e-3)
run(100e-9)