Adding an constant external B-field in the "mf." module

Please login with a confirmed email address before reporting spam

Hello,

I am working with a model that combines the "ec." and "mf." modules. The idea is the following: 1) The "ec." module takes a current "I" as input and computes the current density "J" that distributes according to the electrical conductivity. 2) "J" serves as input for the ".mf" module, which computes the rest.

Question: How can I add-up an external B-field, like a permanent magnet acting on my model ?

I tried adding a boundary condition for "B", but I actually don't know the total B-field there... I also tried using the following option: "Magnetic fields (mf) -> Background field -> Solve for: Reduced field ". But this second idea does not seem to model what I need (when I plot "mf.By", I do not see the contribution of the external field along "y").

Any help would be greatly appreciated :)

Pierre


0 Replies Last Post Feb 13, 2025, 5:09 a.m. EST
COMSOL Moderator

Hello Pierre Drobniak

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

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.