Closed SeregaKR closed 8 months ago
Hi @SeregaKR,
In ubermag all values are given in SI units including the Zeeman field. So curently you are applying a 1 A/m external field rather than a 1 T external field. You can convert T to A/m my dividing by mu0.
H0 = np.array([1*math.cos(field_angle),1*math.sin(field_angle),5e-3]) / mm.consts.mu0
(We do this as technically Tesla is magnetic induction rather than magnetic field strength)
Hello @samjrholt . Thank you for the reply. Everything seems to be working now.
Good afternoon. I'm trying to add the external field to my calculation. The procedure I want to implement is as follows:
So, as far as I understand from the Docs, I need to set up the mm.Zeeman(H=H0) -> where H0 is my field. I wrote the code as follows, but it doesn't seem to work.
When I check the generated mx3 file for mumax3, I see no changes in B_ext as expected. The same procedure written specifically for mumax3 would be as below:
Any idea what's going wrong? I'm using 2023.10 version.