APPLIED MAGNETIC FIELD ACCORDING TO AN EQUATION

Numerical methods and mathematical models of Elmer
Post Reply
Andrea_P
Posts: 166
Joined: 22 Mar 2021, 18:39
Antispam: Yes
Location: POLYTHECNIC UNIVERSITY OF TURIN

APPLIED MAGNETIC FIELD ACCORDING TO AN EQUATION

Post 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
Attachments
case.sif
(5.98 KiB) Downloaded 12 times
D50D13C2-37E6-4869-A5BE-FA5594A31AEE.png
(204.09 KiB) Not downloaded yet
campo.png
campo.png (14.65 KiB) Viewed 104 times
POLYTECHNIC UNIVERSITY OF TURIN-DIMEAS
Andrea_P
Posts: 166
Joined: 22 Mar 2021, 18:39
Antispam: Yes
Location: POLYTHECNIC UNIVERSITY OF TURIN

Re: APPLIED MAGNETIC FIELD ACCORDING TO AN EQUATION

Post 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;" 
POLYTECHNIC UNIVERSITY OF TURIN-DIMEAS
Post Reply