An electric machine for a work vehicle including a housing, a stator assembly positioned inside the housing, and a rotor assembly rotatably connected to the housing via a bearing. The rotor assembly is positioned to form an air gap between the stator assembly and the rotor assembly. A front air dam is positioned at a first end of the housing and adjacent to the air gap. The front air dam includes an external barrier, an internal barrier, an opening in the internal barrier, and a passageway in the internal barrier. A fan is attached to the rotor assembly and positioned within the housing. The fan generates a first air flow towards the air gap and a second air flow through the passageway.