which approach should be used in MAXWELL to calculate shear stress or tangential stress in surface mounted permanent magnet synchronous machine.