Multiphysics simulation of electric motors with an application to stators. (15th October 2022)