Sorry Ahmed, I don't have ANSYS on me at the moment, but if I was to have a guess, I would suggest that electrical - mechanical coupling generally occurs between different software packages via measurement and definition of inputs and outputs. For example, torque and power at the drive shaft, running simulations with parameters on and off for solenoids, or with more creative simulation about magnetic resistance. Some times having a bit of a play with the package helps to understand its limitations, and possible workarounds.