A generator for a wind turbine, comprising a rotor, and a stator, wherein the stator comprises a first radial side and a second radial side which is opposite of the first radial side, wherein the rotor is arranged adjacent to the first radial side, wherein the rotor is formed as an outer rotor and the stator is formed as an inner stator, wherein the stator comprises a plurality of stator laminations, wherein in-between two of the plurality of adjacently disposed stator laminations radial air ducts are formed such that cooling fluid entering the rotor through a cooling opening flows along the radial inner side of the rotor and through the respective air ducts to the inside of the stator, wherein the generator further comprises a flow distribution element which is arranged adjacent to the second radial side such that a circumferential flow channel is formed between the flow distribution element and the second radial side wherein the flow distribution element comprises a base body which comprises a first axial end and a second axial end, wherein the stator further comprises a first axial stator end and a second axial stator end, wherein the first axial stator end and the second axial stator end are arranged at opposite axial ends of the stator, wherein the flow distribution element further comprises a separation element which extends between the base body and the second radial side, and wherein the separation element separates the circumferential flow channel in two parts which are not in fluid communication over the separation element, wherein the two parts of the circumferential flow channel are a first part between the first axial end of the flow distribution element and the separation element as well as a second part between the separation element and the second axial end of the flow distribution element. a rotor, and a stator, wherein the stator comprises a first radial side and a second radial side which is opposite of the first radial side, wherein the rotor is arranged adjacent to the first radial side, wherein the rotor is formed as an outer rotor and the stator is formed as an inner stator, wherein the stator comprises a plurality of stator laminations, wherein in-between two of the plurality of adjacently disposed stator laminations radial air ducts are formed such that cooling fluid entering the rotor through a cooling opening flows along the radial inner side of the rotor and through the respective air ducts to the inside of the stator, wherein the generator further comprises wherein the stator comprises a first radial side and a second radial side which is opposite of the first radial side, wherein the rotor is arranged adjacent to the first radial side, wherein the rotor is formed as an outer rotor and the stator is formed as an inner stator, wherein the stator comprises a plurality of stator laminations, wherein in-between two of the plurality of adjacently disposed stator laminations radial air ducts are formed such that cooling fluid entering the rotor through a cooling opening flows along the radial inner side of the rotor and through the respective air ducts to the inside of the stator, wherein the generator further comprises a flow distribution element which is arranged adjacent to the second radial side such that a circumferential flow channel is formed between the flow distribution element and the second radial side wherein the flow distribution element comprises a base body which comprises a first axial end and a second axial end, wherein the stator further comprises a first axial stator end and a second axial stator end, wherein the first axial stator end and the second axial stator end are arranged at opposite axial ends of the stator, wherein the flow distribution element further comprises a separation element which extends between the base body and the second radial side, and wherein the separation element separates the circumferential flow channel in two parts which are not in fluid communication over the separation element, wherein the two parts of the circumferential flow channel are a first part between the first axial end of the flow distribution element and the separation element as well as a second part between the separation element and the second axial end of the flow distribution element. wherein the stator further comprises a first axial stator end and a second axial stator end, wherein the first axial stator end and the second axial stator end are arranged at opposite axial ends of the stator, wherein the flow distribution element further comprises a separation element which extends between the base body and the second radial side, and wherein the separation element separates the circumferential flow channel in two parts which are not in fluid communication over the separation element, wherein the two parts of the circumferential flow channel are a first part between the first axial end of the flow distribution element and the separation element as well as a second part between the separation element and the second axial end of the flow distribution element.