Computational Science Stack Exchange is a question and answer site for scientists using computers to solve scientific problems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does somebody know about any tool for simulation and visualization of magnetic fields either of permanent magnets or solenoids, that can be used on Mac OS X? Maybe there is some software for Linux, but is open-source and can compiled for Mac OS X?

I want to have something like a canvas at which I can put the magnets, move them, and see how the magnetic field changes around them.

share|improve this question
Do you need to do these visualizations on data that you already have, or do you need to simulate the field then visualize? – Bill Barth Dec 20 '12 at 20:25
No, I don't have any data, so it must be simulated also. – BartoNaz Dec 20 '12 at 22:25
You should rewrite this question to reflect the fact that you want a magnet simulator not just a visualization program. – Bill Barth Dec 20 '12 at 22:40

Have you tried either VisIt or ParaView ?

share|improve this answer
It looks interesting, but as far as I understand, they just visualize the recorded data. But I want something like a canvas, to which I can put different magnets and then see the lines of magnetic field being drawn. And it needs some more specific tool, I guess. – BartoNaz Dec 20 '12 at 22:28

Try Mayavi. Look here and here for some nice examples of electric field visualizations.

share|improve this answer
This examples look really cool. But this just a plotting tool, right? So does it mean that I have to write the code for calculation of the magnetic fields and use Mayavi just to draw it? – BartoNaz Dec 20 '12 at 22:31
Yes you have to compute the fields. Your question was not clear whether you wanted a software that calculates the fields or just visualizes them. – Vijay Murthy Dec 21 '12 at 9:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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