this post was submitted on 04 Mar 2026
21 points (100.0% liked)

Ask Science

15979 readers
25 users here now

Ask a science question, get a science answer.


Community Rules


Rule 1: Be respectful and inclusive.Treat others with respect, and maintain a positive atmosphere.


Rule 2: No harassment, hate speech, bigotry, or trolling.Avoid any form of harassment, hate speech, bigotry, or offensive behavior.


Rule 3: Engage in constructive discussions.Contribute to meaningful and constructive discussions that enhance scientific understanding.


Rule 4: No AI-generated answers.Strictly prohibit the use of AI-generated answers. Providing answers generated by AI systems is not allowed and may result in a ban.


Rule 5: Follow guidelines and moderators' instructions.Adhere to community guidelines and comply with instructions given by moderators.


Rule 6: Use appropriate language and tone.Communicate using suitable language and maintain a professional and respectful tone.


Rule 7: Report violations.Report any violations of the community rules to the moderators for appropriate action.


Rule 8: Foster a continuous learning environment.Encourage a continuous learning environment where members can share knowledge and engage in scientific discussions.


Rule 9: Source required for answers.Provide credible sources for answers. Failure to include a source may result in the removal of the answer to ensure information reliability.


By adhering to these rules, we create a welcoming and informative environment where science-related questions receive accurate and credible answers. Thank you for your cooperation in making the Ask Science community a valuable resource for scientific knowledge.

We retain the discretion to modify the rules as we deem necessary.


founded 2 years ago
MODERATORS
 

Hi, i'm looking for a FOSS or at least free and offline way to simulate electromagnetic fields in interaction with moving objects and electrical circuits.

(If it runs on linux, even better)

Thanks for any help :)

top 3 comments
sorted by: hot top controversial new old
[–] HootinNHollerin@lemmy.dbzer0.com 21 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

Not sure if you’re looking for lumped parameter modeling (circuit style) or distributed ( finite element, finite difference).

For lumped parameter simulation i default to Modelica as its multi domain (electrical, magnetic, mechanical, thermal, fluid, etc) https://openmodelica.org/.

For distributed there are:

Elmer is EM FEA and runs on Linux https://www.csc.fi/web/elmer/application-examples

Open EMS is an electromagnetic field solver for Linux https://www.openems.de/

Calculix is another general FEA in Linux https://github.com/calculix/CalculiX-Examples

There’s also CAElinux https://www.caelinux.com/CMS3/ http://www.calculix.de/

If need a pre and post processor, like for openEMS solver, there’s PreProMax https://prepomax.fs.um.si/

While I’m at it, here’s a shitload of links for simulation tools that are FOSS: https://www.cfdsupport.com/cae-open-source-software/

[–] polotype@lemmy.ml 1 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

Thanks a lot ! Your answer helped me so much :D just nitpicking though, the link you shared for elemer seems deprecated (at least it doesn't work for me) thanks once more !

Edit : found this Link to Elmer which works

Happy to help. Yea the links are from my notes which are a couple years old. I missed this one if you have issues with Elmer. It’s xfemm and is electromagnetic fea for windows or Linux https://github.com/crobarcro/xfemm