FEMM
Finite element model of the switched reluctance machine with FEMM and Matlab (part 1, part 2, femm model)
Finite element model of the synchronous machine with FEMM and Matlab (part 1, rotor geometry, stator geometry, femm model)
Other resources
Introduction to Matlab (link)
Tutorial for KiCAD (link)
Tutorial for FreeCAD (link)