Hello Everyone,
I want to give a biaxial anisotropy constant value of 50 KJ/m3. Please explain how to give this value. It will be very helpful.
I am using this code:
SetMesh(256, 512, 1, 128e-09/256, 320e-09/512, 0.5e-09, 0, 0, 0)
Msat = 800e3
Aex = 13e-12
alpha = 0.25
Kc = 50e3
c1 := Constvector(1,0,0)
c2 := Constvector(0,1,0)
f := Const (-2*Kc/(Msat))
B_c := Mul(f, Madd(Mul( Mul(Mul( Dot(c2, m), Dot(c2, m)),Dot(c1, m)),c1), Mul( Mul(Mul( Dot(c1, m), Dot(c1, m)),Dot(c2, m)),c2), 1,1))
AddFieldTerm(B_c)
AddEdensTerm(Mul(Mul(Const(-0.25),Const(Msat)),Dot(M,B_c)))
There is some error message ;