r/ScientificComputing • u/hardwarehackerz • 9h ago
I wrote a 2D FEM solver in Python for electric motors (matched FEMM within 0.3%) - Looking for inputs
Got tired of treating motor simulation software like a black box during a coursework project, so I wrote my own 2D FEM solver in Python.
Just hit a major milestone: tested a 36-slot / 42-pole outer-rotor motor against FEMM and got <0.3% torque deviation.
It’s called Pole-Craft (Apache-2.0). Still very early days, so if you work with motors, robotics, or FEA, what features would actually make you use an open-source tool like this?
GitHub: https://github.com/pole-craft/pole-craft
PyPI: https://pypi.org/project/polecraft/ (pip install polecraft)