Numerical investigations of entropy generation to analyze and improve heat transfer processes in electric machines. (November 2016)