Hi I am looking for some code to (computationally) calculate the magnetic field of a rectangular permanent magnet in 3D space. Preferably I could edit it to add in my own dimensions. Does anyone know of anything?
closed as off topic by David Z♦ Jan 15 at 2:01
Questions on Physics Stack Exchange are expected to relate to physics within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.
Yes, this guy does it awesomely: http://www.bugman123.com/Physics/index.html See the links within, which contains scripts.