Magnetic Fields, No Current

Topics: 4.2a, AC/DC Module

Thread index  |  Previous thread  |  Next thread  |  Start a new discussion

RSS FeedRSS feed   |   Email notificationsTurn on email notifications   |   4 Replies   Last post: October 17, 2012 1:53pm UTC
Shoval Zoran

Shoval Zoran

October 14, 2012 1:48pm UTC

Magnetic Fields, No Current

Hi everyone,

So I've been trying for a while now to bypass the problem of creating an external magnetic field in *other* AC/DC modules; but now I see that in the MFNC there are two options: External Magnetic Flux Density, and the same without external. The External seems to be a pointless node - it does not make any change at all in the model, does not affect anything - and you cannot provide it with any information;

so here's the first question - what does the External Magnetic Flux Density node do?

the other node, without external, seems to work if you have a stationary model, but if you have a time dependent, any field that is not 0 makes it not converge. attached a model; can anyone tell me what is wrong?

I'm working with 4.2a.

thanks,
~Shoval

Attachments:   MFNC test.mph  

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Ivar Kjelberg

Ivar Kjelberg

October 15, 2012 10:31am UTC in response to Shoval Zoran

Re: Magnetic Fields, No Current

Hi

why do you find it so difficult ?
In MNFC you can define the magnetic (scalar) potential Vm on two opposed boundaries (i.e. of a square) and you have your external magnetic field as a flux going from one boundary to the other.
Or you define one or more Magnetic boundary fluxes, but then you must somewhere define a magnetic potential to set a gauge values on Vm (or to define the integration constant)

In MF its the same, apart that we deal with the magnetic Vector potential A=(Ax,Ay,Az) and by default, in 2D only Az is considered (out of plane component) but that you can change that

--
Good luck
Ivar

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Shoval Zoran

Shoval Zoran

October 16, 2012 3:06pm UTC in response to Ivar Kjelberg

Re: Magnetic Fields, No Current

I really do not know why but this too does not seem to work. I attached the smallest and simplest model with it for you to see. It should be less than 5 minutes to check..

thank you for you time!!

~shoval.

Attachments:   MFNC test.mph  

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Andrea Ferrario

Andrea Ferrario
COMSOL Employee
Sweden

October 17, 2012 1:04pm UTC in response to Shoval Zoran

Re: Magnetic Fields, No Current

The External Magnetic Flux Density condition only works when you have an external (background) field, that is, when you select "Solve for reduced field" in the Magnetic Fields, No Currents node. In this situation, you solve for the reduced field redH and the total field H is the sum of the reduced field and the background field:

H = redH + H0

An External Magnetic Flux Density feature imposes the condition that the total field must be equal to the background field, i.e. redH = 0. In other words, it forces the perturbation to the background field to be zero on that boundary. Such condition does not require any user input, so its Settings window is empty.

As for your time-dependent model, the reason it fails to converge is that you did not provide any constraint for the absolute value of the potential, since you only imposed flux (Neumann) boundary conditions. It's mathematically equivalent to asking "what's the voltage of a wire carrying 1 A?": there is no unique answer, you can only compute the voltage drop but not the absolute value of the voltage in the wire, unless you specify the potential at least in one point.
In your MFNC model, you need at least a point condition somewhere that specifies the absolute value of the potential.

--
Andrea Ferrario
Electromagnetics Group
COMSOL AB

Reply  |  Reply with Quote  |  Report Abuse

Shoval Zoran

Shoval Zoran

October 17, 2012 1:53pm UTC in response to Andrea Ferrario

Re: Magnetic Fields, No Current

Thank you very much!
it now works very nicely and I understand about the External too.

shoval

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse


Rules and guidelines