Massive stars emit copious amounts of radiation, profoundly affecting their environment in galaxies and contributing to the reionization of the Universe. However, their evolution and thus their ionizing feedback are still not fully understood. One of the largest gaps in current stellar evolution calculations is the lack of a model for the mass ejections that occur when the stars reach the Eddington limit, such as during a Luminous Blue Variable (LBV) phase. Here, we aim to remedy this situation by providing a physically motivated and empirically calibrated method applicable in any 1D stellar evolution code to approximate the effect of such mass loss on stellar evolution. We employed the 1D stellar evolution code MESA, in which we implement a new mass-loss prescription that becomes active when stellar models inflate too much when reaching the Eddington limit. We used lines of constant inflation factors in the Hertzsprung-Russell diagram (HRD) for a simple empirical calibration of the threshold value. We calculated synthetic massive-star stellar populations using grids of single-star models with this mass loss prescription compared them with the observed populations in the Large and Small Magellanic Clouds. Further, with already computed grids of binary evolution models, we investigated the impact of binarity on our predictions. Our single-star models reproduce key features of the observed stellar populations, namely, (i) the absence of stars located beyond the Humphreys-Davidson limit; (ii) an upper limit of red supergiant (RSG) luminosities; (iii) the faintest observed single Wolf-Rayet (WR) stars; (iv) the absolute number of O-stars, WRs, and RSGs; (v) WO stars in low metallicity environments; and (vi) the positions of LBV stars in the HRD. We show that binarity still plays an important role in explaining the observed WR stars. However, a large fraction of the binary population can also be explained via self-stripping. At the same time, our binary population explains the 70% binary fraction of O-stars and the 40% binary fraction of WR stars. However, our synthetic population also has caveats, such as an overproduction of bright H-free WN stars. Our results show that the effect of the Eddington-limit induced mass ejections on the structure and evolution of massive stars can remove the tension between predicted and observed massive star populations. A more fundamental treatment of these effects, particularly for hydrogen-poor stars, is needed to fully comprehend massive star evolution.
Pauli et al. (Tue,) studied this question.