I'll try to answer under my perspective of understanding, as I am new to JOOMMF and micromagnetic simulation.
Kindly see "standard problem 4" for reference.
The system Hamiltonian is defined as,
system.hamiltonian = oc.Exchange(A) + oc.Demag()
The demagnetization is calculated for the system geometry that's defined.
You can view it by using,
system.dt
This gives you the complete data from the simulation, where you can find the demagnetization energy.
To answer your 3rd question with same standard problem 4
t = 1e-9 # simulation time (s)
n = 200 # number of data saving steps
td = oc.TimeDriver() # create time driver
td.drive(system, t=t, n=n) # drive the system
The simulation time defined here is 1 ns.
Now to see the mesh magnetization use,
system.m.plot_plane(z=0) This shows the mesh magnetization at 1 ns (shows the final simulation result as we defined t=1e-9)
This plot the plane 'xy' at slice z=0
To answer your question at time t=0.03 s
kindly define t=0.03 in the place of t=1e-9
Else, if you wish to run the simulation for a longer time as 1 sec and still you can get the mesh magnetization at 0.03 s by defining the step.
t = 1 # simulation time (s)
n = 100 # number of data saving steps
td = oc.TimeDriver() # create time driver
td.drive(system, t=t, n=n) # drive the system
Now the simulation time is 1 sec. The step is 100, so 100 data will be saved with time as, t=0.01, 0.02, 0.03, 0.04,...1 s.
You can view the data at each at every sec using,
system.dt
All the data (100 data) are stored as .omf file in the folder name you mentioned while defining the system.
You can see the mesh magnetization at any time using .omf file.
Hope, this helps you.
Contact back for more information.
I don't understand your Question 2, kindly rephrase it for better understanding, if possible I will help you.
Regards,
M. Ponsudana