Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Difference between mf2.Bx/y/z and mf2.normB

Sanchayan Rajeetharan

Please login with a confirmed email address before reporting spam

Hi.

Im working on building 3D gradient coil. When im plotting magnetic flux density im confused with mf2.Bx/y/z and mf2.normB. I need to plot resultant magnetic flux density on X & Y & Z axis. can anyone help.


2 Replies Last Post 11 feb 2020, 16:52 GMT-5
Lars Dammann COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 5 years ago 30 gen 2020, 10:22 GMT-5

Hi,

mf.Bx, mf.By and mf.Bz are the x-, y,- and z-component of the magnetic flux density vector. mf.normB is the norm of that vector, which (simply speaking) is sqrt(mf.Bx^2+mf.By^2+mf.Bz^2).

If you are working in the frequency domain, it is actually the complex norm of the vector, which is more like:

sqrt(mf.Bx*conj(mf.Bx)+mf.By*conj(mf.By)+mf.Bz*conj(mf.Bz))

but you probably don't need to worry about that difference.

Hope that helps, Lars

Hi, mf.Bx, mf.By and mf.Bz are the x-, y,- and z-component of the magnetic flux density vector. mf.normB is the norm of that vector, which (simply speaking) is sqrt(mf.Bx^2+mf.By^2+mf.Bz^2). If you are working in the frequency domain, it is actually the complex norm of the vector, which is more like: sqrt(mf.Bx*conj(mf.Bx)+mf.By*conj(mf.By)+mf.Bz*conj(mf.Bz)) but you probably don't need to worry about that difference. Hope that helps, Lars

Sanchayan Rajeetharan

Please login with a confirmed email address before reporting spam

Posted: 5 years ago 11 feb 2020, 16:52 GMT-5

Hi,

mf.Bx, mf.By and mf.Bz are the x-, y,- and z-component of the magnetic flux density vector. mf.normB is the norm of that vector, which (simply speaking) is sqrt(mf.Bx^2+mf.By^2+mf.Bz^2).

If you are working in the frequency domain, it is actually the complex norm of the vector, which is more like:

sqrt(mf.Bxconj(mf.Bx)+mf.Byconj(mf.By)+mf.Bz*conj(mf.Bz))

but you probably don't need to worry about that difference.

Hope that helps, Lars

Now I understood. Thanks

>Hi, > >mf.Bx, mf.By and mf.Bz are the x-, y,- and z-component of the magnetic flux density vector. mf.normB is the norm of that vector, which (simply speaking) is sqrt(mf.Bx^2+mf.By^2+mf.Bz^2). > >If you are working in the frequency domain, it is actually the complex norm of the vector, which is more like: > > sqrt(mf.Bx*conj(mf.Bx)+mf.By*conj(mf.By)+mf.Bz*conj(mf.Bz)) > >but you probably don't need to worry about that difference. > >Hope that helps, >Lars Now I understood. Thanks

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.