Hi Serban,
For example, for the case of a domain wall driven by a spin current density:
ns.addmodule ('Py', "transport")
ns.setparam ('Py', "P", 0.5)
ns.setparam ('Py', "beta", 0.1)
ns.setparam ('Py', "damping", 0.08)
ns.disabletransportsolver(1)
ns.setode('LLG', 'RK4')
ns.setdt(1e-14)
ns.setcurrentdensity('Py',1,0,0)
ns.loadovf2curr('Py','/home/zwt/Boris/DomainWall/J=5e11.ovf')
ns.setdata('commbuf')
ns.editstagestop(0, 'time', 50e-9)
ns.editdatasave(0, 'time', 2.0e-10)
ns.saveovf2mag('/home/zwt/Boris/DomainWall/J=5e11/DomainWall_%time%.ovf' , bufferCommand = True)
ns.cuda (1)
ns.Run ()
The simulations create the files: DomainWall_0s.ovf DomainWall_199.98ps.ovf DomainWall_199.99ps.ovf DomainWall_200ps.ovf DomainWall_399.99ps.ovf DomainWall_400ps.ovf. To run the simulation I use /home/zwt/BorisLin -p 1001 -s /home/zwt/Boris/DomainWall/tst.py &.