Axial flux pm in-wheel motor for electric vehicles: 3d multiphysics analysis