Page 1 of 1

APPLIED MAGNETIC FIELD ACCORDING TO AN EQUATION

Posted: 15 Jun 2021, 12:04
by Andrea_P
Hi,
I don’t understand whether the imposed magnetic field is in the right direction and why it does not assume the same values of the analytic one. I appreciate any suggestions. The mesh file is: https://we.tl/t-67prIztB8p. I attached an image of my problem an the Magnetic field according to the equation in the case.sif.Thanks in advance.
Regards,
Andrea

Re: APPLIED MAGNETIC FIELD ACCORDING TO AN EQUATION

Posted: 15 Jun 2021, 12:53
by Andrea_P
I have specified where and up to limit I have to apply the magnetic field, but now the relative solver does not start.

Code: Select all

Applied Magnetic Field 1 = Variable Coordinate 1, Coordinate 2
     Real MATC "if (tx(0)<=h*h1) (B1*exp(-(tx(1)-0.01)^2/(2*(1002)^2))); else 0;"