Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 5773

Gradient of the magnetic field is zero

$
0
0

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/


Viewing all articles
Browse latest Browse all 5773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>