Gradient of the magnetic field is zero
Posted Nov 22, 2019, 5:57 PM EST AC/DC & Electromagnetics, Parameters, Variables, & Functions, Equation-Based Modeling Version 5.2 0 Replies
Please login with a confirmed email address before reporting spam
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