An arrangement for thermal management of a heat generating component, comprising: an enclosure configured to accommodate a dielectric liquid in thermal contact with a wall portion of the enclosure; and a first electrohydrodynamic, EHD, flow unit arranged within the enclosure, wherein the first EHD flow unit comprises a first electrode and a second electrode arranged offset from the first electrode, and wherein the first EHD flow unit is configured to control a flow of the dielectric liquid between the first electrode and the second electrode in a direction perpendicular to the orientation of the first electrode and the second electrode, and wherein the first EHD flow unit is configured to direct the flow towards the heat generating component; a second electrohydrodynamic, EHD, flow unit arranged within the enclosure, wherein the second EHD flow unit comprises a third electrode and a fourth electrode arranged offset from the third electrode, and wherein the second EHD flow unit is configured to control a flow of the dielectric liquid between the third electrode and the fourth electrode in a direction perpendicular to the orientation of the third electrode and the fourth electrode, and wherein the second EHD flow unit is configured to direct the flow away from the heat generating component; characterized in that at least one of the first and second electrode is arranged on an inner surface portion of the enclosure, and wherein at least one of the third and fourth electrode is arranged on an inner surface portion of the enclosure, such that at least a portion of the inner surface of the enclosure is utilized as a part of the first and second EHD flow units, as an electrode; and, wherein the wall portion is configured to be arranged in thermal contact with the heat generating component so as to allow heat to be dissipated from the heat generating component through the dielectric liquid. an enclosure configured to accommodate a dielectric liquid in thermal contact with a wall portion of the enclosure; and a first electrohydrodynamic, EHD, flow unit arranged within the enclosure, wherein the first EHD flow unit comprises a first electrode and a second electrode arranged offset from the first electrode, and wherein the first EHD flow unit is configured to control a flow of the dielectric liquid between the first electrode and the second electrode in a direction perpendicular to the orientation of the first electrode and the second electrode, and wherein the first EHD flow unit is configured to direct the flow towards the heat generating component; a second electrohydrodynamic, EHD, flow unit arranged within the enclosure, wherein the second EHD flow unit comprises a third electrode and a fourth electrode arranged offset from the third electrode, and wherein the second EHD flow unit is configured to control a flow of the dielectric liquid between the third electrode and the fourth electrode in a direction perpendicular to the orientation of the third electrode and the fourth electrode, and wherein the second EHD flow unit is configured to direct the flow away from the heat generating component; characterized in that at least one of the first and second electrode is arranged on an inner surface portion of the enclosure, and wherein at least one of the third and fourth electrode is arranged on an inner surface portion of the enclosure, such that at least a portion of the inner surface of the enclosure is utilized as a part of the first and second EHD flow units, as an electrode; and, wherein the wall portion is configured to be arranged in thermal contact with the heat generating component so as to allow heat to be dissipated from the heat generating component through the dielectric liquid.