Issue |
A&A
Volume 695, March 2025
|
|
---|---|---|
Article Number | A121 | |
Number of page(s) | 16 | |
Section | Extragalactic astronomy | |
DOI | https://doi.org/10.1051/0004-6361/202453101 | |
Published online | 12 March 2025 |
Tracing the cosmological origin of gas that fuels in situ star formation in TNG50 galaxies
Universität Heidelberg, Zentrum für Astronomie, ITA, Albert-Ueberle-Str. 2, 69120 Heidelberg, Germany
⋆ Corresponding author; ole.wittig@stud.uni-heidelberg.de
Received:
21
November
2024
Accepted:
27
January
2025
Based on their cosmological origin, the stars of a galaxy can be divided into two categories: those that enter through merger events (ex situ) and those born in the main progenitor (in situ). We used the TNG50 cosmological magnetohydrodynamical simulation and its Lagrangian tracer particles to explore and quantify the origin of gas that ultimately forms the in situ stars of galaxies. We tracked back the baryonic mass contributing to the z = 0 in situ stellar populations of galaxies, studying trends in mass from dwarfs to group-scale halos. We find that more massive halos acquire this matter earlier than lower-mass halos, reflecting an overall earlier assembly of their in situ stellar mass. Defining the Lagrangian half-mass radius RL, 1/2 of a galaxy as the distance containing half of the mass that will form its in situ stars by z = 0, we find that RL, 1/2 is larger for more massive halos at early times, reflecting larger “in situ Lagrangian regions”. However, the dependence of this radius on halo mass becomes flat at z ≃ 3 and then inverts toward z = 0. In addition, RL, 1/2 increases rapidly with redshift, surpassing the virial radii of halos at z ∼ 2. This marks the cosmic epoch at which most of the gas that eventually forms the in situ stars of galaxies leaves the intergalactic medium (IGM) and enters halos, a transition that occurs earlier for more massive halos. The formation redshift of the in situ stellar component increases with halo mass, while the formation redshift of the dark matter halo decreases, indicative of a differential assembly history between these two components. Finally, we decomposed the z = 0 in situ stellar mass into its distinct modes of accretion. Smooth accretion from the IGM is the most important for low-mass galaxies, while mergers and satellite-stripped gas become relevant and even dominant only for high-mass galaxies.
Key words: galaxies: evolution / galaxies: formation
© The Authors 2025
Open Access article, published by EDP Sciences, under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
This article is published in open access under the Subscribe to Open model. Subscribe to A&A to support open access publication.
1. Introduction
Observations and simulations suggest that structure growth in a Lambda cold dark matter (ΛCDM) universe is hierarchical, wherein massive galaxies are formed by accreting smaller systems (White & Rees 1978; Bond et al. 1996). The detailed buildup of the stellar content of galaxies encodes information on assembly histories as well as many additional physical processes. For instance, the spatial distribution and fraction of stars that form in situ (i.e., those that form from gas in the main progenitor of their host galaxy) versus ex situ (i.e., those accreted via mergers or flyby events) reflects the star formation activity and merger events of the full progenitor tree of each galaxy across cosmic time.
Large-volume cosmological hydrodynamical simulations directly enable the study of hierarchical galaxy assembly (for a recent review, see Vogelsberger et al. 2020). They evolve mock universes over cosmic scales and cosmic times, yielding a heterogeneous population of galaxies. To do so they account for various physical processes that impact the evolution of galaxies and their stellar content. For example, numerical models for feedback processes regulate the amount of cold gas available for star formation, typically through supernova-driven outflows in low-mass galaxies (Fielding et al. 2017; Nelson et al. 2019a; Pandya et al. 2021) and supermassive black hole (SMBH) driven outflows in their larger counterparts (Oppenheimer et al. 2020; Davies et al. 2020; Ramesh et al. 2023). In addition, the galaxy gas budget is modulated by fountain flows within the halo (Oppenheimer & Davé 2008; Péroux & Howk 2020) as well as cosmic accretion from the IGM (Kereš et al. 2005; Agertz et al. 2009; Dekel et al. 2009; Nelson et al. 2013). In addition, simulated galaxies are located across a variety of large-scale environments, which in turn shapes evolutionary and internal details such as merger rates (Jian et al. 2012; Pearson et al. 2024) and quenched fractions (Dressler 1980; Pallero et al. 2019; Ayromlou et al. 2021).
As a result, the origin of the stellar content of galaxies has a large diversity across the population. In particular, the in situ fraction at z = 0 varies from as high as ∼95% for M⋆ ∼ 1010 M⊙ galaxies, to as low as ∼20% for their more massive M⋆ ∼ 1012 M⊙ counterparts (in the Illustris simulation; Rodriguez-Gomez et al. 2016). While similar qualitative trends have been noted with other simulations, results typically differ quantitatively (Lackner et al. 2012; Qu et al. 2017).
In addition, various simulation-based studies suggest that the distribution of stars follows a strong radial dependence: while the in situ component is most important in the cores and central regions of galaxies, ex situ stars are more abundant farther away (Lackner et al. 2012; Pillepich et al. 2015). This is believed to be a direct consequence of the so-called two-phase formation scenario, wherein in situ star formation dominates at early cosmic epochs when galaxies are relatively small and ex situ stellar accretion is the important factor for galaxy evolution at later times as they grow larger (De Lucia & Blaizot 2007; Oser et al. 2010).
In broad agreement with cosmological hydrodynamical simulations, semi-analytic models (SAMs) find that the stellar mass growth of (z = 0) M⋆ ∼ 1010.8 M⊙ galaxies is dominated by in situ star formation at z ≳ 1 and mergers at later times (Guo & White 2008). Similarly, z = 0 galaxies with M⋆ ∼ 1010 M⊙ primarily grow through star formation out to z ∼ 1 (Jiménez et al. 2011). On the other hand, massive (z = 0) M⋆ ∼ 1011.5 − 12 M⊙ galaxies obtain ∼70% of their stellar content through mergers, with this ex situ growth dominating since z ∼ 2, suggesting a two-phase stellar growth scenario (Lee & Yi 2013).
This picture is also supported by observations. In particular, Pérez-González et al. (2008) used Spitzer data to infer that more massive galaxies (M⋆ > 1012 M⊙) tend to form their (in situ) stellar content before z ≈ 3, whereas lower-mass systems (M⋆ < 1011.5 M⊙) assemble half of their final mass below z = 1. In addition, González Delgado et al. (2017) observe that galactic star formation tends to peak at high redshift (z > 2), while less massive objects have extended periods of star formation to lower redshifts. As a result, the observed in situ stellar mass fraction naturally ranges from ∼30 to 10% for galaxies of masses 1011 to 1012 M⊙ (Spavone et al. 2020), although there is significant scatter across studies (Spavone et al. 2021).
Observational evidence also suggests that this shift from an in situ to ex situ dominated growth period may be linked to the transformation of disk to elliptical galaxies (Daddi et al. 2005; Damjanov et al. 2009; van Dokkum et al. 2014; van der Wel et al. 2014). Cosmological simulations have come to similar conclusions, suggesting that ex situ growth proceeds primarily through the deposition of ex situ stars at large radii by dry, minor mergers, for instance, μ < 1/4 or μ < 1/10, depending on the definition (Naab et al. 2009; Oser et al. 2011; Wellons et al. 2016). As a result, in situ versus ex situ stellar components provide valuable insights into the evolution and interactions of galaxies.
While many theoretical studies address the in- and ex situ stellar content of galaxies, the origin of gas that ultimately fuels in situ star formation remains unclear. For instance, these stars may form from gas contributed to by infalling satellites (Anglés-Alcázar et al. 2017; Wright et al. 2024), possibly having been ejected (Peluso et al. 2023) or stripped (Mayer et al. 2006; Ayromlou et al. 2019) prior to infall, from gas that was smoothly accreted from the IGM (Kereš & Hernquist 2009; Nelson et al. 2013; Mandelker et al. 2020), or from gas recycled through feedback-driven fountain flows (Voit et al. 2015; Nelson et al. 2015; Thompson et al. 2016).
In this paper, we use the TNG50 simulation to study the Lagrangian history of baryonic matter which forms in situ stars by z = 0. As a benchmark for comparison, we additionally contrast results against analogous measurements for ex situ stars accreted from mergers. The paper is structured as follows: Section 2 details the IllustrisTNG simulations, as well as our analysis definitions and methodologies. Results are presented in Section 3 and we summarize in Section 4.
2. Methods
2.1. The IllustrisTNG simulations
For our analysis, we derived results from the IllustrisTNG project (Pillepich et al. 2018; Naiman et al. 2018; Nelson et al. 2018; Springel et al. 2018; Marinacci et al. 2018), a suite of cosmological magnetohydrodynamical simulations of galaxy formation. In particular, we focused on the highest-resolution run, TNG50-1 (hereafter, TNG50; Nelson et al. 2019a; Pillepich et al. 2019). This simulates a volume of ∼(50 cMpc)3 at an average baryonic mass resolution of ∼8 × 104 M⊙. It was run with the AREPO moving-mesh code (Springel 2010), using the IllustrisTNG model for the physics of galaxy formation and evolution (Weinberger et al. 2017; Pillepich et al. 2018).
The TNG model includes a treatment for many key processes in galaxy formation, including star formation and evolution, stellar feedback, black hole formation, evolution and feedback, heating from a metagalactic ultra-violet (UV) background, self-shielding of dense gas, and radiative cooling, among others. These simulations solve the equations of ideal magnetohydrodynamics, starting from a primordial (z ∼ 127) seed field of 10−14 cG (Pakmor et al. 2011, 2014), with the Powell et al. (1999) cleaning scheme used for divergence control.
The temporal evolution of the simulation is saved at 100 discrete instances of time, roughly logarithmically spaced between z = 20 and z = 0. In each of these snapshots, halos are identified using the Friends-of-Friends (FoF) algorithm with a linking length b = 0.2 (Davis et al. 1985), while substructures within halos are identified using SUBFIND (Springel et al. 2001). We labeled all subhalos with nonzero baryonic mass as galaxies. The galaxy that lies at the potential minimum of the halo is the central and all others are satellites. The TNG simulations adopt a cosmology consistent with the Planck 2015 analysis (Planck Collaboration XIII 2016): ΩΛ = 0.6911, Ωm = 0.3089, Ωb = 0.0486 and h = 0.6774.
2.2. Classifying the cosmological origin of stars
To classify stars based on their cosmological origin, we used the SUBLINK merger trees (Rodriguez-Gomez et al. 2015). This allowed us to connect galaxies with their progenitors and/or descendants across snapshots. Following the identification of descendants, the main progenitor was defined as the progenitor with the most massive history (see also De Lucia & Blaizot 2007). We then labeled a star particle as in situ if it forms along the main progenitor branch (MPB) of its host galaxy (following Rodriguez-Gomez et al. 2016). If not, it was labeled ex situ.
2.3. Tracing cosmic gas flows
To trace gas flows, we used the Monte Carlo tracer particles (Genel et al. 2013; Nelson et al. 2013). These exist within baryonic resolution elements and are exchanged probabilistically between particles and/or cells based on the mass flux between them. This scheme has been shown to improve the accuracy as compared to velocity-field tracers, particularly in regions of unordered gas motions such as shocks, turbulence, and cosmological gas accretion (Genel et al. 2013).
These tracers have previously been used to understand the accretion of IGM gas into halos (Nelson et al. 2015), the stripping of satellite gas as they pass through their ambient backgrounds (Rohr et al. 2023), and to quantify the origin and evolution of cold circumgalactic gas clouds (Ramesh et al. 2024). This work is the first to employ them to explore the source of gas that fuels star formation.
2.4. Gas accretion modes
To categorize the various origin channels, that is modes via which gas can enter a galaxy, we broadly follow (Anglés-Alcázar et al. 2017) with minor modifications. First, we defined “fresh accretion” as gas directly accreted from the IGM into the halo of interest, having never previously been bound to any other (sub)halo, and remained in the halo of interest since.
For the following analyses, we defined a characteristic length scale RSF, 1/2 as the comoving radius that encloses half the star-forming gas of a galaxy. Distinctly, gas can also accrete “clumpy” due to the mergers of satellites. We separated this deposition of gas by satellites (i) directly into the gaseous disks of centrals (≤2 RSF, 1/2) and (ii) gas stripped or removed at larger distances. To do so, we identified where the gas tracer is located in the snapshot directly after the merger event, that is the first snapshot when the infalling satellite no longer exists. Gas being unbound from the satellite inside of 2 RSF, 1/2 was labeled as “mergers”, while gas removed outside of this distance is “stripped” from (infalling) satellites.
Gas can be removed from other distinct (central) halos and subsequently fall into the halo of interest. This was labeled as “stripped or ejected”. Such material could be driven out of the original halo due to outflows, or dynamically or tidally stripped in a close interaction, that is a flyby or an ongoing merger. By definition, we thus only considered tracers that remain in the IGM for at least one snapshot.
Finally, gas exchanged between the galaxy and its halo, for example, due to feedback-driven outflows, was labeled as “wind recycled”. In this category, we only considered gas moving from r < 0.1 R200c to r > 0.25 R200c, that is from the central galaxy region into the outer halo or even beyond the halo boundary. We only include this category for better comparison with (Anglés-Alcázar et al. 2017), as it does not contribute to the accretion of new gas.
3. Results
3.1. An overview of the in situ content of galaxies
In Fig. 1, we begin with an overview of the in situ stellar mass content of z = 0 central galaxies. The left panel shows trends of in situ and ex situ stellar mass fractions as a function of galaxy stellar mass. For reference, we include the corresponding (mean) halo mass as the top x-axis. The solid black curve shows the median profile of stars that form in situ, while the ex situ fraction is given by the dashed black line. For the in situ case, we also visualize the statistics and scatter at fixed stellar mass with the histogram pixels and corresponding color bar.
![]() |
Fig. 1. Distribution of in situ stellar mass fraction versus galaxy stellar mass (left) and the time evolution of this fraction (right). In the left panel, we show trends of in situ (solid) and ex situ (dashed) stellar mass fractions as a function of galaxy stellar mass at z = 0. The in situ fraction is ≳90% at the low stellar-mass end (M⋆ ≲ 1010 M⊙), decreasing to ∼40% for massive M⋆ ∼ 1012 M⊙ galaxies. For reference, the top axis shows the corresponding halo masses and the background colored pixels show the halo-to-halo scatter. The three vertical gray bands in the background show the three halo mass bins used in this work (Table 1). In the right panel, we show the in situ mass buildup of galaxies over cosmic time, normalized to their z = 0 mass. The blue, orange, green, and red curves correspond to dwarfs, MWs, groups, and more massive groups, respectively. For comparison, we also include the evolutionary profile of all in situ stars from the simulation domain in black. More massive galaxies form a given fraction of in situ stellar mass at earlier times.
Table 1. Overview of the halo mass bins commonly used throughout our analysis. |
On average, the in situ fraction is roughly constant at ≳90% for galaxies at the low-stellar mass end (M⋆ ≲ 1010 M⊙). Toward higher masses, the fraction drops monotonically to ∼60% at M⋆ ∼ 1011 M⊙ and further to ∼40% for their more massive counterparts (M⋆ ∼ 1012 M⊙). The ex situ fraction has inverse mass trends, increasing from as low as ∼5 − 10% at the low-mass end (M⋆ ∼ 1010 M⊙), to as high as ∼60% at M⋆ ∼ 1012 M⊙. The two sum to unity by definition.
These results are in good qualitative agreement with (Rodriguez-Gomez et al. 2016), where a similar exploration of the stellar mass assembly of galaxies was performed using the Illustris simulations (Genel et al. 2014; Vogelsberger et al. 2014a,b; Sijacki et al. 2015). They also find the ex situ fraction to be ∼5 − 10% for galaxies less massive than M⋆ ∼ 1010 M⊙, but report slightly higher values of ∼70% for M⋆ ∼ 1012 M⊙ galaxies. This increased ex situ star formation is likely due to weaker feedback in Illustris. This leads to galaxies that are over-massive in their stellar content in low-mass halos, ultimately contributing a greater amount of ex situ stellar material (see Pillepich et al. 2018). We note that the box sizes and resolutions of these two simulations also differ, possibly giving rise to additional differences due to low number statistics at the high-mass end (compare Table 1).
At the low-mass end, our results are also broadly consistent with the cosmological simulations used in Lackner et al. (2012), who report ex situ fractions of ∼10 − 25% in 1010 M⊙ ≲ M⋆ ≲ 1011 M⊙ galaxies. They however find the ex situ stellar content to only account for ∼15 − 35% in more massive galaxies (1011 M⊙ ≲ M⋆ ≲ 1012 M⊙). This is likely due to the absence of AGN feedback in their simulations, resulting in excess in situ star formation. On the contrary, the cosmological simulations of Oser et al. (2010), which used a different prescription for feedback recipes, suggest an ex situ fraction consistent with our findings at the high-mass end, but higher by a factor of 3 − 5 for low-mass galaxies. This highlights the importance of feedback physics for the stellar mass assembly of galaxies.
With semi-analytic models, Lee & Yi (2013) find that galaxies at the high-mass end (1011.5 M⊙ ≲ M⋆ ≲ 1012.0 M⊙) assemble ∼70% of their stellar content via merger accretion, roughly ∼15 − 20% higher than our findings. At the low-mass end (1010.5 M⊙ ≲ M⋆ ≲ 1011.0 M⊙), their predictions (∼20%) are however in better agreement with our findings.
In the right panel of Fig. 1, we explore the evolution of the in situ mass of galaxies over cosmic time, normalized to their z = 0 value. The blue, orange, and green curves correspond to three galaxy subsamples used throughout this work: dwarfs, Milky Ways (MWs), and groups, respectively. As summarized in Table 1, we define these to be central galaxies of halos in bins of 1010.8 ≤ M200c M⊙ ≤ 1011.2, 1011.8 ≤ M200c M⊙ ≤ 1012.2 and 1012.6 ≤ M200c M⊙ ≤ 1013.4, respectively. For comparison, we also include evolutionary profiles of more massive groups (1013.4 ≤ M200c M⊙) in red, and of all in situ stars from the simulation in black.
By definition, all profiles decline from unity at z = 0. The in situ growth fraction of dwarfs drops to ∼0.3 at z ∼ 1 and further to ≲0.1 by z ∼ 2. While trends are qualitatively similar in other bins, there is a clear correlation with mass: galaxies embedded in more massive halos form a given fraction of in situ stellar mass at earlier times. For example, groups assemble ∼50% of their (z = 0) in situ stellar mass by as early as z ∼ 1.5.
Interestingly, a flattening in these evolutionary profiles prior to z = 0 is only visible in the red curve (1013.4 ≤ M200c M⊙), that is the in situ stellar mass of these galaxies has remained roughly constant since z ∼ 0.5. Oser et al. (2010) note a similar trend in their simulations, where they show the in situ star formation of massive galaxies (Mhalo = 4.5 × 1012 − 2.7 × 1013 M⊙ h−1) plateaus by z ∼ 0.6 and subsequent stellar mass growth proceeds solely through the ex situ accretion of stellar material.
This two-phase scenario of early time in situ dominated growth, followed by a late time epoch of ex situ, is absent in the other mass bins we consider. That is, the two-phase scenario holds only for the most massive galaxies. In the case of groups (green curve), a change in slope is apparent at z ∼ 0.8, signifying a gradual reduction in the level of in situ dominance. This is likely a direct consequence of the onset of strong kinetic mode black hole feedback, thereby quenching galaxies and preventing extended periods of (in situ) star formation (Terrazas et al. 2020; Zinger et al. 2020; Pillepich et al. 2021).
In Fig. 2, we explore the radial distribution of stars throughout the halo. In the left panel, we show median spherically averaged radial profiles of the in situ stellar fraction for central galaxies in dwarf (blue), Milky Way (orange), and group (green) halos. Solid curves correspond to z = 0 profiles, and dotted to the main progenitors of these galaxies at z = 2.
![]() |
Fig. 2. Radial distribution of the in situ stellar mass fraction (left) and distinguishing stellar origins (right). The left panel shows radial profiles of the in situ stellar fraction for dwarfs (blue), Milky Way mass galaxies (orange), and groups (green). Solid curves correspond to z = 0 profiles, and dotted to the progenitors of these galaxies at z = 2. In all three mass bins, in situ stars dominate the central regions of the halo, while ex situ stars dominate in the outskirts. This radial dependence is stronger at z = 0. The right panel shows the in situ stellar mass fractions formed inside (solid) and outside 2 RSF, 1/2 (dashed), relative to the total in situ component as a function of z = 0 galaxy stellar mass. Blue curves correspond to stars located within 2 RSF, 1/2 at z = 0, those outside in orange, and the total in black. Most stars formed inside continue to reside within this region at z = 0 following their formation, while most of the stars forming outside 2 RSF, 1/2 migrate inward, except in the highest mass galaxies. |
In all three mass bins, in situ stars dominate the central regions of the halo and fractions decay toward the outskirts. For instance, at z = 0, roughly ∼60% of stars at the centers of groups are in situ while this fraction is as low as ∼10% at the virial radius (R200c). Furthermore, a correlation with halo mass is present: fractions are higher at the centers of lower-mass halos, consistent with Fig. 1, and profiles are typically steeper. We note that these trends are in qualitative agreement with past studies that have inferred the centers of halos to be in situ dominated as these are the primary sites of star formation (Pillepich et al. 2015). Mergers typically deposit their (ex situ) mass at larger galactocentric distances (Amorisco 2017), except for major mergers that are capable of penetrating deep into the halo (Rodriguez-Gomez et al. 2016).
Contrasting solid versus dotted curves, we see that in situ fractions are higher at z = 2 in all mass bins and at all distances. Stellar accretion via mergers thus grows increasingly important toward later cosmic epochs (Moster et al. 2013; Vulcani et al. 2016), even if a galaxy has not transitioned into a second phase of ex situ dominated stellar mass growth (Fig. 1).
In situ stars may form throughout the gaseous halo, for example in stripped cool gas from satellites (Göller et al. 2023; Rohr et al. 2024; Ahvazi et al. 2024), cool outflows (Maiolino et al. 2017; Decataldo et al. 2024), or cool clouds in the CGM (Canning et al. 2014; Nelson et al. 2020). Such stars would typically be labeled in situ, although, they are in fact a semi-distinct “mid situ” class intermediate between true in situ and ex situ.
We explore this mechanism by examining the radial migration of in situ stars over time in the right panel of Fig. 2. To identify the star-forming region of a galaxy, we defined a characteristic length scale RSF, 1/2 as the comoving radius that encloses half the star-forming gas of the galaxy. Solid curves show the fraction of stars that form within 2 RSF, 1/2 and those that form outside are shown through dashed lines. Curves are further split based on the galactocentric distance of stars at z = 0: those within 2 RSF, 1/2 are shown in blue and those outside in orange. The sum of the blue and orange components is shown in black.
Across the entire range of stellar masses, most (≳95%) in situ stars that form within 2 RSF, 1/2 continue to reside within the star-forming gaseous disk following their formation. These stars typically possess significant rotational support as they condense out of dense ISM gas, thereby restricting them to largely circular orbits around their sites of formation (Lackner et al. 2012; Rodriguez-Gomez et al. 2016). A low fraction (≲5%) of these stars may migrate to larger distances (Halle et al. 2018; Okalidis et al. 2022; Boecker et al. 2023), but these fractions may be overestimated if the gaseous disk size decreases over time, in particular at the high-mass end (M⋆ ≳ 1010.5 M⊙) due to strong SMBH feedback and quenching in TNG (Nelson et al. 2018).
On the contrary, a subdominant fraction of stars that form outside 2 RSF, 1/2 remain outside the extent of the central gas disk. Most of these migrate inward toward the center following their formation (Elmegreen et al. 2009; Hartmann et al. 2011). Overall, stars forming outside 2 RSF, 1/2 are however rare, ≲10% of the in situ population at all galaxy stellar masses.
3.2. Case studies of individual galaxies
To motivate the analyses we focus on through the rest of the text, we begin with a case study of several individual galaxies. This also allows us to examine features that are typically washed out when multiple galaxies in a given mass bin are stacked.
In Fig. 3, we visualize the infall redshifts (zinfall) of tracers that reside in in situ stars at z = 0. We define this to be the redshift at which a tracer last crossed the virial radius of its z = 0 host. Representative examples of a group (M⋆ = 1011.5 M⊙), a Milky Way mass halo (M⋆ = 1010.4 M⊙) and a dwarf galaxy (M⋆ = 108.6 M⊙) are shown in the upper left, upper right and lower left panel, respectively. All images are centered on the galaxy and colors correspond to the median zinfall along a projection that extends through the entire halo.
![]() |
Fig. 3. Visual impression of the spatial structure of the infall redshifts zinfall of tracers that reside in in situ stars at z = 0. Representative examples of a group, Milky Way-like, and dwarf galaxy (random orientations) are shown in the upper left, upper right, and lower left panels, respectively. Colors show the median zinfall along a projection that extends through the entire halo. The lower right panel quantifies these trends with radial profiles. Solid lines show (individual) profiles of the galaxies from the three previous panels, while dashed curves the medians of all galaxies in each mass bin. Overall, the core regions of more massive galaxies are made of stars that formed from gas that entered the halo at earlier times. |
For the group and Milky Way-like galaxy, the central regions evidence higher zinfall (orange) than their immediate surroundings (purple). This is consistent with the inside-out galaxy formation picture (Pan et al. 2015). As one transitions farther away from the galaxy, the density of in situ stars drops (Fig. 2) and colors are hence noisy. While some stars are formed from gas that entered the galaxy at low redshifts (blue), others clearly originate from gas that was accreted at earlier times (yellow).
In the lower right panel, we quantify this with radial profiles of zinfall. Solid lines show (individual) profiles of the galaxies from the three previous panels, while dashed curves show the medians of all galaxies in the corresponding mass bins. As seen above, the median zinfall is typically higher at the very centers of groups and MWs and decreases toward larger distances. In addition, the in situ stars at the centers of groups form from gas that is accreted into the halo at earlier cosmic epochs as compared to the other mass bins. We note however that this does not necessarily imply that these stars are older, as gas can be recycled multiple times before it eventually collapses into stars (Anglés-Alcázar et al. 2017; Suresh et al. 2019).
We therefore explore the accretion onto a prototypical example in more detail. Fig. 4 shows the temporal evolution of accreting (z = 0) in situ mass. In particular, we compute the radial profile of the in situ mass fraction, defined for each redshift as the fraction of tracers as a function of the radial bin. Values of pixels thus add up to unity along each column, but not along each row. As before, we only consider tracers that reside in in situ stars at z = 0. We focus on the same group central galaxy from Fig. 3. Red arrows mark the redshift of major mergers (μ > 1/4) of the galaxy (Rodriguez-Gomez et al. 2017; Eisert et al. 2023).
![]() |
Fig. 4. Temporal evolution of the radial profile of the (z = 0) in situ mass fraction, for a single galaxy. The selected example is the same group-mass halo as in Fig. 3. Here we show the fraction of tracers at a given redshift in each radial bin, i.e., each column is independently normalized to unity. Red arrows mark the redshifts of major mergers within the displayed time range. While the central regions are dominated by high in situ fractions at all redshifts, more complex features are visible at larger galactocentric radii, showcasing the heterogeneous nature of gas flows and baryonic accretion. |
Consistent with Fig. 2, the central regions are dominated by high in situ fractions, at all redshifts out to z ∼ 3. Many features are simultaneously visible at larger galactocentric radii. For instance, a streak extending from the lower right to the upper left is present at z ∼ 0.6, signifying the outward motion of gas away from the galaxy and into the circumgalactic medium. In the TNG simulations, at this mass range, these are SMBH-driven outflows (Nelson et al. 2019a) that can propagate to distances far beyond R200c (Ayromlou et al. 2023). Most of the material expelled at z ∼ 0.6 returns to the central regions, forming an arch-like structure. In the following analysis, we classify such material as “wind recycled” (see Section 2.4).
Features extending along the opposite direction are also seen, that is from the upper-right toward the lower-left, as occurs for example near z ∼ 0.3. These correspond to clumpy accretion of gas as satellite galaxies fall inward. Such features are more extended at higher z, possibly since early-time mergers typically deposit larger amounts of cold gas (Cooke et al. 2019; Rohr et al. 2025), thereby fueling in situ star formation at later epochs. For better understanding, the only two major mergers of the considered subhalo with mass ratios μ > 1/4 are marked with red arrows. They roughly agree with the visual merger redshift obtained from the streaks. While smooth accretion of IGM gas will continuously occur, it is not easily discerned here due to its low densities and mass inflow rates (Martizzi et al. 2019; Mitchell et al. 2020).
3.3. Statistical analysis of multiple galaxies
3.3.1. Temporal evolution of baryonic matter
We now undertake a statistical analysis across the galaxy population. In Fig. 5, we begin by showing the in situ stellar mass buildup as a function of redshift for central galaxies of dwarf (dashed), Milky Way (dot-dashed), and group (dashed) mass halos. For comparison, in solid curves, we also include the median profile constructed from all central galaxies resolved in the simulation. In addition, we separate the various sources of gas that fuel in situ star formation: the baryonic mass fraction in the main progenitor galaxy (blue), in satellite galaxies and other halos (orange), and in the unbound IGM (green).
![]() |
Fig. 5. Fraction of the (z = 0) in situ stellar mass of galaxies that belongs to three different origins, i.e., sources, as a function of redshift. As above, we split our sample into dwarf (dotted), Milky Way (dot-dashed), and group (dashed) halos. For comparison, in solid curves, we also include the median profile constructed from all central galaxies resolved in the simulation. The fraction of baryonic matter in the main progenitor galaxy is shown in blue, that in satellite galaxies and other halos in orange, and gas in the IGM is shown in green. A dominant fraction of gas forming in situ stars by z = 0 was present in the IGM at high z, while only a low fraction was accreted in a clumpy fashion via satellites. Roughly half of the baryonic mass contributing to the z = 0 in situ stellar mass of galaxies already resides within the main progenitor halo by z ∼ 2. |
By definition, all the main progenitor curves (blue) reach unity at z = 0. At earlier cosmic epochs, they decrease monotonically to smaller values, asymptotically approaching zero at z ≳ 5. Moreover, a clear halo mass trend is visible: similar to Fig. 1, more massive galaxies acquire a given fraction of baryons earlier than their smaller counterparts. For instance, groups attain a value of 1/2 at z ∼ 2.2 (dashed blue), while dwarfs reach this same fraction only by z ∼ 1.6 (dotted blue).
Qualitatively, the IGM fractions (green) have the inverse trend, both versus time and halo mass. Starting from zero at z = 0, they increase to ≳90% by z ≳ 5 and further to 100% by z ∼ 12 (not shown). Most gas fueling in situ star formation by z = 0 is thus present in the IGM at high z and is “smoothly” accreted into the halo (Kereš et al. 2005; Nelson et al. 2013). Groups typically acquire a lower fraction of their gas from the IGM as compared to MWs and dwarfs.
Group-like galaxies instead accrete a slightly higher fraction of gas via gas-rich mergers (orange), which is expected given that they experience a greater overall number of mergers (Oser et al. 2010). On the contrary, lower-mass dwarfs generally have quieter merger histories (Rodriguez-Gomez et al. 2015) and thus obtain a smaller component of their gas through this channel. However, even in the case of groups, this channel contributes a subdominant fraction (≲15%) as compared to the IGM. We also note that a nonnegligible 5 − 10% of baryons that build the in situ populations of more massive z = 0 galaxies are already condensed into “other galaxies” even at z ∼ 6, that is by the end of the epoch of reionization.
There is also significant variation from halo-to-halo (see Fig. B.1). For instance, at z ∼ 2, we find the 1σ scatter for dwarfs to be ∼10% for baryons accreted through the IGM. A smaller scatter is present for gas obtained via mergers (∼5%), although the number is as large as ∼10 − 15% for groups at z ≳ 2.5, as expected since these massive galaxies experience a greater number of interactions.
In Fig. 6 we further decompose the baryonic contribution to the in situ stellar mass of galaxies brought in via mergers and intergalactic transfer (compare orange curves in Fig. 5). In particular, we show stacked redshift trends of the fractional baryonic mass, split based on the mass of the other galaxies a tracer belongs to at each redshift. We separate these other galaxies into five bins of baryonic mass Mbar, given by the sum of the total stellar plus gas mass. We focus on central galaxies of dwarf, Milky Way, and group-mass halos in the upper-left, upper-right, and lower-left panel, respectively. For reference, the lower-right panel shows analogous profiles for a stacked sample of all central galaxies resolved in the simulation. In effect, we show how galaxies of different masses contribute to the orange curves of Fig. 5.
![]() |
Fig. 6. Fractions of the in situ stellar mass of galaxies accreted via mergers versus redshift, decomposed by the baryonic mass of the other galaxies at each redshift. In effect, we split the orange curves of Fig. 5 into further components. We focus on dwarf, Milky Way, and group halos in the upper-left, upper-right, and lower-left panels, respectively. For reference, the lower-right panel shows the same analysis when combining all central galaxies resolved in the simulation. Overall, more massive centrals obtain a lower fraction of mass from under-massive structures in terms of their baryon content. |
At early cosmic epochs (z ≳ 3), low-mass galaxies (Mbar ≲ 1010 M⊙) dominate the fractions in all mass bins. Toward lower redshift, the contribution by more massive halos increases. In particular, more massive centrals obtain a lower fraction of mass from under-massive structures in terms of their baryon content. For instance, Milky Way-like galaxies obtain ∼70% of their baryons via 1010 ≲ Mbar ≲ 1011 M⊙ galaxies since z ∼ 1, but this fraction is ≲30% for groups.
A low fraction of mass may also be obtained through flyby events. An instance of this is visible via the nonzero contribution by Mbar ≳ 1012 M⊙ galaxies in the top-left panel1. This signature is similar to the case of “intergalactic mass transfer” (Anglés-Alcázar et al. 2017), where gas ejected by feedback from a particular halo is later accreted by other halos in its vicinity. While these Mbar ≳ 1012 M⊙ galaxies do not typically influence the gas assembly of most centrals, they do contribute significantly to cluster-mass halos. This is highlighted in the lower-right panel, which is dominated by galaxies in halos more massive than 1013.6 M⊙ since we assign an equal weight to all tracers. Here, the yellow band reaches ≳60 − 70% at low redshift.
3.3.2. Spatial distribution of baryonic matter
The accretion of baryonic matter into halos also leaves spatial signatures. In Fig. 7 we show radial profiles of the cumulative baryonic mass fractions of central galaxies of dwarf (left column), Milky Way (center), and group (right) mass halos. We define this fraction to be the ratio of the (tracer representative) mass within a sphere of radius r (M(< r)) to the total in situ stellar mass at z = 0 (Mtot). In the upper row, we show median profiles at six different redshifts (colored curves). For each, the colored dot corresponds to the median galactocentric distance at which the fraction crosses a threshold of 0.5. We label this the Lagrangian half-mass distance (RL, 1/2). Although we use a characteristic radius to quantify this extent, the distribution of gas, particularly at high redshift, is not generally spherically symmetric (Natarajan & Refregier 2000; Parker et al. 2007).
![]() |
Fig. 7. Radial distribution of the baryonic mass that forms the z = 0 in situ stellar mass of dwarf (left column), Milky Way (center) and group (right) galaxies. For each radial bin, we show the total in situ baryonic mass enclosed by a sphere of this radius, normalized to the total in situ stellar mass at z = 0. In the upper row, we display the time evolution, i.e., the collapse of this mass into galaxies with median profiles at six different redshifts. Colored dots correspond to the median galactocentric distance at which the fraction crosses a threshold of 0.5, which we define as the Lagrangian half-mass distance (RL, 1/2). Groups assemble their baryons earlier than lower-mass galaxies and have smaller Lagrangian half-mass distances. In the lower row, we further split a subset of curves based on their origin: baryons accreted from the IGM (dotted) versus mergers (dashed), as well as the total (solid, repeated from the top row). IGM gas collapses into halos from relatively smaller distances as compared to gas contributed by merging galaxies. |
At z = 0, profiles in all three mass bins flatten to a value of unity within the virial radius, by definition. At earlier cosmic epochs, baryons constituting the z = 0 in situ stellar population are typically spread out to larger distances. For instance, for dwarf galaxies at z = 2, roughly 50% of these baryons reside outside of 1.5 R200c. A clear mass trend is also present: baryons are more centrally concentrated around groups, where 50% of this mass is within 0.5 R200c at the same redshift.
We find that the halo-to-halo variation is typically small (≲5%) at z = 0 for all mass bins (not shown), as expected since in situ stars in most galaxies populate the central regions of the halo. Toward higher redshifts, the scatter increases, with groups showing the highest level of diversity by z = 2, implying that galaxies evolve and accrete their baryons in varied ways over time (Hafen et al. 2019).
In the lower row, we split a subset of curves based on origin: baryons accreted from the IGM are shown with dotted curves and those via mergers with dashed curves. For reference, profiles from the upper panel, that is those constructed from all tracers irrespective of origin, are shown through solid curves.
At z = 2, for Milky Way and group mass halos, fractions are higher for the IGM origin as compared to that of mergers. Gas accreted from the IGM is thus less spread out at high redshift as compared to the contribution by other galaxies. The biggest disparity between these two categories occurs for dwarfs, where gas accreted via mergers is significantly closer to the halo as compared to gas originating from the IGM.
Toward lower redshift, the offset between these two categories grows smaller for MWs and groups, reaching parity for groups by z ≲ 1. On the contrary, for dwarfs, IGM gas is more spread out to farther distances as compared to gas in other halos, even at these relatively low redshifts. This trend may be primarily driven by the relatively higher fraction of IGM gas contributing to in situ stars by z = 0 in these low-mass halos (Fig. 5).
Similar to the upper row, the halo-to-halo variation is small at z = 0, but increases toward higher redshifts. For instance, at z = 2, the 1σ scatter is ∼30% for MWs and groups. This value is slightly higher for dwarfs (∼40%) which is likely due to overall lower rates of mergers and thus increased variability between halos. Overall, these evolutionary in situ mass profiles show that more massive galaxies assemble their baryons earlier than their low-mass counterparts, in agreement with Fig. 5.
To quantify this further, Fig. 8 explores the correlation of RL, 1/2 with halo mass. Solid curves show medians derived from all tracers that constitute the z = 0 in situ stellar mass of the central galaxy, with colors showing lines from six different redshifts. For z = 1 alone (red), we further split based on tracers accreted from the IGM (dotted) and via mergers (dashed).
![]() |
Fig. 8. Trend of Lagrangian half-mass radius (RL, 1/2) with halo mass. Solid curves are derived from all tracers that constitute the z = 0 in situ stellar population, with colors showing six different redshifts. For z = 1 alone, we further split based on tracers accreted from the IGM (dotted) and via mergers (dashed). For reference, the top x-axis shows the mean stellar mass as a function of halo mass. Broadly, RL, 1/2 decreases for more massive halos, reflecting smaller relative Lagrangian regions. |
At z = 0, the median profile anticorrelates weakly with halo mass: starting from ∼0.025 R200c at M200c ∼ 1011 M⊙, it decreases to ≲0.025 R200c for more massive halos (M200c ∼ 1013 M⊙). At all halo masses, in situ stars thus typically constitute the innermost regions of the halo, in agreement with the left panel of Fig. 2. For the most massive halos (M200c ∼ 1014 M⊙), RL, 1/2 drops even further to ≲0.01 R200c, as in situ star formation in these galaxies is almost entirely quenched at late times (right panel of Fig. 1).
Toward higher redshift, this anticorrelation grows stronger. For instance, at z = 0.5, RL, 1/2 increases to ∼0.07 R200c for dwarf-mass systems (M200c ∼ 1011 M⊙) while it is relatively unchanged for more massive halos (M200c ≳ 1012.5 M⊙) with respect to their z = 0 value. This is a direct result of low-mass systems forming significant amounts of in situ stars at low redshift, as opposed to higher-mass halos that primarily grow through the ex situ accretion of stars (Oser et al. 2010). Confounding this simple picture, however, gas-rich mergers may drive the production of in situ stars in massive halos, albeit temporarily (Cooke et al. 2019).
At z = 1, the anticorrelation peaks and curves begin to flatten out once again toward z ≳ 3. At these early cosmic epochs, baryons constituting the z = 0 in situ stellar population are thus typically ≳3 R200c away from the halo, largely independent of halo mass. In addition, a 1σ variation ∼0.5 dex is present at high redshift and regardless of halo mass (not shown) implying a diversity of baryonic accretion histories.
Contrasting the IGM versus merger origins at z = 1 shows that RL, 1/2 is larger for gas accreted smoothly via the IGM, in agreement with Fig. 7. Once again, a nonnegligible scatter is present at all halo masses (∼1 dex; not shown) implying large diversity across halos at fixed mass.
3.3.3. Formation and infall times
Fig. 9 measures the assembly time of the baryonic matter fueling in situ star formation by z = 0 (blue curve), computed as the redshift at which RL, 1/2 equals the virial radius of the halo. We contrast the mass accreted through all origins (solid blue) to IGM origin (dotted) and merger origin (dashed) baryons.
![]() |
Fig. 9. Formation redshift of the baryons that form the in situ stellar populations z = 0 galaxies (blue). We also compare to the formation redshifts of the dark matter halo (solid green) and the dark matter halo core (dashed green). Solid curves show all origins, while the dashed (dotted) blue line shows mass accreted via mergers (the IGM). For comparison, we also show the mean age of all (in situ) stars of the central galaxy in orange (red). While the global dark matter (DM) halo as well as its core assemble earlier for less massive objects, the inverse holds for the stellar population, as well as the accretion of baryons that later fuel in situ star formation. |
We contrast these measurements against the formation times of the dark matter (DM) halo (solid green) and the DM core (dashed green). The former is defined as the redshift at which the halo mass M200c attains half its z = 0 value. For the latter, we instead consider the DM mass within twice the stellar half-mass radius, as it evolves. Finally, we also show the mean age of all stars of the central galaxy (orange) and the mean age of in situ stars only (red).
In agreement with past studies (e.g., Li et al. 2008), we find that the DM halo typically assembles earlier for less massive objects: the formation redshift is z ∼ 1.5 for halos of mass M200c ∼ 1011 M⊙, while more massive halos (M200c ∼ 1013 M⊙) assemble half their DM mass only by z ∼ 0.8. The formation redshift of the DM core has a similar qualitative behavior. Except for low-mass halos (M200c ≲ 1011 M⊙), the core typically assembles at somewhat later cosmic epochs.
The formation time of gas-building in situ stars is however qualitatively different. In particular, high-mass galaxies accrete these baryons earlier than their lower-mass counterparts. For instance, considering all origins together (solid blue line), this “formation redshift” is z ∼ 1.5 for dwarf mass halos (M200c ∼ 1011 M⊙), but z ∼ 2.0 for groups and more massive objects (M200c ≳ 1013 M⊙). This highlights a qualitative difference between the assembly of a dark matter halo versus its baryonic counterpart.
The interpretation of this differential trend is not trivial. In the simplest scenario, we would expect the baryonic content to follow the assembly of its dark matter halo host. If the baryon accumulation is delayed with respect to the DM, for instance, due to the additional hydrodynamical forces acting against gravity, this could produce a lower formation redshift for baryons versus DM, in disagreement with our findings in Fig. 9. However, DM is deposited at large galactocentric radii, leading to a minimal physical mass gain of halos (Wetzel & Nagai 2015). In addition, rapid accretion of cold gas at high redshift could lead to rapid baryonic assembly (e.g., Kereš et al. 2005; Nelson et al. 2015). The link between the accretion rate of dark matter, the accretion rate of gas, and the star-formation rate and thus in situ stellar mass production of a galaxy has complex dependencies on both redshift and mass (Genel et al. 2013).
For halos more massive than M200c ∼ 1011.5 M⊙, we find that the formation redshifts are larger (smaller) for gas accreted via the IGM (mergers), that is they accrete a bulk of their IGM gas prior to epochs where gas-rich mergers begin to dominate. Interestingly, the opposite holds for low-mass halos (M200c ≲ 1011.5 M⊙): the late time in situ star formation of these objects is fueled by the smooth accretion of gas from the IGM. On the one hand, this crossover between the IGM (dashed blue) and merger (dotted blue) curves at M200c ∼ 1011.5 M⊙ may be a consequence of the environment in which these galaxies are embedded. Dwarfs are typically isolated at late times (Kraljic et al. 2018; Laigle et al. 2018; Hoosain et al. 2024), implying that gas accretion from the IGM dominates in late epochs. In contrast, mergers only contribute to the early evolution. In addition, toward lower redshifts, high-mass halos develop a strong virial shock that slows down the smooth accretion of IGM, while clumpy accretion via satellites is largely unimpacted (Dekel et al. 2009; Nelson et al. 2015). This could potentially lead to higher formation redshifts for IGM-origin versus merger-origin gas for massive objects.
The trend of the mean in situ stellar age (red) largely follows that of the in situ formation time computed from all tracers (solid blue) but is vertically offset to lower redshift. That is, although a high fraction of gas is accreted across the virial radius at early epochs, it forms stars following a time delay of several Gyr. We speculate that this is largely due to gas circulation through the halo (Anglés-Alcázar et al. 2017; Suresh et al. 2019), as motivated in Fig. 4. The in situ (red) and total (orange) stellar age profiles are similar for low-mass halos (M200c ≲ 1012.5 M⊙), as expected since these are dominated by in situ stars. The mean stellar age of more massive galaxies is higher, implying that the accreted population of ex situ stars is generally older than those produced in situ (Lackner et al. 2012).
These trends are broadly consistent with Hill et al. (2017) using observational data, who report mean stellar ages of z⋆ ∼ [2.08, 1.49, 0.82, 0.37] for galaxies of mass M⋆ ∼ [1011.5, 1011.0, 1010.5, 1010.0] M⊙ at z ∼ 0.1. They furthermore find that the difference between z⋆ and the stellar assembly time is larger for more massive galaxies, suggesting that the ex situ population in high-mass galaxies is typically older than its in situ counterpart. Although such a relation between z⋆ and M⋆ is absent in the EAGLE cosmological simulation (Hill et al. 2017), some SAMs can produce a similar qualitative trend (e.g., Henriques et al. 2015).
Recent observations suggest that massive elliptical galaxies form their stellar content at high redshifts, while their low-mass counterparts have late epochs of star formation activity – galaxy “downsizing” (Cowie et al. 1996). This agrees with the qualitative stellar age trends in Fig. 9, which may partly be driven by merger-triggered star formation at lower redshifts decreasing overall in situ stellar ages (Thomas et al. 2010).
3.3.4. Accretion channels
We proceed to address better the origin vs dynamics of gas accretion and its impact on in situ star formation. Fig. 10 quantifies the mass fraction of gas accreted through five channels, as defined in Section 2.4. Fresh accretion is shown in orange and gas recycled in the halo due to winds is displayed in green. We furthermore contrast gas accreted through mergers (red) and gas stripped from infalling satellites (brown). Lastly, we assess gas stripped (or ejected) from other halos in purple. The vertical bars show the results from TNG502, while the diamonds contrast against similar measurements from individual galaxies of the FIRE simulations (Anglés-Alcázar et al. 2017).
![]() |
Fig. 10. Fraction of the (z = 0) in situ stellar mass of galaxies brought in by distinct accretion channels (left panel). We define fresh accretion as gas acquired from the IGM that has remained in the halo since it first entered (orange). Gas that was recycled between the galaxy and the halo by feedback processes is labeled wind recycled (green). Deposition of gas by satellites directly into the gaseous disks of centrals (≤2 RSF, 1/2; red) is further contrasted against the stripping of gas at farther distances (brown). Lastly, gas that is ejected or stripped from other halos, i.e., not satellites, is shown in purple. Colored diamonds show analogous measurements from the FIRE cosmological simulations (Anglés-Alcázar et al. 2017). Both the bars and the diamonds show stacked values. For comparison, the middle and right plots show the same categories for ex situ stars and dark matter particles, respectively. |
Fresh accretion of IGM gas and the transfer of gas in between halos are the two dominant channels for low-mass galaxies (M⋆ ≲ 1010 M⊙). The total contribution by merging satellites is typically small at these mass ranges, adding up to fbar ∼ 0.15, but grows increasingly more important for more massive galaxies, reaching mass fractions of ∼0.5 at M⋆ ∼ 1012 M⊙3. Gas stripped or ejected from other halos is equally important at all galaxy stellar masses (fbar ∼ 0.30). Moreover, it is the dominant accretion channel for galaxies above 1010.5 M⊙ in stellar mass. In comparison to FIRE, our TNG50 findings are in reasonable agreement for low-mass galaxies, while values of other channels deviate by ≲20%.
Lastly, we also contrast against the dominant accretion channels for ex situ stars (middle plot) and dark matter (right plot). For the latter, we only consider particles within 2 R0.5, ⋆ at z = 0, that is the DM core. Both these components are primarily stripped from infalling satellites or accrete via merger events, in broad agreement with Madau et al. (2008) and Angulo & White (2010). However, Genel et al. (2010) find that mergers contribute only ≲60% to the total DM mass of M200c ∼ 1014 M⊙ halos, while the remaining ∼40% is accreted smoothly. For lower halo masses, they find that the contribution by mergers may approach zero.
As a caveat, all three studies above quantify the build-up of the entire DM halo, while we focus on the core. The high resolution of TNG50 and its ability to resolve smaller substructures may also play a role. In addition, the boundary of 2 RSF, 1/2 to distinguish merger versus stripped contributions from satellites is somewhat arbitrary and changing this value shifts our results. Finally, we remark that some of these categorizations are sensitive to the snapshot spacing in the simulation. For example, our “stripped or ejected from halos” definition requires that tracers are identified in the IGM at only one (or more) snapshots.
3.3.5. Infall times and star formation
In Fig. 11 we quantify the timescales of accreting gas. We measure the median time difference between the moment that a tracer last crossed R200c and when it eventually converts into a star particle. This is the halo infall time (blue, shaded area showing galaxy-to-galaxy scatter). Similarly, the time difference between the last crossing of 2 RSF, 1/2 and the moment of star formation is the galaxy infall time (orange). The time gap between the two infall or crossing events is shown in green. The red line depicts the time elapsed between the first and the last crossing of 2 RSF, 1/2. Since stars may form in the halo before they infall into the galaxy (Fig. 2), that is migrate, and hence have negative galaxy infall-star formation times, we show absolute values on the y-axis. However, the fraction of stars with these properties is low (≲10%, see Fig. 2 right panel) and their inclusion does not qualitatively change our findings.
![]() |
Fig. 11. Temporal lag between various spatial crossing and star formation events. In blue (orange), we show the time difference between the moment that a tracer last crossed R200c (2 RSF, 1/2), i.e., halo infall (galaxy infall) and that when its parent gas cell is converted into a star particle. The time gap between the two infall events (green) is contrasted against the time elapsed between the first and the last crossing of 2 RSF, 1/2 (red). All curves show medians across the galaxy population and the value for each galaxy is also the median of all its tracers that actually undergo the event(s), always taking absolute values (see text). Gas accretion onto galaxies proceeds over several ∼Gyr, while the eventual collapse of ISM gas into stars occurs on shorter time scales (≲Gyr), as long as it is not recycled back into the halo due to feedback. |
As expected, the time gap between (last) galaxy infall and star formation is the shortest. Interestingly, it is largely independent of galaxy stellar mass, varying between ∼700 − 900 Myr across the mass range shown. On the other hand, the time between (last) halo infall and star formation is significantly higher, ranging from ∼5 Gyr for M⋆ ∼ 109 M⊙ galaxies to ∼2 Gyr for their more massive counterparts (M⋆ ≳ 1011 M⊙). These numbers are broadly consistent with Birnboim et al. (2007) and Noguchi (2018), who report time scales of ∼2 − 3 Gyr for M200c ∼ 1012 M⊙ halos.
The nominal scatter is several hundred Myr, up to one to two Gyr, across the mass range. Scatter in the galaxy infall – star formation time is less than in the halo – galaxy infall time. This may result from the contribution of stars formed in the halo, increasing the variation for the halo infall-galaxy infall time gap.
This declining trend with mass is largely driven by the time taken by gas to (last) infall into the galaxy following its (last) accretion into the halo (green). This reflects the efficient circulation of gas within low-mass halos by stellar feedback, as shown by the red curve (see also Nelson et al. 2019a; Smith et al. 2019). Stronger SMBH-driven feedback episodes in higher-mass galaxies typically eject gas out of halos (Borrow et al. 2020; Gebhardt et al. 2024), resetting the counter for halo infall and leading to smaller differences between subsequent star formation. Baryonic feedback processes clearly play an important role in regulating the efficiency and time delays between cosmic gas accretion and in situ stellar mass buildup.
3.3.6. Baryonic Lagrangian regions
We have previously seen that the baryonic mass contributing to the (z ∼ 20) in situ stellar mass of galaxies comes from large distances and over long timescales. We therefore conclude our analysis in Fig. 12 by quantifying the spatial extent of the initial (z ∼ 20) gas distribution that fuels the assembly of in situ (solid curves) and ex situ (dashed) stars by z = 0. In each case, we make three different measurements: the median distance of tracers (blue), the 95th percentile distance (orange), and the radius of the sphere whose volume equals that of the convex hull of the initial gas distribution (green)4.
For in situ stars, the median distance increases from ∼30 pkpc for M⋆ ∼ 109 M⊙ galaxies to ≳200 pkpc for the most massive objects in TNG50 (M⋆ ∼ 1012 M⊙). This corresponds to a large cosmic region of ∼5 comoving Mpc. The 95th percentile distance has the same qualitative trend but is offset to larger values by a factor of ∼2 at all stellar masses. The collapse of gas into more massive halos thus takes place from initially larger scales, as expected.
The mass trend of the convex hull-derived Lagrangian region extent is different. These radii are largely similar to the 95th percentile distance for M⋆ ≲ 1010 M⊙ galaxies, but increase sharply by a factor of ∼3 − 5 toward more massive halos. The morphology of the initial gas distribution of massive galaxies is thus complex and deviates from simple spherical geometries.
The median distance of ex situ stars (dashed) is slightly larger than that of in situ stars (solid) at almost all stellar masses. However, the inverse holds for the radii derived from the convex hulls. This implies that gas that collapses down to in situ stars fills a relatively larger volume at early times, but is more concentrated in the central regions, leading to smaller median values.
We can compare these baryonic Lagrangian regions to the more commonly studied Lagrangian regions of dark matter halos. In particular, Mo & White (1996) found Lagrangian regions up to an order of magnitude larger than the values presented here for baryons, albeit at much lower numerical resolution. Focusing on the displacement of baryons from their initial positions, Borrow et al. (2020) find that nearly half of all baryons move more than 1 h−1 Mpc by z = 0. This motion is driven by AGN feedback, with some particles traveling distances of up to 12 h−1 Mpc. Thus, one would expect baryonic Lagrangian regions to easily span many Mpc as well, potentially with diverse and nonspherical geometries (Lee et al. 2009).
4. Summary
In this work, we use the TNG50 cosmological magnetohydrodynamical simulation (Nelson et al. 2019a; Pillepich et al. 2019) to explore the accretion of the baryons that form the in situ stars of galaxies. In particular, we have used Monte Carlo tracers (Genel et al. 2013) to quantify the cosmological origin of gas that fuels their formation. Our main findings are as follows:
-
In situ stars dominate (≳90%) the stellar population of low-mass galaxies (M⋆ ≲ 1010 M⊙) while the contribution by ex situ stars grows increasingly important toward the high-mass end. In the most massive galaxies in TNG50, in situ stellar growth ceases by z ∼ 0.6, supporting the two-phase stellar mass growth scenario for high-mass halos (Fig. 1). At all halo masses, in situ stars are typically centrally concentrated. A high fraction of them form within the central gaseous disk and remain within until z = 0 (Fig. 2).
-
Gas forming in situ stars by z = 0 enters high-mass galaxies earlier than their low-mass counterparts. Moreover, the mean infall redshift of gas into the core of galaxies is typically higher than at larger distances (Fig. 3).
-
At all halo masses, a dominant (≳90%) fraction of gas forming in situ stars by z = 0 is present in the IGM at high redshifts (z ∼ 6). The remainder is locked in other halos at these early times, ranging from ∼5% for dwarfs to ∼10% for groups (Fig. 5). Most of the gas from other halos is accreted via mergers and only a low fraction through flybys and/or intergalactic mass transfer (Fig. 6)
-
Groups typically assemble their baryons earlier than their low-mass counterparts. Furthermore, they have smaller Lagrangian half-mass distances (RL, 1/2) at low redshift. The inverse is true at z ≳ 3. IGM gas collapses into halos from larger distances than gas contributed by mergers, resulting in larger IGM-RL, 1/2 values (Figs. 7 and 8).
-
The dark matter halo and its central core assemble earlier for low-mass halos. In contrast, gas that eventually fuels in situ star formation is accreted into high-mass halos at earlier cosmic epochs than their low-mass counterparts. Smooth accretion of IGM gas occurs earlier than clumpy accretion via satellites for high-mass halos (M200c ≳ 1011.5 M⊙) while the opposite holds for lower-mass halos (Fig. 9). The contribution of gas from mergers is higher for more massive halos while wind recycling and smooth accretion are lower (Fig. 10).
-
Following accretion into the halo, gas is typically recycled between the galaxy and the circumgalactic medium prior to its collapse into (in situ) stars by z = 0. This gives rise to a roughly ∼1 − 2 Gyr time offset between halo infall and eventual star formation (Fig. 11).
-
The collapse of gas into more massive halos takes place from initially larger scales. Moreover, the morphology of the initial Lagrangian gas distribution is less spherical for massive halos, reaching ∼10s of comoving Mpc (Fig. 12).
![]() |
Fig. 12. Spatial extent of the initial (z ∼ 20) gas distribution that fuels the assembly of in situ (solid curves) and ex situ (dashed) stars by z = 0. We offer three different measurements: the median distance of tracers (blue), the 95th percentile distance (orange), and the radius of the sphere whose volume equals that of the convex hull of the initial gas distribution (green). As expected, the collapse of gas into more massive halos takes place from initially larger scales. |
This work presents an initial exploration into the cosmological origin of gas that fuels in situ star formation. Clear avenues for future explorations exist. For instance, the current analysis is limited at the high-mass end to objects of M200c ∼ 1014 M⊙. Utilizing cosmological simulations run with larger boxes would make it possible to understand and quantify the in situ stellar build-up of more massive halos, that is clusters, as well as other galactic components of interest, such as bars, bulge, and central supermassive black holes.
Data availability
The IllustrisTNG simulations including TNG50 are publicly available and accessible at https://www.tng-project.org/data/ (Nelson et al. 2019b). Data from this publication is available on request from the corresponding authors. This work has benefited from the scida analysis library (Byrohl & Nelson 2024).
The abrupt spikes present in all panels at z ≲ 0.2 are a result of relatively small tracer counts in the “other galaxies” category at low z (Fig. 5). This causes sudden jumps in mass fractions when a given galaxy undergoes a major merger, that is these features are due to finite numerical resolution.
Acknowledgments
RR and DN acknowledge funding from the Deutsche Forschungsgemeinschaft (DFG) through an Emmy Noether Research Group (grant number NE 2441/1-1). RR is a Fellow of the International Max Planck Research School for Astronomy and Cosmic Physics at the University of Heidelberg (IMPRS-HD). This work has made use of the VERA supercomputer of the Max Planck Institute for Astronomy (MPIA).
References
- Agertz, O., Teyssier, R., & Moore, B. 2009, MNRAS, 397, L64 [NASA ADS] [CrossRef] [Google Scholar]
- Ahvazi, N., Sales, L. V., Navarro, J. F., et al. 2024, Open J. Astrophys., 7, 111 [CrossRef] [Google Scholar]
- Amorisco, N. C. 2017, MNRAS, 464, 2882 [Google Scholar]
- Anglés-Alcázar, D., Faucher-Giguère, C.-A., Kereš, D., et al. 2017, MNRAS, 470, 4698 [CrossRef] [Google Scholar]
- Angulo, R. E., & White, S. D. M. 2010, MNRAS, 401, 1796 [NASA ADS] [CrossRef] [Google Scholar]
- Ayromlou, M., Nelson, D., Yates, R. M., Kauffmann, G., & White, S. D. M. 2019, MNRAS, 487, 4313 [NASA ADS] [CrossRef] [Google Scholar]
- Ayromlou, M., Kauffmann, G., Yates, R. M., Nelson, D., & White, S. D. M. 2021, MNRAS, 505, 492 [NASA ADS] [CrossRef] [Google Scholar]
- Ayromlou, M., Nelson, D., & Pillepich, A. 2023, MNRAS, 524, 5391 [CrossRef] [Google Scholar]
- Birnboim, Y., Dekel, A., & Neistein, E. 2007, MNRAS, 380, 339 [NASA ADS] [CrossRef] [Google Scholar]
- Boecker, A., Neumayer, N., Pillepich, A., et al. 2023, MNRAS, 519, 5202 [NASA ADS] [CrossRef] [Google Scholar]
- Bond, J. R., Kofman, L., & Pogosyan, D. 1996, Nature, 380, 603 [NASA ADS] [CrossRef] [Google Scholar]
- Borrow, J., Anglés-Alcázar, D., & Davé, R. 2020, MNRAS, 491, 6102 [NASA ADS] [CrossRef] [Google Scholar]
- Byrohl, C., & Nelson, D. 2024, J. Open Source Softw., 9, 6064 [NASA ADS] [CrossRef] [Google Scholar]
- Canning, R. E. A., Ryon, J. E., Gallagher, J. S., et al. 2014, MNRAS, 444, 336 [CrossRef] [Google Scholar]
- Cooke, K. C., Kartaltepe, J. S., Tyler, K. D., et al. 2019, ApJ, 881, 150 [Google Scholar]
- Cowie, L. L., Songaila, A., Hu, E. M., & Cohen, J. G. 1996, AJ, 112, 839 [Google Scholar]
- Daddi, E., Renzini, A., Pirzkal, N., et al. 2005, ApJ, 626, 680 [NASA ADS] [CrossRef] [Google Scholar]
- Damjanov, I., McCarthy, P. J., Abraham, R. G., et al. 2009, ApJ, 695, 101 [Google Scholar]
- Davies, J. J., Crain, R. A., Oppenheimer, B. D., & Schaye, J. 2020, MNRAS, 491, 4462 [NASA ADS] [CrossRef] [Google Scholar]
- Davis, M., Efstathiou, G., Frenk, C. S., & White, S. D. M. 1985, ApJ, 292, 371 [Google Scholar]
- Decataldo, D., Shen, S., Mayer, L., Baumschlager, B., & Madau, P. 2024, A&A, 685, A8 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
- Dekel, A., Birnboim, Y., Engel, G., et al. 2009, Nature, 457, 451 [Google Scholar]
- De Lucia, G., & Blaizot, J. 2007, MNRAS, 375, 2 [Google Scholar]
- Dressler, A. 1980, ApJ, 236, 351 [Google Scholar]
- Eisert, L., Pillepich, A., Nelson, D., et al. 2023, MNRAS, 519, 2199 [Google Scholar]
- Elmegreen, D. M., Elmegreen, B. G., Marcus, M. T., et al. 2009, ApJ, 701, 306 [CrossRef] [Google Scholar]
- Fielding, D., Quataert, E., McCourt, M., & Thompson, T. A. 2017, MNRAS, 466, 3810 [NASA ADS] [CrossRef] [Google Scholar]
- Gebhardt, M., Anglés-Alcázar, D., Borrow, J., et al. 2024, MNRAS, 529, 4896 [NASA ADS] [CrossRef] [Google Scholar]
- Genel, S., Bouché, N., Naab, T., Sternberg, A., & Genzel, R. 2010, ApJ, 719, 229 [NASA ADS] [CrossRef] [Google Scholar]
- Genel, S., Vogelsberger, M., Nelson, D., et al. 2013, MNRAS, 435, 1426 [NASA ADS] [CrossRef] [Google Scholar]
- Genel, S., Vogelsberger, M., Springel, V., et al. 2014, MNRAS, 445, 175 [Google Scholar]
- Göller, J., Joshi, G. D., Rohr, E., Zinger, E., & Pillepich, A. 2023, MNRAS, 525, 3551 [CrossRef] [Google Scholar]
- González Delgado, R. M., Pérez, E., Cid Fernandes, R., et al. 2017, A&A, 607, A128 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
- Guo, Q., & White, S. D. M. 2008, MNRAS, 384, 2 [NASA ADS] [CrossRef] [Google Scholar]
- Hafen, Z., Faucher-Giguère, C.-A., Anglés-Alcázar, D., et al. 2019, MNRAS, 488, 1248 [NASA ADS] [CrossRef] [Google Scholar]
- Halle, A., Di Matteo, P., Haywood, M., & Combes, F. 2018, A&A, 616, A86 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
- Hartmann, M., Debattista, V. P., Seth, A., Cappellari, M., & Quinn, T. R. 2011, MNRAS, 418, 2697 [Google Scholar]
- Henriques, B. M. B., White, S. D. M., Thomas, P. A., et al. 2015, MNRAS, 451, 2663 [Google Scholar]
- Hill, A. R., Muzzin, A., Franx, M., & Marchesini, D. 2017, ApJ, 849, L26 [NASA ADS] [CrossRef] [Google Scholar]
- Hoosain, M., Blyth, S.-L., Skelton, R. E., et al. 2024, MNRAS, 528, 4139 [NASA ADS] [CrossRef] [Google Scholar]
- Jian, H.-Y., Lin, L., & Chiueh, T. 2012, ApJ, 754, 26 [NASA ADS] [CrossRef] [Google Scholar]
- Jiménez, N., Cora, S. A., Bassino, L. P., Tecce, T. E., & Smith Castelli, A. V. 2011, MNRAS, 417, 785 [CrossRef] [Google Scholar]
- Kereš, D., & Hernquist, L. 2009, ApJ, 700, L1 [CrossRef] [Google Scholar]
- Kereš, D., Katz, N., Weinberg, D. H., & Davé, R. 2005, MNRAS, 363, 2 [Google Scholar]
- Kraljic, K., Arnouts, S., Pichon, C., et al. 2018, MNRAS, 474, 547 [Google Scholar]
- Lackner, C. N., Cen, R., Ostriker, J. P., & Joung, M. R. 2012, MNRAS, 425, 641 [NASA ADS] [CrossRef] [Google Scholar]
- Laigle, C., Pichon, C., Arnouts, S., et al. 2018, MNRAS, 474, 5437 [Google Scholar]
- Lee, J., & Yi, S. K. 2013, ApJ, 766, 38 [CrossRef] [Google Scholar]
- Lee, J., Hahn, O., & Porciani, C. 2009, ApJ, 707, 761 [NASA ADS] [CrossRef] [Google Scholar]
- Li, Y., Mo, H. J., & Gao, L. 2008, MNRAS, 389, 1419 [NASA ADS] [CrossRef] [Google Scholar]
- Madau, P., Diemand, J., & Kuhlen, M. 2008, ApJ, 679, 1260 [NASA ADS] [CrossRef] [Google Scholar]
- Maiolino, R., Russell, H. R., Fabian, A. C., et al. 2017, Nature, 544, 202 [Google Scholar]
- Mandelker, N., Nagai, D., Aung, H., et al. 2020, MNRAS, 494, 2641 [Google Scholar]
- Marinacci, F., Vogelsberger, M., Pakmor, R., et al. 2018, MNRAS, 480, 5113 [NASA ADS] [Google Scholar]
- Martizzi, D., Vogelsberger, M., Artale, M. C., et al. 2019, MNRAS, 486, 3766 [Google Scholar]
- Mayer, L., Mastropietro, C., Wadsley, J., Stadel, J., & Moore, B. 2006, MNRAS, 369, 1021 [NASA ADS] [CrossRef] [Google Scholar]
- Mitchell, P. D., Schaye, J., & Bower, R. G. 2020, MNRAS, 497, 4495 [Google Scholar]
- Mo, H. J., & White, S. D. M. 1996, MNRAS, 282, 347 [Google Scholar]
- Moster, B. P., Naab, T., & White, S. D. M. 2013, MNRAS, 428, 3121 [Google Scholar]
- Naab, T., Johansson, P. H., & Ostriker, J. P. 2009, ApJ, 699, L178 [Google Scholar]
- Naiman, J. P., Pillepich, A., Springel, V., et al. 2018, MNRAS, 477, 1206 [Google Scholar]
- Natarajan, P., & Refregier, A. 2000, ApJ, 538, L113 [Google Scholar]
- Nelson, D., Vogelsberger, M., Genel, S., et al. 2013, MNRAS, 429, 3353 [NASA ADS] [CrossRef] [Google Scholar]
- Nelson, D., Genel, S., Vogelsberger, M., et al. 2015, MNRAS, 448, 59 [Google Scholar]
- Nelson, D., Pillepich, A., Springel, V., et al. 2018, MNRAS, 475, 624 [Google Scholar]
- Nelson, D., Pillepich, A., Springel, V., et al. 2019a, MNRAS, 490, 3234 [Google Scholar]
- Nelson, D., Springel, V., Pillepich, A., et al. 2019b, Comput. Astrophys. Cosmol., 6, 2 [Google Scholar]
- Nelson, D., Sharma, P., Pillepich, A., et al. 2020, MNRAS, 498, 2391 [NASA ADS] [CrossRef] [Google Scholar]
- Noguchi, M. 2018, Nature, 559, 585 [Google Scholar]
- Okalidis, P., Grand, R. J. J., Yates, R. M., & Springel, V. 2022, MNRAS, 514, 5085 [NASA ADS] [CrossRef] [Google Scholar]
- Oppenheimer, B. D., & Davé, R. 2008, MNRAS, 387, 577 [NASA ADS] [CrossRef] [Google Scholar]
- Oppenheimer, B. D., Davies, J. J., Crain, R. A., et al. 2020, MNRAS, 491, 2939 [NASA ADS] [CrossRef] [Google Scholar]
- Oser, L., Ostriker, J. P., Naab, T., Johansson, P. H., & Burkert, A. 2010, ApJ, 725, 2312 [Google Scholar]
- Oser, L., Naab, T., Ostriker, J. P., & Johansson, P. H. 2011, ApJ, 744, 63 [Google Scholar]
- Pakmor, R., Bauer, A., & Springel, V. 2011, MNRAS, 418, 1392 [NASA ADS] [CrossRef] [Google Scholar]
- Pakmor, R., Marinacci, F., & Springel, V. 2014, ApJ, 783, L20 [CrossRef] [Google Scholar]
- Pallero, D., Gómez, F. A., Padilla, N. D., et al. 2019, MNRAS, 488, 847 [NASA ADS] [CrossRef] [Google Scholar]
- Pan, Z., Li, J., Lin, W., et al. 2015, ApJ, 804, L42 [NASA ADS] [CrossRef] [Google Scholar]
- Pandya, V., Fielding, D. B., Anglés-Alcázar, D., et al. 2021, MNRAS, 508, 2979 [NASA ADS] [CrossRef] [Google Scholar]
- Parker, L. C., Hoekstra, H., Hudson, M. J., van Waerbeke, L., & Mellier, Y. 2007, ApJ, 669, 21 [Google Scholar]
- Pearson, W. J., Santos, D. J. D., Goto, T., et al. 2024, A&A, 686, A94 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
- Peluso, G., Radovich, M., Moretti, A., et al. 2023, ApJ, 958, 147 [NASA ADS] [CrossRef] [Google Scholar]
- Pérez-González, P. G., Rieke, G. H., Villar, V., et al. 2008, ApJ, 675, 234 [Google Scholar]
- Péroux, C., & Howk, J. C. 2020, ARA&A, 58, 363 [CrossRef] [Google Scholar]
- Pillepich, A., Madau, P., & Mayer, L. 2015, ApJ, 799, 184 [Google Scholar]
- Pillepich, A., Springel, V., Nelson, D., et al. 2018, MNRAS, 473, 4077 [Google Scholar]
- Pillepich, A., Nelson, D., Springel, V., et al. 2019, MNRAS, 490, 3196 [Google Scholar]
- Pillepich, A., Nelson, D., Truong, N., et al. 2021, MNRAS, 508, 4667 [NASA ADS] [CrossRef] [Google Scholar]
- Planck Collaboration XIII. 2016, A&A, 594, A13 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
- Powell, K. G., Roe, P. L., Linde, T. J., Gombosi, T. I., & De Zeeuw, D. L. 1999, J. Comput. Phys., 154, 284 [NASA ADS] [CrossRef] [Google Scholar]
- Qu, Y., Helly, J. C., Bower, R. G., et al. 2017, MNRAS, 464, 1659 [NASA ADS] [CrossRef] [Google Scholar]
- Ramesh, R., Nelson, D., & Pillepich, A. 2023, MNRAS, 518, 5754 [Google Scholar]
- Ramesh, R., Nelson, D., Fielding, D., & Brüggen, M. 2024, A&A, submitted [arXiv:2407.00172] [Google Scholar]
- Rodriguez-Gomez, V., Genel, S., Vogelsberger, M., et al. 2015, MNRAS, 449, 49 [Google Scholar]
- Rodriguez-Gomez, V., Pillepich, A., Sales, L. V., et al. 2016, MNRAS, 458, 2371 [Google Scholar]
- Rodriguez-Gomez, V., Sales, L. V., Genel, S., et al. 2017, MNRAS, 467, 3083 [Google Scholar]
- Rohr, E., Pillepich, A., Nelson, D., et al. 2023, MNRAS, 524, 3502 [NASA ADS] [CrossRef] [Google Scholar]
- Rohr, E., Pillepich, A., Nelson, D., Ayromlou, M., & Zinger, E. 2024, A&A, 686, A86 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
- Rohr, E., Pillepich, A., Nelson, D., et al. 2025, MNRAS, 536, 1226 [Google Scholar]
- Sijacki, D., Vogelsberger, M., Genel, S., et al. 2015, MNRAS, 452, 575 [NASA ADS] [CrossRef] [Google Scholar]
- Smith, M. C., Sijacki, D., & Shen, S. 2019, MNRAS, 485, 3317 [NASA ADS] [CrossRef] [Google Scholar]
- Spavone, M., Iodice, E., van de Ven, G., et al. 2020, A&A, 639, A14 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
- Spavone, M., Krajnović, D., Emsellem, E., Iodice, E., & den Brok, M. 2021, A&A, 649, A161 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
- Springel, V. 2010, MNRAS, 401, 791 [Google Scholar]
- Springel, V., White, S. D. M., Tormen, G., & Kauffmann, G. 2001, MNRAS, 328, 726 [Google Scholar]
- Springel, V., Pakmor, R., Pillepich, A., et al. 2018, MNRAS, 475, 676 [Google Scholar]
- Suresh, J., Nelson, D., Genel, S., Rubin, K. H. R., & Hernquist, L. 2019, MNRAS, 483, 4040 [NASA ADS] [CrossRef] [Google Scholar]
- Terrazas, B. A., Bell, E. F., Pillepich, A., et al. 2020, MNRAS, 493, 1888 [Google Scholar]
- Thomas, D., Maraston, C., Schawinski, K., Sarzi, M., & Silk, J. 2010, MNRAS, 404, 1775 [NASA ADS] [Google Scholar]
- Thompson, T. A., Quataert, E., Zhang, D., & Weinberg, D. H. 2016, MNRAS, 455, 1830 [CrossRef] [Google Scholar]
- van der Wel, A., Franx, M., Van Dokkum, P., et al. 2014, ApJ, 788, 28 [NASA ADS] [CrossRef] [Google Scholar]
- van Dokkum, P. G., Bezanson, R., van der Wel, A., et al. 2014, ApJ, 791, 45 [NASA ADS] [CrossRef] [Google Scholar]
- Vogelsberger, M., Genel, S., Springel, V., et al. 2014a, Nature, 509, 177 [Google Scholar]
- Vogelsberger, M., Genel, S., Springel, V., et al. 2014b, MNRAS, 444, 1518 [Google Scholar]
- Vogelsberger, M., Marinacci, F., Torrey, P., & Puchwein, E. 2020, Nat. Rev. Phys., 2, 42 [Google Scholar]
- Voit, G. M., Donahue, M., Bryan, G. L., & McDonald, M. 2015, Nature, 519, 203 [NASA ADS] [CrossRef] [Google Scholar]
- Vulcani, B., Marchesini, D., De Lucia, G., et al. 2016, ApJ, 816, 86 [NASA ADS] [CrossRef] [Google Scholar]
- Weinberger, R., Springel, V., Hernquist, L., et al. 2017, MNRAS, 465, 3291 [Google Scholar]
- Wellons, S., Torrey, P., Ma, C.-P., et al. 2016, MNRAS, 456, 1030 [Google Scholar]
- Wetzel, A. R., & Nagai, D. 2015, ApJ, 808, 40 [NASA ADS] [CrossRef] [Google Scholar]
- White, S. D. M., & Rees, M. J. 1978, MNRAS, 183, 341 [Google Scholar]
- Wright, R. J., Somerville, R. S., Lagos, C. D. P., et al. 2024, MNRAS, 532, 3417 [NASA ADS] [CrossRef] [Google Scholar]
- Zinger, E., Pillepich, A., Nelson, D., et al. 2020, MNRAS, 499, 768 [CrossRef] [Google Scholar]
Appendix A: Numerical resolution convergence
In Fig. A.1 we show the in situ stellar mass fractions in the main progenitor (blue), IGM (green), and other galaxies (orange). In contrast to Fig. 5, the different line styles indicate the resolution levels of TNG50, with solid being the lowest resolution (TNG50-4) and dotted lines the highest (TNG50-1). Here we show the Milky Way mass galaxy subsample.
![]() |
Fig. A.1. Comparison of Fig. 5 for different TNG50 resolution runs. The solid line indicates TNG50-4, the dash-dotted line TNG50-3, the dashed line TNG50-2, and the dotted line TNG50-1. The blue color represents the in situ stellar mass fraction of Milky Way-like central galaxies for tracers in the main progenitor, orange is the mass fraction for tracers in other galaxies, and green is the mass fraction for tracers in the IGM. |
Apart from the significant change when increasing the resolution from TNG50-4 to TNG50-3, the results become invariant to resolution beyond this point. The difference at low resolutions shifts some tracers (up to 10% of the total number) from the IGM to other galaxies, possibly due to gas at the border between halos and the IGM. The main progenitor category is mostly unchanged. Overall, our results are impressively well converged across all three resolutions of the IllustrisTNG boxes, especially from TNG50-2 to TNG50-1.
We note that there is significantly more scatter for group-sized centrals, due to their low number statistics in TNG50. As a result, resolution convergence is less clear. Considering dwarfs, there is a stronger resolution trend. Here, lower resolutions may result in only a handful or even one single in situ star tracer. That is, dwarfs below a given mass are simply not resolved in the lower resolution boxes.
Figure A.2 compares the galaxy stellar ages and Figure A.3 the in situ stellar content formation times introduced in Fig. 9 at different resolution levels. For both quantities, the resolution does not change the result from ∼1010 M⊙ until ∼1011 M⊙. Above this mass range, the trends are noisy, but higher resolution tends to yield lower values. At the lower-mass end, we see an expected shift toward lower halo mass for higher resolution. The steep feature at low-mass marks galaxies with only a few hundred star particles, that is it demarcates the resolution limit of the runs. In our masses ranges of interest, resolution convergence for these formation time metrics is not a concern.
![]() |
Fig. A.2. Comparison of galaxy age, i.e., the median age of the stellar content of a galaxy, (compare Fig. 9) for different TNG50 resolution runs. The red line indicates TNG50-1 with the highest resolution, green stands for TNG50-2, orange is for TNG50-3, and the blue line represents TNG50-4 with the lowest resolution. The figure spans to lower masses to better visualize resolution effects. |
Appendix B: Halo-to-halo variation
Figure B.1 compares the halo-to-halo variations of the different quantities shown in Fig. 5. The largest scatter is visible for the upper left panel displaying the median lines of all galaxies of the simulation volume, especially for the IGM (∼ 20%) and main progenitor (∼ 20%) tracer fractions. In contrast, the individual halo mass bins show fewer variations in these categories. Generally, the fraction of tracers in the main progenitor varies the most (∼ 15%) and the fraction in other galaxies the least (≲ 10%). Considering all galaxies of the simulation volume, the large scatter likely originates from the large number of low-mass objects with little tracers.
![]() |
Fig. B.1. Comparison of Fig. 5 for the four different halo mass bins from Table 1 showcasing the halo-to-halo variations discussed in Section 3.3.1. The blue color represents the in situ stellar mass fraction of central galaxies for tracers in the main progenitor, orange is the mass fraction for tracers in other galaxies, and green is the mass fraction for tracers in the IGM. |
![]() |
Fig. A.3. Comparison of the in situ stellar content (compare Fig. 9) for different TNG50 resolution runs. The red line indicates TNG50-1 with the highest resolution, green stands for TNG50-2, orange is for TNG50-3, and the blue line represents TNG50-4 with the lowest resolution. The figure spans to lower masses to better visualize resolution effects. |
All Tables
All Figures
![]() |
Fig. 1. Distribution of in situ stellar mass fraction versus galaxy stellar mass (left) and the time evolution of this fraction (right). In the left panel, we show trends of in situ (solid) and ex situ (dashed) stellar mass fractions as a function of galaxy stellar mass at z = 0. The in situ fraction is ≳90% at the low stellar-mass end (M⋆ ≲ 1010 M⊙), decreasing to ∼40% for massive M⋆ ∼ 1012 M⊙ galaxies. For reference, the top axis shows the corresponding halo masses and the background colored pixels show the halo-to-halo scatter. The three vertical gray bands in the background show the three halo mass bins used in this work (Table 1). In the right panel, we show the in situ mass buildup of galaxies over cosmic time, normalized to their z = 0 mass. The blue, orange, green, and red curves correspond to dwarfs, MWs, groups, and more massive groups, respectively. For comparison, we also include the evolutionary profile of all in situ stars from the simulation domain in black. More massive galaxies form a given fraction of in situ stellar mass at earlier times.
Table 1. Overview of the halo mass bins commonly used throughout our analysis. |
In the text |
![]() |
Fig. 2. Radial distribution of the in situ stellar mass fraction (left) and distinguishing stellar origins (right). The left panel shows radial profiles of the in situ stellar fraction for dwarfs (blue), Milky Way mass galaxies (orange), and groups (green). Solid curves correspond to z = 0 profiles, and dotted to the progenitors of these galaxies at z = 2. In all three mass bins, in situ stars dominate the central regions of the halo, while ex situ stars dominate in the outskirts. This radial dependence is stronger at z = 0. The right panel shows the in situ stellar mass fractions formed inside (solid) and outside 2 RSF, 1/2 (dashed), relative to the total in situ component as a function of z = 0 galaxy stellar mass. Blue curves correspond to stars located within 2 RSF, 1/2 at z = 0, those outside in orange, and the total in black. Most stars formed inside continue to reside within this region at z = 0 following their formation, while most of the stars forming outside 2 RSF, 1/2 migrate inward, except in the highest mass galaxies. |
In the text |
![]() |
Fig. 3. Visual impression of the spatial structure of the infall redshifts zinfall of tracers that reside in in situ stars at z = 0. Representative examples of a group, Milky Way-like, and dwarf galaxy (random orientations) are shown in the upper left, upper right, and lower left panels, respectively. Colors show the median zinfall along a projection that extends through the entire halo. The lower right panel quantifies these trends with radial profiles. Solid lines show (individual) profiles of the galaxies from the three previous panels, while dashed curves the medians of all galaxies in each mass bin. Overall, the core regions of more massive galaxies are made of stars that formed from gas that entered the halo at earlier times. |
In the text |
![]() |
Fig. 4. Temporal evolution of the radial profile of the (z = 0) in situ mass fraction, for a single galaxy. The selected example is the same group-mass halo as in Fig. 3. Here we show the fraction of tracers at a given redshift in each radial bin, i.e., each column is independently normalized to unity. Red arrows mark the redshifts of major mergers within the displayed time range. While the central regions are dominated by high in situ fractions at all redshifts, more complex features are visible at larger galactocentric radii, showcasing the heterogeneous nature of gas flows and baryonic accretion. |
In the text |
![]() |
Fig. 5. Fraction of the (z = 0) in situ stellar mass of galaxies that belongs to three different origins, i.e., sources, as a function of redshift. As above, we split our sample into dwarf (dotted), Milky Way (dot-dashed), and group (dashed) halos. For comparison, in solid curves, we also include the median profile constructed from all central galaxies resolved in the simulation. The fraction of baryonic matter in the main progenitor galaxy is shown in blue, that in satellite galaxies and other halos in orange, and gas in the IGM is shown in green. A dominant fraction of gas forming in situ stars by z = 0 was present in the IGM at high z, while only a low fraction was accreted in a clumpy fashion via satellites. Roughly half of the baryonic mass contributing to the z = 0 in situ stellar mass of galaxies already resides within the main progenitor halo by z ∼ 2. |
In the text |
![]() |
Fig. 6. Fractions of the in situ stellar mass of galaxies accreted via mergers versus redshift, decomposed by the baryonic mass of the other galaxies at each redshift. In effect, we split the orange curves of Fig. 5 into further components. We focus on dwarf, Milky Way, and group halos in the upper-left, upper-right, and lower-left panels, respectively. For reference, the lower-right panel shows the same analysis when combining all central galaxies resolved in the simulation. Overall, more massive centrals obtain a lower fraction of mass from under-massive structures in terms of their baryon content. |
In the text |
![]() |
Fig. 7. Radial distribution of the baryonic mass that forms the z = 0 in situ stellar mass of dwarf (left column), Milky Way (center) and group (right) galaxies. For each radial bin, we show the total in situ baryonic mass enclosed by a sphere of this radius, normalized to the total in situ stellar mass at z = 0. In the upper row, we display the time evolution, i.e., the collapse of this mass into galaxies with median profiles at six different redshifts. Colored dots correspond to the median galactocentric distance at which the fraction crosses a threshold of 0.5, which we define as the Lagrangian half-mass distance (RL, 1/2). Groups assemble their baryons earlier than lower-mass galaxies and have smaller Lagrangian half-mass distances. In the lower row, we further split a subset of curves based on their origin: baryons accreted from the IGM (dotted) versus mergers (dashed), as well as the total (solid, repeated from the top row). IGM gas collapses into halos from relatively smaller distances as compared to gas contributed by merging galaxies. |
In the text |
![]() |
Fig. 8. Trend of Lagrangian half-mass radius (RL, 1/2) with halo mass. Solid curves are derived from all tracers that constitute the z = 0 in situ stellar population, with colors showing six different redshifts. For z = 1 alone, we further split based on tracers accreted from the IGM (dotted) and via mergers (dashed). For reference, the top x-axis shows the mean stellar mass as a function of halo mass. Broadly, RL, 1/2 decreases for more massive halos, reflecting smaller relative Lagrangian regions. |
In the text |
![]() |
Fig. 9. Formation redshift of the baryons that form the in situ stellar populations z = 0 galaxies (blue). We also compare to the formation redshifts of the dark matter halo (solid green) and the dark matter halo core (dashed green). Solid curves show all origins, while the dashed (dotted) blue line shows mass accreted via mergers (the IGM). For comparison, we also show the mean age of all (in situ) stars of the central galaxy in orange (red). While the global dark matter (DM) halo as well as its core assemble earlier for less massive objects, the inverse holds for the stellar population, as well as the accretion of baryons that later fuel in situ star formation. |
In the text |
![]() |
Fig. 10. Fraction of the (z = 0) in situ stellar mass of galaxies brought in by distinct accretion channels (left panel). We define fresh accretion as gas acquired from the IGM that has remained in the halo since it first entered (orange). Gas that was recycled between the galaxy and the halo by feedback processes is labeled wind recycled (green). Deposition of gas by satellites directly into the gaseous disks of centrals (≤2 RSF, 1/2; red) is further contrasted against the stripping of gas at farther distances (brown). Lastly, gas that is ejected or stripped from other halos, i.e., not satellites, is shown in purple. Colored diamonds show analogous measurements from the FIRE cosmological simulations (Anglés-Alcázar et al. 2017). Both the bars and the diamonds show stacked values. For comparison, the middle and right plots show the same categories for ex situ stars and dark matter particles, respectively. |
In the text |
![]() |
Fig. 11. Temporal lag between various spatial crossing and star formation events. In blue (orange), we show the time difference between the moment that a tracer last crossed R200c (2 RSF, 1/2), i.e., halo infall (galaxy infall) and that when its parent gas cell is converted into a star particle. The time gap between the two infall events (green) is contrasted against the time elapsed between the first and the last crossing of 2 RSF, 1/2 (red). All curves show medians across the galaxy population and the value for each galaxy is also the median of all its tracers that actually undergo the event(s), always taking absolute values (see text). Gas accretion onto galaxies proceeds over several ∼Gyr, while the eventual collapse of ISM gas into stars occurs on shorter time scales (≲Gyr), as long as it is not recycled back into the halo due to feedback. |
In the text |
![]() |
Fig. 12. Spatial extent of the initial (z ∼ 20) gas distribution that fuels the assembly of in situ (solid curves) and ex situ (dashed) stars by z = 0. We offer three different measurements: the median distance of tracers (blue), the 95th percentile distance (orange), and the radius of the sphere whose volume equals that of the convex hull of the initial gas distribution (green). As expected, the collapse of gas into more massive halos takes place from initially larger scales. |
In the text |
![]() |
Fig. A.1. Comparison of Fig. 5 for different TNG50 resolution runs. The solid line indicates TNG50-4, the dash-dotted line TNG50-3, the dashed line TNG50-2, and the dotted line TNG50-1. The blue color represents the in situ stellar mass fraction of Milky Way-like central galaxies for tracers in the main progenitor, orange is the mass fraction for tracers in other galaxies, and green is the mass fraction for tracers in the IGM. |
In the text |
![]() |
Fig. A.2. Comparison of galaxy age, i.e., the median age of the stellar content of a galaxy, (compare Fig. 9) for different TNG50 resolution runs. The red line indicates TNG50-1 with the highest resolution, green stands for TNG50-2, orange is for TNG50-3, and the blue line represents TNG50-4 with the lowest resolution. The figure spans to lower masses to better visualize resolution effects. |
In the text |
![]() |
Fig. B.1. Comparison of Fig. 5 for the four different halo mass bins from Table 1 showcasing the halo-to-halo variations discussed in Section 3.3.1. The blue color represents the in situ stellar mass fraction of central galaxies for tracers in the main progenitor, orange is the mass fraction for tracers in other galaxies, and green is the mass fraction for tracers in the IGM. |
In the text |
![]() |
Fig. A.3. Comparison of the in situ stellar content (compare Fig. 9) for different TNG50 resolution runs. The red line indicates TNG50-1 with the highest resolution, green stands for TNG50-2, orange is for TNG50-3, and the blue line represents TNG50-4 with the lowest resolution. The figure spans to lower masses to better visualize resolution effects. |
In the text |
Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.