Gravar-mail: Coupled electromagnetic and thermal analysis of electric machines