Is there easily-available* software to simulate coils, solenoids, and other magnetic and electromagnetic devices?

I'd like to play around with some design ideas, such as Halbach arrays, but physics simulators like SketchyPhysics don't seem to have the laws of electromagnetism implemented.

(*"Easily-available" means "not cost prohibitive.")


Before answering, please see our policy on resource recommendation questions. Please write substantial answers that detail the style, content, and prerequisites of the book, paper or other resource. Explain the nature of the resource so that readers can decide which one is best suited for them rather than relying on the opinions of others. Answers containing only a reference to a book or paper will be removed!

closed as off-topic by Kyle Kanos, John Rennie, ZeroTheHero, Wolpertinger, mpv Sep 4 '17 at 20:55

  • This question does not appear to be about physics within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 4
    $\begingroup$ I'm voting to close this question as off-topic because it is a request for software and not about physics. $\endgroup$ – Kyle Kanos Sep 1 '17 at 10:12

Try Finite Element Magnetics (Link FEMM)

enter image description here

Did I mention is free to download and use. Go figure !


There are a number of commercial packages you can use for such purposes.

Comsol multiphysics simulation software is a general purpose physics modelling software package that I belive can deal with electromagnitism. The link to their website is http://www.uk.comsol.com.

Ansys is another commercial vendor that provides a electromagnetic physics module. There website is http://www.ansys.com.

I hope this helps.


There are the EMS, an add-in to Solidowrks, so you can simulate in 3D: (payed).


Open source:

  • 2
    $\begingroup$ Could you comment on the pros/cons of any of these software? $\endgroup$ – Kyle Kanos Jul 15 '14 at 16:52

You can draw virtual magnets and view theirr magnetic fields using www.pic2mag.com

It is a free download.

Pic2Mag Version v1.01 Released


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