Physics Stack Exchange is a question and answer site for active researchers, academics and students of physics. Join them; it only takes a minute:

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

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.")

share|cite|improve this question

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!

Try Finite Element Magnetics (Link FEMM)

enter image description here

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

share|cite|improve this answer

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

Ansys is another commercial vendor that provides a electromagnetic physics module. There website is

I hope this helps.

share|cite|improve this answer

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


Open source:

share|cite|improve this answer
Could you comment on the pros/cons of any of these software? – Kyle Kanos Jul 15 '14 at 16:52

You can draw virtual magnets and view theirr magnetic fields using

It is a free download.

Pic2Mag Version v1.01 Released

share|cite|improve this answer

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.