<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>The baryon cycle in modern cosmological hydrodynamical simulations</title></titleStmt>
			<publicationStmt>
				<publisher>Oxford University Press</publisher>
				<date>07/19/2024</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10538547</idno>
					<idno type="doi">10.1093/mnras/stae1688</idno>
					<title level='j'>Monthly Notices of the Royal Astronomical Society</title>
<idno>0035-8711</idno>
<biblScope unit="volume">532</biblScope>
<biblScope unit="issue">3</biblScope>					

					<author>Ruby J Wright</author><author>Rachel S Somerville</author><author>Claudia_del P Lagos</author><author>Matthieu Schaller</author><author>Romeel Davé</author><author>Daniel Anglés-Alcázar</author><author>Shy Genel</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[<title>ABSTRACT</title> <p>In recent years, cosmological hydrodynamical simulations have proven their utility as key interpretative tools in the study of galaxy formation and evolution. In this work, we present a comparative analysis of the baryon cycle in three publicly available, leading cosmological simulation suites: EAGLE, IllustrisTNG, and SIMBA. While these simulations broadly agree in terms of their predictions for the stellar mass content and star formation rates of galaxies at $z\approx 0$, they achieve this result for markedly different reasons. In EAGLE and SIMBA, we demonstrate that at low halo masses ($M_{\rm 200c}\lesssim 10^{11.5}\, \mathrm{M}_{\odot }$), stellar feedback (SF)-driven outflows can reach far beyond the scale of the halo, extending up to $2\!-\!3\times R_{\rm 200c}$. In contrast, in TNG, SF-driven outflows, while stronger at the scale of the interstellar medium, recycle within the circumgalactic medium (within $R_{\rm 200c}$). We find that active galactic nucleus (AGN)-driven outflows in SIMBA are notably potent, reaching several times $R_{\rm 200c}$ even at halo masses up to $M_{\rm 200c}\approx 10^{13.5}\, \mathrm{M}_{\odot }$. In both TNG and EAGLE, AGN feedback can eject gas beyond $R_{\rm 200c}$ at this mass scale, but seldom beyond $2\!-\!3\times R_{\rm 200c}$. We find that the scale of feedback-driven outflows can be directly linked with the prevention of cosmological inflow, as well as the total baryon fraction of haloes within $R_{\rm 200c}$. This work lays the foundation to develop targeted observational tests that can discriminate between feedback scenarios, and inform subgrid feedback models in the next generation of simulations.</p>]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><p>efficient cooling and gravitational collapse leads to the initiation of nuclear fusion and the consequent birth of new stars (e.g. <ref type="bibr">Kennicutt 1983 ;</ref><ref type="bibr">McKee &amp; Ostriker 2007 ;</ref><ref type="bibr">Kennicutt &amp; Evans 2012 )</ref>. A fraction of the gas that makes it into galaxy nuclei can also be accreted onto supermassive black holes (SMBHs), which are known to inhabit the dense central regions of many galaxies (see re vie ws by <ref type="bibr">Ferrarese &amp; Ford 2005 ;</ref><ref type="bibr">Kormendy &amp; Ho 2013 ;</ref><ref type="bibr">Heckman &amp; Best 2014 )</ref>.</p><p>Both star formation and accretion onto SMBH drive large-scale outflows, which play a crucial role in regulating the baryon cycle <ref type="bibr">(Veilleux, Cecil &amp; Bland-Hawthorn 2005 ;</ref><ref type="bibr">Veilleux et al. 2020</ref> ). Stellar feedback, through supernovae explosions, radiation, and stellar winds, injects energy, momentum, and enriched material into the ISM and potentially beyond <ref type="bibr">(Heckman et al. 2015 )</ref>. Active galactic nucleus (AGN) feedback, powered by accretion onto SMBHs at galactic centres, also releases substantial amounts of energy and momentum, that can drive powerful outflows, impacting the surrounding gas and quenching star formation in some cases (e.g. <ref type="bibr">Fabian 2012 ;</ref><ref type="bibr">Heckman &amp; Best 2014 ;</ref><ref type="bibr">King &amp; Pounds 2015 )</ref>.</p><p>On the scale of the ISM, various observational techniques provide relatively well-constrained measurements of the stellar mass, galaxy MNRAS 532, <ref type="bibr">3417-3440 (2024)</ref> cold gas (H &#299;I and H 2 ) content, and star formation rates (SFRs). Beyond the ISM, direct observational constraints on the CGM and IGM gas are associated with increasing uncertainty due to its diffuse nature (e.g. <ref type="bibr">Werk et al. 2014 ;</ref><ref type="bibr">Tumlinson et al. 2017</ref> ). Outside the Milky Way, gas accretion has been detected in a number of cases where absorption signatures are identified in galaxy spectra (e.g. <ref type="bibr">Rubin et al. 2012 ;</ref><ref type="bibr">Martin et al. 2012 ;</ref><ref type="bibr">Stone et al. 2016</ref> ; for a re vie w see <ref type="bibr">Rubin 2017 )</ref>; and in a number of studies where it is possible to use a fortuitously aligned background quasar to probe circumg alactic g as flows (e.g. <ref type="bibr">Lehner et al. 2013 ;</ref><ref type="bibr">Bouch &#233; et al. 2016 ;</ref><ref type="bibr">Martin et al. 2019</ref> ). Even with these disco v eries, the rate at which the gas accretes and its associated properties have yet to be wellquantified on a statistical basis; and are associated with considerable uncertainties.</p><p>There is a significant body of literature presenting supporting evidence for the presence of feedback-driven gas outflows from galaxies (e.g. <ref type="bibr">Heckman et al. 2000</ref><ref type="bibr">Heckman et al. , 2015 ; ;</ref><ref type="bibr">Martin 2005 ;</ref><ref type="bibr">Veilleux et al. 2005 ;</ref><ref type="bibr">Feruglio et al. 2010 ;</ref><ref type="bibr">Newman et al. 2012 ;</ref><ref type="bibr">Rubin et al. 2014 ;</ref><ref type="bibr">Schroetter et al. 2016 ;</ref><ref type="bibr">Chisholm et al. 2016 ;</ref><ref type="bibr">Rupke et al. 2019</ref> ; for a recent re vie w see <ref type="bibr">Veilleux et al. 2020</ref> ). Ho we ver, in each case, the determination of associated mass flux is affected by several systematic uncertainties. In particular, a given outflow tracer only provides information about gas on a subset of spatial scales (nominally confined to well within a given halo virial radius), and to specific gas phases. Furthermore, these measurements are biased towards g as-rich g alaxies exhibiting particularly strong outflows -either those at high redshift, or local galaxies experiencing a starburst.</p><p>Modern cosmological hydrodynamical simulations constitute a powerful tool to explore the role of different processes within the baryon cycle, and galaxy evolution more broadly (e.g. <ref type="bibr">Schaye et al. 2010</ref><ref type="bibr">Schaye et al. , 2015 ; ;</ref><ref type="bibr">Dubois et al. 2014 ;</ref><ref type="bibr">Vogelsberger et al. 2014 ;</ref><ref type="bibr">Christensen et al. 2016 ;</ref><ref type="bibr">Pillepich et al. 2018 ;</ref><ref type="bibr">Hopkins et al. 2018 ;</ref><ref type="bibr">Dav &#233; et al. 2019</ref> ). Ho we ver, in order to accurately simulate the formation of galaxy populations within the context of large-scale structure, it is crucial to model essential small-scale processes taking place within individual galaxies. These processes, such as star formation, black hole formation and accretion, and stellar and AGN feedback, operate at scales below the resolution capabilities of the simulations. Therefore, they are commonly incorporated using 'subgrid' techniques, which ef fecti vely account for their influence on galaxy evolution in a physically motivated, but necessarily coarse-grained manner (for re vie ws, see <ref type="bibr">Somerville &amp; Dav &#233; 2015 ;</ref><ref type="bibr">Vogelsberger et al. 2020 )</ref>. A wide range of subgrid techniques have demonstrated success in reproducing realistic galaxy populations in cosmological simulations, particularly in capturing the observed shape of the stellar mass function (e.g. <ref type="bibr">Thorne et al. 2021 ;</ref><ref type="bibr">Schaye et al. 2023</ref> , see also Section 3 ).</p><p>Despite these promising results, recent studies have suggested that the behaviour of the gaseous phase and the broader-scale baryon cycle differ significantly between different simulations and feedback models, and can be degenerate in producing the same stellar mass assembly in galaxies o v er cosmic time <ref type="bibr">(Naab &amp; Ostriker 2017 ;</ref><ref type="bibr">Mitchell et al. 2018</ref><ref type="bibr">Mitchell et al. , 2020 ; ;</ref><ref type="bibr">Pandya et al. 2020 ;</ref><ref type="bibr">Dav &#233; et al. 2020 ;</ref><ref type="bibr">Villaescusa-Navarro et al. 2021 ;</ref><ref type="bibr">Ni et al. 2023 ;</ref><ref type="bibr">Tillman et al. 2023a</ref> ). F or e xample, <ref type="bibr">Dav &#233; et al. ( 2020 )</ref> compare the cold gas content of galaxies in three publicly available modern cosmological hydrodynamical simulations -EAGLE, TNG100, and SIMBA (for a technical o v erview of the subgrid prescriptions in each simulation, see Section 2 ). They find that these three simulations produce relatively similar predictions for the molecular gas content of galaxies (H 2 mass function or H 2 MF) o v er cosmic time, within a range of 0 . 3 dex. This phase is strongly correlated with star formation, which also agrees fairly well between models as also established by the aforementioned stellar mass function. Predictions for the slightly more tenuous atomic phase, ho we ver, sho w greater di vergence.</p><p>Similarly, the emergent gas mass outflow rates and mass loading factors ( &#951; &#8801; &#7744; out ( r) / &#7744; ) at ISM scales that arise from different subgrid implementations of stellar-driven winds appear to differ significantly even across simulations that are all calibrated to reproduce the observed z = 0 stellar mass function. <ref type="bibr">Mitchell et al. ( 2020 )</ref> show a comparison of the ISM-scale mass loadings measured in the EAGLE simulation and those reported by <ref type="bibr">Nelson et al. ( 2019 )</ref> from the TNG50 run of the IllustrisTNG simulation suite. Their results suggest that the gas outflow rates in TNG decline rapidly with increasing radius, such that most of the outflowing ISM material does not make it out of the CGM, while in EAGLE outflows are actually powerful enough to leave the CGM and halo entirelyeven entraining some gas on the way. However, we stress that the comparisons between these simulations were not conducted with the same methodology - <ref type="bibr">Nelson et al. ( 2019 )</ref> calculate Eulerian instantaneous flow rates, while <ref type="bibr">Mitchell et al. ( 2020 )</ref> instead use a Lagrangian particle tracking method. In addition, flow quantities have not necessarily been measured at the same physical scales or using the same definitions of halo properties.</p><p>To date, a comprehensive examination of the distinct gas cycling paradigms within these simulations has not been carried out. In this paper, we aim to fill this gap by conducting a detailed comparison of the baryon cycle in the EAGLE, TNG, and SIMBA simulations using the same definitions and methodology. Our primary focus is to gain insight into the physical extent of feedback-dri ven outflo ws across a broad range of halo masses. By undertaking such an analysis, we lay the foundation for developing targeted observational tests that can help to assess specific simulation methodologies, and mo v e towards a more constrained understanding of the role of feedback processes in the baryon cycle.</p><p>This paper is arranged as follows: in Section 2 , we outline each of the simulations -EAGLE, TNG, and SIMBA -that we analyse in this study, and the uniform methodology we employ in each to measure gas flow rates. In Section 3 , we outline the similarities and differences between statically measured baryon content and baryon distribution in haloes in these simulations. In Section 4 , we present a detailed analysis of the gas flow rates at different scales surrounding galaxies in these simulations, and how these differences can be used to explain the findings in Section 3 . In Section 5 , we discuss the implications of our findings for the baryon cycle, and discuss future targeted observational tests for different feedback models. Finally, we conclude with Section 6 , where we summarize the main findings of the paper.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">M E T H O D S</head><p>In this paper, we make use of three modern cosmological hydrodynamical simulations with publicly available data -namely EAGLE, TNG, and SIMBA. These simulations are all based on a CDM (lambda-cold dark matter) cosmology -in which hierarchically assembled CDM haloes provide the formation site of galaxies; all within the context of an expanding, dark energy dominated universe. As noted abo v e, all of these simulations contain phenomenological subgrid recipes, which are discussed in more detail below, containing parameters that are calibrated via comparison to observational data or quantities derived from observations. These calibrations are anchored using observations of the stellar mass and/or distribution of galaxies, of the models (see Crain &amp; van de Voort 2023 for an o v erview). 1  In Section 2.1 , we introduce the simulations we employ for this study and describe their respective subgrid feedback implementations. Subsequently, in Section 2.2 , we outline the method with which we self-consistently measure gas flows rates in each of the simulations.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1">Cosmological simulations</head><p>In Table <ref type="table">1</ref> , we compare some key features of the simulations used in this paper. We then discuss these features in further detail in Sections 2. <ref type="bibr">1.1 , 2.1.2 , and 2.1.3</ref> for the EAGLE, TNG, and SIMBA simulations respectively. Each of these simulations share a base CDM cosmology, with the choice of cosmological parameters differing by only of order &#8776; 1 per cent . While the simulations take slightly different approaches to solving the equations describing the hydrodynamics of the gas, the y hav e man y characteristics in common: each has a spatial resolution of order 1 -10 kpc , make use of very similar tabulated gas cooling prescriptions, and utilize an ef fecti ve equation of state (EoS) for cool gas within the ISM. The critical difference between these simulations, for the purposes of this study, is in their approach to modelling the unresolved feedback from star formation (stellar feedback) and SMBHs (AGN feedback), which we focus on below. 1 An exception to this is the TNG AGN feedback model, which is calibrated to reproduce z &#8776; 0 halo gas fractions at high mass, and SFR densities o v er cosmic time. Even so, there is considerable degeneracy in how the exact interplay between gas flows and the baryon cycle can produce these results.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1.1">The EAGLE simulations</head><p>The EAGLE simulations, as described by <ref type="bibr">Schaye et al. ( 2015 )</ref> and <ref type="bibr">Crain et al. ( 2015 )</ref>, utilized a modified version of the Nbody Tree-ParticleMesh ( TREEPM ) smoothed particle hydrodynamics (SPH) solver called GADGET -3, initially presented in <ref type="bibr">Springel ( 2005 )</ref>. The set of modifications ( ANARCHY ) are outlined in <ref type="bibr">Schaller et al. ( 2015 )</ref>; and include enhancements to the hydrodynamics solver and subgrid physics modules. The initial conditions for this simulation were generated using the method described in <ref type="bibr">Jenkins ( 2013 )</ref>, assuming the cosmological parameters from Planck Collaboration XVI ( 2014 ): = 0 . 693, m = 0 . 307, b = 0 . 04825, H 0 = 67 . 77 km s -1 Mpc -1 , &#963; 8 = 0 . 8288, and n s = 0 . 9611.</p><p>The flagship box of the suite, referred to as Ref-L100N1504, has a periodic side length of 67 . 8 h -1 Mpc . It was e x ecuted with 1 , 504 3 DM and baryonic particles, resulting in particle masses of 1 . 8 &#215; 10 6 and 9 . 7 &#215; 10 6 M for baryons and DM, respectively. The Plummer-equi v alent gravitational softening length is set to 2 . 66 ckpc , limited to a maximum proper length of 0 . 7 pkpc . Additionally, we present findings from the EAGLE-Recal simulation (Recal-L25N752 in <ref type="bibr">Schaye et al. 2015 )</ref> in Appendices B and C . EAGLE-Recal has a box side length of 16 . 9 h -1 Mpc and achieves twice the spatial resolution with an initial baryonic particle mass of 2 . 3 &#215; 10 5 M . We present results from the EAGLE-Recal simulation at z &#8776; 0 to compare with the behaviour of the fiducial EAGLE model, though the findings we will present in this paper are qualitatively similar for the different resolutions.</p><p>Photoheating and radiative cooling are implemented in EAGLE based on the work of <ref type="bibr">Wiersma et al. ( 2009 )</ref>, including the influence of eleven elements: H, He, C, N, O, Ne, Mg, Si, S, Ca, and Fe <ref type="bibr">(Schaller et al. 2015 )</ref>; with the ultraviolet (UV) and X-ray background described by <ref type="bibr">Haardt &amp; Madau ( 2001 )</ref>. Metals are not passively diffused between gas particles in proximity, ho we ver cooling calculations MNRAS 532, <ref type="bibr">3417-3440 (2024)</ref> are conducted using SPH-kernel weighted metallicities. Since the EAGLE simulations do not have the resolution to model cold, interstellar gas, a density-dependent temperature floor is imposed (normalized to T = 8000 K at n H = 10 -1 cm -3 ). To model star formation, a metallicity-dependent density threshold is set, abo v e which star formation is locally permitted <ref type="bibr">(Schaye 2004</ref> ), and gas particles meeting this threshold are converted to star particles stochastically. The SFR is set by a tuned pressure law <ref type="bibr">(Schaye, Carswell &amp; Kim 2007 )</ref>, calibrated to the observations of <ref type="bibr">Kennicutt ( 1983 )</ref> at z = 0.</p><p>The stellar feedback subgrid model in EAGLE accounts for energy deposition into the ISM from radiation, stellar winds, and superno va e xplosions (types Ia and II). This is implemented based on the prescription outlined in Dalla <ref type="bibr">Vecchia &amp; Schaye ( 2012 )</ref>, via a stochastic thermal energy injection to gas particles in the form of a fixed temperature boost, T SF = 10 7 . 5 K. The average energy injection rate from young stars is given by f th &#215; 8 . 73 &#215; 10 15 erg per gram of stellar mass formed, assuming simple stellar population with a <ref type="bibr">Chabrier ( 2003 )</ref> stellar initial mass function (IMF) and that 10 51 erg is liberated per supernov a e vent. The v alue of f th is a function of local gas density and metallicity, ranging between 0 . 3 -3 in the fiducial EAGLE model. The exact parameter choices for the stellar feedback model have been calibrated to observations of the z &#8776; 0 galaxy stellar mass function and M -R 50 relation (see <ref type="bibr">Crain et al. 2015 )</ref>.</p><p>SMBHs of mass 10 5 h -1 M are seeded when a halo exceeds a virial mass of 10 10 h -1 M . Subsequently, SMBHs can grow via Eddington-limited accretion (utilizing a Bondi-Hoyle parametrization), as well as mergers with other SMBHs <ref type="bibr">(Bondi 1952 ;</ref><ref type="bibr">Springel, Di Matteo &amp; Hernquist 2005 ;</ref><ref type="bibr">Schaye et al. 2015 )</ref>. Similar to stellar feedback, AGN feedback in EAGLE also involves the injection of thermal energy into surrounding particles in the form of a temperature boost of T AGN = 10 8 . 5 K (in the reference physics run; <ref type="bibr">Schaye et al. 2015 )</ref>. The rate of energy injection from AGN feedback is determined using the SMBH accretion rate, and a fix ed conv ersion efficienc y of accreted rest mass to energy . Importantly , we also note that in EAGLE, particles influenced by stellar or AGN feedback are not decoupled from the hydrodynamics when they receive a temperature boost. The choice of temperature boost values are relatively high in order to a v oid rapid cooling and dissipation of the feedback energy. The exact parameter choices in the EA GLE A GN feedback sub-grid model are informed by observations of the M -M BH relation <ref type="bibr">(Crain et al. 2015 )</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1.2">The IllustrisTNG simulations</head><p>The Next Generation Illustris simulations, known as IllustrisTNG (often shortened to TNG), are a collection of cosmological magnetohydrodynamical simulations conducted using the moving-mesh refinement code AREPO <ref type="bibr">(Springel 2010 ;</ref><ref type="bibr">Pakmor, Bauer &amp; Springel 2011 )</ref>. Several physics modules in IllustrisTNG were modified relative to its predecessor, Illustris, to achieve better agreement with observations (e.g. <ref type="bibr">Weinberger et al. 2017 ;</ref><ref type="bibr">Springel et al. 2018</ref> ). All of the TNG boxes assume a Planck Collaboration XIII ( 2016 ) cosmology, with = 0 . 692, m = 0 . 31, b = 0 . 0486, H 0 = 67 . 7 km s -1 Mpc -1 , &#963; 8 = 0 . 8159, and n s = 0 . 97.</p><p>The IllustrisTNG suite comprises three primary simulation sets: TNG50, TNG100, and TNG300 <ref type="bibr">(Pillepich et al. 2018 ;</ref><ref type="bibr">Nelson et al. 2019 )</ref>. Each simulation set adopts a different box size and consists of three runs with varying mass resolutions. For our work in this paper, we make use of the TNG100 run with side-length 75 . 0 h -1 Mpc to balance mass resolution and volume. The highest resolution TNG100 box, which we adopt for this study, has an initial gas cell mass of 1 . 40 &#215; 10 6 M , and DM particle mass of 7 . 5 &#215; 10 6 M .</p><p>Following the original Illustris simulation <ref type="bibr">(Vogelsberger et al. 2014 )</ref>, TNG adopts the model of <ref type="bibr">Springel &amp; Hernquist ( 2003 )</ref> to model star formation and the pressurization of the ISM. TNG tracks stellar population evolution and chemical enrichment from supernovae Type Ia, II, as well as asymptotic giant branch stars, with individual accounting for nine elements (H, He, C, N, O, Ne, Mg, Si, and Fe). Metal-enriched gas undergoes radiative cooling in a redshift-dependent, spatially uniform ionizing UV background radiation field, with corrections for self-shielding in the ISM <ref type="bibr">(Katz, Hernquist &amp; Weinberg 1992 ;</ref><ref type="bibr">Faucher-Gigu &#232;re et al. 2009</ref> ). The cooling contribution from metal lines is included from density, temperature, metallicity, and redshift, following <ref type="bibr">Wiersma et al. ( 2009 )</ref> and <ref type="bibr">Smith, Sigurdsson &amp; Abel ( 2008 )</ref>. Cooling is further influenced by the radiation field of nearby AGNs, combining the UV background with the AGN radiation field <ref type="bibr">(Vogelsberger et al. 2014</ref> ). In TNG, diffusion of metals between adjacent gas elements is implemented, modelled based on a gradient extrapolation method <ref type="bibr">(Vogelsberger et al. 2014 ;</ref><ref type="bibr">Pillepich et al. 2018</ref> ).</p><p>Stellar-driven winds are modelled by isotropically injecting thermal and kinetic energy into wind particles, which are temporarily decoupled from hydrodynamic forces. With 10 per cent of the feedback energy injected thermally, the kinetic component is parametrized by following prescriptions for mass loading and injection velocity that depend on redshift, gas phase metallicity and the velocity dispersion within a weighted kernel o v er the 64 nearest DM particles (denoted as &#963; DM ). A wind particle is recoupled to the gas cell it currently occupies when it either drops below a specific density (5 per cent of the density threshold for star formation) or reaches a maximum traveltime (2.5 per cent of the current Hubble time). The former criterion is the dominant re-coupling mode, and normally corresponds to a wind particle travelling a distance of a few kpc <ref type="bibr">(Pillepich et al. 2018</ref> ).</p><p>The black hole growth and feedback physics in TNG is described in detail in <ref type="bibr">Weinberger et al. ( 2017 )</ref>. When haloes exceed a critical mass of 5 &#215; 10 10 M , a black hole is seeded with an initial mass of 8 &#215; 10 5 h -1 M . After seeding, black holes can grow via mergers, or two accretion modes: (i) low accretion state, for which feedback is implemented in the form of kinetic winds; or (ii) the high accretion mode, for which feedback is implemented by depositing thermal energy. The accretion and feedback mode is determined by comparing the accretion rate onto the BH with a critical rate that is black hole mass-dependent. In both of these accretion modes, feedback is injected into surrounding gas cells (the 'feedback region') with no preferential direction, and there is no hydrodynamic decoupling of feedback-affected gas elements.</p><p>The calibration process for the TNG model, discussed in <ref type="bibr">Pillepich et al. ( 2018 )</ref>, uses various observations such as the stellar mass function, cosmic SFR density as a function of redshift, BH mass versus stellar mass relation at z = 0, hot gas fraction in galaxy clusters at z = 0, and the galaxy mass n . size relation at z = 0.</p><p>2. <ref type="bibr">1.3</ref> The SIMBA simulations SIMBA <ref type="bibr">(Dav &#233; et al. 2019</ref> ) is the next generation of the MUFASA cosmological galaxy formation simulations <ref type="bibr">(Dav &#233;, Thompson &amp; Hopkins 2016 )</ref>, and use the meshless finite mass (MFM) mode of the GIZMO hydrodynamics code <ref type="bibr">(Hopkins 2015</ref><ref type="bibr">(Hopkins , 2017 ) )</ref>, with gravity solver based on GADGET -3 <ref type="bibr">(Springel 2005</ref> ). The SIMBA MNRAS 532, <ref type="bibr">3417-3440 (2024)</ref> simulations adopt cosmological parameters = 0 . 70, m = 0 . 30, b = 0 . 048, H 0 = 68 km s -1 Mpc -1 , &#963; 8 = 0 . 82, and n s = 0 . 97. The flagship SIMBA simulation box has a side length of 100 h -1 Mpc , a gas element mass of 1 . 8 &#215; 10 7 M , and DM particle mass of 9 . 7 &#215; 10 7 M . Due to data storage constraints, we make use of a smaller 50 h -1 Mpc SIMBA box (with the same element resolution), which we find to provide sufficient statistical power for the current study (m50n1024 in <ref type="bibr">Dav &#233; et al. 2019</ref> ).</p><p>The simulations track the production of eleven elements (H, He, C, N, O, Ne, Mg, Si, S, Ca, and Fe) originating from Type II and Ia supernovae as well as stellar evolution, with some metals lock ed aw ay in the process of dust formation. Radiative cooling and photoionization heating are implemented using the GRACKLE -3.1 library <ref type="bibr">(Smith et al. 2017</ref> ). Star formation in SIMBA follows the Kennicutt-Schmidt Law <ref type="bibr">(Kennicutt 1998 )</ref>, scaled by the H 2 fraction calculated for each particle based on local column density and metallicity <ref type="bibr">(Krumholz &amp; Gnedin 2011 )</ref>. Star-formationdri ven outflo ws are implemented as decoupled two-phase winds, characterized by updated mass loading factors derived from particle tracking in the Feedback in Realistic Environments (FIRE) zoomin simulations (Angl &#233;s-Alc &#225;zar et <ref type="bibr">al. 2017b</ref> ). Wind velocities are deriv ed from Murato v et <ref type="bibr">al. ( 2015 )</ref>. 30 per cent of wind elements are injected 'hot', by coupling thermal energy to the surrounding gas. Wind elements are recoupled when their velocity relative to surrounding gas elements is less than 50 per cent of the local sound speed. The exact parameter choices in the SIMBA stellar feedback subgrid model are informed by observations of the z &#8776; 0 stellar mass function.</p><p>The SIMBA simulations employ two distinct modes for SMBH accretion. One mode involves cold gas supported by rotation, following a gravitational torque model based on <ref type="bibr">Hopkins &amp; Quataert ( 2011 )</ref> and Angl &#233;s-Alc &#225;zar et <ref type="bibr">al. ( 2017a )</ref>. Accretion in this mode is capped at three times the Eddington limit. The second mode applies to hot gas supported by pressure following the standard Bondi-Hoyle-Lyttleton prescription <ref type="bibr">Bondi ( 1952 )</ref>, capped at the Eddington limit. A unique feature of the Angl &#233;s-Alc &#225;zar et <ref type="bibr">al. ( 2017a )</ref> torquebased accretion model is that there is no need to calibrate the AGN feedback efficiency to reproduce the M -M BH relation, rather, only an assumption about the accretion efficiency is required.</p><p>SIMBA also incorporates feedback from AGN through radiative and jet modes. The radiative mode drives winds with velocities from 500 -1500 km s -1 , while the jet mode occurs for SMBHs with Eddington ratios below 0.2 and masses of at least 10 7 . 5 M . The wind velocity depends on black hole mass (where v wind = 1000 km s -1 for M BH = 10 9 M ), and the jet mode can add a velocity boost of up to 7000 km s -1 , meaning outflows can reach speeds of up to 8000 kms -1 . Gas ejected by the jets remains decoupled for a duration that scales with the Hubble time, allowing jets to travel up to &#8776; 10 kpc before the energy is deposited into the surrounding gas. Gas in the jets is injected at the halo virial temperature.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2">Measuring gas flows</head><p>Gas flows across a boundary can be measured in either a Lagrangian or Eulerian manner. In hydrodynamical simulations, the Lagrangian method often involves a gas element tracking scheme whereby the mass of gas elements that are found to have crossed a boundary between two outputs, t i and t f , is summed and normalized by t = t ft i (e.g. <ref type="bibr">Mitchell et al. 2020 ;</ref><ref type="bibr">Wright et al. 2020</ref> ). This method is simple to implement in codes where the gas is discretized such that a single gas element represents the same 'parcel' of gas between snapshots; for instance in the case of EAGLE (SPH) and SIMBA (MFM).</p><p>The other method for measuring gas flux at a boundary is to take an Eulerian approach, where the instantaneous flow of mass at a boundary can be calculated based on the velocity and mass of boundary elements (e.g. <ref type="bibr">Nelson et al. 2019</ref> ). This method does not require the gas elements to represent the same gas parcel across snapshots as the former method does, it requires only one simulation output as opposed to two, and is more comparable to instantaneous gas flow measurements inferred from observations. As such, we elect to use the Eulerian method for our gas flow calculations, which can be directly applied to the EAGLE SPH outputs, the SIMBA/ GIZMO MFM outputs, and the TNG/ AREPO outputs (without the need to use tracer particles in the latter case, <ref type="bibr">Genel et al. 2013 )</ref>.</p><p>In this work, we focus on calculating gas flow rates across spherical apertures surrounding central galaxies in each of the simulations. We thus make halo catalogues which are derived using a friends-offriends method combined with (i) SUBFIND in the case of EAGLE and TNG <ref type="bibr">(Springel, Yoshida &amp; White 2001 ;</ref><ref type="bibr">Dolag et al. 2009</ref> ), or (ii) ROCKSTAR in the case of SIMBA, to identify central versus satellite subhaloes in all of the simulations. The only characteristics extracted from these catalogues are halo centre of potential (which, by definition, is centred on the central galaxy), velocity, and halo mass/radius based on a spherical o v erdensity of 200 &#215; &#961; c ( M 200c and R 200c , respectively). The rest of the derived baryonic characteristics of haloes are calculated with our own analysis, and we do not expect the small differences in halo finding techniques to affect our results.</p><p>At each of the spherical apertures of interest centred at radius r = R, we identify boundary gas elements as those residing in a spherical shell of r = 0 . 2 &#215; R, or between r = 0 . 9 &#215; R and 1 . 1 &#215; R. We see very little quantitative differences between gas flow rates measured for reasonable choices of r (0 . 05 -0 . 5 &#215; R, or fixed r = 1 -10 kpc ). These boundary elements are categorized as being either outflow or inflow depending on the sign of their radial velocity, where the radial velocity of a gas element i relative to a halo centre j can be calculated as v r, ij = v i j &#8226; r i j / | r i j | . The gas flow rates at shell r = R around halo j for each of these subsets of boundary gas elements, i &#8712; k, can be calculated with equation ( 1 ) as follows:</p><p>where &#7744; k ( r = R) is the mass flow rate across the spherical boundary at r = R. For completeness, in Appendix A we demonstrate that our method reproduces previous Lagrangian-based gas flow rates in EAGLE (from <ref type="bibr">Mitchell et al. 2020</ref> ; Fig. <ref type="figure">A1</ref> ), and previous Eulerianbased gas outflow rates in TNG (from <ref type="bibr">Nelson et al. 2019</ref> ; Fig. <ref type="figure">A2</ref> ).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">T H E BA R Y O N B U D G E T B E T W E E N S I M U L AT I O N S</head><p>In this section, before presenting our analysis of gas flows between the simulations in Section 2.2 , we compare static properties of the baryons within haloes in EAGLE, TNG, and SIMBA at z = 0. Here, we compare our measurements the baryon content of haloes between simulations, and its breakdown between different components. We note that we reserve a detailed discussion of the link between these findings and previous studies for Section 5.1 . Fig. <ref type="figure">1</ref> shows the stellar mass relative to the halo mass as a function of halo mass, for central galaxies in each of the three simulations. For comparison, we show the relation derived by <ref type="bibr">Moster et al. ( 2018 )</ref>, who use an empirical model that carefully connects observed MNRAS 532, 3417-3440 (2024) galaxy properties to simulated DM haloes. In EAGLE, TNG, and SIMBA, the stellar-halo mass ratios are calculated directly from the simulations, including star particles within a 30 kpc spherical aperture of the halo centre of potential, and normalizing by the halo mass within the R 200c radius, M 200c . We convert the virial masses used as the x -values in <ref type="bibr">Moster et al. ( 2018 )</ref> from the <ref type="bibr">Bryan &amp; Norman ( 1998 )</ref> o v erdensity criterion to the M 200c definition we use here with HMFCALC <ref type="bibr">(Murray, Power &amp; Robotham 2013 )</ref>, ho we ver note that we do not adjust the <ref type="bibr">Moster et al. ( 2018 )</ref> f values at a given halo mass. We also note that the observations that constrain the <ref type="bibr">Moster et al. ( 2018 )</ref> empirical model are diverse, and subject to systematic uncertainties and projection effects which we do not attempt to mimic with our simulation-based measurements. Despite these differences in methodology, Fig. <ref type="figure">1</ref> illustrates that each simulation reproduces the reduced galaxy formation efficiency at low and high masses required to match observationally derived stellar mass functions (see also <ref type="bibr">Somerville &amp; Dav &#233; 2015 ;</ref><ref type="bibr">Dav &#233; et al. 2020</ref> ). As noted abo v e, and discussed in <ref type="bibr">Somerville &amp; Dav &#233; ( 2015 )</ref>, the relatively good agreement of the different simulations in spite of the very different implementation of subgrid physics is largely due to the fact that a high weight is placed on reproducing these observational constraints when calibrating the subgrid parameters.</p><p>In Fig. <ref type="figure">2</ref> , we compare the total baryon content of haloes at z = 0 as a function of halo mass (top left hand panel), and in the remaining columns show how this baryon content is distributed between stars, cold gas, and hot gas in each of the simulations (as a fraction of total halo mass in the top panels, and as a breakdown of the total baryon content in the bottom panels). In each simulation, we define ' cold gas' as the gas that is either considered star-forming, or below 5 &#215; 10 4 K, and 'hot gas' as the remaining gas within R 200c that does not meet this criteria. We do not illustrate the contribution from black holes in the breakdown panels as this component is typically very small. In the case of haloes with several galaxies within R 200c , we include the contribution from satellite galaxies in calculating the total baryonic mass in each reservoir. Also, unlike Fig. <ref type="figure">1</ref> , in this plot the stellar content of the halo is determined using all stellar particles within R 200c , as opposed to the central 30 kpc . This means that in Fig. <ref type="figure">2</ref> , the stellar component also includes contributions from intrahalo stars and satellite galaxies within R 200c . The 'cold gas' component is not decomposed further or post-processed to provide H I and H 2 content -for a direct comparison of galaxy neutral hydrogen abundances in each of the simulations, we refer the reader to <ref type="bibr">Dav &#233; et al. ( 2020 )</ref>. Furthermore, a phase decomposition of CGM gas as a function of halo mass is also presented for SIMBA in <ref type="bibr">Sorini et al. ( 2022 )</ref>.</p><p>One of the striking differences between the simulations in terms of halo baryon fraction is their behaviour in the range log 10 ( M 200c / M ) &#8712; [ <ref type="bibr">11 . 5 , 12 . 5</ref>]. SIMBA and TNG roughly exhibit the same functional form in this mass range -halo baryon fractions increase with halo mass up to a turno v er mass which we denote as M T 1 . Abo v e M T 1 , halo baryon fractions decrease with halo mass until a second turno v er mass, denoted by M T 2 , is reached. Abo v e M T 2 , halo baryon fractions steadily rise again to the highest halo masses presented here at log 10 ( M 200c / M ) = 14. Physically, these transitions produce three distinct 'regimes' in terms of the M 200cf b relation: (i) sub-M T 1 , where baryon fractions increase with halo mass as a result of the decreasing efficiency of stellar feedback in removing gas from a deeper potential well; (ii) the transition range M T 1 to M T 2 , where this trend reverses as AGN feedback grows in importance, and (iii) high-mass &gt; M T 2 haloes where similar to regime (i), the efficiency of AGN feedback in removing baryonic material decreases in very massive group-cluster mass haloes. We note that in the case of EAGLE, in the M T 1 -M T 2 range, there is only a slight flattening in halo baryon fractions with increasing mass, as opposed to a clear turno v er. These halo baryon fractions, as well as the behaviour of simulation runs without AGN feedback (shown in fig. <ref type="figure">8</ref> in <ref type="bibr">Pillepich et al. 2018</ref> for TNG, and fig. <ref type="figure">7</ref> in <ref type="bibr">Correa et al. 2018a</ref> for EAGLE) indicate that AGN activity is responsible for this turno v er/flattening behaviour, respectively, between M T 1 -M T 2 .</p><p>At halo masses below log 10 ( M 200c / M ) &#8776; 11 . 5, corresponding to sub-M T 1 masses, the left-hand panel of Fig. <ref type="figure">2</ref> demonstrates that all of the simulations presented have total baryon fractions that increase with halo mass. While this behaviour with halo mass is the same, the baryon fractions themselves are markedly different. In this mass regime, the fiducial L100-REF EAGLE model predicts the lowest baryon fractions of all the simulations presented. At a halo mass of log 10 ( M 200c / M ) &#8776;11, the L100-REF model predicts a median halo baryon fraction of &#8776; 15 per cent of the universal baryon fraction ( b / m &#8776; 0 . 16). While we do not display the results here, we note that in the L25-RECAL model at this mass, halo baryon fractions are slightly higher at &#8776; 30 per cent , though still lower than the corresponding baryon fraction predictions from SIMBA at &#8776; 40 per cent of the expected cosmological baryon fraction. TNG predicts the highest halo baryon fractions at this mass, at &#8776; 60 per cent of the universal value (see also <ref type="bibr">Davies et al. 2019a ;</ref><ref type="bibr">Davies et al. 2019b</ref> ).</p><p>In this sub-M T 1 mass regime, we also note significant differences in the way that this baryonic matter is partitioned between the simulations. In the fiducial EAGLE model, the low o v erall baryon fractions mean that in order to match the expected stellar content of haloes, stars make up o v er 25 per cent of the baryonic content, compared to SIMBA and TNG where the stellar component only represents 10 per cent of the baryonic matter. For halo masses below log 10 ( M 200c / M ) &#8776; 11 . 5, we note that the EAGLE L100-REF run predicts very low halo cold gas content -al w ays less than half of the predicted stellar content. This is not the case in TNG and SIMBA, where the stellar to cold gas mass ratio is near unity in this Downloaded from <ref type="url">https://academic.oup.com/mnras/article/532/3/3417/7713461</ref> by guest on 01 September 2024 mass range <ref type="bibr">. Dav &#233; et al. ( 2020 )</ref> show that the EAGLE fiducial run underpredicts the observed z = 0 H I MF from ALF ALF A (Arecibo Le gac y F ast ALFA) observations by &#8776; 0 . 5 dex <ref type="bibr">(Jones et al. 2018</ref> ); but matches the local CO luminosity function from <ref type="bibr">Saintonge et al. ( 2017 )</ref> fairly well (see also <ref type="bibr">Lagos et al. 2015 )</ref>. This suggests that the fiducial EAGLE run lacks the gas associated with the more diffuse atomic phase at z = 0, ho we ver this result is heavily dependent on how gas phases are partitioned in post-processing. While not directly shown in this figure, we remark that the L25-RECAL EAGLE model produces a better match to the local H I MF; and that for z &#8805; 1, that the EAGLE L100-REF and L25-RECAL models are consistent with regard to predicted H I and H 2 mass functions.</p><p>While SIMBA and TNG predict a similar functional form for baryon fractions across halo mass, their normalization and the location of transition masses M T 1 and M T 2 are markedly different (as also found in <ref type="bibr">Ni et al. 2023 ;</ref><ref type="bibr">Delgado et al. 2023 ;</ref><ref type="bibr">Crain &amp; van de Voort 2023 )</ref>. In TNG, the first transition mass occurs at log 10 ( M T 1 / M ) &#8776; 11 . 8; while in SIMBA, the transition occurs at much lower halo mass, log 10 ( M T 1 / M ) &#8776; 11 . 3. Furthermore, in TNG the second transition mass occurs at log 10 ( M T 2 / M ) = 12 . 6; while in SIMBA, halo baryon fractions do not increase until log 10 ( M T 2 / M ) &#8776; 12 . 8. In this transition range, halo baryon fractions in TNG are, on average, 20 per cent-50 per cent higher than those measured in SIMBA. Furthermore, at log 10 ( M 200c / M ) = 14, baryon fractions in SIMBA only reach &#8776;70 per cent of b / m , while haloes in TNG haloes approach this uni versal v alue very closely. Instead of a turno v er , EA GLE predicts a flattening in halo baryon fractions between log 10 ( M T 1 / M ) &#8776; 12 . 1 and log 10 ( M T 2 / M ) &#8776; 12 . 7. In this transition range, the drop in TNG baryon fractions meets the slowly rising EAGLE baryon fractions at the M T 2 transition point.</p><p>Abo v e M T 2 , EAGLE and TNG agree very well in terms of predicted baryon fractions as a function of halo mass.</p><p>In the high-mass regime, it is possible to compare predictions for halo gas content with observations. In <ref type="bibr">Kugel et al. ( 2023 )</ref>, a number of carefully compiled X-ray and weak lensing (WL) observations were used to calibrate a large-volume cosmological simulation, FLAMINGO. Such observational data sets are nominally cast as (hot) gas fractions within R 500c , as a function of M 500c , representing a slightly shrunken aperture relative to the rest of our measurements. In the bottom left panel of Fig. <ref type="figure">2</ref> , we present like-forlike measurements of hot halo gas content in each of the simulations within R 500c , and compare with this set of observations compiled in <ref type="bibr">Kugel et al. ( 2023 )</ref>. We refer the reader to this study for a detailed explanation of the curated data set, noting that we only make use of the WL data from <ref type="bibr">Akino et al. ( 2022 )</ref>, and that the rele v ant X-ray data sets come from the following studies: <ref type="bibr">Vikhlinin et al. ( 2006 )</ref>, <ref type="bibr">Maughan et al. ( 2008 )</ref>, <ref type="bibr">Rasmussen &amp; Ponman ( 2009 )</ref>, <ref type="bibr">Sun et al. ( 2009 )</ref>, <ref type="bibr">Pratt et al. ( 2010</ref><ref type="bibr">), Lin et al. ( 2012 )</ref>, Lagan &#225; et al. ( <ref type="formula">2013</ref>), <ref type="bibr">Sanderson et al. ( 2013 )</ref>, <ref type="bibr">Gonzalez et al. ( 2013</ref><ref type="bibr">), Lovisari, Reiprich &amp; Schellenberger ( 2015 )</ref>, <ref type="bibr">Pearson et al. ( 2017 ), and</ref><ref type="bibr">Lovisari et al. ( 2020 )</ref>. As abo v e, we define 'hot' gas as an y gas elements with a temperature T &#8805; 5 &#215; 10 4 . We note that this choice of threshold does not significantly influence gas fractions in this mass range, as the majority of gas is at or abo v e halo virial temperature (see top panels). Regardless, we stress that this selection is unlikely to exactly mimic the gas accounted for in the observ ations, ho we ver allo ws us to understand the difference between simulation predictions and their broad agreement with observations. Our measurements between M 500c = 10 13 . 5 M -M 500c = 10 14 . 5 M indicate that median halo gas fractions in TNG and EAGLE are slightly higher than the MNRAS 532, <ref type="bibr">3417-3440 (2024)</ref> compiled observations (more so in EAGLE), and slightly lower than observations in SIMBA. The range of predictions from the simulations is largest between M 500c = 10 13 M -M 500c = 10 14 M , while at higher masses ( M 500c &#8776; 10 14 . 5 M ), the gas fractions tend towards a tighter range. For reference, we note that the offset between M 200c and M 500c halo mass measurements is relatively constant at &#8776; 0 . 15 dex in this mass range. While the X-ray data sets extend to higher masses, there is a scarcity of cluster-mass haloes in the simulations to used for this study due to their box size.</p><p>In Appendix D , we show a breakdown of the baryon content of haloes at z = 2, finding that the qualitative behaviour of the simulations in relation to baryon fraction across halo mass remains similar to the results presented here at z = 0, with a universal shift to higher halo baryon fractions. The transition masses M T 1 and M T<ref type="foot">foot_2</ref> remain similar in EAGLE and TNG at z = 2 compared to z &#8776; 0 galaxies; though this is not the case for SIMBA. In SIMBA, the transition masses are higher than at z = 0, with log 10 ( M T 1 / M ) = 12 . 2 and log 10 ( M T 2 / M ) = 12 . 8 at z = 2 (see also fig. <ref type="figure">7</ref> in <ref type="bibr">Sorini et al. 2022</ref> ).</p><p>To aid in the interpretations of the gas flow measurements in the following section (Section 4 ), in Appendices B and C we provide radial density and temperature profiles of central galaxies in each of the simulations. Together with the figures contained in this section, these radial profiles provide additional information about the spatial distribution and properties of gas within haloes in each of the simulations.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">G A S F L OW S T H RO U G H T H E I S M , C G M , A N D I G M</head><p>In this section, we aim to identify the physical mechanisms behind the differences in the baryon budget predicted by the EAGLE, TNG, and SIMBA simulations as explored in Section 3 . Our method for measuring gas flow rates is detailed in Section 2.2 . We note that for the purposes of this analysis, we do not enforce any additional selection cuts to classify elements as inflow or outflow other than the sign of their radial velocity.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1">Ejecti v e feedback: gas outflow rates as a function of scale</head><p>In Fig. <ref type="figure">3</ref> , we display measurements of galaxy outflow rates at the ISM scale in a form commonly presented in previous literature: the ISM scale mass loading factor, &#951; = &#7744; out / SFR , where &#7744; out is the mean gas outflow rate, and &#7744; is the mean SFR. We begin by comparing the mass loading results between simulations at z &#8776; 2, which builds a picture for the operation of gas flows at the epoch of maximum SFR density <ref type="bibr">(Madau &amp; Dickinson 2014</ref> ). In the bottom panel of Fig. <ref type="figure">3</ref> , we also compare the median specific SFR (sSFR, &#7744; /M ) of galaxies. This assists in understanding the influence of SFR on the mass loading measurements provided in the top panel. In the bottom panel, we also include a hatched grey region which represents an indicative 'quenched' region where the sSFR drops below log 10 ( sSFR / yr -1 ) = -11 + 0 . 5 z <ref type="bibr">(Furlong et al. 2015 )</ref>.</p><p>We define the stellar mass of a galaxy in the same way as Fig. <ref type="figure">1</ref> , including all star particles within 30 kpc of the halo centre of potential. Similarly, the SFRs we use in calculating mass loading are e v aluated with g as within 30 kpc of the g alaxy centre, which is fixed regardless of the scale that we measure outflow rates. We define the 'ISM' scale by measuring gas flows across a spherical boundary at r = 0 . 25 &#215; R 200c , which we consider to be the outer scale of the ISM. We stress that we do not enforce a minimum radial velocity for outflow gas; meaning that while we do select slowmoving outflow gas elements/particles, these outflow values are fair to compare between the simulations and represent the true mass flux at each scale. 2 Furthermore, for the mass flow rate measurements at the scale of the ISM, we do not require the gas to be 'cold' to be included in the calculation. This choice is made to simplify subsequent comparisons with gas flows at larger scales, where in many cases the majority of the gas has been heated to near the virial temperature of the halo (see Appendix C ).</p><p>We follow the approach of Mitchell et al. ( 2020 , based on arguments presented in <ref type="bibr">Neistein et al. 2012</ref> ) in calculating mass loading: instead of comparing &#951; &#8801; &#7744; out / SFR for each halo individually, we calculate &#951; for each halo mass as the mean outflow rate in each halo mass bin divided by the mean SFR in the bin. <ref type="bibr">Neistein et al. ( 2012 )</ref> demonstrate that this method correctly predicts the average rate of mass exchange when inte grated o v er time, and also mitigates the impact of discreteness noise that would otherwise influence the results. We note that the percentile ranges displayed in the top panel MNRAS 532, <ref type="bibr">3417-3440 (2024)</ref> of <ref type="bibr">Fig. 3</ref> correspond to the range of mass loading values predicted based on the 16th and 84th percentiles of mass outflow rate in a given stellar mass bin, without including variance in SFRs at a given mass.</p><p>For reference, in Fig. <ref type="figure">3</ref> , we also include indicative &#951; scalings with</p><p>200c as dashed and dasheddotted lines respectively (see <ref type="bibr">Murray, Quataert &amp; Thompson 2005</ref> for deri v ation).</p><p>At the ISM scale of r = 0 . 25 R 200c in the top panel of Fig. <ref type="figure">3</ref> , it is clear that each of the simulations predicts a similar ne gativ e scaling in &#951; = &#7744; out / SFR as a function of M , until a turno v er mass where outflows begin to pick up relative to SFRs (also demonstrated in <ref type="bibr">Nelson et al. 2019 and</ref><ref type="bibr">Mitchell et al. 2020</ref> for TNG and EAGLE respectively, though using different scales and methodologies). The turno v er mass differs slightly between simulations -in EAGLE and TNG, the turno v er occurs at M &#8776; 10 10 and &#8776; 10 10 . 3 M , respecti vely; with &#951; v alues at the turno v er masses reaching a minimum of &#951; &#8776; 10 0 . 5 and &#8776; 10 0 . 7 , respectively. In SIMBA, the turnover is more gradual, with the minimum average mass loading occurring closer to M &#8776; 10 11 M . Folding in the stellar-halo mass relation in each of the simulations, in EAGLE and TNG the turno v er mass occurs at log 10 ( M 200c / M ) &#8776; 11 . 8 -12, while in SIMBA, the turno v er occurs at a slightly higher mass of log 10 ( M 200c / M ) &#8776; 12 . 4 at z &#8776; 2 (as is also the case for halo baryon content).</p><p>Below the turno v er mass, the scaling of &#951; with mass for each of the simulations falls between the expected 'momentum conserving' ( &#951; &#8733; M  . 6 at M &#8776; 10 9 M , followed by TNG predicting approximately one-third of this outflow rate at &#951; = 10 1 . 2 , and EAGLE predicting approximately half of the TNG outflow rates at &#951; = 10 0 . 9 , for the same stellar mass.</p><p>The higher mass loading factors predicted in TNG and SIMBA at this scale are likely a result of the combination of input mass loading prescriptions, velocities, and the temporarily decoupled nature of these wind gas elements. Even though the wind gas elements in both simulations are likely to have recoupled before reaching the scale where we measure outflow rates (0 . 25 &#215; R 200c ), the ability of these gas elements to escape the densest regions of the ISM without losing as much momentum means that the mass flux at this scale can remain quite high. <ref type="bibr">Nelson et al. ( 2019 )</ref> show in relation to the TNG50 simulation that while the velocity and &#951; of SF-driven feedback are prescribed at injection, the way in which these outflows propagate to larger scales is non-trivial. The mass loading factors presented at the ISM scale agree with the measurements at 10 kpc presented in <ref type="bibr">Nelson et al. ( 2019 )</ref>, and the SIMBA mass loading at this scale agrees with the input mass loading prescription from Angl &#233;s-Alc &#225;zar et <ref type="bibr">al. ( 2017b )</ref> taken from the FIRE simulations. In comparison, in EAGLE, thermal SF-driven outflows do not have prescribed velocities or mass loading. The feedback energy is deposited purely thermally, and the large temperature boosts ( T SF = 10 7 . 5 K) and associated pressure produce strong outflows.</p><p>Abo v e the mass turno v er where AGN feedback becomes the dominant ejection mechanism, there are further clear differences between mass loading in the simulations. TNG demonstrates the steepest upturn in ISM-scale mass loading with halo mass, reaching &#951; = 10 1 . 7 at log 10 ( M 200c / M ) = 13. At this same mass, EAGLE predicts a mass loading of approximately half the TNG value at 10 1 . 4 , and SIMBA predicts mass loading at one tenth of the EAGLE value at 10 0 . 6 (corresponding to the increased transition mass at which AGN feedback becomes efficient as per Fig. <ref type="figure">2</ref> ). The lower &#951; values at high mass in SIMBA are likely linked to the onset of jet-mode feedback, which injects more energy than the QSO-mode feedback with the same momentum flux, corresponding to a much lower mass loading factor relative to the BH accretion rate.</p><p>Comparing the median sSFRs in the bottom panel of Fig. <ref type="figure">3</ref> , we note that there is broad agreement between the simulations in terms of the shape of the star formation main sequence. There are, ho we ver, small quantitati ve dif ferences between the simulations -for instance, the median sSFR in SIMBA at M &#8776; 10 9 M sits 0 . 1 -0 . 2 dex below EAGLE and TNG, and sits 0 . 3 -0 . 4 dex above EAGLE and TNG for M &#8776; 10 10 . 2 -10 10 . 7 M . Together, these slight differences in star formation activity complicate comparisons between outflow behaviour in the simulations using &#951;. Furthermore, instantaneous measurements of mass loading do not account for the delay between star formation and the associated feedback. As such, for the remainder of this paper, we quote flow rates without normalizing by SFR. Additionally, citing the (slight) differences in the stellar-halo mass relation between simulations as presented in Fig. <ref type="figure">1</ref> , we choose to compare the baryon cycle between simulations as a function of halo mass rather than stellar mass for the remainder of this work. Given the very similar underlying cosmological parameters, the form of the halo mass functions in the simulations are very closely matched; meaning that using halo mass as the dependent variable allows us to fairly compare the simulations at a set depth of gravitational potential well.</p><p>In Figs 4 and 5 , we show the raw outflow rates for central galaxies in each simulation as a function of halo mass, normalized by b / m &#215; M 200c at z = 2 and 0, respectively ('outflow efficiency').</p><p>In the left-hand panels, we show these outflow rates at the ISM scale (0 . 25 &#215; R 200c ). In the remaining panels for each simulation, we show outflow rates at the ISM scale, the halo scale (defined at 1 . 00 &#215; R 200c ), and at the IGM scale (defined at 2 . 50 &#215; R 200c ).</p><p>The values of outflow efficiency indicate the inverse of the timescale that would be required for a gas mass of M 200c &#215; b / m to be remo v ed at this scale. In the left-hand panels of Figs 4 and 5 , we compare median outflow rates in each of the simulations at the ISM scale (0 . 25 &#215; R 200c ). In each of the remaining panels, for each of the simulations we compare outflow rates at three scales: and <ref type="table">2</ref> . 50 &#215; R 200c . First, focusing on the left-hand panels which compare the simulations at the ISM scale, we note that at both redshifts, below log 10 ( M 200c / M ) &#8776; 12, total outflow rates in TNG are actually higher than in SIMBA, in contrast to the mass loading factors which are higher in SIMBA. This can be explained by the slightly lower normalization of the M -sSFR relation in SIMBA compared to TNG (see Fig. <ref type="figure">3</ref> for sSFR measurements at z &#8776; 2 and Dav &#233; et <ref type="bibr">al. 2019</ref> for measurements at z &#8776; 0) -meaning that galaxies in SIMBA eject more gas per unit SFR compared to TNG galaxies, but have lower absolute total outflow rates. This highlights the fact that if a galaxy is gas poor, the amount of gas available for removal is proportionally reduced.</p><p>It is when we analyse the behaviour of outflow rates as a function of scale as per the right-hand panels in Figs <ref type="figure">4</ref> and <ref type="figure">5</ref> , that dramatic differences between gas flows in the simulations begin to emerge. We first focus on the z &#8776; 2 case, as presented in MNRAS 532, 3417-3440 (2024)  the assumed wind velocities at injection, which in SIMBA are taken from Muratov et al. ( 2015 ). Abo v e log 10 ( M 200c / M ) &#8776; 12 . 5 at z &#8776; 2, where AGN feedback begins to dominate the driving of outflows, the behaviour between the simulations is also different. In EAGLE, the outflow rate at the ISM and halo scales remain similar in this mass range, but drop dramatically at the 2 . 5 &#215; R 200c scale, with &#7744; out at 2 . 5 &#215; R 200c approximately one-tenth of the value at R 200c in haloes with mass log 10 ( M 200c / M ) &#8776; 13. This indicates that AGN-dri ven outflo ws in EAGLE tend to stall near or just outside the virial radius at z &#8776; 2, and seldom reach larger scales. TNG shows qualitatively similar beha viour, b ut a less dramatic drop off in outflow rate with increasing scale. SIMBA actually shows a monotonically increasing outflow rate with increasing scale at log 10 ( M 200c / M ) &#8776; 11 . 5 -13, and a constant outflow rate from R 200c to 2 . 5 &#215; R 200c at higher halo masses.</p><p>This indicates that the outflows driven by AGN in TNG and SIMBA are more powerful in terms of spatial reach, likely related to the fact that in both of these models, AGN feedback is implemented with a significant kinetic component rather than just thermally as in the case of EAGLE.</p><p>MNRAS 532, <ref type="bibr">3417-3440 (2024)</ref> Moving to the z &#8776; 0 universe in Fig. <ref type="figure">5</ref> , we note that the qualitative differences between simulations remain similar to the z &#8776; 2 picture at the ISM scale, ho we ver the disparities between how the outflows propagate across scales become even more pronounced. In the lefthand panel, we can see that the normalization of gas flow rates relative to halo mass are much lower than at z &#8776; 2, with longer dynamical time-scales and lower gas densities at this epoch. One exception to this is the strength of AGN-dri ven outflo ws in SIMBAwhich are much stronger at z &#8776; 0, and also become efficient at lower halo masses. This is likely a result of jet-mode feedback switching on more frequently at low redshift due to the requirement of low Eddington ratios (typical Eddington ratios decline at low redshift; see <ref type="bibr">Thomas et al. 2019 , Fig. 5</ref> ).</p><p>One very interesting feature at z &#8776; 0 in the EAGLE simulations is the apparent entrainment of outflowing gas with increasing scale. We find that at log 10 ( M 200c / M ) &#8776; 11, the mass outflow rate at 2 . 5 &#215; R 200c is o v er 10 times higher than that at 0 . 25 &#215; R 200c in EAGLE at z &#8776; 0. This means that the stellar-feedback-driven outflows in EAGLE are not only able to reach scales beyond the halo, but also entrain mass along the way. <ref type="bibr">Mitchell et al. ( 2020 )</ref> have previously investigated this effect, finding that the outflowing gas is significantly o v erpressurized relativ e to the ambient CGM at z = 0. This causes the tenuous material in the CGM to be swept up with the bulk flow.</p><p>As demonstrated in Fig. <ref type="figure">4</ref> , in the regime dominated by stellar feedback, M halo 10 12 M , we find that in EAGLE there is minimal mass entrainment in outflows at z &#8776; 2 compared to z &#8776; 0 (with the exception of haloes below 10 11 M , where outflows at 2 . 5 &#215; R 200c are enhanced relative to the ISM and halo scale by a factor of a few). This means that while the outflows do not significantly stall for halo masses of log 10 ( M 200c / M ) &#8776; 11 -11 . 5 at z &#8776; 2, we do not find any strong evidence for an increase in mass outflow rates at larger scales as is predicted at later times in <ref type="bibr">EAGLE.</ref> This result can be interpreted with the aid of the density and temperature profiles of haloes that we include in Appendices B and C . Comparing the radial density profiles of gas in log 10 ( M 200c / M ) &#8776; 11 at z &#8776; 2 and &#8776; 0 in Figs B1 and B2 , we find that in all simulations, gas densities in the CGM universally decrease from z &#8776; 2 to &#8776; 0 . In TNG and SIMBA, the difference between gas densities at z &#8776; 2 and &#8776; 0 is &#8776; 1 . 3 -1 . 5 dex at r = 0 . 50 &#215; R 200c . This is not an unexpected result -this decrease in density roughly corresponds to the cubed change in scale factor between these redshifts. In the case of EAGLE, ho we ver, the decrease in CGM gas density is much more dramatic, closer to &#8776; 2 -2 . 5 dex from z &#8776; 2 to &#8776; 0. This means that at z &#8776; 0, outflows are o v erpressurized in a relativ e sense to the CGM (as per the findings in <ref type="bibr">Mitchell et al. 2020 )</ref>. Comparing this picture to z &#8776; 2, where CGM densities between all simulations are similar, the lack of mass entrainment at z &#8776; 2 in EAGLE is likely the result of a much denser CGM at this redshift compared to z &#8776; 0, meaning that outflows are not o v erpressurized relativ e to the surrounding gas, and not able to sweep up the surrounding material with the bulk flow.</p><p>An additional factor which is helpful in interpreting different levels of gas entrainment in outflows is the temperature of the gas in the CGM, as presented in Appendix C . Inspecting the temperature profiles of haloes at z &#8776; 2 (Fig. <ref type="figure">C1</ref> ), in the log 10 ( M 200c / M ) &#8776; 11 and &#8776; 12 bins, median CGM gas temperatures in EAGLE are substantially lower than T vir (estimated from van de Voort 2017 ); particularly where r/R 200c 0 . 75 (the 'inner' CGM). This aligns with the commonly accepted picture that 'cold-mode' accretioncool, filamentary inflow from the cosmic web -is dominant at higher redshift and lower halo masses, and that these inflows can constitute a significant portion of the CGM without being shock-heated (e.g. <ref type="bibr">Kere &#353; et al. 2005 )</ref>. Comparatively, at z &#8776; 0 in EAGLE, gas temperatures in the CGM are significantly higher -within 0 . 2 -0 . 3 dex of T vir at log 10 ( M 200c / M ) &#8776; 12. The low co v ering fractions typical of gas inflows at high redshift (e.g. <ref type="bibr">Wright et al. 2021</ref> ) mean that feedback-driven outflows are less likely to encounter (and thus entrain) such gas in the CGM.</p><p>As discussed abo v e, we find that in TNG, outflow rates monotonically decrease with increasing scale below log 10 ( M 200c / M ) &#8776; 12 at both z &#8776; 0 and &#8776; 2, indicating stalling of outflows as they propagate to larger distances. Interestingly, at z &#8776; 2, Fig. <ref type="figure">C1</ref> shows that for TNG haloes in bins log 10 ( M 200c / M ) &#8776; 11 and &#8776; 12, gas in the inner CGM is significantly hotter than in EAGLE. The inner CGM likely corresponds to the scale at which much of the stellar feedback energy is thermalized. Unlike EAGLE, we find that gas densities in the CGM remain relatively high in this mass range at z &#8776; 0 in TNG, which in addition to the relatively small thermal component of stellar feedback in TNG (10 per cent of feedback energy), contributes to the outflowing material being underpressurized relative to the surrounding medium, and thus unable to reach larger scales or entrain mass.</p><p>Considering larger haloes at z &#8776; 0, an interesting feature in SIMBA is the efficient entrainment of AGN-driven gas outflows abo v e log 10 ( M 200c / M ) &#8776; 12. At log 10 ( M 200c / M ) &#8776; 12 . 5, the gas outflow rate at 2 . 5 &#215; R 200c is roughly 5-10 times the ouflow rate at r = 0 . 25 &#215; R 200c -an effect not seen in EAGLE, nor TNG. At z &#8776; 0, the ambient density of the CGM at this mass scale is quite low (as demonstrated in Fig. <ref type="figure">2</ref> and Fig. <ref type="figure">B2</ref> ). This, together with the direct heating of gas elements surrounding AGN, means that the AGN-dri ven outflo ws are o v erpressurized relativ e to the surrounding medium, and thus able entrain tenuous gas in both the CGM, and the region surrounding the halo.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2">Prev entati v e feedback: gas inflow rates as a function of scale</head><p>In this section, we build on the results of Section 4.1 to study the gas inflow rates onto haloes as a function on halo mass, scale, and redshift in the EAGLE, TNG, and SIMBA simulations. This helps us understand feedback not only from an 'ejective' perspective, but also a 'pre ventati ve' perspecti ve; where feedback actively prevents the introduction of baryons to haloes, in addition to directly removing gas via outflows. This is very important for semi-analytic and semiempirical models of galaxy formation, which typically assume that the amount of gas accretion traces the growth of the DM halo <ref type="bibr">(Moster et al. 2018 ;</ref><ref type="bibr">Behroozi et al. 2019 ;</ref><ref type="bibr">Pandya et al. 2020 ;</ref><ref type="bibr">Wright et al. 2020</ref> ).</p><p>In Figs <ref type="figure">6</ref> and <ref type="figure">7</ref> , we show the relationship between inflow rate and halo mass in each of the simulations at z &#8776; 2 and &#8776; 0. In the lefthand panel, we plot inflow rates (normalized by M 200c &#215; b / m ; ' inflo w ef ficiency') at the R 200c halo boundary as a function of M 200c for EAGLE, TNG, and SIMBA, compared with the 'expected' gas accretion rates from DM accretion rates, computed by multiplying the DM accretion rate times the cosmological baryon fraction (grey lines, <ref type="bibr">Wright et al. 2020</ref> ). The 'inflow efficiency' measurements plotted here correspond to the inverse of the time-scale that would be required for a gas mass of M 200c &#215; b / m to be accreted at this scale. In the second-fourth columns, we compare inflow rates within the same simulations between three scales: 0 . 25 &#215; R 200c (within the ISM), R 200c , and at 2 . 5 &#215; R 200c . This comparison allows us to see ho w inflo w rates change from cosmological (IGM) scales do wn to the ISM scale in each of the simulations.</p><p>First focusing on the left-hand panel for the z &#8776; 0 case in Fig. <ref type="figure">7</ref> , we remark that the respective gas accretion rates between the simulations MNRAS 532, 3417-3440 (2024)  <ref type="formula">2020</ref>) indicating the gas accretion rate expected if gas inflows perfectly traced the infall of DM in grey. In all panels, error bars correspond to the 16th-84th percentile range in inflow rates at a given mass, and hatched regions correspond to the bootstrap-generated 90 per cent confidence interval on the medians at a given mass. All simulations predict that AGN feedback has a strong pre ventati ve impact on gas accretion at the ISM scale, ho we ver there is considerable variability between the prev entativ e impact of stellar feedback. Panels 2-4: inflo w ef ficiencies at dif ferent scales in EAGLE, TNG, and SIMBA, respectively. In each of these panels, ISM-scale inflows are plotted with lighter colours, halo-scale inflows are plotted in medium colours, and IGM-scale inflows are plotted in darker colours. We also include measurements from <ref type="bibr">Wright et al. ( 2020 )</ref> indicating the gas accretion rate expected if gas inflows perfectly traced the infall of DM in grey. In all panels, error bars correspond to the 16th-84th percentile range in inflow rates at a given mass, and hatched regions correspond to the bootstrap-generated 90 per cent confidence interval on the medians at a given mass. The prevention of gas inflow at the halo scale due to stellar feedback is strongest in EAGLE, followed by SIMBA, then TNG. The prevention of gas inflow at the halo scale due to AGN feedback is strongest in SIMBA, followed by TNG, then EAGLE.</p><p>at R 200c follow a similar functional form to the halo-wide baryon fractions presented in Fig. <ref type="figure">2</ref> . In the stellar feedback-dominated regime, log 10 ( M 200c / M ) 11 . 5, the lowest specific accretion rates are seen in EAGLE, where gas inflow rates are just &#8776; 10 per cent of the expectation based on the halo growth rate, due to the farreaching influence of stellar feedback (as directly demonstrated in Section 4.1 ). Accretion rates onto haloes of the same mass are much higher in TNG, with gas accretion rates &#8776; 50 per cent of the expectation based on the DM halo growth rate. Halo-scale gas accretion in TNG remains fairly high due to the reduced efficiency of outflows beyond R 200c in this mass range, as was demonstrated in Figs 4 and 5 . The predictions from SIMBA regarding gas inflow rates in the stellar-feedback dominated regime fall between those of EAGLE and TNG -where stellar feedback has a stronger pre ventati ve ef fect than in TNGat the halo scale, but not as dramatic as in the case of EAGLE.</p><p>In the AGN-dominated regime, log 10 ( M 200c / M ) 12 . 5, the simulations predict very dif ferent le vels of pre ventati ve feedback. This is most dramatic in SIMBA at log 10 ( M 200c / M ) &#8776; 12 -12 . 5, where the amount of gas inflow to haloes is less than 10 per cent of the expectation based on the total halo growth rate times the cosmological baryon fraction. The halo-scale gas inflow efficiency in EAGLE continues to rise with halo mass, indicating that AGN feedback plays little role in preventing gas inflow at this scale (see <ref type="bibr">Wright et al. 2020</ref> , who report a decrease in halo gas accretion of only &#8776; 20 per cent compared to the EAGLE run with no AGN feedback).</p><p>In TNG, we note a small drop in inflow efficiency due to AGN, where at log 10 ( M 200c / M ) &#8776; 12 . 5, the inflow efficiency drops to &#8776; 25 per cent of that expected from the total halo growth rate -less dramatic than seen in SIMBA, but about twice as much suppression as predicted by EAGLE. In all simulations, approaching halo masses of log 10 ( M 200c / M ) &#8776; 13 . 5, the ability of AGN to suppress halo-scale gas accretion decreases; related to the reduced influence of outflows at larger scales which are unable to o v ercome the deeper potential well (see the decreases in outflow rates at 2 . 5 &#215; R 200c at this mass scale in Figs <ref type="figure">4</ref> and <ref type="figure">5</ref> , with the exception of SIMBA at z &#8776; 0).</p><p>In the three right-hand panels of each figure, we explore how inflow rates in EAGLE, TNG, and SIMBA vary across scales. In EAGLE, at z &#8776; 0, we clearly see that the rate of gas inflow decreases with radius across all halo masses. Below log 10 ( M 200c / M ) &#8776; 11 . 5, the biggest drop in inflow efficiency occurs between r = 2 . 5 &#215; R 200c and 1 &#215; R 200c , indicating that this is where a large portion of the cosmological inflow begins to encounter the outflowing and/or recycling material, in agreement with our findings discussed in Section 4.1 regarding the scale at which outflows stall in EAGLE. At log 10 ( M 200c / M ) 12, we note that while cosmological inflow is not greatly decreased at the halo-scale in EAGLE, the rate of accretion is significantly suppressed at r = 0 . 25 R 200c (as also reported in <ref type="bibr">Correa et al. 2018a , b )</ref>. This agrees with our mass loading results, which suggest that the strength of AGN-dri ven outflo ws at the scale of the ISM are similar between EAGLE and TNG, but that they stall at smaller radius in EAGLE.</p><p>Inspecting inflow rates across different scales in TNG, we find that for haloes with log 10 ( M 200c / M ) 11 . 5, inflow rates at the ISM scale (0 . 25 &#215; R 200c ) are similar to inflow rates at the halo boundary at z &#8776; 2; but at z &#8776; 0, they are actually twice as high at the scale of the ISM as those recorded at the scale of the halo. With the relatively dense CGM in TNG in this mass range (see Fig. <ref type="figure">B2</ref> , partly contributed to by the build-up of ejected, metal enriched gas in this region which does not leave the halo), we argue that the ISM-scale inflow rates are higher than halo-scale inflow rates due to a combination of efficient recycling of cold gas, and efficient metal cooling of warm CGM gas at this scale. Abo v e log 10 ( M 200c / M ) &#8776; 12 . 5, we find the opposite effect -ISM-scale inflow rates are suppressed relative to halo-scale inflow rates (as is true for all simulations in this mass regime).</p><p>Lastly, focusing on inflow rates in SIMBA, we find that below log 10 ( M 200c / M ) 11 . 5, accretion rates are suppressed equally at r = 0 . 25 R 200c , R 200c , and 2 . 5 R 200c . Based on Figs <ref type="figure">4</ref> and <ref type="figure">5</ref> , this aligns with a scenario where the spatial range of stellar feedback sits between that of EAGLE (far-reaching, beyond the halo) and TNG (within the inner CGM). For log 10 ( M 200c / M ) 12, SIMBA predicts a steadily increasing inflow prevention effect moving inwards from r = 2 . 5 &#215; R 200c to 0 . 25 &#215; R 200c . Ev en though the prev entativ e effect is greatest at 0 . 25 &#215; R 200c (with gas inflow rates at just 1 per cent-5 per cent of those expected based on the halo growth rate at 10 12 . 5 M ), SIMBA predicts that even gas at 2 . 5 &#215; R 200c experiences significant pre ventati ve feedback due to AGN. While we do not present the results here, we note that in the SIMBA run with no jetmode feedback, the pre ventati ve ef fect is greatly reduced -indicating that it is the low-accretion rate, high kinetic energy jet-mode AGN feedback in SIMBA that is responsible for the strong suppression of gas inflow.</p><p>To summarize -in EAGLE, TNG, and SIMBA, the level of inflow prevention at a given scale can be clearly linked with the presence, or lack thereof, of feedback-driven outflows at the same scale. For log 10 ( M 200c / M ) 11 . 5, EAGLE and SIMBA predict that stellar feedback produces a strong pre ventati ve ef fect on halo-scale inflo w rates, while in TNG, halo-scale gas inflow is suppressed by a smaller amount. For halo masses log 10 ( M 200c / M ) 12, SIMBA predicts very strong AGN-driven suppression in halo-scale gas inflow rates, relative to a more mild prev entativ e effect in TNG, and very minimal pre ventati ve feedback at the halo scale in EAGLE.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5">D I S C U S S I O N</head><p>The EAGLE, TNG, and SIMBA simulations have all been largely successful in producing a reasonable match to the observed galaxy stellar mass function at z &#8776; 0, albeit with careful tuning required to calibrate their respective subgrid feedback models that cannot be implemented ab initio . We have demonstrated that different implementations of feedback processes -and thus, the manner in which the baryon cycle operates o v er cosmic time -can be degenerate in producing galaxies at z &#8776; 0 with very similar stellar masses and SFRs. In Section 5.1 , we use our measurements of gas flows rates across the simulations in Section 4 to make the causal link between the baryon cycle and static halo properties. In Section 5.2 , we compare our results to previous literature investigating the baryon cycle in simulated galaxies. In Section 5.4 , we outline a number of promising observational avenues by which the degeneracy between different feedback models could be broken. Lastly, in Section 5.5 , we discuss how the finite resolution of the simulations used in this study may influence our results.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.1">The influence of gas flows on halo baryon content</head><p>In Fig. <ref type="figure">8</ref> , we summarize the main findings of this study in visual form -indicating the scale reached by feedback-dri ven outflo ws in each of the simulations and the consequent gas content of the CGM in each of the simulations. We split this diagram into the low-mass ( M 200c 10 12 M ) and high-mass ( M 200c 10 12 M ) regimes, where stellar and AGN feedback respectively dominate. Our findings in Section 4 aid in the interpretation of our findings in Section 3 -in particular Fig. <ref type="figure">2</ref> -where we compare the total baryon content of haloes in each simulation, and its breakdown into stellar and gaseous components. First, we discuss the low-mass regime, log 10 ( M 200c / M ) 12, where stellar feedback dominates the behaviour of the baryon cycle. In EAGLE, the efficient removal of gas to large scales -where outflows reach several times the virial radius at both z &#8776; 2 and &#8776; 0 -can be clearly linked with the reduced halo gas content below log 10 ( M 200c / M ) &#8776; 11 . 5 in Fig. <ref type="figure">2</ref> . This is maintained by the reduced halo gas inflow rates as a consequence of direct prevention of cosmological gas accretion, as shown in Section 4.2 .</p><p>In contrast, in TNG, stellar feedback-dri ven outflo ws typically stall before reaching R 200c . This deposits a significant amount of enriched gas in the CGM that can subsequently be efficiently recycled into the ISM, resulting in increased ISM-scale inflow rates relative to even halo-scale inflow in TNG at z &#8776; 0. This efficient intrahalo recycling scenario means that in low-mass haloes, the baryon content of the CGM in TNG is much higher than that recorded in EAGLE at z &#8776; 0. SIMBA predicts a picture in between that of EAGLE and TNG, where some gas is fully remo v ed from the halo via stellar feedback (particularly below log 10 ( M 200c / M ) &#8776; 11), and some portion of these outflows stall within the CGM. This leads to halo-wide baryon fractions and CGM gas content between that of EAGLE and TNG at z &#8776; 0.</p><p>Next, we discuss the high-mass regime -log 10 ( M 200c / M ) 12 -where AGN feedback becomes dominant in these simulations, and plays a driving role in the baryon cycle. In EAGLE, we find that the purely thermal implementation of AGN feedback can remo v e gas from the ISM, but is seldom powerful enough to remo v e gas to large scales and significantly influence cosmological inflow. This is likely a consequence of rapid thermal dissipation as the gas travels through the CGM, meaning that the outflows stall before travelling far beyond the halo. Even so, this thermal energy (in combination MNRAS 532, 3417-3440 ( <ref type="formula">2024</ref>) with the transition to a hot, virialized halo atmosphere -e.g. <ref type="bibr">Correa et al. 2018a , b )</ref> is sufficient to prevent cosmological inflow from entering the ISM (see Figs <ref type="figure">6</ref> and <ref type="figure">7</ref> ), and ultimately curtail SFRs in high-mass galaxies. Since little gas is expelled from the halo and the pre ventati ve impact of AGN works within the CGM, this leads to the result shown in Fig. <ref type="figure">2</ref> where galaxy baryon fractions monotonically increase with halo mass.</p><p>In Section 4 , we show in Figs 4 and 5 that AGN-driven outflows in TNG and SIMBA reach much larger scales before stalling, presumably because of the kinetic implementation of feedback in the 'jet mode' in both models. At z &#8776; 0, we show that for haloes with log 10 ( M 200c / M ) &#8776; 12 . 5, gas outflow rates at 2 . 5 &#215; R 200c are just as high as they are at R 200c in TNG, and even higher in the case of SIMBA. Unlike in EAGLE (where the pre ventati ve ef fect of AGN is confined to within the CGM), these outflows also act to prevent cosmological gas accretion at the halo scale. Together, particularly in the case of SIMBA, this causes the downturn in halo baryon fractions at intermediate halo mass which we demonstrate in Fig. <ref type="figure">2</ref> .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.2">Comparison to previous literature</head><p>In this section, we outline how our results compare with previous theoretical studies relating to the baryon cycle of galaxies. In particular, we focus on comparing how outflow and inflow rates change with scale relative to the simulations we study here.</p><p>As outlined in Section 2.2 and Appendix A , we have demonstrated that our methodology for measuring gas flow rates produces results that are consistent with previous studies utilizing the EAGLE simulations <ref type="bibr">(Mitchell et al. 2020</ref> ) and the TNG suite <ref type="bibr">(Nelson et al. 2019</ref> ). <ref type="bibr">Fig. 14 in Mitchell et al. ( 2020 )</ref> shows the difference between z &#8776; 2 outflow mass loading reported by <ref type="bibr">Nelson et al. ( 2019 )</ref> in the TNG50 simulations, compared with those measured in EAGLE. For galaxies with stellar mass below &#8776; 10 10 M , where stellar feedback is ef ficient, gas outflo w rates in TNG50 tend to decrease from smaller (20 kpc ) to larger (50 kpc ) radii. Comparatively, in EAGLE the mass loading is identical at both of these scales. Our work, which uniquely applies a lik e-for-lik e methodology to measure gas flow rates between the simulations, provides a comprehensive explanation for this result -showing that SF-driven outflows produce a larger-scale impact on the baryon cycle in EAGLE compared to TNG.</p><p>We can also compare our results with those from zoom-in simulations, where impro v ements in resolution enable more detailed subgrid modelling for gas cooling, star formation and feedback within the ISM. <ref type="foot">3</ref>   <ref type="figure">3</ref> . This is, perhaps, unsurprising, given that SIMBA uses the FIRE power-law fits as the prescriptive mass loading factor and wind velocity. The mass loading values at fixed stellar mass in TNG and EAGLE are, thus, lower than the predictions from FIRE (for the mass range considered here, M 10 9 M ). Focusing on an individual system (m12i), <ref type="bibr">Muratov et al. ( 2015 )</ref> show that in a halo with M 200c &#8776; 10 12 M at z &#8776; 2, mass loading values at the ISM scale (0 . 25 &#215; R 200c ) are stochastic (like the outflows themselves), ho we ver typically take a value of &#951; &#8776; 10 1 in episodes of star formation. In this same system, <ref type="bibr">Muratov et al. ( 2015 )</ref> show that outflow rates at R 200c reach only &#8776; 10 per cent -20 per cent of the outflow rate at the ISM in episodes of star formation. This aligns with the predictions we outline from TNG and SIMBA, where MNRAS 532, 3417-3440 (2024) SF-dri ven outflo ws typically recycle within the CGM at this mass scale. Comparatively, in EAGLE, mass flow rates at both radii are very similar at z &#8776; 2 (on average). <ref type="bibr">Pandya et al. ( 2021 )</ref> investigate the mass, momentum, and energy loading in the subsequent FIRE-2 simulations <ref type="bibr">(Hopkins et al. 2018</ref> ). When using the same radial shell to define the ISM and no minimum outgoing velocity requirement (as per the method in <ref type="bibr">Muratov et al. 2015 )</ref>, they find a very similar mass loading scaling with stellar mass. At z &#8776; 0 in a halo of mass M 200c &#8776; 10 12 M (m12f), they show that halo-scale gas outflow rates rarely exceed those from the ISM escape -again, in alignment with the picture painted by TNG and SIMBA at this mass. Interestingly, for dwarf haloes with M 200c &#8776; 10 10 M , <ref type="bibr">Pandya et al. ( 2021 )</ref> find that mass outflow rates at the halo scale nominally exceed that measured at the ISM scale, and at M 200c &#8776; 10 11 M , that outflow rates at the two scales can be roughly equal (if the time delay as the outflow traverses the ISM is taken into account). The former case is similar to the picture painted by EAGLE at M 200c &#8776; 10 11 M , where mass is entrained in outflows through the CGM. This indicates that in FIRE-2, the scale reached by outflows is strongly influenced by halo mass. <ref type="bibr">Christensen et al. ( 2016 )</ref> use a particle-tracking technique to study gas flows in and around galaxies in a suite of GASOLINE -based simulations <ref type="bibr">(Wadsley, Stadel &amp; Quinn 2004</ref> ). These simulations use a 'blast-wave' technique (where cooling is temporarily disabled) to distribute energy from stellar feedback, as per <ref type="bibr">Stinson et al. ( 2006 )</ref>. As demonstrated in <ref type="bibr">Mitchell et al. ( 2020 )</ref>, <ref type="bibr">Christensen et al. ( 2016 )</ref> find lower ISM-scale mass loading factors than those measured in EAGLE, and a steeper decline in &#951; with mass. Since the ISM-scale mass loading values are lowest in EAGLE of the three simulations we discuss here (see Fig. <ref type="figure">3</ref> ), this indicates that the mass loading values in <ref type="bibr">Christensen et al. ( 2016 )</ref> are also lower than measured in SIMBA and TNG. While direct measurements of halo-scale outflow rates are not presented, they find that a substantial fraction of the gas that leaves the ISM will also leave the halo virial radius. <ref type="bibr">Tollet et al. ( 2019 )</ref> present an analysis of gas flows in the NIHAO simulations using a Lagrangian particle tracking method <ref type="bibr">(Wang et al. 2015 )</ref>. NIHAO also uses the blast-wave technique to distribute energy from stellar feedback, as per <ref type="bibr">Stinson et al. ( 2006 )</ref>. As a function of stellar mass, mass loading values in NIHAO are similar to TNG and SIMBA at M &#8776; 10 9 M ( &#951; &#8776; 10 1 . 5 ), ho we ver decrease sharply with stellar mass to &#951; &#8776; 10 -0 . 5 at M &#8776; 10 10 . 5 M . At the same stellar mass, predictions from EAGLE, TNG, and SIMBA are one full decade higher at &#951; &#8776; 10 0 . 5 . For haloes with M 200c 10 12 M , they show that the majority of gas does not exit R 200c after being ejected from the ISM.</p><p>The total baryon fraction of haloes within R 200c we measure align with the findings presented in <ref type="bibr">Ayromlou, Nelson &amp; Pillepich ( 2023 )</ref>, who also analyse the EAGLE, TNG, and SIMBA simulations to sho w ho w feedback redistributes the baryons in and around haloes. This is measured in terms of the 'closure radius' of haloes -the minimum radius at which the enclosed baryon content reaches the uni versal v alue. They find that for low-mass haloes where stellar feedback dominates ( M 200c 10 11 . 5 M ), the closure radius is the largest for EAGLE galaxies, followed by SIMBA galaxies, and then TNG galaxies. In the case of higher mass haloes where AGN feedback dominates ( M 200c 10 12 M ), the closure radius is the largest for SIMBA galaxies, followed by TNG galaxies, and then EAGLE galaxies.</p><p>Our findings also provide insight into the measurements presented in <ref type="bibr">Dav &#233; et al. ( 2020 )</ref>, who investigate the global cold gas (H I and H 2 ; decomposed in post-processing) content of galaxies in the same simulations and compare with available observations. At z &#8776; 0, <ref type="bibr">Dav &#233; et al. ( 2020 )</ref> show that the fiducial resolution EAGLE run underpredicts the H I content of galaxies compared to local ALF ALF A observations of the H I -MF <ref type="bibr">(Jones et al. 2018</ref> ), as well as the H I fraction of galaxies as a function of M . Given that the H I identified by this decomposition algorithm tends to trace the gas that is slightly more diffuse and extended than H 2 gas, the low H I content of EAGLE galaxies could be explained by the stellar feedback scenario we outline abo v e, which e v acuates much of the CGM -and, likely, some of the gas identified as H I which resides the edge of the ISM. We do note, ho we ver, that predictions from the recalibrated, higher resolution EAGLE run and H I observations and are in closer agreement (see also Figs B1 and B2 ).</p><p>Our results highlight the fact that differences in baryon cycling can indeed leave signatures even at the scale of the ISM, particularly when considering multiphase gas. With the resolution and physics impro v ements in the next generation of cosmological simulations, it will become possible to better resolve the phase structure of the ISM in a self-consistent manner -and thus, to produce statistical predictions for the spatially resolved properties of the ISM, as well as the influence of gas flows on these distributions. Such advancements will also provide the statistical context necessary to generalize the results of high-resolution zoom simulations (some of which we summarize abo v e), which pro vide more detailed insight into the link between the ISM and CGM.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.3">Implications for semi-analytic models</head><p>Semi-analytic models (SAMs) have been used extensively as a complement to numerical hydrodynamic simulations to make predictions for how galaxies form and evolve and to interpret observations (for a re vie w, see <ref type="bibr">Somerville &amp; Dav &#233; 2015 )</ref>. Instead of explicitly solving the equations of gravity, hydrodynamics, etc. numerically, SAMs instead track bulk flows of mass and metals into and out of reservoirs that typically include gas (and gas phase metals) in the IGM, CGM, and ISM, as well as stars within galaxies. The models are set within cosmological 'merger trees' which represent the formation of structure and growth of haloes via mergers and cosmological accretion with the CDM paradigm. Phenomenological, parametrized scaling relations describe processes such as the rates of cooling of hot halo gas and its flow into the ISM, conversion of cold ISM gas into stars, ejection of gas by stellar feedback, and accretion onto and feedback from SMBHs. These free parameters are typically tuned to match a set of galaxy observables or quasi-observables, which have traditionally focused on stellar and ISM properties such as stellar mass functions (or stellar mass versus halo mass relations), cold ISM gas fraction, stellar mass versus stellar phase metallicity, SFR distrib utions, etc. Different SAM groups ha v e adopted v ery different mass loading factors for stellar driven winds (see e.g. the comparison presented in Fig. <ref type="figure">9</ref> of <ref type="bibr">Mitchell et al. 2020 )</ref>, in spite of predicting very similar stellar mass functions and stellar-to-halo mass ratios. The results presented here provide important insights for future SAMs.</p><p>Some SAMs do not have a direct channel for stellar feedback to eject CGM material from the halo (e.g. Santa Cruz, GALFORM SAMs; <ref type="bibr">Somerville et al. 2008 ;</ref><ref type="bibr">Bower, Benson &amp; Crain 2012 ;</ref><ref type="bibr">Lacey et al. 2016</ref> ). Gas and metals can be ejected from the ISM and are either deposited in the CGM or into an 'ejected' reservoir. Some SAMs compute the total energy budget produced by stellar populations and parametrize the fraction that drives an ISM-scale outflow, and assume that any remaining energy can be used to eject gas from the CGM (e.g. L-galaxies, SHARK, and related models; <ref type="bibr">Henriques et al. 2015 ;</ref><ref type="bibr">Lagos et al. 2018</ref> ). AGN feedback in some models can also help eject MNRAS 532, <ref type="bibr">3417-3440 (2024)</ref> material out of the ISM to the CGM, and potentially from the CGM to the IGM (e.g. <ref type="bibr">Lagos et al. 2024</ref> ).</p><p>Our study shows that in some hydrodynamical simulations (e.g. EAGLE), the ejected mass on CGM scales ( R 200c ) can be higher than that on ISM scales (0.25 R 200c ), indicating that mass is entrained in the winds. This suggests that SAMs could include this additional channel for removal of material from the CGM by stellar-driven winds, and also provides some guidance for priors on the coupling factors that are currently treated as free parameters.</p><p>In most SAMs, gas and metals in the ejected reservoir can 'reaccrete' into the CGM on a specified time-scale. This time-scale, and how it scales with halo mass and time, are uncertain and different choices are adopted in different SAMs. Though not studied explicitly here, our results demonstrate that different hydrodynamic simulations are likely to predict very different time-scales for this 'reaccreted' gas, since they show very different rates of gas accretion at halo scales ( R 200c ).</p><p>SAMs, as well as empirical models <ref type="bibr">(Behroozi et al. 2019 ;</ref><ref type="bibr">Moster et al. 2018</ref> ) typically assume that the mass inflow rate into the CGM is equal to f b &#7744; tot , where &#7744; tot is the total rate of mass accretion into the halo. <ref type="foot">4</ref> As discussed e xtensiv ely in Section 5.1 , 'prev entativ e' feedback (where inflows are considerably smaller than f b &#7744; tot ) can be quite important in simulations, but its strength at different scales varies depending on the subgrid physics. Only a few SAMs have included pre ventati ve feedback on halo scales due to stellar feedback processes <ref type="bibr">(Lu, Mo &amp; Wechsler 2015 ;</ref><ref type="bibr">Hirschmann et al. 2014 ;</ref><ref type="bibr">Pandya et al. 2023</ref> ).</p><p>Most SAMs model AGN feedback by allowing thermal energy from a notional radio jet to offset some of the CGM cooling, reducing the rate of cooling from the CGM to the ISM. The AGN is not allowed to eject gas from the CGM to the IGM, or to change the density profile or temperature of the CGM. The Santa Cruz and SHARK SAMs <ref type="bibr">(Somerville et al. 2008 ;</ref><ref type="bibr">Lagos et al. 2024</ref> ) include mass ejection from the ISM due to radiatively efficient AGN winds. This material is assumed to leave the halo and not to return, due to the high assumed launch velocities in the case of the Santa Cruz SAM, while in SHARK the material may be trapped in the CGM or escape to the IGM depending on the wind energy. In both models, ho we ver, this was found to have little impact on the results. It is clear from the results presented here and elsewhere (e.g. <ref type="bibr">Ayromlou et al. 2023</ref> ) that in order to more faithfully depict the baryon cycle in numerical hydrodynamic simulations, SAMs must include recipes for how AGN winds and jets remo v e gas and metals from the CGM (e.g. <ref type="bibr">Lagos et al. 2024</ref> ), as well as for the associated pre ventati ve feedback.</p><p>A promising approach for modelling ejection from the CGM and pre ventati ve feedback associated with either stars or an AGN has been proposed by <ref type="bibr">Carr et al. ( 2023 )</ref> and <ref type="bibr">Pandya et al. ( 2023 )</ref>: in addition to tracking inflows and outflows of mass and metals, these SAMs also include tracking of energy sources (e.g. from stellar and AGN feedback) and sinks (e.g. from cooling and turbulent dissipation). Excess energy deposited into the CGM can 'lift' it out of the halo. An extension of these ideas is presented by <ref type="bibr">Voit et al. ( 2024a</ref><ref type="bibr">Voit et al. ( , 2024b ) )</ref> in which the CGM is in generalized energy balance within the gravitational potential of the halo, and can expand or contract in response to energy deposition or loss.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.4">Identifying obser v ational feedback tests</head><p>As discussed in Introduction, direct observation and quantification of the gas flows surrounding galaxies is very challenging -particularly when seeking to compare the baryon cycle at a statistical level. This means that currently, it is very difficult to place constraints on which feedback scenarios are fa v oured by observations. Here, we briefly outline some avenues against which these models could be tested with current and/or future observations.</p><p>Comparing the average gas density profiles between simulations at z &#8776; 2 and &#8776; 0 in Figs B1 and B2 , it is clear that the differences in total halo gas content arising from disparate baryon cycling paradigms are clearest at z &#8776; 0, after the variability between models has had adequate time to consolidate in terms of static halo properties. Presently, a combination of X-ray observations and WL studies have been able to place constraints on the gas fraction of high-mass galaxy groups and clusters ( M 500c 10 13 M , e.g. <ref type="bibr">Hoekstra et al. 2015 ;</ref><ref type="bibr">Pearson et al. 2017 ;</ref><ref type="bibr">Mulroy et al. 2019 ;</ref><ref type="bibr">Lovisari et al. 2020 ;</ref><ref type="bibr">Akino et al. 2022</ref> ); which can be used to calibrate the strength of AGN feedback in the next generation of cosmological hydrodynamical models (e.g <ref type="bibr">Schaye et al. 2023 ;</ref><ref type="bibr">Kugel et al. 2023</ref> ). As demonstrated in Fig. <ref type="figure">2</ref> , such observations indicate that the baryon fractions of haloes of mass M 500c &#8776; 10 14 M within R 500c are slightly too high in EAGLE and TNG (very close to the universal value), and slightly too low in SIMBA.</p><p>As demonstrated in Fig. <ref type="figure">2</ref> , the most significant AGN-driven difference in halo baryon content is induced below the mass scale of clusters, between M 200c &#8776; 10 12 -10 13 M . Measurements of the baryon content of haloes in this mass range would provide significant constraining power on the strength of AGN feedback, as well as the mass scale at which SMBH accretion and feedback becomes efficient. Preliminary studies using the eROSITA telescope <ref type="bibr">(Predehl et al. 2021</ref> ) and stacked soft X-ray observations indicate that for galaxies with stellar mass M &#8776; 10 11 M , forward-modelled X-ray luminosity profiles (up to &#8776; R 200c ) from EAGLE and TNG are consistent with observational constraints <ref type="bibr">(Oppenheimer et al. 2020 ;</ref><ref type="bibr">Chadayammuri et al. 2022</ref> ). Further constraints on the baryon fraction of haloes in this mass range will become possible with observations utilizing the Sun yaev-Zeldo vich (SZ) effect -for instance, <ref type="bibr">Bregman et al. ( 2022 )</ref> demonstrate the feasibility of placing such constraints in a small sample of local &#8776; L * haloes. <ref type="bibr">Yang et al. ( 2022 )</ref> demonstrate that the disparate baryon content of haloes between TNG and SIMBA abo v e log 10 ( M 200c / M ) &#8776; 12 . 5 produces an observationally detectable difference in forward-modelled SZ measurements, provided that an instrument with adequate angular resolution is utilized (such as the upcoming Simons Observatory, <ref type="bibr">Ade et al. 2019 )</ref>. In this mass range, studies investigating the H I content of groups using stacking techniques may also pro v e useful to constraining baryon content (e.g. <ref type="bibr">Dev et al. 2023 )</ref>, particularly with radio surv e ys such as DINGO (Deep Investigation of Neutral Gas Origins) with the ASKAP (Australian Square Kilometre Array Pathfinder) telescope <ref type="bibr">(Hotan et al. 2021</ref> ) and MIGHTEE-HI (MeerKAT International GigaHertz Tiered Extragalactic Exploration) <ref type="bibr">(Maddox et al. 2021 )</ref>.</p><p>Below mass scales of M 200c &#8776; 10 12 M , it is very difficult to observationally constrain the baryon content of galaxies and their CGM. In this mass range, the CGM is expected to be multiphase and anisotropic (e. <ref type="bibr">g. McCourt et al. 2018 ;</ref><ref type="bibr">Fielding et al. 2020</ref> ), constituted of a combination of cool filamentary inflow structures together with enriched recycling gas. Observations have shown that sightline measurements of CGM metallicity can vary by up to 2 dex within the same halo (e.g. <ref type="bibr">Lehner et al. 2013 ;</ref><ref type="bibr">Prochaska et al. 2017 ;</ref><ref type="bibr">Zahedy et al. 2019</ref> ). The resolution of the cosmological MNRAS 532, 3417-3440 ( <ref type="formula">2024</ref>) hydrodynamical simulations we study here is inadequate to resolve detailed phase structure, and more detailed subgrid models are also likely required to accurately model the CGM (e.g. <ref type="bibr">Crain &amp; van de Voort 2023 )</ref>. We can, ho we ver, make general comments regarding the expected impact of different feedback regimes on the properties of the CGM.</p><p>In the case of EAGLE, where the CGM is predicted to be nearly entirely devoid of gas at low halo masses, <ref type="bibr">Wright et al. ( 2021 )</ref> show that the integrated metallicity of the CGM is extremely sensitive to the rate of pristine halo-scale gas accretion. This is a result of newly introduced gas being able to efficiently dilute the metallicity of the already small gaseous reservoir, which is only possible due to the pre vious e v acuation of the CGM via far-reaching, strong stellar feedback. Thus, in a model like EAGLE, we might expect to find significant amounts of very metal poor to pristine gas in the CGM, which would not be the case in a model like TNG where the metalenriched gas from SF-driven outflows is directly deposited into the CGM. Despite this, we refrain from comparing the models in terms of the distribution of metals in the CGM in this work, as it is nontrivial to disentangle differences in the modelling of metal diffusion (included in TNG, but not in EAGLE or SIMBA) from changes induced by differences in gas flows.</p><p>In any case, it is clear that the scale and strength of stellar feedback will leave signatures in the distribution of metals in the <ref type="bibr">CGM. P &#233;roux et al. ( 2020 )</ref> demonstrate that TNG and EAGLE predict similar net gas flows rates as a function of galactocentric azimuthal angle for galaxies with M &#8776; 10 9 . 5 and &#8776; 10 10 . 5 M . Investigating the scale of metal-enrichment at different impact parameters, particularly studying how angular and radial variations would manifest in discrete sightline observations, could constitute a promising test of model accuracy. This is potentially possible with carefully constructed comparisons with current surv e ys that probe different phases of the CGM, such as COS-Halos (Cosmic Origins Spectrograph -Halos; <ref type="bibr">Tumlinson et al. 2013 ;</ref><ref type="bibr">Werk et al. 2014 ;</ref><ref type="bibr">Prochaska et al. 2017</ref> ) and MEGAFLOW <ref type="bibr">(MusE GAs FLOw and Wind;</ref><ref type="bibr">Schroetter et al. 2016 ;</ref><ref type="bibr">Zabl et al. 2019</ref> ).</p><p>Alone this line, <ref type="bibr">DeFelippis et al. ( 2021 )</ref> compare results from the MEGAFLOW surv e y with predictions from the TNG50 simulation (several fold higher resolution than the TNG100 simulation we investigate here, but the same feedback physics); indicating that TNG50 can reasonably reproduce observations of the kinematic diversity of strong Mg II absorbers (tracing the cool CGM) in the halo mass range 10 11 . 5 -10 12 M . <ref type="bibr">Appleby et al. ( 2021 )</ref> compare results from SIMBA and the COS-Halos and COS-Dwarfs surv e y, finding general agreement with observations regarding the predicted abundance of H I and metal absorbers in the CGM of star-forming SIMBA galaxies, but find slight tension in the quenched population. <ref type="bibr">Appleby et al. ( 2023 )</ref> also demonstrate the feasibility of using machine learning to infer CGM conditions from absorption line properties, finding that their model trained on SIMBA can accurately predict absorber o v erdensity, temperature, and metallicities.</p><p>The Habitable Worlds Observatory, a large-space-based UVoptical-IR mission concept endorsed by the US Astro2020 Decadal report, will provide greatly enhanced spectroscopic sensitivity in the UV relative to the Hubble Space Telescope Cosmic Origins Spectrograph, enabling significantly larger samples of z 1 galaxies with absorption line studies of their CGM (NAS 2021 ). Furthermore, new ways of probing the CGM continue to be proposed and tested -for instance using fast radio bursts <ref type="bibr">(Macquart et al. 2020 )</ref>, and the characterization of of Ly &#945; haloes in both emission (e.g. <ref type="bibr">Lokhorst et al. 2019 ;</ref><ref type="bibr">Augustin et al. 2019</ref> ) and absorption (i.e. Ly &#945; forest, see <ref type="bibr">Tillman et al. 2023a , b )</ref>.</p><p>Observations of gas flow rates -as opposed to static measurements of halo baryon content -will also pro v e useful in constraining feedback models in simulations. Different techniques can provide measurements on the multiphase nature of galactic outflows in individual systems; for instance CO tracing cool molecular outflows (e.g. <ref type="bibr">Leroy et al. 2015</ref> using Atacama Large Millimetre Array observations), or with metal absorption lines and detailed ionization modelling (e.g. see discussions in <ref type="bibr">Chisholm et al. 2016 ;</ref><ref type="bibr">Veilleux et al. 2020</ref> ). Combining careful forward modelling from simulations with observational approaches across wavelength may be able to place constraints on total gas outflow rates as the sample size of outflow measurements continues to grow.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.5">The impact of resolution</head><p>It is important to note that the resolution of each of these simulations we discuss is inadequate to resolve the multiphase structure of the CGM -in particular, any interfaces between cold and hot CGM gas (see e.g. <ref type="bibr">McCourt et al. 2018 ;</ref><ref type="bibr">Fielding et al. 2020</ref> ). <ref type="bibr">Creasey et al. ( 2011 )</ref> show that a mass resolution of &lt; 10 6 M is desirable to a v oid numerical o v ercooling of accretion shocks onto haloes with SPH -a criterion which is not met in any of the simulations, particularly SIMBA. At even finer resolutions, <ref type="bibr">Rey et al. ( 2024 )</ref> show in AMR simulations of a galaxy with mass M = 10 8 M that increasing spatial resolution from &gt; 200 to &#8776; 20 pc can lead to twofold increases in mass loading factors at r = 5 kpc . They show this is due to the better resolved 'hot' outflowing phase ( T 10 5 K) being heated to higher temperatures, and staying hot for longer periods. Unfortunately, without any subgrid refinement schemes, the simulations we analyse here simply cannot simultaneously resolve scales from Mpc down to the &#8776; 0 . 1 -10 pc required to model cold gas in the ISM or CGM.</p><p>These considerations beg the question as to whether improved resolution could influence the results presented in Sections 3 and 4 . As shown in Table <ref type="table">1</ref> , the mass resolution of the EAGLE and TNG simulations are relatively similar, but there is a notable difference in SIMBA, where the gas element mass is roughly 10 times higher than the two aforementioned simulations. While we do not show the results here, we have conducted a comparison between each simulation in this paper with a higher resolution counterpart (EAGLE-L25N752-Ref in the case of EAGLE, TNG50 in the case of TNG100, and a higher resolution 25 Mpc SIMBA box in the case of SIMBA).</p><p>Upon investigation, we noted that there is very little difference between the propagation of feedback-driven outflows in TNG100 and TNG50. In the case of stellar feedback, this likely due to the fact that feedback affected gas is 'decoupled' from the hydrodynamics at injection (directly a v oiding any immediate overcooling), and the mass loading is set based on local DM dispersion as opposed to baryonic properties. At higher halo masses, TNG50 haloes are very slightly more baryon-rich than those in TNG100, ho we ver the scale reached by AGN-driven outflows remain identical -indicating that resolution does not qualitatively influence the conclusions we make in this paper.</p><p>In the case of EAGLE and SIMBA, we found slight differences in the propagation of outflows in low-mass haloes 10 11 . 5 M with enhanced resolution. ISM-scale outflows in both higher resolution EAGLE and SIMBA runs are enhanced relative to the standard resolution runs, where numerical o v ercooling could inhibit the escape of outflows. These slightly enhanced ISM-scale outflow rates relative to the standard resolution runs leads to the deposition of more gas in MNRAS 532, <ref type="bibr">3417-3440 (2024)</ref> the CGM, and an associated increase in ISM-scale inflow rates that offset any differences that could otherwise arise in terms of SFR.</p><p>Despite these small quantitative differences, we stress that the central findings of our study regarding the differences between subgrid prescriptions and how this manifests in the larger scale baryon cycle do remain qualitatively sound when comparing with higher resolution counterparts of each simulation.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6">S U M M A RY</head><p>In this paper, we have conducted a lik e-for-lik e comparison of the baryon cycle in three modern cosmological hydrodynamical simulations: EAGLE, TNG, and SIMBA. We use a common methodology to analyse the gas flows in and around central galaxies, from the scale of the ISM to several halo virial radii. While galaxies in these simulations share very similar stellar mass content and SFRs at z &#8776; 0, our work has highlighted that this agreement is achieved for very different physical reasons.</p><p>Concerning haloes with mass M 200c 10 11 . 5 M , where stellar feedback is dominant, we summarize our results as follows:</p><p>(i) In EAGLE, SF-driven outflows are able to reach several times R 200c before stalling. At z &#8776; 0, mass outflow rates increase with scale with the gas surrounding galaxies being very tenuous and underpressurized relative to the outflows. At z &#8776; 2 we do not see mass entrainment in outflows with increasing scale, where the CGM is still relatively dense and more cool/filamentary in nature.</p><p>(ii) The extended scale of SF-driven outflows in EAGLE leads to a significant pre ventati ve ef fect on gas inflo w at the halo scale. Overall, this leads to haloes with a low density CGM and very low baryon fractions (just 10 per cent of the cosmological value) in this mass range at z &#8776; 0.</p><p>(iii) In TNG, SF-driven outflows are very strong at the scale of the ISM, ho we ver, tend to stall within the CGM before reaching R 200c . This is also true in SIMBA at z &#8776; 2, ho we ver at z &#8776; 0, SF-dri ven outflows in SIMBA can reach a similar scale as in EAGLE (albeit without mass entrainment).</p><p>(iv) In TNG, halo baryon fractions remain abo v e 50 per cent of the cosmological value in this mass regime at z &#8776; 0. SF-driven outflows are recycled within the scale of the halo, with inflow rates at the ISM scale higher than at the halo scale due to very efficient cooling within the dense, enriched CGM.</p><p>(v) In SIMBA, halo baryon fractions in this mass regime are between those measured in EAGLE and TNG, reflecting moderate pre ventati ve feedback on halo-scale gas inflows.</p><p>Furthermore, in relation to haloes with mass M 200c 10 12 M , where AGN feedback is dominant:</p><p>(i) In EA GLE, A GN-dri ven outflo ws do not reach far beyond R 200c at either z &#8776; 0 nor &#8776; 2. This leads to minimal pre ventati ve impact on gas inflow at the halo scale, but significantly prevents gas inflow at the scale of the ISM.</p><p>(ii) In TNG, AGN-driven outflows are more powerful than in EA-GLE, with at least some gas in these outflows reaching 2 -3 &#215; R 200c . This leads to a moderate pre ventati ve impact on cosmological inflow at the halo scale, with further inflo w pre vention within the heated CGM. As a result, there is a significant turno v er in halo baryon fractions at z &#8776; 0, reaching values as low as 50 per cent of the cosmological value at M 200c &#8776; 10 12 . 5 M .</p><p>(iii) In SIMBA, AGN-driven outflows are significantly stronger than in both EAGLE and TNG, particularly at z &#8776; 0. These outflows continually entrain mass from the ISM scale to several times R 200c .</p><p>This causes a very significant drop in halo-scale cosmological gas inflow, and a corresponding drop in halo baryon fractions to as low as 20 per cent of the universal value between M 200c = 10 12 -10 13 M .</p><p>This work lays the foundation for developing targeted observational tests that can fa v our or disfa v our certain feedback scenarios, and mo v e towards a more constrained understanding of the role of feedback processes in the baryon cycle. Such an understanding will be imperative to inform the next generation of cosmological simulations, and to maximize their scientific utility . Additionally , a precise understanding of the baryonic effects on the large-scale matter distribution (see <ref type="bibr">Delgado et al. 2023 ;</ref><ref type="bibr">Gebhardt et al. 2024</ref> ) will be imperative in order to extract meaningful constraints from future WL studies with regard to cosmological parameters, cosmic shear, and the growth of cosmic structure.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A P P E N D I X A : C O M PA R I S O N O F G A S F L OW M E A S U R E M E N T S W I T H P R E V I O U S L I T E R AT U R E</head><p>In this section, we compare our measurements of gas flow rates with those measured from the same simulations (where applicable) in previous literature. As outlined in Section 2.2 , we elect to use an Eulerian or 'instantaneous' approach to calculating gas flow rates, rather than a Lagrangian particle tracking method.  <ref type="formula">2020</ref>) take a Lagrangian particle-tracking approach to measure gas flow rates, we reco v er good agreement with their results (to within &#8776; 0 . 2 de x across the halo mass range). Our instantaneously measured mass loading factors are systematically (very) slightly higher than the <ref type="bibr">Mitchell et al. ( 2020 )</ref> results, likely due to the latter not including the subset of gas that is very quickly recycled within the t used for the Lagrangian calculation. This offset is highest at M 200c &#8776; 10 13 M , indicating that some AGN-driven outflows in EAGLE may be recycled quite quickly at the ISM scale.</p><p>Fig. <ref type="figure">A2</ref> shows a comparison of z &#8776; 2 10 kpc -scale mass loading factors as a function of M in TNG for two different choices of outflow velocity cut: 50 and 150 km s -1 . Utilizing a very similar method, our measurements agree very well, to within &#8776; 0 . 1 dex for both velocity thresholds, across the range of stellar masses shown. As discussed in Section 2.2 , in the main body of this paper we do not enforce a minimum velocity threshold for the outflows. With experimentation, we find that imposing a velocity threshold does not qualitatively influence our results.  The data presented in orange correspond to outflow measurements with a minimum outflow velocity of 150 km s -1 , while the data presented in blue correspond to outflow measurements with a minimum outflow velocity of 50 km s -1 . In our calculations, hatched shaded regions correspond to the bootstrap-generated 90 per cent confidence interval on the medians at a given mass. For both velocity thresholds, our measurements agree very well, to within &#8776; 0 . 1 dex .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Figure B1</head><p>. Radial density profiles of galaxies at z = 2 in EAGLE (blue), EAGLE-RECAL (teal), TNG (purple), and SIMBA (pink). Each column represents a different bin in halo mass, increasing top to bottom. Error bars correspond to the 16th-84th percentile range in inflow rates at a given mass, and hatched regions correspond to the bootstrap-generated 90 per cent confidence interval on the medians at a given mass. Gas density profiles are relatively similar between the simulations at this redshift, corresponding to the universally higher halo baryon fractions presented in Fig. <ref type="figure">D1</ref> .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A P P E N D I X B : G A L A X Y D E N S I T Y P RO F I L E S</head><p>In Figs B1 and B2 , we show the density profiles of galaxies in each of the simulations at z = 2 and 0, respectively.  In general, density profiles at z = 2 agree fairly well between the simulations. This corresponds to the universally higher baryon content of galaxies and their CGM at this redshift, as demonstrated in Fig. <ref type="figure">D1</ref> . Considering the lowest mass bin at z = 0, we note that the density of the CGM in EAGLE is quite low -&#8776; 1 dex lower than the predictions from TNG and SIMBA at the edge of the ISM. This low density allows for the entrainment of gas with outflows in EAGLE, with the outflows being o v erpressurized relativ e to the surrounding medium. We observe a similar effect in SIMBA in the two higher mass bins, with CGM densities in the intermediate halo mass bin being &#8776; 1 dex lower than the predictions from EAGLE and TNG. This signifies the ef ficient e v acuation of the CGM via AGN feedback, which also allows subsequent outflows to be o v erpressurized relativ e to the CGM and entrain gas in the outflows towards larger scales. MNRAS 532, 3417-3440 (2024) A P P E N D I X C : G A L A X Y T E M P E R AT U R E P RO F I L E S In Figs C1 and C2 , we show the temperature profiles of galaxies in each of the simulations at z = 2 and 0, respectively. Each row represents a different bin in halo mass -top: log 10 ( M 200c / M ) &#8712; [10 . 75 , 11 . 25]; middle: log 10 ( M 200c / M ) &#8712; [11 . 75 , 12 . 25]; and bottom: log 10 ( M 200c / M ) &#8712; [12 . 75 , 13 . 25]). Radial x-values are quoted as fractions of R 200c , with a broken scale abo v e 1 &#215; R 200c to include radial bins up to 3 &#215; R 200c . For reference, in each panel we include a horizontal line indicating the expected virial temperature of haloes in this mass range, with T vir &#8776; 1 . 1 &#215; 10 6 K ( &#956;/ 0 . 59 ) M halo / 10 12 M 2 / 3 (1 + z), from van de Voort ( 2017 ).</p><p>As discussed in Section 4.1 , considering haloes with mass M 200c 10 13 M at z &#8776; 2, predictions for temperatures in the inner CGM are quite different between the simulations. In particular, in EAGLE (and to some extent, SIMBA) there remains a significant presence of cold gas between 0 . 3 -0 . 6 &#215; R 200c . Comparatively, in TNG, temperatures in this region typically exceed 10 5 K. At lower redshift, the predictions between the simulations are relatively similar in the two lower mass bins (signifying a universal shift to a hotter CGM, and the dominance of hot-mode accretion).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A P P E N D I X D : H A L O BA R Y O N F R AC T I O N S AT R E D S H I F T 2</head><p>In this section, we add to the z &#8776; 0 results shown in Section 3 to compare the total baryon content of haloes at as a function of halo mass, and how this baryon content is distributed between stars, cold gas, and hot gas in each of the simulations. As in the main body of this paper, in each simulation, we define 'cold gas' as the gas that is either considered star-forming, or below 5 &#215; 10 4 K, and 'hot gas' as the remaining gas within R 200c that does not meet this criteria.</p><p>At this redshift, the baryon content of haloes is universally higher in the simulations -for M 200c 10 11 . 5 M , all simulations predict a baryon fraction abo v e 50 per cent of the cosmic mean. Similar to z &#8776; 0, the baryon content of EAGLE galaxies at low halo mass -M 200c 10 12 M -is lower than the predictions from SIMBA and TNG, indicating that the ejective and prev entativ e influence of stellar feedback is already at play by z &#8776; 2. The transition masses M T 1 and M T 2 are similar to those reported at z &#8776; 0, with the exception of SIMBA, where the M T 1 mass at z &#8776; 2 increases to &#8776; 10 12 M (as opposed to &#8776; 10 11 . 3 M at z &#8776; 0, with M T 2 remaining at &#8776; 10 12 . 8 M ). For SIMBA, this indicates that AGN feedback becomes more efficient at lower masses towards z &#8776; 0.  </p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_0"><p>MNRAS 532,3417-3440 (2024)   </p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_1"><p>Downloaded from https://academic.oup.com/mnras/article/532/3/3417/7713461 by guest on 01 September 2024</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="2" xml:id="foot_2"><p>Through experimentation, we find that enforcing a velocity cut slightly reduces the normalization of mass loadings, but does not change the functional form with galaxy mass, nor the trends between the simulations.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="3" xml:id="foot_3"><p>We note that the FIRE, FIRE-2, NIHAO, and<ref type="bibr">Christensen et al. ( 2016 )</ref> simulations we discuss do not model AGN feedback.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="4" xml:id="foot_4"><p>Most SAMs modulate this to account for a reduced accretion efficiency due to photoionization heating by the metagalactic background, but this typically only affects haloes smaller than the mass range studied here ( 10 10 M ).</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_5"><p>This paper has been typeset from a T E X/L A T E X file prepared by the author.&#169; 2024 The Author(s).Published by Oxford University Press on behalf of Royal Astronomical Society. This is an Open Access article distributed under the terms of the Creative Commons Attribution License ( https://cr eativecommons.or g/licenses/by/4.0/), which permits unrestricted reuse, distribution, and reproduction in any medium, provided the original work is properly cited.</p></note>
		</body>
		</text>
</TEI>
