I need to calculate the magnetic field along a straight line in proximity of an array of 6 magnets. I used the tutorial files "magnets" included in Gmsh and I slightly modified the file in order to describe the position of the magnets in my desired configuration.
I set the mesh size with a rather small value:
Mesh size at infinity: 0.01; Mesh size on magnets: 0.001
and I use the "H" formulation. However, the resulting calculated magnetic field is very "fuzzy" as you can see in the figure below. Different colors are different components of the magnetic field. This fuzziness is clearly not physical and has a numeric origin. Am I missing something?
TL/DR: How can I improve the accuracy of the numerical calculation and avoid numerical noise when calculating the magnetic field of an array of magnets?