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.
Gradient of the magnetic field is zero
Posted 2019年11月22日 GMT-5 17:57 Low-Frequency Electromagnetics, Parameters, Variables, & Functions, Equation-Based Modeling Version 5.2 0 Replies
Please login with a confirmed email address before reporting spam
Hi forum,
I'm relatively new to COMSOL and am trying to plot the gradient of the magnetic field from a 2D block magnet in the Magnetic Fields, No Currents (mfnc) physics module, along with a Coefficient Form PDE module to calculate the gradient of the x,y,z components of the field --> I set my source terms to be mf.Hx, mf.Hy, and mf.Hz as the examples below recomended but they seem to be unknown varaibles - this may be the source of the issue.
I am using 2 stationary studies - the first to calculate the magnetic field, the second to calculate the coefficient form PDE and am still having no luck displaying the gradient.
I have attached my model - any help would be much appreciated! Thanks, Alex
https://www.comsol.fr/forum/thread/attachment/98701/Gradients_of_Magnetic_Field_42a-17775.pdf https://www.comsol.com/blogs/plotting-spatial-derivatives-magnetic-field/
Attachments:
Hello Alex Hruska
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.