Take the 2-minute tour ×
Physics Stack Exchange is a question and answer site for active researchers, academics and students of physics. It's 100% free, no registration required.

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?

share|improve this question

closed as off topic by David Z Jan 15 '13 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.

    
Hi Josh - this is a recommendation request, which isn't appropriate for this site, and besides, a lot of computational questions are off topic here. You could ask in Physics Chat (also try the chat room for Computational Science) –  David Z Jan 15 '13 at 2:02
add comment

1 Answer 1

up vote 1 down vote accepted

Yes, this guy does it awesomely: http://www.bugman123.com/Physics/index.html See the links within, which contains scripts.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.