-
PDF
- Split View
-
Views
-
CiteCitation
Philip F Hopkins, Andrew Wetzel, Dušan Kereš, Claude-André Faucher-Giguère, Eliot Quataert, Michael Boylan-Kolchin, Norman Murray, Christopher C Hayward, Shea Garrison-Kimmel, Cameron Hummels, Robert Feldmann, Paul Torrey, Xiangcheng Ma, Daniel Anglés-Alcázar, Kung-Yi Su, Matthew Orr, Denise Schmitz, Ivanna Escala, Robyn Sanderson, Michael Y Grudić, Zachary Hafen, Ji-Hoon Kim, Alex Fitts, James S Bullock, Coral Wheeler, T K Chan, Oliver D Elbert, Desika Narayanan, FIRE-2 simulations: physics versus numerics in galaxy formation, Monthly Notices of the Royal Astronomical Society, Volume 480, Issue 1, October 2018, Pages 800–863, https://doi.org/10.1093/mnras/sty1690
Download citation file:
© 2019 Oxford University Press
Close -
Share
ABSTRACT
The Feedback In Realistic Environments (FIRE) project explores feedback in cosmological galaxy formation simulations. Previous FIRE simulations used an identical source code (‘FIRE-1’) for consistency. Motivated by the development of more accurate numerics – including hydrodynamic solvers, gravitational softening, and supernova coupling algorithms – and exploration of new physics (e.g. magnetic fields), we introduce ‘FIRE-2’, an updated numerical implementation of FIRE physics for the gizmo code. We run a suite of simulations and compare against FIRE-1: overall, FIRE-2 improvements do not qualitatively change galaxy-scale properties. We pursue an extensive study of numerics versus physics. Details of the star formation algorithm, cooling physics, and chemistry have weak effects provided that we include metal-line cooling and star formation occurs at higher-than-mean densities. We present new resolution criteria for high-resolution galaxy simulations. Most galaxy-scale properties are robust to numerics we test, provided: (1) Toomre masses are resolved; (2) feedback coupling ensures conservation, and (3) individual supernovae are time-resolved. Stellar masses and profiles are most robust to resolution, followed by metal abundances and morphologies, followed by properties of winds and circum-galactic media. Central (∼kpc) mass concentrations in massive (>L*) galaxies are sensitive to numerics (via trapping/recycling of winds in hot haloes). Multiple feedback mechanisms play key roles: supernovae regulate stellar masses/winds; stellar mass-loss fuels late star formation; radiative feedback suppresses accretion on to dwarfs and instantaneous star formation in discs. We provide all initial conditions and numerical algorithms used.
1 INTRODUCTION
Feedback from stars is an essential and still poorly understood component of galaxy formation. In the absence of stellar feedback, most gas accreted into galaxies should cool rapidly on a time-scale much shorter than the dynamical time, collapse, fragment, and turn into stars (Bournaud et al. 2010; Dobbs, Burkert & Pringle 2011; Harper-Clark & Murray 2011; Hopkins, Quataert & Murray 2011; Krumholz, Klein & McKee 2011; Tasker 2011). Cosmologically, efficient cooling inevitably results in most of the baryons turning into stars, producing galaxies much more massive than observed (Katz, Weinberg & Hernquist 1996; Somerville & Primack 1999; Cole et al. 2000; Springel & Hernquist 2003b; Kereš et al. 2009), regardless of the details of star formation in the simulation (White & Frenk 1991; Kereš et al. 2009).
However, the observed Kennicutt–Schmidt (KS) relation implies that gas consumption time-scales are long (∼50 dynamical times; Kennicutt 1998), and giant molecular clouds (GMCs) appear to turn just a few per cent of their mass into stars before they are disrupted (Zuckerman & Evans 1974; Williams & McKee 1997; Evans 1999; Evans et al. 2009). Observed galaxy mass functions and the halo mass–galaxy mass relation require that galaxies incorporate or retain only a small fraction of the universal baryon fraction in stars and the ISM (Conroy, Wechsler & Kravtsov 2006; Behroozi, Conroy & Wechsler 2010; Moster et al. 2010). Observations of the intergalactic medium (IGM) and circum-galactic medium (CGM) require that many of those baryons must have been accreted into galaxies, enriched, and then expelled in galactic superwinds with mass loading |$\dot{M}_{\rm wind}$| many times larger than the galaxy SFR (Aguirre et al. 2001; Pettini et al. 2003; Songaila 2005; Oppenheimer & Davé 2006; Martin et al. 2010), and indeed such winds are ubiquitously observed (Martin 1999, 2006; Heckman et al. 2000; Sato et al. 2009; Chen et al. 2010; Steidel et al. 2010; Coil et al. 2011; Newman et al. 2012).
Until recently, numerical simulations treated stellar feedback in highly simplified fashion and have had difficulty reproducing these observations. This is especially true of models which invoke only energetic feedback (thermal injection) via supernovae (SNe), which typically found the energy was efficiently radiated away (Katz 1992; Guo et al. 2010; Nagamine 2010; Bournaud et al. 2011; Brook et al. 2011; Powell, Slyz & Devriendt 2011). By ‘turning off cooling’ for some adjusted duration, as in Stinson et al. (2006), Governato et al. (2010), Macciò et al. (2012), Teyssier et al. (2013), Stinson et al. (2013), and Crain et al. (2015), or directly putting in winds ‘by hand’ as in Springel & Hernquist (2003a), Davé, Finlator & Oppenheimer (2006), Anglés-Alcázar et al. (2014), Vogelsberger et al. (2014), it is possible to reproduce some of the observed galaxy properties. But this obviously does not prove that known stellar feedback mechanisms actually act in this way, nor can it predict many ISM and CGM-scale properties that depend explicitly on e.g. the phase-structure of feedback-driven outflows (see Hummels et al. 2013).
Accurate treatment of star formation and galactic winds ultimately requires realistic treatment of the stellar feedback processes that maintain the multiphase ISM. Observationally, many stellar feedback processes – SNe, protostellar jets, photoheating, stellar mass-loss (O-star and AGB winds), and radiation pressure – act efficiently on the ISM (see Evans et al. 2009; Lopez et al. 2011, and references above). Simulations of either single molecular clouds/star clusters or the ‘first stars’, which resolve individual stars and can treat these microphysics in detail, have universally found that the non-linear interaction of these feedback mechanisms successfully suppresses star formation, pre-process GMCs before SNe explosions (so that SNe occur in rarefied environments), and generate galactic chimneys and superbubbles that generate fountains and superwinds (e.g. Krumholz, Klein & McKee 2007; Offner et al. 2009, 2011; Harper-Clark & Murray 2011; Krumholz et al. 2011; Bate 2012; Wise et al. 2012; Muratov et al. 2013; Pawlik, Milosavljević & Bromm 2013). A new generation of high-resolution galaxy-scale simulations has since emerged, which reach resolution sufficient to begin directly incorporating these physics, and to begin to resolve the multiphase structure of the ISM (Hopkins et al. 2011; Tasker 2011; Hopkins, Quataert & Murray 2012c; Agertz et al. 2013; Kannan et al. 2014). For example, in these works and a series of related papers focused on isolated galaxy simulations (Hopkins et al. 2012a, 2013a,c,e; Hopkins, Kereš & Murray 2013b; Hopkins, Narayanan & Murray 2013d; Narayanan & Hopkins 2013), the authors showed in isolated galaxy simulations that the combination of multiple feedback processes together produce a quasi-steady state ISM, in which GMCs form and disperse rapidly, with turbulence, phase structure, GMC properties, a KS law, and galactic winds in reasonable agreement with observations.
Motivated by the success and predictive power of these simulations, in Hopkins et al. (2014) we introduced the Feedback In Realistic Environments (FIRE) project.1 The FIRE code synthesized the physics and numerical methods developed in the previous work (with relevant improvements) into a single code suitable for high-resolution cosmological simulations of galaxy formation. These simulations explicitly treat the multiphase ISM with heating and cooling physics from gas at a range of temperatures |$T\sim 10\!-\!10^{10}\,$| K, star formation restricted only to self-gravitating, self-shielding, molecular, high density (|$n_{\rm H}\gtrsim 5\!-\!50\, {\rm cm^{-3}}$|) gas, resolution reaching |${\sim } 250\, {\rm M}_{\odot }$| or |${\sim } 0.5\,$|pc, and (most importantly) explicit treatment of stellar feedback including the energy, momentum, mass, and metal fluxes from SNe Types Ia and II, stellar mass-loss (O-star and AGB), radiation pressure (UV and IR), and photoionization and photoelectric heating. All stellar evolution and feedback inputs are taken directly from stellar evolution models, without subsequent ‘parameter tuning’.
In a series of papers, we have subsequently shown that cosmological zoom-in simulations incorporating these physics can reproduce a diverse range of galaxy properties at a wide range of redshifts, including stellar masses, star formation histories (SFHs), and the galactic ‘main sequence’ (Hopkins et al. 2014; Feldmann et al. 2016; Sparre et al. 2017); metallicities and metal abundance ratios in both ‘standard’ and r-process elements (van de Voort et al. 2015; Ma et al. 2016a); detailed morphological and kinematic structure of thin and thick discs (Ma et al. 2017b); rotation curves and morphologies of Milky Way-mass galaxies (Wetzel et al. 2016); observed satellite mass functions, rotation curves/kinematics, and cusp/core structure of dwarfs (Chan et al. 2015; Oñorbe et al. 2015; Wheeler et al. 2015, 2017; Wetzel et al. 2016); abundance gradients (El-Badry et al. 2016; Ma et al. 2017a); neutral hydrogen absorption in the CGM (Faucher-Giguere et al. 2015; Faucher-Giguère et al. 2016; Hafen et al. 2017); galactic outflows (Muratov et al. 2015, 2017; Anglés-Alcázar et al. 2017a); star formation properties of galactic nuclei (Torrey et al. 2017); escape fractions of ionizing photons needed for reionization (Ma et al. 2015, 2016b); and at least some of the diversity of star-forming and quiescent massive galaxies at high redshifts (Narayanan et al. 2015; Feldmann et al. 2016). There are of course a number of areas where the simulations fail to reproduce the observations: most notably, the bimodality of galaxy colours at both |$z$| = 0 (Hopkins et al. 2014) and |$z$| = 2 (Feldmann et al. 2017) – these are likely clues to important physics missing from the FIRE-1 simulations.
For the sake of consistency and clarity, all FIRE simulations have used an identical source code – what we will now refer to as ‘FIRE-1’. This ensured 100 per cent identical physics and numerical choices (up to the simulation resolution and choice of the specific halo simulated) in all runs, necessary for simulation comparisons. Unfortunately, this ignores development of new, more accurate hydrodynamic solvers and gravitational force softening algorithms (see e.g. Hopkins 2015), improvements to the numerical accuracy of feedback coupling algorithms (i.e. ways to ensure machine-accurate momentum conservation in SNe coupling to gas), code optimizations that would allow higher resolution simulations, and physics neglected in FIRE-1 such as magnetic fields, cosmic rays, conduction, viscosity, optically thick radiative cooling, and more. These effects could, in principle, have large consequences for galaxy formation. For example, FIRE-1 used an improved version of the smoothed-particle hydrodynamics (SPH) method to solve the hydrodynamic equations; but it is well-known that SPH has certain low-order errors that do not converge accurately, add noise, and artificially suppress phenomena such as fluid mixing and subsonic turbulence (Agertz et al. 2007; Bauer & Springel 2012; Sijacki et al. 2012), potentially leading directly to large differences in cooling in massive galaxies (Kereš et al. 2012; Torrey et al. 2012). There has been considerable effort to ‘fix’ SPH, and FIRE-1 used the improved P-SPH methods from Saitoh & Makino (2013) and Hopkins (2013a) to reduce these errors, but some (e.g. the zeroth-order errors) cannot be entirely eliminated in SPH without de-stabilizing the method (see Price 2012). As a result, especially for fluid mixing problems, newer moving-mesh or mesh-free Godunov methods provide still greater accuracy and more rapid convergence (see Springel 2010; Hopkins 2015).
We therefore introduce the ‘FIRE-2’ simulations: an update of the FIRE physics modules in the code gizmo. This includes a new, more accurate hydrodynamics solver that resolves the main known issues of SPH, as well as more accurate treatments of cooling and recombination rates, gravitational force softening, and numerical feedback coupling. In this paper we present a large suite of cosmological zoom-in simulations, and compare these to our FIRE-1 results and to some basic observed galaxy properties. We find that the qualitative results from the FIRE-1 simulations are reproduced in FIRE-2. We then use these simulations to extensively explore numerical and algorithmic choices in the simulation setup, and whether these have any effect on the predictions. Some first science results from these FIRE-2 simulations have been presented in Wetzel et al. (2016), Su et al. (2017a), and Fitts et al. (2017).
The goals of this paper are twofold. First, this is a methods and numerical/physical tests paper for the FIRE-2 simulations; we present the simulations, extensive tests of the methods, and explicitly detail all aspects of the numerical methods and algorithms. Secondly, we survey numerical and physical effects, e.g. resolution (mass, spatial, and temporal), hydrodynamic solvers (SPH versus modern Godunov methods), criteria for star formation, details of the cooling physics, and stellar feedback from radiation, winds, and SNe. For each effect we present an extensive study in simulations to understand which effects are physical, and which numerical, and where our simulations should and should not be trusted. Because we will show that feedback is the most important property determining the galaxy’s formation history, a pair of companion papers will separately explore the details of the numerical implementation and physics of mechanical/SNe feedback (Hopkins et al. 2018, henceforth Paper II; this paper is Paper I) and radiative feedback (Hopkins et al. in preparation, henceforth Paper III).
Table 1 presents the initial suite of FIRE-2 simulations studied here; Table 2 provides an ‘executive summary’ of our study and key conclusions; Table 3 provides a high-level overview of what ‘numerical resolution’ actually means in our simulations. Section 2 summarizes our methods: we direct the reader to the appropriate appendices where the complete algorithmic details are presented in detail. Section 3 presents a basic overview of the resulting simulations and specifically examines any differences between FIRE-1 and FIRE-2 predictions. Section 4 extensively studies the effects of resolution, in mass (Section 4.1), space (Section 4.2), and time (Section 4.3). Section 5 examines the effects of the hydrodynamic methods, including SPH versus finite-volume methods and Section 6 considers the effects of so-called ‘artificial pressure’ terms used in some (non-FIRE) simulations. Section 7 studies the details of cooling, chemical yields, and numerical metal-mixing terms; and Section 8 considers the star formation algorithm. Section 9 considers the effects of different stellar feedback physics, turned on and off in turn, to provide an indication of which feedback processes dominate, and to provide a way of quantifying the relative importance of numerical and physical (feedback) uncertainties for our results. The Appendices present additional cooling/feedback tables and algorithmic information necessary for implementing the FIRE-2 simulations.
Initial suite of FIRE-2 simulations run to redshift |$z$| = 0.
| Simulation | |$M_{\rm halo}^{\rm vir}$| | Rvir | M* | R1/2 | mi, 1000 | |$\epsilon _{\rm gas}^{\rm MIN}$| | |$r_{\rm DM}^{\rm conv}$| | Notes |
|---|---|---|---|---|---|---|---|---|
| name | (M⊙) | (kpc) | (M⊙) | (kpc) | |$(1000\, {\rm M}_{\odot })$| | (pc) | (pc) | |
| Ultrafaints (|$M_{\rm halo}\lesssim 10^{10}\, {\rm M}_{\odot }$|): | ||||||||
| m09 | 2.4e9 | 35.6 | 9.4e3 | 0.29 | 0.25 | 1.1 | 65 | Early-forming, ultrafaint field dwarf |
| m10a | 7.0e9 | 51.5 | – | – | 0.50 | – | 88 | Very late-forming, dark halo (no stars) |
| Low-Mass Dwarf (|$M_{\rm halo}\sim 10^{10}\, {\rm M}_{\odot }$|) Survey: | ||||||||
| m10q | 8.0e9 | 52.4 | 1.8e6 | 0.63 | 0.25 | 0.52 | 73 | Isolated dwarf, early-forming halo |
| m10g | 8.0e9 | 52.4 | 5.3e6 | 0.89 | 0.50 | 2.0 | 110 | Early-forming |
| m10v | 8.3e9 | 53.1 | 1.0e5 | 0.31 | 0.25 | 0.73 | 65 | Isolated dwarf, late-forming halo |
| m10d | 8.5e9 | 53.6 | 1.3e6 | 0.50 | 0.50 | 2.0 | 77 | Intermediate-forming |
| m10c | 9.0e9 | 54.6 | 4.7e5 | 0.30 | 0.50 | 2.0 | 92 | Late-forming |
| m10b | 9.4e9 | 55.4 | 4.5e5 | 0.33 | 0.50 | 2.0 | 77 | Late-forming |
| m10e | 1.0e10 | 57.1 | 1.8e6 | 0.58 | 0.50 | 2.0 | 120 | Late-forming |
| m10i | 1.1e10 | 57.8 | 7.1e6 | 0.52 | 0.50 | 2.0 | 75 | Early-forming |
| m10l | 1.1e10 | 57.8 | 1.2e7 | 0.72 | 0.50 | 2.0 | 110 | Early-forming |
| m10j | 1.1e10 | 58.5 | 8.4e6 | 0.70 | 0.50 | 2.0 | 86 | Late-forming, dense environment |
| m10k | 1.2e10 | 59.3 | 9.5e6 | 1.0 | 0.50 | 2.0 | 140 | Early-forming |
| m10m | 1.2e10 | 59.4 | 1.3e7 | 0.89 | 0.50 | 2.0 | 120 | Early-forming |
| m10h | 1.3e10 | 61.6 | 6.8e6 | 0.74 | 0.50 | 2.0 | 96 | Intermediate-forming |
| m10f | 1.3e10 | 62.3 | 1.1e7 | 1.1 | 0.50 | 2.0 | 150 | Early-forming |
| m10y | 1.4e10 | 63.9 | 1.0e7 | 0.96 | 0.26 | 0.21 | 74 | Early-forming, large core |
| Intermediate-mass dwarfs (|$10^{10}\, {\rm M}_{\odot }\lesssim M_{\rm halo} \lesssim 10^{12}\, {\rm M}_{\odot }$|): | ||||||||
| m10z | 3.5e10 | 85.6 | 3.5e7 | 2.1 | 0.26 | 0.21 | 130 | Ultradiffuse galaxy |
| m11a | 4.1e10 | 90.5 | 1.2e8 | 2.7 | 2.1 | 4.3 | 310 | Diffuse, large core |
| m11b | 4.3e10 | 92.2 | 1.1e8 | 2.4 | 2.1 | 2.9 | 250 | Intermediate-forming |
| m11q | 1.4e11 | 136 | 4.1e8 | 2.7 | 0.88 | 0.71 | 120 | Early-forming, large core |
| m11c | 1.4e11 | 138 | 8.1e8 | 2.7 | 2.1 | 0.40 | 250 | Intermediate-forming |
| m11v | 3.2e11 | 177 | 2.4e9 | 2.5 | 7.0 | 1.3 | 310 | Multimerger ongoing (|$z$| = 0) |
| m11f | 5.0e11 | 208 | 2.4e10 | 2.6 | 12 | 0.9 | 280 | Quiescent late history |
| Milky Way-mass ‘latte’ (|$M_{\rm halo} \sim 10^{12}\, {\rm M}_{\odot }$|) haloes: | ||||||||
| m12i | 1.2e12 | 275 | 6.5e10 | 2.9 | 7.0 | 0.38 | 150 | ‘Latte’ primary halo |
| m12f | 1.6e12 | 306 | 8.0e10 | 4.0 | 7.0 | 0.51 | 130 | MW-like halo |
| m12m | 1.5e12 | 301 | 1.2e11 | 5.6 | 7.0 | 0.27 | 180 | Earlier forming halo, boxy bulge |
| ‘Low’-Resolution Milky Way-Mass Halo Survey: | ||||||||
| m12i_LowRes | 1.2e12 | 278 | 1.0e11 | 2.3 | 56 | 1.4 | 290 | Low-resolution ‘Latte’ halo |
| m12f_LowRes | 1.6e12 | 310 | 1.3e11 | 3.1 | 56 | 1.4 | 310 | Low-resolution MW-like halo |
| m12b_LowRes | 1.4e12 | 291 | 9.8e10 | 1.5 | 56 | 1.4 | 300 | Early-forming halo |
| m12c_LowRes | 1.3e12 | 285 | 9.2e10 | 1.6 | 56 | 1.4 | 310 | Late-forming halo |
| m12m_LowRes | 1.5e12 | 302 | 1.4e11 | 5.0 | 56 | 1.4 | 360 | Early-forming halo |
| m12q_LowRes | 1.6e12 | 308 | 1.2e11 | 1.9 | 56 | 1.4 | 240 | Early-forming halo |
| m12z_LowRes | 8.7e11 | 251 | 4.3e10 | 6.0 | 33 | 8.0 | 520 | Little/no bulge, merger at |$z$| ≈ 0 |
| m12_ELVIS_Robin | 1.6e12 | 306 | 6.7e10 | 3.4 | 56 | 1.5 | 400 | Late-forming, gas-rich in pair |
| m12_ELVIS_Batman | 2.0e12 | 325 | 1.2e11 | 1.0 | 56 | 1.5 | 210 | Compact, early-forming in pair |
| m12_ELVIS_Thelma | 1.1e12 | 272 | 7.0e10 | 3.6 | 32 | 2.0 | 260 | MW-like in Local Group pair |
| m12_ELVIS_Louise | 1.5e12 | 297 | 1.3e11 | 4.2 | 32 | 2.0 | 300 | M31-like in Local Group pair |
| m12_ELVIS_Romeo | 1.3e12 | 285 | 8.1e10 | 6.5 | 28 | 1.0 | 280 | M31-like in Local Group pair |
| m12_ELVIS_Juliet | 1.1e12 | 267 | 6.0e10 | 5.0 | 28 | 1.0 | 260 | MW-like in Local Group pair |
| Simulation | |$M_{\rm halo}^{\rm vir}$| | Rvir | M* | R1/2 | mi, 1000 | |$\epsilon _{\rm gas}^{\rm MIN}$| | |$r_{\rm DM}^{\rm conv}$| | Notes |
|---|---|---|---|---|---|---|---|---|
| name | (M⊙) | (kpc) | (M⊙) | (kpc) | |$(1000\, {\rm M}_{\odot })$| | (pc) | (pc) | |
| Ultrafaints (|$M_{\rm halo}\lesssim 10^{10}\, {\rm M}_{\odot }$|): | ||||||||
| m09 | 2.4e9 | 35.6 | 9.4e3 | 0.29 | 0.25 | 1.1 | 65 | Early-forming, ultrafaint field dwarf |
| m10a | 7.0e9 | 51.5 | – | – | 0.50 | – | 88 | Very late-forming, dark halo (no stars) |
| Low-Mass Dwarf (|$M_{\rm halo}\sim 10^{10}\, {\rm M}_{\odot }$|) Survey: | ||||||||
| m10q | 8.0e9 | 52.4 | 1.8e6 | 0.63 | 0.25 | 0.52 | 73 | Isolated dwarf, early-forming halo |
| m10g | 8.0e9 | 52.4 | 5.3e6 | 0.89 | 0.50 | 2.0 | 110 | Early-forming |
| m10v | 8.3e9 | 53.1 | 1.0e5 | 0.31 | 0.25 | 0.73 | 65 | Isolated dwarf, late-forming halo |
| m10d | 8.5e9 | 53.6 | 1.3e6 | 0.50 | 0.50 | 2.0 | 77 | Intermediate-forming |
| m10c | 9.0e9 | 54.6 | 4.7e5 | 0.30 | 0.50 | 2.0 | 92 | Late-forming |
| m10b | 9.4e9 | 55.4 | 4.5e5 | 0.33 | 0.50 | 2.0 | 77 | Late-forming |
| m10e | 1.0e10 | 57.1 | 1.8e6 | 0.58 | 0.50 | 2.0 | 120 | Late-forming |
| m10i | 1.1e10 | 57.8 | 7.1e6 | 0.52 | 0.50 | 2.0 | 75 | Early-forming |
| m10l | 1.1e10 | 57.8 | 1.2e7 | 0.72 | 0.50 | 2.0 | 110 | Early-forming |
| m10j | 1.1e10 | 58.5 | 8.4e6 | 0.70 | 0.50 | 2.0 | 86 | Late-forming, dense environment |
| m10k | 1.2e10 | 59.3 | 9.5e6 | 1.0 | 0.50 | 2.0 | 140 | Early-forming |
| m10m | 1.2e10 | 59.4 | 1.3e7 | 0.89 | 0.50 | 2.0 | 120 | Early-forming |
| m10h | 1.3e10 | 61.6 | 6.8e6 | 0.74 | 0.50 | 2.0 | 96 | Intermediate-forming |
| m10f | 1.3e10 | 62.3 | 1.1e7 | 1.1 | 0.50 | 2.0 | 150 | Early-forming |
| m10y | 1.4e10 | 63.9 | 1.0e7 | 0.96 | 0.26 | 0.21 | 74 | Early-forming, large core |
| Intermediate-mass dwarfs (|$10^{10}\, {\rm M}_{\odot }\lesssim M_{\rm halo} \lesssim 10^{12}\, {\rm M}_{\odot }$|): | ||||||||
| m10z | 3.5e10 | 85.6 | 3.5e7 | 2.1 | 0.26 | 0.21 | 130 | Ultradiffuse galaxy |
| m11a | 4.1e10 | 90.5 | 1.2e8 | 2.7 | 2.1 | 4.3 | 310 | Diffuse, large core |
| m11b | 4.3e10 | 92.2 | 1.1e8 | 2.4 | 2.1 | 2.9 | 250 | Intermediate-forming |
| m11q | 1.4e11 | 136 | 4.1e8 | 2.7 | 0.88 | 0.71 | 120 | Early-forming, large core |
| m11c | 1.4e11 | 138 | 8.1e8 | 2.7 | 2.1 | 0.40 | 250 | Intermediate-forming |
| m11v | 3.2e11 | 177 | 2.4e9 | 2.5 | 7.0 | 1.3 | 310 | Multimerger ongoing (|$z$| = 0) |
| m11f | 5.0e11 | 208 | 2.4e10 | 2.6 | 12 | 0.9 | 280 | Quiescent late history |
| Milky Way-mass ‘latte’ (|$M_{\rm halo} \sim 10^{12}\, {\rm M}_{\odot }$|) haloes: | ||||||||
| m12i | 1.2e12 | 275 | 6.5e10 | 2.9 | 7.0 | 0.38 | 150 | ‘Latte’ primary halo |
| m12f | 1.6e12 | 306 | 8.0e10 | 4.0 | 7.0 | 0.51 | 130 | MW-like halo |
| m12m | 1.5e12 | 301 | 1.2e11 | 5.6 | 7.0 | 0.27 | 180 | Earlier forming halo, boxy bulge |
| ‘Low’-Resolution Milky Way-Mass Halo Survey: | ||||||||
| m12i_LowRes | 1.2e12 | 278 | 1.0e11 | 2.3 | 56 | 1.4 | 290 | Low-resolution ‘Latte’ halo |
| m12f_LowRes | 1.6e12 | 310 | 1.3e11 | 3.1 | 56 | 1.4 | 310 | Low-resolution MW-like halo |
| m12b_LowRes | 1.4e12 | 291 | 9.8e10 | 1.5 | 56 | 1.4 | 300 | Early-forming halo |
| m12c_LowRes | 1.3e12 | 285 | 9.2e10 | 1.6 | 56 | 1.4 | 310 | Late-forming halo |
| m12m_LowRes | 1.5e12 | 302 | 1.4e11 | 5.0 | 56 | 1.4 | 360 | Early-forming halo |
| m12q_LowRes | 1.6e12 | 308 | 1.2e11 | 1.9 | 56 | 1.4 | 240 | Early-forming halo |
| m12z_LowRes | 8.7e11 | 251 | 4.3e10 | 6.0 | 33 | 8.0 | 520 | Little/no bulge, merger at |$z$| ≈ 0 |
| m12_ELVIS_Robin | 1.6e12 | 306 | 6.7e10 | 3.4 | 56 | 1.5 | 400 | Late-forming, gas-rich in pair |
| m12_ELVIS_Batman | 2.0e12 | 325 | 1.2e11 | 1.0 | 56 | 1.5 | 210 | Compact, early-forming in pair |
| m12_ELVIS_Thelma | 1.1e12 | 272 | 7.0e10 | 3.6 | 32 | 2.0 | 260 | MW-like in Local Group pair |
| m12_ELVIS_Louise | 1.5e12 | 297 | 1.3e11 | 4.2 | 32 | 2.0 | 300 | M31-like in Local Group pair |
| m12_ELVIS_Romeo | 1.3e12 | 285 | 8.1e10 | 6.5 | 28 | 1.0 | 280 | M31-like in Local Group pair |
| m12_ELVIS_Juliet | 1.1e12 | 267 | 6.0e10 | 5.0 | 28 | 1.0 | 260 | MW-like in Local Group pair |
Parameters describing the initial suite of FIRE-2 simulations in this paper. Each simulation contains several (in some, several dozen) galaxies in the high-resolution zoom-in region; halo and stellar properties listed refer only to the main ‘target’ halo around which the high-resolution zoom-in region is centred. All properties refer to our highest resolution simulation using each initial condition. All units are physical.
(1) Name of simulation.
(2)|$M_{\rm halo}^{\rm vir}$|: Virial mass (following Bryan & Norman 1998) of the ‘target’ halo at |$z$| = 0 in simulation with baryons.
(3)Rvir: Virial radius (spherical) of the main halo at |$z$| = 0.
(4)M*: Stellar mass (within |$\le 3\, R_{1/2}$|) of the central galaxy in the target halo at |$z$| = 0.
(5)R1/2: Half-mass radius of stars in the central galaxy at |$z$| = 0 (see Section 3).
(6)mi, 1000: The mass of baryonic (gas or star) particles, in units of |$1000\, {\rm M}_{\odot }$|. Dark matter (DM) particle masses are ≈5 × larger, according to the universal baryon fraction.
(7)|$\epsilon _{\rm gas}^{\rm MIN}$|: Minimum gravitational force softening reached by gas in the simulation. For gas, gravitational force resolution is identical to hydrodynamic spatial resolution (the same spatial gas distribution appears in gravity and hydrodynamic equations at all times). The gravitational force softening, εi, therefore corresponds to the gas interparticle separation, hi: εi = hi. See Section 4 for other definitions of ‘spatial resolution’. Forces become exactly Keplerian (point-mass like) at |$\gt 1.95\, \epsilon _{\rm gas}$| from a particle; the ‘Plummer-equivalent’ softening is |${\approx } 0.7\, \epsilon _{\rm gas}$|.
(8)|$r_{\rm DM}^{\rm conv}$|: Radius of convergence in DM properties (based on the Power et al. 2003 criterion, with our calculation of where DM-only simulations converge from Section 4). This is approximately the radius enclosing >200 DM particles. We show below that convergence in DM profiles can in fact extend to much smaller radii in runs with baryons. Section 4 shows that the DM force softening εDM is much less important, as long as it is |${\lesssim } r_{\rm DM}^{\rm conv}$|. In our default runs, εDM is fixed with values |$=40\, {\rm pc}$| for our dwarfs and |$=30\, {\rm pc}$| in our MW-mass (m12) systems.
(9) Notes: Additional information on each simulation.
Initial suite of FIRE-2 simulations run to redshift |$z$| = 0.
| Simulation | |$M_{\rm halo}^{\rm vir}$| | Rvir | M* | R1/2 | mi, 1000 | |$\epsilon _{\rm gas}^{\rm MIN}$| | |$r_{\rm DM}^{\rm conv}$| | Notes |
|---|---|---|---|---|---|---|---|---|
| name | (M⊙) | (kpc) | (M⊙) | (kpc) | |$(1000\, {\rm M}_{\odot })$| | (pc) | (pc) | |
| Ultrafaints (|$M_{\rm halo}\lesssim 10^{10}\, {\rm M}_{\odot }$|): | ||||||||
| m09 | 2.4e9 | 35.6 | 9.4e3 | 0.29 | 0.25 | 1.1 | 65 | Early-forming, ultrafaint field dwarf |
| m10a | 7.0e9 | 51.5 | – | – | 0.50 | – | 88 | Very late-forming, dark halo (no stars) |
| Low-Mass Dwarf (|$M_{\rm halo}\sim 10^{10}\, {\rm M}_{\odot }$|) Survey: | ||||||||
| m10q | 8.0e9 | 52.4 | 1.8e6 | 0.63 | 0.25 | 0.52 | 73 | Isolated dwarf, early-forming halo |
| m10g | 8.0e9 | 52.4 | 5.3e6 | 0.89 | 0.50 | 2.0 | 110 | Early-forming |
| m10v | 8.3e9 | 53.1 | 1.0e5 | 0.31 | 0.25 | 0.73 | 65 | Isolated dwarf, late-forming halo |
| m10d | 8.5e9 | 53.6 | 1.3e6 | 0.50 | 0.50 | 2.0 | 77 | Intermediate-forming |
| m10c | 9.0e9 | 54.6 | 4.7e5 | 0.30 | 0.50 | 2.0 | 92 | Late-forming |
| m10b | 9.4e9 | 55.4 | 4.5e5 | 0.33 | 0.50 | 2.0 | 77 | Late-forming |
| m10e | 1.0e10 | 57.1 | 1.8e6 | 0.58 | 0.50 | 2.0 | 120 | Late-forming |
| m10i | 1.1e10 | 57.8 | 7.1e6 | 0.52 | 0.50 | 2.0 | 75 | Early-forming |
| m10l | 1.1e10 | 57.8 | 1.2e7 | 0.72 | 0.50 | 2.0 | 110 | Early-forming |
| m10j | 1.1e10 | 58.5 | 8.4e6 | 0.70 | 0.50 | 2.0 | 86 | Late-forming, dense environment |
| m10k | 1.2e10 | 59.3 | 9.5e6 | 1.0 | 0.50 | 2.0 | 140 | Early-forming |
| m10m | 1.2e10 | 59.4 | 1.3e7 | 0.89 | 0.50 | 2.0 | 120 | Early-forming |
| m10h | 1.3e10 | 61.6 | 6.8e6 | 0.74 | 0.50 | 2.0 | 96 | Intermediate-forming |
| m10f | 1.3e10 | 62.3 | 1.1e7 | 1.1 | 0.50 | 2.0 | 150 | Early-forming |
| m10y | 1.4e10 | 63.9 | 1.0e7 | 0.96 | 0.26 | 0.21 | 74 | Early-forming, large core |
| Intermediate-mass dwarfs (|$10^{10}\, {\rm M}_{\odot }\lesssim M_{\rm halo} \lesssim 10^{12}\, {\rm M}_{\odot }$|): | ||||||||
| m10z | 3.5e10 | 85.6 | 3.5e7 | 2.1 | 0.26 | 0.21 | 130 | Ultradiffuse galaxy |
| m11a | 4.1e10 | 90.5 | 1.2e8 | 2.7 | 2.1 | 4.3 | 310 | Diffuse, large core |
| m11b | 4.3e10 | 92.2 | 1.1e8 | 2.4 | 2.1 | 2.9 | 250 | Intermediate-forming |
| m11q | 1.4e11 | 136 | 4.1e8 | 2.7 | 0.88 | 0.71 | 120 | Early-forming, large core |
| m11c | 1.4e11 | 138 | 8.1e8 | 2.7 | 2.1 | 0.40 | 250 | Intermediate-forming |
| m11v | 3.2e11 | 177 | 2.4e9 | 2.5 | 7.0 | 1.3 | 310 | Multimerger ongoing (|$z$| = 0) |
| m11f | 5.0e11 | 208 | 2.4e10 | 2.6 | 12 | 0.9 | 280 | Quiescent late history |
| Milky Way-mass ‘latte’ (|$M_{\rm halo} \sim 10^{12}\, {\rm M}_{\odot }$|) haloes: | ||||||||
| m12i | 1.2e12 | 275 | 6.5e10 | 2.9 | 7.0 | 0.38 | 150 | ‘Latte’ primary halo |
| m12f | 1.6e12 | 306 | 8.0e10 | 4.0 | 7.0 | 0.51 | 130 | MW-like halo |
| m12m | 1.5e12 | 301 | 1.2e11 | 5.6 | 7.0 | 0.27 | 180 | Earlier forming halo, boxy bulge |
| ‘Low’-Resolution Milky Way-Mass Halo Survey: | ||||||||
| m12i_LowRes | 1.2e12 | 278 | 1.0e11 | 2.3 | 56 | 1.4 | 290 | Low-resolution ‘Latte’ halo |
| m12f_LowRes | 1.6e12 | 310 | 1.3e11 | 3.1 | 56 | 1.4 | 310 | Low-resolution MW-like halo |
| m12b_LowRes | 1.4e12 | 291 | 9.8e10 | 1.5 | 56 | 1.4 | 300 | Early-forming halo |
| m12c_LowRes | 1.3e12 | 285 | 9.2e10 | 1.6 | 56 | 1.4 | 310 | Late-forming halo |
| m12m_LowRes | 1.5e12 | 302 | 1.4e11 | 5.0 | 56 | 1.4 | 360 | Early-forming halo |
| m12q_LowRes | 1.6e12 | 308 | 1.2e11 | 1.9 | 56 | 1.4 | 240 | Early-forming halo |
| m12z_LowRes | 8.7e11 | 251 | 4.3e10 | 6.0 | 33 | 8.0 | 520 | Little/no bulge, merger at |$z$| ≈ 0 |
| m12_ELVIS_Robin | 1.6e12 | 306 | 6.7e10 | 3.4 | 56 | 1.5 | 400 | Late-forming, gas-rich in pair |
| m12_ELVIS_Batman | 2.0e12 | 325 | 1.2e11 | 1.0 | 56 | 1.5 | 210 | Compact, early-forming in pair |
| m12_ELVIS_Thelma | 1.1e12 | 272 | 7.0e10 | 3.6 | 32 | 2.0 | 260 | MW-like in Local Group pair |
| m12_ELVIS_Louise | 1.5e12 | 297 | 1.3e11 | 4.2 | 32 | 2.0 | 300 | M31-like in Local Group pair |
| m12_ELVIS_Romeo | 1.3e12 | 285 | 8.1e10 | 6.5 | 28 | 1.0 | 280 | M31-like in Local Group pair |
| m12_ELVIS_Juliet | 1.1e12 | 267 | 6.0e10 | 5.0 | 28 | 1.0 | 260 | MW-like in Local Group pair |
| Simulation | |$M_{\rm halo}^{\rm vir}$| | Rvir | M* | R1/2 | mi, 1000 | |$\epsilon _{\rm gas}^{\rm MIN}$| | |$r_{\rm DM}^{\rm conv}$| | Notes |
|---|---|---|---|---|---|---|---|---|
| name | (M⊙) | (kpc) | (M⊙) | (kpc) | |$(1000\, {\rm M}_{\odot })$| | (pc) | (pc) | |
| Ultrafaints (|$M_{\rm halo}\lesssim 10^{10}\, {\rm M}_{\odot }$|): | ||||||||
| m09 | 2.4e9 | 35.6 | 9.4e3 | 0.29 | 0.25 | 1.1 | 65 | Early-forming, ultrafaint field dwarf |
| m10a | 7.0e9 | 51.5 | – | – | 0.50 | – | 88 | Very late-forming, dark halo (no stars) |
| Low-Mass Dwarf (|$M_{\rm halo}\sim 10^{10}\, {\rm M}_{\odot }$|) Survey: | ||||||||
| m10q | 8.0e9 | 52.4 | 1.8e6 | 0.63 | 0.25 | 0.52 | 73 | Isolated dwarf, early-forming halo |
| m10g | 8.0e9 | 52.4 | 5.3e6 | 0.89 | 0.50 | 2.0 | 110 | Early-forming |
| m10v | 8.3e9 | 53.1 | 1.0e5 | 0.31 | 0.25 | 0.73 | 65 | Isolated dwarf, late-forming halo |
| m10d | 8.5e9 | 53.6 | 1.3e6 | 0.50 | 0.50 | 2.0 | 77 | Intermediate-forming |
| m10c | 9.0e9 | 54.6 | 4.7e5 | 0.30 | 0.50 | 2.0 | 92 | Late-forming |
| m10b | 9.4e9 | 55.4 | 4.5e5 | 0.33 | 0.50 | 2.0 | 77 | Late-forming |
| m10e | 1.0e10 | 57.1 | 1.8e6 | 0.58 | 0.50 | 2.0 | 120 | Late-forming |
| m10i | 1.1e10 | 57.8 | 7.1e6 | 0.52 | 0.50 | 2.0 | 75 | Early-forming |
| m10l | 1.1e10 | 57.8 | 1.2e7 | 0.72 | 0.50 | 2.0 | 110 | Early-forming |
| m10j | 1.1e10 | 58.5 | 8.4e6 | 0.70 | 0.50 | 2.0 | 86 | Late-forming, dense environment |
| m10k | 1.2e10 | 59.3 | 9.5e6 | 1.0 | 0.50 | 2.0 | 140 | Early-forming |
| m10m | 1.2e10 | 59.4 | 1.3e7 | 0.89 | 0.50 | 2.0 | 120 | Early-forming |
| m10h | 1.3e10 | 61.6 | 6.8e6 | 0.74 | 0.50 | 2.0 | 96 | Intermediate-forming |
| m10f | 1.3e10 | 62.3 | 1.1e7 | 1.1 | 0.50 | 2.0 | 150 | Early-forming |
| m10y | 1.4e10 | 63.9 | 1.0e7 | 0.96 | 0.26 | 0.21 | 74 | Early-forming, large core |
| Intermediate-mass dwarfs (|$10^{10}\, {\rm M}_{\odot }\lesssim M_{\rm halo} \lesssim 10^{12}\, {\rm M}_{\odot }$|): | ||||||||
| m10z | 3.5e10 | 85.6 | 3.5e7 | 2.1 | 0.26 | 0.21 | 130 | Ultradiffuse galaxy |
| m11a | 4.1e10 | 90.5 | 1.2e8 | 2.7 | 2.1 | 4.3 | 310 | Diffuse, large core |
| m11b | 4.3e10 | 92.2 | 1.1e8 | 2.4 | 2.1 | 2.9 | 250 | Intermediate-forming |
| m11q | 1.4e11 | 136 | 4.1e8 | 2.7 | 0.88 | 0.71 | 120 | Early-forming, large core |
| m11c | 1.4e11 | 138 | 8.1e8 | 2.7 | 2.1 | 0.40 | 250 | Intermediate-forming |
| m11v | 3.2e11 | 177 | 2.4e9 | 2.5 | 7.0 | 1.3 | 310 | Multimerger ongoing (|$z$| = 0) |
| m11f | 5.0e11 | 208 | 2.4e10 | 2.6 | 12 | 0.9 | 280 | Quiescent late history |
| Milky Way-mass ‘latte’ (|$M_{\rm halo} \sim 10^{12}\, {\rm M}_{\odot }$|) haloes: | ||||||||
| m12i | 1.2e12 | 275 | 6.5e10 | 2.9 | 7.0 | 0.38 | 150 | ‘Latte’ primary halo |
| m12f | 1.6e12 | 306 | 8.0e10 | 4.0 | 7.0 | 0.51 | 130 | MW-like halo |
| m12m | 1.5e12 | 301 | 1.2e11 | 5.6 | 7.0 | 0.27 | 180 | Earlier forming halo, boxy bulge |
| ‘Low’-Resolution Milky Way-Mass Halo Survey: | ||||||||
| m12i_LowRes | 1.2e12 | 278 | 1.0e11 | 2.3 | 56 | 1.4 | 290 | Low-resolution ‘Latte’ halo |
| m12f_LowRes | 1.6e12 | 310 | 1.3e11 | 3.1 | 56 | 1.4 | 310 | Low-resolution MW-like halo |
| m12b_LowRes | 1.4e12 | 291 | 9.8e10 | 1.5 | 56 | 1.4 | 300 | Early-forming halo |
| m12c_LowRes | 1.3e12 | 285 | 9.2e10 | 1.6 | 56 | 1.4 | 310 | Late-forming halo |
| m12m_LowRes | 1.5e12 | 302 | 1.4e11 | 5.0 | 56 | 1.4 | 360 | Early-forming halo |
| m12q_LowRes | 1.6e12 | 308 | 1.2e11 | 1.9 | 56 | 1.4 | 240 | Early-forming halo |
| m12z_LowRes | 8.7e11 | 251 | 4.3e10 | 6.0 | 33 | 8.0 | 520 | Little/no bulge, merger at |$z$| ≈ 0 |
| m12_ELVIS_Robin | 1.6e12 | 306 | 6.7e10 | 3.4 | 56 | 1.5 | 400 | Late-forming, gas-rich in pair |
| m12_ELVIS_Batman | 2.0e12 | 325 | 1.2e11 | 1.0 | 56 | 1.5 | 210 | Compact, early-forming in pair |
| m12_ELVIS_Thelma | 1.1e12 | 272 | 7.0e10 | 3.6 | 32 | 2.0 | 260 | MW-like in Local Group pair |
| m12_ELVIS_Louise | 1.5e12 | 297 | 1.3e11 | 4.2 | 32 | 2.0 | 300 | M31-like in Local Group pair |
| m12_ELVIS_Romeo | 1.3e12 | 285 | 8.1e10 | 6.5 | 28 | 1.0 | 280 | M31-like in Local Group pair |
| m12_ELVIS_Juliet | 1.1e12 | 267 | 6.0e10 | 5.0 | 28 | 1.0 | 260 | MW-like in Local Group pair |
Parameters describing the initial suite of FIRE-2 simulations in this paper. Each simulation contains several (in some, several dozen) galaxies in the high-resolution zoom-in region; halo and stellar properties listed refer only to the main ‘target’ halo around which the high-resolution zoom-in region is centred. All properties refer to our highest resolution simulation using each initial condition. All units are physical.
(1) Name of simulation.
(2)|$M_{\rm halo}^{\rm vir}$|: Virial mass (following Bryan & Norman 1998) of the ‘target’ halo at |$z$| = 0 in simulation with baryons.
(3)Rvir: Virial radius (spherical) of the main halo at |$z$| = 0.
(4)M*: Stellar mass (within |$\le 3\, R_{1/2}$|) of the central galaxy in the target halo at |$z$| = 0.
(5)R1/2: Half-mass radius of stars in the central galaxy at |$z$| = 0 (see Section 3).
(6)mi, 1000: The mass of baryonic (gas or star) particles, in units of |$1000\, {\rm M}_{\odot }$|. Dark matter (DM) particle masses are ≈5 × larger, according to the universal baryon fraction.
(7)|$\epsilon _{\rm gas}^{\rm MIN}$|: Minimum gravitational force softening reached by gas in the simulation. For gas, gravitational force resolution is identical to hydrodynamic spatial resolution (the same spatial gas distribution appears in gravity and hydrodynamic equations at all times). The gravitational force softening, εi, therefore corresponds to the gas interparticle separation, hi: εi = hi. See Section 4 for other definitions of ‘spatial resolution’. Forces become exactly Keplerian (point-mass like) at |$\gt 1.95\, \epsilon _{\rm gas}$| from a particle; the ‘Plummer-equivalent’ softening is |${\approx } 0.7\, \epsilon _{\rm gas}$|.
(8)|$r_{\rm DM}^{\rm conv}$|: Radius of convergence in DM properties (based on the Power et al. 2003 criterion, with our calculation of where DM-only simulations converge from Section 4). This is approximately the radius enclosing >200 DM particles. We show below that convergence in DM profiles can in fact extend to much smaller radii in runs with baryons. Section 4 shows that the DM force softening εDM is much less important, as long as it is |${\lesssim } r_{\rm DM}^{\rm conv}$|. In our default runs, εDM is fixed with values |$=40\, {\rm pc}$| for our dwarfs and |$=30\, {\rm pc}$| in our MW-mass (m12) systems.
(9) Notes: Additional information on each simulation.
Physics and numerics explored in this paper (and Papers II and III).
| Physics/numerics | Section | Effects in FIRE-2 simulations | Guidelines / Default Choice |
|---|---|---|---|
| Resolution: | |||
| Mass resolution | 4.1 | Most results robust after resolving the Toomre scale, some (e.g. | Resolution criteria in |
| massive galaxy morphology) depend on resolved winds/hot gas | Section 4.1.3 (Equation 5-7) | ||
| Collisionless (DM/stellar) | 4.2 | Irrelevant unless extremely small or very large values used, | Optimal range of values |
| Force softening | adaptive collisionless softenings require additional time-step limiters | In Section 4.2.2 | |
| Gas force softening | 4.2 | Forcing fixed softening generally has no effect, unless too large, | Fully-adaptive softenings |
| then fragmentation and SF are artificially suppressed | (matching gas) should be used | ||
| Time-step criteria | 4.3 | Provided that standard stability criteria are met, this has no effect. | Standard limiters + Stellar (Equation 12) |
| Additional limiters needed for stellar evolution and adaptive softening | + Adaptive softening (Equation 13) | ||
| (Magneto)hydrodynamics: | |||
| Hydro method | 5 | Irrelevant for dwarfs. Important for massive galaxies with hot haloes. | Newer methods recommended |
| (MFM versus SPH) | SPH may suppress cooling & artificially allows clumpy winds to vent | ||
| Artificial pressure | 6 | Unimportant unless set too large, then prevents real fragmentation. | Do not use with |
| ‘floors’ | Double-counts ‘subgrid’ treatment of fragmentation with SF model | Self-gravity based SF models | |
| Magnetic fields, | F | Weak effects on subgalactic scales (dense gas, morphology, turbulent ISM) | See Su et al. (2017a) |
| conduction, viscosity | (not studied here, but in Su et al. 2017a; effects in CGM could be larger) | ||
| Metal diffusion | 7.2 and F | Small effects on galaxy properties & dynamics, | Best practice depends |
| (subresolution mixing) | But potentially important for abundance distributions of stars | On numerical hydro method | |
| Cooling: | |||
| Molecular chemistry/cooling | 7 and B | No effect on galaxy properties or star formation (just a tracer). | May be relevant at [Z/H] ≪−3, can be |
| Not important star formation criterion if fragmentation is resolved | Important for observational tracers | ||
| Low-temperature cooling | 7 and B | Details have no dynamical effects because tcool ≪ tdyn in cold gas | Some needed to form cold clouds, |
| (|$T \ll 10^{4}\,$| K) | to opacity limit (|${\sim } 0.01\, {\rm M}_{\odot }$|). Relevant for observables in cold phase | Details dynamically irrelevant | |
| Metal-line cooling | 7 and B | Dominates cooling in metal-rich centres of ‘hot haloes’ around massive | Needed: important in |
| (|$T \gtrsim 10^{4}\,$| K) | Galaxies, and of individual SNe blastwaves | Superbubbles & ‘hot haloes’ | |
| Photoheating (background) | 7 and B | Significantly suppresses star formation in small (|$M_{\rm halo}\lesssim 10^{10}\, {\rm M}_{\odot }$|) dwarfs | Needed: dwarfs & CGM/IGM |
| Star formation: | |||
| Self-gravity (virial) criterion | 8 and C | Negligible effect on galaxy properties (SF is feedback-regulated). More | Recommended; |
| accurately identifies collapsing regions in high-dynamic range situations | See Appendix C for implementation | ||
| Density threshold | 8 and C | Negligible effect on galaxy properties (SF is feedback-regulated) | Should exceed galactic mean density; |
| Can be arbitrarily high with adaptive gas softenings | Ideally, highest resolved densities | ||
| Jeans-instability criterion | 8 and C | Negligible effect on galaxy properties (SF is feedback-regulated). | Not necessary |
| Automatically satisfied in high-density, self-gravitating gas | |||
| Self-shielding/molecular | 8 and C | Negligible effect on galaxy properties (SF is feedback-regulated). | Not necessary |
| criterion | Automatically satisfied in high-density, self-gravitating gas | ||
| ‘Efficiency’ (rate) | 8 and C | Negligible effect on galaxy properties (SF is feedback-regulated). | ∼100 per cent per free-fall |
| at resolution limit | If artificially lowered, more dense gas ‘piles up’ until same SFR achieved | In locally-self-gravitating gas | |
| Stellar feedback: | |||
| Continuous mass-loss | 9 and A | Primarily important as a late-time fuel source for SF | Couple as Appendix D. |
| (OB and AGB) | Relatively weak ‘primary’ feedback effects on galactic scales | Rates given in Section A | |
| Supernovae (Ia and II) | A and D | Type-II: Dominant FB mechanism on cosmological scales. Need to account | Couple as Appendix D. |
| (‘How to Couple’) | Paper II | for P d V work if Sedov phase un-resolved. Subgrid models should reproduce | Validation & convergence tests |
| exact solutions, conserve mass, energy, and momentum, and converge | and criteria in Paper II | ||
| Radiative feedback | A and E | ‘Smooths’ SF in dwarfs (less bursty) and suppresses SF in dense gas. | Need photoheating & single- |
| (photoheating and | Paper III | UV background dominates in dwarfs. Photoelectric heating unimportant. | Scattering rad. pressure (Paper III). |
| radiation pressure) | IR multiple-scattering effects weak, except in massive galaxy nuclei. | Rad.-hydro algorithm subdominant | |
| Physics/numerics | Section | Effects in FIRE-2 simulations | Guidelines / Default Choice |
|---|---|---|---|
| Resolution: | |||
| Mass resolution | 4.1 | Most results robust after resolving the Toomre scale, some (e.g. | Resolution criteria in |
| massive galaxy morphology) depend on resolved winds/hot gas | Section 4.1.3 (Equation 5-7) | ||
| Collisionless (DM/stellar) | 4.2 | Irrelevant unless extremely small or very large values used, | Optimal range of values |
| Force softening | adaptive collisionless softenings require additional time-step limiters | In Section 4.2.2 | |
| Gas force softening | 4.2 | Forcing fixed softening generally has no effect, unless too large, | Fully-adaptive softenings |
| then fragmentation and SF are artificially suppressed | (matching gas) should be used | ||
| Time-step criteria | 4.3 | Provided that standard stability criteria are met, this has no effect. | Standard limiters + Stellar (Equation 12) |
| Additional limiters needed for stellar evolution and adaptive softening | + Adaptive softening (Equation 13) | ||
| (Magneto)hydrodynamics: | |||
| Hydro method | 5 | Irrelevant for dwarfs. Important for massive galaxies with hot haloes. | Newer methods recommended |
| (MFM versus SPH) | SPH may suppress cooling & artificially allows clumpy winds to vent | ||
| Artificial pressure | 6 | Unimportant unless set too large, then prevents real fragmentation. | Do not use with |
| ‘floors’ | Double-counts ‘subgrid’ treatment of fragmentation with SF model | Self-gravity based SF models | |
| Magnetic fields, | F | Weak effects on subgalactic scales (dense gas, morphology, turbulent ISM) | See Su et al. (2017a) |
| conduction, viscosity | (not studied here, but in Su et al. 2017a; effects in CGM could be larger) | ||
| Metal diffusion | 7.2 and F | Small effects on galaxy properties & dynamics, | Best practice depends |
| (subresolution mixing) | But potentially important for abundance distributions of stars | On numerical hydro method | |
| Cooling: | |||
| Molecular chemistry/cooling | 7 and B | No effect on galaxy properties or star formation (just a tracer). | May be relevant at [Z/H] ≪−3, can be |
| Not important star formation criterion if fragmentation is resolved | Important for observational tracers | ||
| Low-temperature cooling | 7 and B | Details have no dynamical effects because tcool ≪ tdyn in cold gas | Some needed to form cold clouds, |
| (|$T \ll 10^{4}\,$| K) | to opacity limit (|${\sim } 0.01\, {\rm M}_{\odot }$|). Relevant for observables in cold phase | Details dynamically irrelevant | |
| Metal-line cooling | 7 and B | Dominates cooling in metal-rich centres of ‘hot haloes’ around massive | Needed: important in |
| (|$T \gtrsim 10^{4}\,$| K) | Galaxies, and of individual SNe blastwaves | Superbubbles & ‘hot haloes’ | |
| Photoheating (background) | 7 and B | Significantly suppresses star formation in small (|$M_{\rm halo}\lesssim 10^{10}\, {\rm M}_{\odot }$|) dwarfs | Needed: dwarfs & CGM/IGM |
| Star formation: | |||
| Self-gravity (virial) criterion | 8 and C | Negligible effect on galaxy properties (SF is feedback-regulated). More | Recommended; |
| accurately identifies collapsing regions in high-dynamic range situations | See Appendix C for implementation | ||
| Density threshold | 8 and C | Negligible effect on galaxy properties (SF is feedback-regulated) | Should exceed galactic mean density; |
| Can be arbitrarily high with adaptive gas softenings | Ideally, highest resolved densities | ||
| Jeans-instability criterion | 8 and C | Negligible effect on galaxy properties (SF is feedback-regulated). | Not necessary |
| Automatically satisfied in high-density, self-gravitating gas | |||
| Self-shielding/molecular | 8 and C | Negligible effect on galaxy properties (SF is feedback-regulated). | Not necessary |
| criterion | Automatically satisfied in high-density, self-gravitating gas | ||
| ‘Efficiency’ (rate) | 8 and C | Negligible effect on galaxy properties (SF is feedback-regulated). | ∼100 per cent per free-fall |
| at resolution limit | If artificially lowered, more dense gas ‘piles up’ until same SFR achieved | In locally-self-gravitating gas | |
| Stellar feedback: | |||
| Continuous mass-loss | 9 and A | Primarily important as a late-time fuel source for SF | Couple as Appendix D. |
| (OB and AGB) | Relatively weak ‘primary’ feedback effects on galactic scales | Rates given in Section A | |
| Supernovae (Ia and II) | A and D | Type-II: Dominant FB mechanism on cosmological scales. Need to account | Couple as Appendix D. |
| (‘How to Couple’) | Paper II | for P d V work if Sedov phase un-resolved. Subgrid models should reproduce | Validation & convergence tests |
| exact solutions, conserve mass, energy, and momentum, and converge | and criteria in Paper II | ||
| Radiative feedback | A and E | ‘Smooths’ SF in dwarfs (less bursty) and suppresses SF in dense gas. | Need photoheating & single- |
| (photoheating and | Paper III | UV background dominates in dwarfs. Photoelectric heating unimportant. | Scattering rad. pressure (Paper III). |
| radiation pressure) | IR multiple-scattering effects weak, except in massive galaxy nuclei. | Rad.-hydro algorithm subdominant | |
A cursory outline of the physics and numerics explored in this paper. All ‘standard’ FIRE-2 simulations, including all in Table 1, are run with the identical simulation code and physics. However, to understand how physical and numerical changes influence our results, we systematically ‘turn off’ different physics and vary the numerical method and/or resolution in the sections listed here.
(1) Physics/numerics: what we consider.
(2) §: Section where we pursue a detailed study of the effects of each numerics/physics on galaxy formation.
(3) Effects in FIRE-2 simulations: Overall summary of the effects of variation in the relevant physics or numerics, insofar as it is relevant (or not) for the predictions of our simulations. This applies only for quantities discussed in this paper, that is, global galaxy properties such as SFRs, stellar masses, sizes, and morphologies. For example, although we show that arbitrarily removing molecular chemistry from our cooling networks has no effect on predicted galaxy properties or star formation (because other cooling channels are available and molecular gas is primarily a tracer, not a causal driver of star formation), molecular chemistry is obviously fundamentally important if one wishes to predict molecular lines. Furthermore, we do not examine detailed properties of the CGM or IGM, where different physics may dominate.
(4) Guidelines: Approximate ‘rules of thumb’ for the relevant physics or numerics in the context of our ‘zoom-in’ galaxy simulations. In the text, we provide more detailed guidelines. For example, for numerical resolution and other numerical parameters, we provide equations that approximately determine whether or not key physics should be resolved.
Physics and numerics explored in this paper (and Papers II and III).
| Physics/numerics | Section | Effects in FIRE-2 simulations | Guidelines / Default Choice |
|---|---|---|---|
| Resolution: | |||
| Mass resolution | 4.1 | Most results robust after resolving the Toomre scale, some (e.g. | Resolution criteria in |
| massive galaxy morphology) depend on resolved winds/hot gas | Section 4.1.3 (Equation 5-7) | ||
| Collisionless (DM/stellar) | 4.2 | Irrelevant unless extremely small or very large values used, | Optimal range of values |
| Force softening | adaptive collisionless softenings require additional time-step limiters | In Section 4.2.2 | |
| Gas force softening | 4.2 | Forcing fixed softening generally has no effect, unless too large, | Fully-adaptive softenings |
| then fragmentation and SF are artificially suppressed | (matching gas) should be used | ||
| Time-step criteria | 4.3 | Provided that standard stability criteria are met, this has no effect. | Standard limiters + Stellar (Equation 12) |
| Additional limiters needed for stellar evolution and adaptive softening | + Adaptive softening (Equation 13) | ||
| (Magneto)hydrodynamics: | |||
| Hydro method | 5 | Irrelevant for dwarfs. Important for massive galaxies with hot haloes. | Newer methods recommended |
| (MFM versus SPH) | SPH may suppress cooling & artificially allows clumpy winds to vent | ||
| Artificial pressure | 6 | Unimportant unless set too large, then prevents real fragmentation. | Do not use with |
| ‘floors’ | Double-counts ‘subgrid’ treatment of fragmentation with SF model | Self-gravity based SF models | |
| Magnetic fields, | F | Weak effects on subgalactic scales (dense gas, morphology, turbulent ISM) | See Su et al. (2017a) |
| conduction, viscosity | (not studied here, but in Su et al. 2017a; effects in CGM could be larger) | ||
| Metal diffusion | 7.2 and F | Small effects on galaxy properties & dynamics, | Best practice depends |
| (subresolution mixing) | But potentially important for abundance distributions of stars | On numerical hydro method | |
| Cooling: | |||
| Molecular chemistry/cooling | 7 and B | No effect on galaxy properties or star formation (just a tracer). | May be relevant at [Z/H] ≪−3, can be |
| Not important star formation criterion if fragmentation is resolved | Important for observational tracers | ||
| Low-temperature cooling | 7 and B | Details have no dynamical effects because tcool ≪ tdyn in cold gas | Some needed to form cold clouds, |
| (|$T \ll 10^{4}\,$| K) | to opacity limit (|${\sim } 0.01\, {\rm M}_{\odot }$|). Relevant for observables in cold phase | Details dynamically irrelevant | |
| Metal-line cooling | 7 and B | Dominates cooling in metal-rich centres of ‘hot haloes’ around massive | Needed: important in |
| (|$T \gtrsim 10^{4}\,$| K) | Galaxies, and of individual SNe blastwaves | Superbubbles & ‘hot haloes’ | |
| Photoheating (background) | 7 and B | Significantly suppresses star formation in small (|$M_{\rm halo}\lesssim 10^{10}\, {\rm M}_{\odot }$|) dwarfs | Needed: dwarfs & CGM/IGM |
| Star formation: | |||
| Self-gravity (virial) criterion | 8 and C | Negligible effect on galaxy properties (SF is feedback-regulated). More | Recommended; |
| accurately identifies collapsing regions in high-dynamic range situations | See Appendix C for implementation | ||
| Density threshold | 8 and C | Negligible effect on galaxy properties (SF is feedback-regulated) | Should exceed galactic mean density; |
| Can be arbitrarily high with adaptive gas softenings | Ideally, highest resolved densities | ||
| Jeans-instability criterion | 8 and C | Negligible effect on galaxy properties (SF is feedback-regulated). | Not necessary |
| Automatically satisfied in high-density, self-gravitating gas | |||
| Self-shielding/molecular | 8 and C | Negligible effect on galaxy properties (SF is feedback-regulated). | Not necessary |
| criterion | Automatically satisfied in high-density, self-gravitating gas | ||
| ‘Efficiency’ (rate) | 8 and C | Negligible effect on galaxy properties (SF is feedback-regulated). | ∼100 per cent per free-fall |
| at resolution limit | If artificially lowered, more dense gas ‘piles up’ until same SFR achieved | In locally-self-gravitating gas | |
| Stellar feedback: | |||
| Continuous mass-loss | 9 and A | Primarily important as a late-time fuel source for SF | Couple as Appendix D. |
| (OB and AGB) | Relatively weak ‘primary’ feedback effects on galactic scales | Rates given in Section A | |
| Supernovae (Ia and II) | A and D | Type-II: Dominant FB mechanism on cosmological scales. Need to account | Couple as Appendix D. |
| (‘How to Couple’) | Paper II | for P d V work if Sedov phase un-resolved. Subgrid models should reproduce | Validation & convergence tests |
| exact solutions, conserve mass, energy, and momentum, and converge | and criteria in Paper II | ||
| Radiative feedback | A and E | ‘Smooths’ SF in dwarfs (less bursty) and suppresses SF in dense gas. | Need photoheating & single- |
| (photoheating and | Paper III | UV background dominates in dwarfs. Photoelectric heating unimportant. | Scattering rad. pressure (Paper III). |
| radiation pressure) | IR multiple-scattering effects weak, except in massive galaxy nuclei. | Rad.-hydro algorithm subdominant | |
| Physics/numerics | Section | Effects in FIRE-2 simulations | Guidelines / Default Choice |
|---|---|---|---|
| Resolution: | |||
| Mass resolution | 4.1 | Most results robust after resolving the Toomre scale, some (e.g. | Resolution criteria in |
| massive galaxy morphology) depend on resolved winds/hot gas | Section 4.1.3 (Equation 5-7) | ||
| Collisionless (DM/stellar) | 4.2 | Irrelevant unless extremely small or very large values used, | Optimal range of values |
| Force softening | adaptive collisionless softenings require additional time-step limiters | In Section 4.2.2 | |
| Gas force softening | 4.2 | Forcing fixed softening generally has no effect, unless too large, | Fully-adaptive softenings |
| then fragmentation and SF are artificially suppressed | (matching gas) should be used | ||
| Time-step criteria | 4.3 | Provided that standard stability criteria are met, this has no effect. | Standard limiters + Stellar (Equation 12) |
| Additional limiters needed for stellar evolution and adaptive softening | + Adaptive softening (Equation 13) | ||
| (Magneto)hydrodynamics: | |||
| Hydro method | 5 | Irrelevant for dwarfs. Important for massive galaxies with hot haloes. | Newer methods recommended |
| (MFM versus SPH) | SPH may suppress cooling & artificially allows clumpy winds to vent | ||
| Artificial pressure | 6 | Unimportant unless set too large, then prevents real fragmentation. | Do not use with |
| ‘floors’ | Double-counts ‘subgrid’ treatment of fragmentation with SF model | Self-gravity based SF models | |
| Magnetic fields, | F | Weak effects on subgalactic scales (dense gas, morphology, turbulent ISM) | See Su et al. (2017a) |
| conduction, viscosity | (not studied here, but in Su et al. 2017a; effects in CGM could be larger) | ||
| Metal diffusion | 7.2 and F | Small effects on galaxy properties & dynamics, | Best practice depends |
| (subresolution mixing) | But potentially important for abundance distributions of stars | On numerical hydro method | |
| Cooling: | |||
| Molecular chemistry/cooling | 7 and B | No effect on galaxy properties or star formation (just a tracer). | May be relevant at [Z/H] ≪−3, can be |
| Not important star formation criterion if fragmentation is resolved | Important for observational tracers | ||
| Low-temperature cooling | 7 and B | Details have no dynamical effects because tcool ≪ tdyn in cold gas | Some needed to form cold clouds, |
| (|$T \ll 10^{4}\,$| K) | to opacity limit (|${\sim } 0.01\, {\rm M}_{\odot }$|). Relevant for observables in cold phase | Details dynamically irrelevant | |
| Metal-line cooling | 7 and B | Dominates cooling in metal-rich centres of ‘hot haloes’ around massive | Needed: important in |
| (|$T \gtrsim 10^{4}\,$| K) | Galaxies, and of individual SNe blastwaves | Superbubbles & ‘hot haloes’ | |
| Photoheating (background) | 7 and B | Significantly suppresses star formation in small (|$M_{\rm halo}\lesssim 10^{10}\, {\rm M}_{\odot }$|) dwarfs | Needed: dwarfs & CGM/IGM |
| Star formation: | |||
| Self-gravity (virial) criterion | 8 and C | Negligible effect on galaxy properties (SF is feedback-regulated). More | Recommended; |
| accurately identifies collapsing regions in high-dynamic range situations | See Appendix C for implementation | ||
| Density threshold | 8 and C | Negligible effect on galaxy properties (SF is feedback-regulated) | Should exceed galactic mean density; |
| Can be arbitrarily high with adaptive gas softenings | Ideally, highest resolved densities | ||
| Jeans-instability criterion | 8 and C | Negligible effect on galaxy properties (SF is feedback-regulated). | Not necessary |
| Automatically satisfied in high-density, self-gravitating gas | |||
| Self-shielding/molecular | 8 and C | Negligible effect on galaxy properties (SF is feedback-regulated). | Not necessary |
| criterion | Automatically satisfied in high-density, self-gravitating gas | ||
| ‘Efficiency’ (rate) | 8 and C | Negligible effect on galaxy properties (SF is feedback-regulated). | ∼100 per cent per free-fall |
| at resolution limit | If artificially lowered, more dense gas ‘piles up’ until same SFR achieved | In locally-self-gravitating gas | |
| Stellar feedback: | |||
| Continuous mass-loss | 9 and A | Primarily important as a late-time fuel source for SF | Couple as Appendix D. |
| (OB and AGB) | Relatively weak ‘primary’ feedback effects on galactic scales | Rates given in Section A | |
| Supernovae (Ia and II) | A and D | Type-II: Dominant FB mechanism on cosmological scales. Need to account | Couple as Appendix D. |
| (‘How to Couple’) | Paper II | for P d V work if Sedov phase un-resolved. Subgrid models should reproduce | Validation & convergence tests |
| exact solutions, conserve mass, energy, and momentum, and converge | and criteria in Paper II | ||
| Radiative feedback | A and E | ‘Smooths’ SF in dwarfs (less bursty) and suppresses SF in dense gas. | Need photoheating & single- |
| (photoheating and | Paper III | UV background dominates in dwarfs. Photoelectric heating unimportant. | Scattering rad. pressure (Paper III). |
| radiation pressure) | IR multiple-scattering effects weak, except in massive galaxy nuclei. | Rad.-hydro algorithm subdominant | |
A cursory outline of the physics and numerics explored in this paper. All ‘standard’ FIRE-2 simulations, including all in Table 1, are run with the identical simulation code and physics. However, to understand how physical and numerical changes influence our results, we systematically ‘turn off’ different physics and vary the numerical method and/or resolution in the sections listed here.
(1) Physics/numerics: what we consider.
(2) §: Section where we pursue a detailed study of the effects of each numerics/physics on galaxy formation.
(3) Effects in FIRE-2 simulations: Overall summary of the effects of variation in the relevant physics or numerics, insofar as it is relevant (or not) for the predictions of our simulations. This applies only for quantities discussed in this paper, that is, global galaxy properties such as SFRs, stellar masses, sizes, and morphologies. For example, although we show that arbitrarily removing molecular chemistry from our cooling networks has no effect on predicted galaxy properties or star formation (because other cooling channels are available and molecular gas is primarily a tracer, not a causal driver of star formation), molecular chemistry is obviously fundamentally important if one wishes to predict molecular lines. Furthermore, we do not examine detailed properties of the CGM or IGM, where different physics may dominate.
(4) Guidelines: Approximate ‘rules of thumb’ for the relevant physics or numerics in the context of our ‘zoom-in’ galaxy simulations. In the text, we provide more detailed guidelines. For example, for numerical resolution and other numerical parameters, we provide equations that approximately determine whether or not key physics should be resolved.
Illustrative examples of ‘resolution’ scales in an MW-mass halo (m12i).
| Resolution level run to |$z$| = 0 | |||||
|---|---|---|---|---|---|
| Property | Notation | mi, 1000 = 450 | mi, 1000 = 56 | mi, 1000 = 7 | mi, 1000 = 0.88 (DM-only) |
| Particle number | Ntot | 2.5 × 106 | 2.0 × 107 | 1.4 × 108 | 5.6 × 108 |
| Baryonic particle mass (M⊙) | mi | 4.4 × 105 | 5.6 × 104 | 7070 | – |
| Minimum time-step (yr) | Δtmin | 600 | 260 | 120 | 1000 (no gas) |
| Star-forming densities: | |||||
| Minimum density of star formation (cm−3) | |$n_{\rm SF,\, min}$| | 100 | 1000 | 1000 | – |
| Mean density of star formation (cm−3) | 〈nSF〉 | 700 | 1900 | 3400 | – |
| Gas resolution (inter-particle separation = force softening) at star-forming densities: | |||||
| Minimum spatial resolution (pc) | |$h_{i}^{\rm min}$| | 5.0 | 1.4 | 0.38 | – |
| Spatial resolution at |$n_{\rm SF,\, min}$| (pc) | |$h_{i}^{\rm threshold}$| | 57 | 13 | 7 | – |
| Spatial resolution at 〈nSF〉 (pc) | |$h_{i}^{\langle SF \rangle }$| | 30 | 10 | 4.6 | – |
| Jeans scales in warm (104 K) ISM, corresponding to marginally resolved (10-element) structures: | |||||
| Minimum Jeans radius =LJeans/2 (pc) | |$\lambda ^{J,\, WIM}$| | 130 | 17 | 2.1 | – |
| Maximum density with resolved MJeans (cm−3) | |$n_{\rm max}^{J,\, WIM}$| | 20 | 1200 | 7.4 × 104 | – |
| Turbulent Jeans scales in cold clouds (|$T=10\,$| K, |$\Sigma _{\rm GMC} = 300\, {\rm M}_{\odot }\, {\rm pc^{-2}}$|), Corresponding to marginally-resolved (10-element) structures: | |||||
| Minimum turbulent Jeans radius (pc) | |$\lambda ^{{\rm turb},\, CNM}$| | 42 | 15 | 5.3 | – |
| Maximum density with resolved |$M_{\rm Jeans}^{\rm turb}$| (cm−3) | |$n_{\rm max}^{{\rm turb},\, CNM}$| | 570 | 1600 | 4600 | – |
| Dark matter resolution: | |||||
| Particle mass (M⊙) | mDM | 2.7 × 106 | 3.4 × 105 | 4.3 × 104 | 5400 |
| Minimum inter-particle separation (pc) | |$h_{i}^{\rm DM,\, min}$| | 66 | 32 | 16 | 8.2 |
| RMS separation within galaxies at |$z$| = 0 (pc) | |$h_{i}^{\rm DM,\, core}$| | 330 | 150 | 70 | 38 |
| DM convergence radius, |$t_{\rm relax}=0.06\, t_{\rm circ}(R_{200})$| (pc) | r0.06 | 670 | 300 | 150 | 75 |
| Typical ‘N-body heating’ rates: | |||||
| Gas–gas scattering (|${\rm erg\, cm^{3}\, s^{-1}}$|) | |$\langle Q_{\rm heat}^{\rm gas-gas} \rangle$| | 8 × 10−30 | 1 × 10−30 | 1 × 10−31 | – |
| Gas–DM scattering (|${\rm erg\, cm^{3}\, s^{-1}}$|) | |$\langle Q_{\rm heat}^{\rm gas-DM} \rangle$| | 2 × 10−27 | 2 × 10−28 | 5 × 10−30 | – |
| Resolution level run to |$z$| = 0 | |||||
|---|---|---|---|---|---|
| Property | Notation | mi, 1000 = 450 | mi, 1000 = 56 | mi, 1000 = 7 | mi, 1000 = 0.88 (DM-only) |
| Particle number | Ntot | 2.5 × 106 | 2.0 × 107 | 1.4 × 108 | 5.6 × 108 |
| Baryonic particle mass (M⊙) | mi | 4.4 × 105 | 5.6 × 104 | 7070 | – |
| Minimum time-step (yr) | Δtmin | 600 | 260 | 120 | 1000 (no gas) |
| Star-forming densities: | |||||
| Minimum density of star formation (cm−3) | |$n_{\rm SF,\, min}$| | 100 | 1000 | 1000 | – |
| Mean density of star formation (cm−3) | 〈nSF〉 | 700 | 1900 | 3400 | – |
| Gas resolution (inter-particle separation = force softening) at star-forming densities: | |||||
| Minimum spatial resolution (pc) | |$h_{i}^{\rm min}$| | 5.0 | 1.4 | 0.38 | – |
| Spatial resolution at |$n_{\rm SF,\, min}$| (pc) | |$h_{i}^{\rm threshold}$| | 57 | 13 | 7 | – |
| Spatial resolution at 〈nSF〉 (pc) | |$h_{i}^{\langle SF \rangle }$| | 30 | 10 | 4.6 | – |
| Jeans scales in warm (104 K) ISM, corresponding to marginally resolved (10-element) structures: | |||||
| Minimum Jeans radius =LJeans/2 (pc) | |$\lambda ^{J,\, WIM}$| | 130 | 17 | 2.1 | – |
| Maximum density with resolved MJeans (cm−3) | |$n_{\rm max}^{J,\, WIM}$| | 20 | 1200 | 7.4 × 104 | – |
| Turbulent Jeans scales in cold clouds (|$T=10\,$| K, |$\Sigma _{\rm GMC} = 300\, {\rm M}_{\odot }\, {\rm pc^{-2}}$|), Corresponding to marginally-resolved (10-element) structures: | |||||
| Minimum turbulent Jeans radius (pc) | |$\lambda ^{{\rm turb},\, CNM}$| | 42 | 15 | 5.3 | – |
| Maximum density with resolved |$M_{\rm Jeans}^{\rm turb}$| (cm−3) | |$n_{\rm max}^{{\rm turb},\, CNM}$| | 570 | 1600 | 4600 | – |
| Dark matter resolution: | |||||
| Particle mass (M⊙) | mDM | 2.7 × 106 | 3.4 × 105 | 4.3 × 104 | 5400 |
| Minimum inter-particle separation (pc) | |$h_{i}^{\rm DM,\, min}$| | 66 | 32 | 16 | 8.2 |
| RMS separation within galaxies at |$z$| = 0 (pc) | |$h_{i}^{\rm DM,\, core}$| | 330 | 150 | 70 | 38 |
| DM convergence radius, |$t_{\rm relax}=0.06\, t_{\rm circ}(R_{200})$| (pc) | r0.06 | 670 | 300 | 150 | 75 |
| Typical ‘N-body heating’ rates: | |||||
| Gas–gas scattering (|${\rm erg\, cm^{3}\, s^{-1}}$|) | |$\langle Q_{\rm heat}^{\rm gas-gas} \rangle$| | 8 × 10−30 | 1 × 10−30 | 1 × 10−31 | – |
| Gas–DM scattering (|${\rm erg\, cm^{3}\, s^{-1}}$|) | |$\langle Q_{\rm heat}^{\rm gas-DM} \rangle$| | 2 × 10−27 | 2 × 10−28 | 5 × 10−30 | – |
Note:
Several ‘spatial resolution’ and ‘time resolution’ properties of the simulations discussed in Section 4. We focus on our resolution study of the m12i system, but results for other MW-mass galaxies are nearly identical, and results for dwarf galaxies are qualitatively similar at similar mass resolution. Because our simulations are Lagrangian, only mass resolution is truly ‘fixed’. Spatial (both hydrodynamic and gravitational, which are the same always) and time resolution are both adaptive, and in principle can reach arbitrarily small values, but in practice reach minimum values based on the densest mass-resolved structures in the simulation.
Illustrative examples of ‘resolution’ scales in an MW-mass halo (m12i).
| Resolution level run to |$z$| = 0 | |||||
|---|---|---|---|---|---|
| Property | Notation | mi, 1000 = 450 | mi, 1000 = 56 | mi, 1000 = 7 | mi, 1000 = 0.88 (DM-only) |
| Particle number | Ntot | 2.5 × 106 | 2.0 × 107 | 1.4 × 108 | 5.6 × 108 |
| Baryonic particle mass (M⊙) | mi | 4.4 × 105 | 5.6 × 104 | 7070 | – |
| Minimum time-step (yr) | Δtmin | 600 | 260 | 120 | 1000 (no gas) |
| Star-forming densities: | |||||
| Minimum density of star formation (cm−3) | |$n_{\rm SF,\, min}$| | 100 | 1000 | 1000 | – |
| Mean density of star formation (cm−3) | 〈nSF〉 | 700 | 1900 | 3400 | – |
| Gas resolution (inter-particle separation = force softening) at star-forming densities: | |||||
| Minimum spatial resolution (pc) | |$h_{i}^{\rm min}$| | 5.0 | 1.4 | 0.38 | – |
| Spatial resolution at |$n_{\rm SF,\, min}$| (pc) | |$h_{i}^{\rm threshold}$| | 57 | 13 | 7 | – |
| Spatial resolution at 〈nSF〉 (pc) | |$h_{i}^{\langle SF \rangle }$| | 30 | 10 | 4.6 | – |
| Jeans scales in warm (104 K) ISM, corresponding to marginally resolved (10-element) structures: | |||||
| Minimum Jeans radius =LJeans/2 (pc) | |$\lambda ^{J,\, WIM}$| | 130 | 17 | 2.1 | – |
| Maximum density with resolved MJeans (cm−3) | |$n_{\rm max}^{J,\, WIM}$| | 20 | 1200 | 7.4 × 104 | – |
| Turbulent Jeans scales in cold clouds (|$T=10\,$| K, |$\Sigma _{\rm GMC} = 300\, {\rm M}_{\odot }\, {\rm pc^{-2}}$|), Corresponding to marginally-resolved (10-element) structures: | |||||
| Minimum turbulent Jeans radius (pc) | |$\lambda ^{{\rm turb},\, CNM}$| | 42 | 15 | 5.3 | – |
| Maximum density with resolved |$M_{\rm Jeans}^{\rm turb}$| (cm−3) | |$n_{\rm max}^{{\rm turb},\, CNM}$| | 570 | 1600 | 4600 | – |
| Dark matter resolution: | |||||
| Particle mass (M⊙) | mDM | 2.7 × 106 | 3.4 × 105 | 4.3 × 104 | 5400 |
| Minimum inter-particle separation (pc) | |$h_{i}^{\rm DM,\, min}$| | 66 | 32 | 16 | 8.2 |
| RMS separation within galaxies at |$z$| = 0 (pc) | |$h_{i}^{\rm DM,\, core}$| | 330 | 150 | 70 | 38 |
| DM convergence radius, |$t_{\rm relax}=0.06\, t_{\rm circ}(R_{200})$| (pc) | r0.06 | 670 | 300 | 150 | 75 |
| Typical ‘N-body heating’ rates: | |||||
| Gas–gas scattering (|${\rm erg\, cm^{3}\, s^{-1}}$|) | |$\langle Q_{\rm heat}^{\rm gas-gas} \rangle$| | 8 × 10−30 | 1 × 10−30 | 1 × 10−31 | – |
| Gas–DM scattering (|${\rm erg\, cm^{3}\, s^{-1}}$|) | |$\langle Q_{\rm heat}^{\rm gas-DM} \rangle$| | 2 × 10−27 | 2 × 10−28 | 5 × 10−30 | – |
| Resolution level run to |$z$| = 0 | |||||
|---|---|---|---|---|---|
| Property | Notation | mi, 1000 = 450 | mi, 1000 = 56 | mi, 1000 = 7 | mi, 1000 = 0.88 (DM-only) |
| Particle number | Ntot | 2.5 × 106 | 2.0 × 107 | 1.4 × 108 | 5.6 × 108 |
| Baryonic particle mass (M⊙) | mi | 4.4 × 105 | 5.6 × 104 | 7070 | – |
| Minimum time-step (yr) | Δtmin | 600 | 260 | 120 | 1000 (no gas) |
| Star-forming densities: | |||||
| Minimum density of star formation (cm−3) | |$n_{\rm SF,\, min}$| | 100 | 1000 | 1000 | – |
| Mean density of star formation (cm−3) | 〈nSF〉 | 700 | 1900 | 3400 | – |
| Gas resolution (inter-particle separation = force softening) at star-forming densities: | |||||
| Minimum spatial resolution (pc) | |$h_{i}^{\rm min}$| | 5.0 | 1.4 | 0.38 | – |
| Spatial resolution at |$n_{\rm SF,\, min}$| (pc) | |$h_{i}^{\rm threshold}$| | 57 | 13 | 7 | – |
| Spatial resolution at 〈nSF〉 (pc) | |$h_{i}^{\langle SF \rangle }$| | 30 | 10 | 4.6 | – |
| Jeans scales in warm (104 K) ISM, corresponding to marginally resolved (10-element) structures: | |||||
| Minimum Jeans radius =LJeans/2 (pc) | |$\lambda ^{J,\, WIM}$| | 130 | 17 | 2.1 | – |
| Maximum density with resolved MJeans (cm−3) | |$n_{\rm max}^{J,\, WIM}$| | 20 | 1200 | 7.4 × 104 | – |
| Turbulent Jeans scales in cold clouds (|$T=10\,$| K, |$\Sigma _{\rm GMC} = 300\, {\rm M}_{\odot }\, {\rm pc^{-2}}$|), Corresponding to marginally-resolved (10-element) structures: | |||||
| Minimum turbulent Jeans radius (pc) | |$\lambda ^{{\rm turb},\, CNM}$| | 42 | 15 | 5.3 | – |
| Maximum density with resolved |$M_{\rm Jeans}^{\rm turb}$| (cm−3) | |$n_{\rm max}^{{\rm turb},\, CNM}$| | 570 | 1600 | 4600 | – |
| Dark matter resolution: | |||||
| Particle mass (M⊙) | mDM | 2.7 × 106 | 3.4 × 105 | 4.3 × 104 | 5400 |
| Minimum inter-particle separation (pc) | |$h_{i}^{\rm DM,\, min}$| | 66 | 32 | 16 | 8.2 |
| RMS separation within galaxies at |$z$| = 0 (pc) | |$h_{i}^{\rm DM,\, core}$| | 330 | 150 | 70 | 38 |
| DM convergence radius, |$t_{\rm relax}=0.06\, t_{\rm circ}(R_{200})$| (pc) | r0.06 | 670 | 300 | 150 | 75 |
| Typical ‘N-body heating’ rates: | |||||
| Gas–gas scattering (|${\rm erg\, cm^{3}\, s^{-1}}$|) | |$\langle Q_{\rm heat}^{\rm gas-gas} \rangle$| | 8 × 10−30 | 1 × 10−30 | 1 × 10−31 | – |
| Gas–DM scattering (|${\rm erg\, cm^{3}\, s^{-1}}$|) | |$\langle Q_{\rm heat}^{\rm gas-DM} \rangle$| | 2 × 10−27 | 2 × 10−28 | 5 × 10−30 | – |
Note:
Several ‘spatial resolution’ and ‘time resolution’ properties of the simulations discussed in Section 4. We focus on our resolution study of the m12i system, but results for other MW-mass galaxies are nearly identical, and results for dwarf galaxies are qualitatively similar at similar mass resolution. Because our simulations are Lagrangian, only mass resolution is truly ‘fixed’. Spatial (both hydrodynamic and gravitational, which are the same always) and time resolution are both adaptive, and in principle can reach arbitrarily small values, but in practice reach minimum values based on the densest mass-resolved structures in the simulation.
2 METHODS
Here we describe our numerical methods in the FIRE-2 simulations. For further details, at the end of each subsection below, we direct interested readers to the appendix, paper, or public code where an exact algorithmic breakdown is provided. We will study each aspect in more detail below.
Before FIRE-1, a series of papers developed the numerical methods, and tested each physical addition individually using higher resolution ISM-scale simulations and analytic solutions where possible (we refer the interested reader to Hopkins et al. 2011, 2012c; Hopkins, Quataert & Murray 2012b; Hopkins et al. 2012a, 2013a; Hopkins et al. 2013b,c,e; Hopkins et al. 2013d). These developments and improvements were then synthesized into the physics implemented in FIRE-1, described in Hopkins et al. (2014).
In our FIRE-2 runs, the ‘core’ or ‘baseline’ physics is the same as in FIRE-1: we simply seek to improve the numerical accuracy with which we solve the relevant equations. However, the switch to a new hydrodynamics method in FIRE-2 also makes it possible in principle to include new physics such as magnetic fields: these are described here as ‘additional’ physics, and will be studied in separate work.
As with FIRE-1, all runs denoted as ‘FIRE-2’ here or in any other papers (e.g. Wetzel et al. 2016; Fitts et al. 2017; Su et al. 2017a) use the identical source code and physical parameters, unless explicitly labelled otherwise for comparison purposes. Of course certain numerical parameters (e.g. force softening) scale explicitly with resolution; these are provided for each simulation.
2.1 Hydrodynamics
A major motivation for our introduction of ‘FIRE-2’ is to take advantage of a new generation of accurate, mesh-free Godunov hydrodynamics methods that have been recently developed (see Gaburov & Nitadori 2011; Hopkins 2015). Because we enforced the strict requirement that all FIRE-1 simulations use the identical source code, all FIRE-1 runs used the older ‘P-SPH’ method (Hopkins 2013a), an improved ‘pressure–energy’ variant of SPH. We will explore the effects of the hydrodynamic solver in our simulations in Section 5. More importantly, however, the new Godunov methods allow us to accurately include more complicated plasma physics such as magnetic fields and anisotropic diffusion, which were not possible to solve accurately in P-SPH (see Hopkins & Raives 2016; Hopkins 2017).
We therefore employ the meshless finite-mass (MFM) magnetohydrodynamics (MHD) solver in gizmo.2 This is a mesh-free, Lagrangian finite-volume Godunov method designed to capture advantages of both grid-based and particle-based methods, built on the gravity solver and domain decomposition algorithms of GADGET-3 (Springel 2005). In a series of method papers (Hopkins 2015; Hopkins & Raives 2016; Hopkins 2016, 2017), gizmo has been tested extensively (involving ∼100 distinct test problems) compared to state-of-the-art fixed grid Godunov codes (e.g. athena and ramses; Teyssier 2002; Stone et al. 2008), moving-mesh codes (e.g. arepo; Springel 2010), and ‘modern’ SPH methods (e.g. P-SPH; Hopkins 2013a; Hu et al. 2014; Rosswog 2015).
We emphasize that in essentially every test problem we find MFM gives more accurate results (at fixed particle number or CPU time) and faster convergence compared to state-of-the-art SPH methods, and demonstrates accuracy and convergence in good agreement with well-studied fixed-grid and moving-mesh codes. Most importantly, this includes areas where SPH has had historical difficulty, including sharp shock-capturing, fluid-mixing instabilities, magneto-rotational instabilities, and anisotropic diffusion (Ritchie & Thomas 2001; Agertz et al. 2007; Price 2008; Wadsley, Veeravalli & Couchman 2008; Read & Hayfield 2012; Saitoh & Makino 2013). For some problems relevant in cosmological simulations, e.g. those with moving contact discontinuities, orbiting thin discs, supersonically shearing fluid-mixing instabilities, poorly resolved explosions, hydrostatic gravitational equilibrium or gravitational collapse, the Lagrangian nature of the method here also allows us to converge at much lower resolution compared to fixed-grid methods (Müller & Steinmetz 1995; Zingale et al. 2002; O’Shea et al. 2005; Heitmann et al. 2008; Hopkins 2015) and provides excellent angular momentum conservation (avoiding ‘grid alignment’ and spurious torques common in grid-based codes; Hahn, Teyssier & Carollo 2010; Byerly et al. 2014; Hopkins 2015).
As discussed in Hopkins (2015), this increased accuracy and convergence rate effectively makes our simulations effectively higher resolution (at least in terms of the spatial resolution of the hydrodynamics and its convergence), compared to FIRE-1 simulations at the same particle number.
For reasons discussed in Section 6, we do not adopt an artificial ‘pressure floor’ of any kind for hydrodynamics; unresolved fragmentation is instead explicitly treated via our star formation model.
Readers interested in further details of the hydrodynamic solver should consult Hopkins (2015) and the public gizmo source code. Tests and comparisons of different hydrodynamic methods are in Section 5.
2.2 Gravity
The N-body gravity solver is extensively detailed in Hopkins (2015); this is an improved version of the GADGET-3 Tree-PM solver and additional details can be found in Springel (2005). This solver is well-tested under a huge range of applications; we will focus here only on how this relates to the spatial or force resolution, and what this means for ‘resolved scales’ in FIRE. Detailed discussion and tests of resolution and force softening are presented in Sections 4.1–4.3.
By default, as described in Hopkins (2015), the resolution of gravity and hydrodynamics are equal and the two use the same, consistent assumptions about the gas mass distribution in the simulations. Specifically, we follow Price & Monaghan (2007) and compute gravitational forces from gas particles by assuming the gas is in an extended mass distribution with the same functional form as the interaction kernel centred at the particle.3 This means that, for gas, the gravitational force softening resolution |$\epsilon _{i}^{\rm gas}$| identically follows the interparticle/cell separation |$h_{i}^{\rm gas} = \Delta x$|, where Δx is the equivalent cell-length in a fixed, Cartesian mesh (i.e. the average distance between particle centres, around element i, is |$h_{i}^{\rm gas}$|), so |$\epsilon _{i}^{\rm gas}\equiv h_{i}^{\rm gas}=16\, {\rm pc}\, m_{i,\, 1000}^{1/3}\, (n_{\rm H}/10\, {\rm cm^{-3}})^{-1/3}$| (where |$m_{i,\, 1000}$| is the mass resolution in units of |$1000\, {\rm M}_{\odot }$|). Note this definition is independent of the exact softening kernel shape or ‘neighbour number’.
As discussed in Section 4.2, a number of studies have shown this produces ‘optimal’ softening in terms of (i) physical consistency with the hydrodynamics, (ii) maximizing accuracy and convergence rates, and (iii) reducing N-body integration and force errors (e.g. Merritt 1996; Bate & Burkert 1997; Romeo 1998; Athanassoula et al. 2000; Dehnen 2001; Rodionov & Sotnikova 2005; Price & Monaghan 2007; Barnes 2012; Hubber et al. 2013). Explicit tests validating the accuracy and convergence of our adaptive self-gravity implementation in gizmo are presented in Hopkins (2015), including the Evrard (1988) polytropic collapse test, the gas (and gas+DM) Zel’dovich (1970) pancake collapse, the ‘Santa Barbara Cluster’ adiabatic zoom-in simulation (Frenk et al. 1999), and rotating steady-state stable disc tests.
For dark matter (DM) and stars, the collisionless nature of the fluid makes the ‘correct’ softening ambiguous. In Section 4.2 we therefore explore and compare a range of choices (both adaptive and constant). In our default simulations we set |$\epsilon _{i}^{\rm DM}$| to a constant chosen to give optimal convergence and integration accuracy based on the tests therein (essentially the largest possible value before noticeable ‘oversoftening’ effects appear), and set |$\epsilon _{i}^{\ast }$| to a constant matched to the gas softening at the mean gas density of star formation. However we will show that these choices have little effect on any predictions here, consistent with previous studies (Bagla & Khandai 2009; Iannuzzi & Dolag 2011; Iannuzzi & Athanassoula 2013).
Readers interested in further details of the gravity solver and adaptive softening scheme should consult Hopkins (2015) and the public gizmo source code. Extensive tests of force softening algorithms and choices are presented in Section 4.
2.3 Cooling
Gas cooling is solved using a standard implicit algorithm, described in Hopkins et al. (2014), and all details are given in Appendix B. To summarize: heating/cooling rates are computed including free-free, photoionization/recombination, Compton, photoelectric, metal-line, molecular, fine-structure, dust collisional, and cosmic ray processes, from |$T=10\hbox{ to }10^{10}\,$| K. We follow 11 separately tracked species (H, He, C, N, O, Ne, Mg, Si, S, Ca, and Fe, each with its own yield tables associated directly with the different mass return mechanisms below). The relevant ionization states are tabulated from cloudy simulations including the effects of uniform but redshift-dependent background (from Faucher-Giguère et al. 2009) together with local radiation sources (every star particle is treated as a source; see the feedback description below). We account for self-shielding with a local Sobolev/Jeans-length approximation (Appendix B), calibrated in full radiative transfer experiments in Faucher-Giguère et al. (2010) and Rahmati et al. (2013).
With this, high-temperature (|$\gt\!10^{4}\, \text{K}$|) metal-line excitation, ionization, and recombination rates then follow Wiersma, Schaye & Smith (2009a). Free–free, bound–free, and bound–bound collisional and radiative rates for h and He follow Katz et al. (1996) with the updated fitting functions in Verner & Ferland (1996). Photoelectric rates follow Wolfire et al. (2003), accounting for PAHs and local variations in the dust abundance. Compton heating/cooling (off the combination of the CMB and local sources) follows Faucher-Giguère & Quataert (2012). Fine-structure and molecular cooling at low temperatures (|$5\!-\!10^{4}\,$| K) follows a pre-computed tabulation of cloudy runs as a function of density, temperature, metallicity, and local radiation background (see Robertson & Kravtsov 2008). Collisional dust heating/cooling rates follow Goldsmith & Langer (1978) with updated coefficients from Meijerink & Spaans (2005) assuming a minimum grain size of |$10\,$|Å, and a dust temperature of |$30\,$| K. Cosmic ray heating follows Guo & Oh (2008) accounting for both hadronic and Compton interactions, with a uniform cosmic ray background of |${\sim } 5\, {\rm eV\, cm^{-3}}$|. At very high densities (|${\sim } 10^{10}\, {\rm cm^{-3}}$|), gas can become optically thick to its own cooling radiation; this is treated self-consistently following Rafikov (2007), but this is irrelevant for the simulations here (because they do not reach sufficiently high densities). Hydrodynamic heating/cooling rates (including shocks, adiabatic work, reconnection, resistivity, etc.) are computed in standard fashion by the hydro solver, then included directly into our fully implicit solution. A |$10\,$| K temperature floor is enforced, but has no detectable effect on our results.
In Appendix B, we provide fitting functions to the complete set of cooling physics above.
2.4 Star formation
Gas which is locally self-gravitating, self-shielding, Jeans unstable, and above some minimum density is turned into stars using a sink-particle approach. All details are given in Appendix C. Briefly, gas is eligible to turn into stars if and only if it meets the following criteria:
Self-gravitating: We require the potential energy be larger than the thermal plus kinetic energy within the resolution scale: specifically we use the sink-particle criterion developed in Hopkins et al. (2013d), |$\alpha \equiv (\delta v^{2}+c_{\text{s}}^{2})\, \delta r/G\, m_{\rm gas}(\lt \delta r) = [\Vert \nabla \otimes {\boldsymbol v} \Vert _{i}^{2} + (c_{\text{s},\, i}/h_{i})^{2}] / (8\pi \, G\, \rho _{i}) \lt 1$|, where |$\delta v = \Vert \nabla \otimes {\boldsymbol v} \Vert _{i}\, h_{i}$| and cs give the kinetic and thermal energy, respectively, within the resolution scale δr → hi around the particle (⊗ is the outer product). Hopkins et al. (2013d) and many other studies (Li, Mac Low & Klessen 2005; Federrath et al. 2010; Padoan & Nordlund 2011; Padoan, Haugbølle & Nordlund 2012) have shown this is more useful than a density criterion (as well as more accurate in converging to the results of higher resolution simulations), since it actually identifies gas which is collapsing under self-gravity at the resolution scale (i.e. the gas which should, physically form stars), independent of the exact spatial, mass, or density scale. This also does not allow unbound material to form stars (e.g. tidally unbound gas, or gas in strong shocks and winds which is dense, but not self-gravitating owing to large internal motions). The exact order-unity coefficient is calibrated from higher resolution simulations of collapsing clouds/cores (see Padoan et al. 2012; Federrath & Klessen 2012), but our results are insensitive to variations.
Self-shielding (molecular): We estimate the self-shielded (‘molecular’) fraction of each gas element following Krumholz & Gnedin (2011), using the local Sobolev approximation and metallicity to estimate the integrated column to dissociating radiation, and allow star formation only from the molecular component (|$\rho _{\rm mol} = f_{\rm mol}\, \rho$|). This is specifically a requirement that the gas be self-shielding, and therefore able to cool to low temperatures. Given the high ncrit (see below), this criterion typically has negligible impact, since the high-density gas is typically all shielded and molecular anyways.
Jeans unstable: We require a thermal Jeans mass below the maximum of the particle mass or |$10^{3}\, {\rm M}_{\odot }$| in the element. This is done to ensure that any resolved, massive self-gravitating objects which should collapse coherently (as opposed to fragmenting into stellar mass-scale objects) are followed self-consistently and not simply assigned to stars (the choice of |$10^{3}\, {\rm M}_{\odot }$| is designed to separate massive ‘clumps’ from normal very massive stars, but is not important). In practice this criterion is always easily met when other criteria are met.
Dense: To prevent spurious application of the criteria above, we also check that |$n_{\rm H}\gt n_{\rm crit}=1000\, {\rm cm^{-3}}$| (much larger than the mean galaxy density 〈n〉). This restricts star formation to dense molecular clouds fragmenting out of the background disc.
If gas meets all the criteria above, we assume it turns into stars at a rate |$\dot{\rho }_{\ast }=\rho _{\rm mol}/t_{\rm ff}$| where tff is its free-fall time. This also comes directly from higher resolution simulations of turbulent clouds (Padoan & Nordlund 2011; Padoan et al. 2012), as well as analytic models for star formation via turbulent fragmentation (Hopkins 2012a,b; Guszejnov & Hopkins 2015, 2016; Guszejnov, Krumholz & Hopkins 2016). We stress that this is an assumption about the rate at which small, locally self-gravitating clumps (which may only be a small fraction of the dense gas mass) fragment; it does not imply the global efficiency of star formation (either on galaxy or GMC scales) is necessarily high – we find that it is self-regulated by feedback at ∼1–10 per cent per free-fall time (see Hopkins et al. 2011, 2013e, 2014) even in gas with densities |${\gtrsim } 100\, {\rm cm^{-3}}$|, in agreement with observations (Lee, Miville-Deschênes & Murray 2016). Recently, similar implementations to ours have also found consistent results on large scales (Semenov, Kravtsov & Gnedin 2016; Agertz & Kravtsov 2016), consistent with analytic expectations (Ostriker & Shetty 2011; Faucher-Giguère, Quataert & Hopkins 2013). If particles do not meet all of the criteria above, their SFR is zero. Gas particles which turn into star particles begin life as zero-age main-sequence populations, with abundances and total mass inherited from their progenitor gas particle.
We provide the complete set of formulae and detailed algorithmic implementation of star formation in Appendix C.
2.5 Stellar feedback
Once a star particle forms, it is treated as a single stellar population, with known age t* = t − tform, metallicity (inherited from its progenitor gas particle), and mass (equal to its progenitor gas particle). All feedback quantities are tabulated directly – without subsequent adjustment or fine-tuning – from standard stellar population models (STARBURST99; Leitherer et al. 1999) assuming a Kroupa (2001) IMF (the same as FIRE-1).4
Here, we briefly summarize the feedback mechanisms. Because these are the most important and novel aspect of the FIRE simulations, we discuss the exact physics and algorithmic implementation in much greater detail in the companion papers, Paper II and Paper III. These papers present extensive tests of the algorithms, with idealized simulations of e.g. individual SNe explosions reaching resolution |$\lt\!0.01\, {\rm M}_{\odot }$| and experiments using detailed radiation-hydrodynamics simulations, used to validate the exact implementations here. But for the sake of completeness, we summarize them here and provide the complete algorithms in the Appendices.
The physics of stellar feedback in FIRE-2 are the same as in FIRE-1 (Hopkins et al. 2014), and the algorithms are identical up to improvements in accuracy which we explicitly detail below.
Supernovae (Ia and II): (For details, see Appendix D.) Every time-step Δt, for each star particle, the tabulated SN rate as a function of star particle mass, age, and metallicity is used to determine the probability p of an event (Type-Ia and/or Type-II) occurring within the particle within Δt; our mass and time resolution is such that p ≪ 1, i.e. we explicitly treat individual SNe explosions, rather than model their collective effects indirectly. We determine probabilistically if an event occurs within Δt; if so, the appropriate ejecta mass, metal yields, energy, and momentum (also determined from the stellar evolution tables) are deposited directly in the surrounding gas around the star particle. The algorithm for deposition is constructed to ensure manifest, machine-accurate conservation of mass, metal mass, energy, and momentum, while also ensuring that the ejecta are distributed isotropically in the rest frame of the star. In Paper II we show that this is non-trivial in Lagrangian codes such as ours, where highly anisotropic gas distributions around a star particle can easily bias the momentum distribution and even violate linear momentum conservation, if the algorithm is not carefully designed to prevent this. We properly account for the relative star-gas motion (so e.g. the exact shock solution includes the initial stellar motion through the background gas). We determine the coupled momentum by computing the exact Sedov–Taylor solution for an energy-conserving spherical shock, at the coupling location (resolved separation between gas and star); if the resulting momentum exceeds the terminal momentum at which point the shock should have become radiative (equivalently, if the resolved coupling radius is larger than the cooling radius), we deposit only the momentum which would have been present when it reached that cooling radius. Paper II shows that this ensures our simulations exactly reproduce the fully converged solutions (with resolution |$\lt\!0.01\, {\rm M}_{\odot }$|) for individual SNe explosions in high-resolution ISM simulations (once they reach the same radius as our coupling radius), independent of our resolution, for the same ambient density. We stress that we do not turn off cooling or otherwise impose any assumption about ‘galactic wind driving’.
Continuous stellar mass-loss (OB/AGB-star winds): (Details in Appendix D.) Similarly, stellar mass-loss is injected continuously in the gas surrounding each star particle as a function of stellar age and metallicity, with the appropriate mechanical luminosity, momentum, mass, and metal content, including both fast (O/B-star) and slow (AGB) winds, calculated directly from the stellar evolution models. The algorithm for deposition is exactly the same as for SNe, except there is an ‘event’ every time-step with associated ejecta mass |$= \Delta t\, \dot{M}_{\rm wind}$|.
Photoionization and photoelectric heating: (Details in Appendix E.) For computing radiative feedback properties, each star particle is treated as a source with an appropriate age and metallicity-dependent, IMF-averaged spectrum. We approximate the complete spectrum with a five-band treatment that includes ionizing, far-UV (relevant for photoelectric heating), near-UV, optical/near-IR, and mid/far-IR (re-radiated dust emission) photons. The background radiation owing to these sources is then locally extincted by the gas immediately surrounding the star (using a Sobolev approximation to estimate the column integrated to infinity, and extincting each band accordingly), with frequency and metallicity-dependent opacities from dust and neutral gas. The luminosity absorbed by dust (non-ionizing bands) is assumed to re-radiate in the mid/far-IR band. The resulting, post-extinction luminosities are then propagated to long-range distances through an optically thin transport network (using a tree structure), to calculate an incident flux in each band at all positions. We therefore refer to this transport algorithm as the ‘locally extincted background radiation in optically thin networks’, or LEBRON, approximation. Since we simulate only a single small region of the Universe surrounding one galaxy in our ‘zoom-in’ simulations, we add to the diffuse ionizing-band flux a uniform but redshift-dependent meta-galactic background tabulated from Faucher-Giguère et al. (2009). The fluxes are then corrected for self-shielding using the same local-extinction Sobolev approximation, at the location of the gas. The resulting incident ionizing and FUV fluxes are then used to self-consistently compute the gas ionization states and radiative heating/cooling rates in our standard cooling algorithms described in Appendix B.
Radiation pressure: (Details in Appendix E.) As photons are tracked according to the algorithm above, each explicitly resolved absorption transfers the appropriate photon momentum |$=L_{\rm abs}\, \hat{n}/c$| (where |$\hat{n}$| is the direction of ray propagation) to the gas. This automatically accounts for both direct UV/optical single-scattering, and indirect re-radiated IR photons (which can, in principle, be multiply scattered, although this rarely occurs on the relatively coarse scales we resolve in the FIRE simulations). We stress that we do not assume any ‘subgrid’ photon coupling, multiple-scattering, or radiation pressure – there is no ‘boost factor’ anywhere in the model: in both FIRE-2 and FIRE-1, the only radiation pressure in the simulations is from explicitly resolved photon absorption. In Paper III, we show that only ∼1/2 of the total bolometric luminosity of stellar populations is absorbed at all, and, given our numerical resolution (which prevents us from resolving e.g. proto-stellar cores), the multiple-scattering IR term accounts for <10 per cent of the galaxy-averaged radiation pressure (it may be important, however, in dense galactic nuclei corresponding to observed systems like Arp 220).
We emphasize that while quantities like SNe rates and stellar spectra are IMF-averaged, individual SNe are always discrete events (not continuous energy injection). In future work we will consider the effects of explicitly sampling the spectrum of stellar masses from the IMF (Su et al. 2017b); however our preliminary results indicate the effects on large scales are (unsurprisingly) small compared to our IMF-averaged approach.
For readers interested in reproducing our results, we provide simple fitting functions to all of our stellar evolution tabulations (and yield tables) needed for the feedback mechanisms above, in Appendix A. All details of the algorithmic implementation of mechanical feedback (SNe and stellar mass-loss) are given in Appendix D, and all details of the algorithmic implementation of radiative feedback (radiation pressure, photoionization, and photoelectric heating) are given in Appendix E.
2.6 ‘Additional’ physics: magnetic fields, conduction, viscosity, diffusion, cosmic rays, black holes, and more
As noted above, a major motivation for our migration to FIRE-2, using the new MFM hydrodynamic solver, is to compare simulations including more complicated plasma physics, e.g. magnetic fields. However, for the sake of clarity and direct comparison with FIRE-1, in this paper we will focus on simulations that include our ‘core’ set of FIRE physics (gravity, hydrodynamics, cooling, star formation, and stellar feedback, as described above). This means that our ‘default’ or ‘core physics only’ FIRE-2 simulations use the same physics as FIRE-1, just more accurate numerical integration of those physics.
The effects of additional physics will of course be the subject of their own studies. Some examples include (i) magnetic fields and (ii) anisotropic (Braginskii) conduction and viscosity (both studied in Su et al. 2017a); (iii) passive-scalar turbulent eddy diffusion (e.g. metal diffusion), discussed briefly here in Section 7.2 and in more detail in Escala et al. (2018); (iv) cosmic rays (Chan et al. in preparation); (v) alternative radiation-hydrodynamics (using e.g. alternative RHD solvers such as the M1 method as implemented in Hopkins & Grudic 2018 or direct integration following Jiang, Stone & Davis 2014), discussed in detail in Paper III; (vi) supermassive black hole formation, accretion, and feedback (see e.g. Anglés-Alcázar et al. 2017b, for a preliminary exploration).
2.7 Time-steps and integration
Our time integration scheme is discussed in detail in Hopkins (2015). Following Springel (2005) we use an adaptive power-of-two hierarchy for assigning individual time-steps for particles. As shown in Saitoh & Makino (2009) and Durier & Dalla Vecchia (2012), in problems with high Mach number flows, adaptive time-steps can lead to errors if particles with long time-steps interact suddenly mid-time-step with those on much shorter time-steps; this is remedied by requiring that, at all times, any active particle informs its neighbours of its time-steps and none are allowed to have a time-step >4 times that of a neighbour. Whenever a time-step is shortened (or energy is injected in feedback of any sort) particles are forced to return to the time-step calculation. This has been tested extensively in Hopkins (2013a, 2015).
The time-step is set by the minimum of various criteria. All particles obey limits |$\Delta t \lt 0.2\, (h_{i} / |{\boldsymbol a}_{i}|)^{1/2}$| (see Power et al. 2003; here hi is the minimum of the interparticle separation or Plummer-equivalent force softening)5 and |$\Delta t \lt 0.25/|\nabla \cdot {\boldsymbol v}_{i}|$|, where |${\boldsymbol v}_{i}$| and |${\boldsymbol a}_{i}$| are the total velocity and acceleration of particle i (including all sources of acceleration: e.g. feedback and hydrodynamic forces, for gas). For further safety, we always enforce a maximum time-step of |$\Delta a \lt 10^{-4}\, a$| (where a is the scale factor), but this is almost never important. Gas elements must also obey the Courant (CFL) condition: |$\Delta t \lt 0.4\, h_{i} / v_{{\rm sig},\, i}^{\rm max}$|, where |$v_{{\rm sig},\, i}^{\rm max}$| is the usual maximum signal velocity between all particles interacting with i (see Hopkins 2015 for tests and details). Additional time-step criteria apply if additional fluid physics (magnetic fields, diffusion, cosmic rays, radiation) are included (see Hopkins 2017).6 In the above equations, note hi is defined by the interparticle separation as defined in Section 4.2, which is the appropriate value for the pre-factors here (see Hopkins 2015; the pre-factors would need to decrease by a factor ∼2 if we replaced hi with the maximum allowed neighbour distance, for example). If adaptive gravitational softening is used for collisionless (star and dark matter) particles, they must obey additional Courant-like time-step criteria given in Section 4.3.3.
For star particles, we additionally impose a restriction |$\Delta t \lt {\rm MAX}(10^{4}\, {\rm yr},\ t_{\ast } / 300)$|, where t* is the age of the star; this prevents the code from ‘skipping’ any significant portion of stellar evolution if, somehow, a star formed in a region where the other time-step criteria allowed long time-steps (although this is very rare), and also ensures that the expectation value of the number of SNe per particle per time-step is always <1 at our production resolution.
Readers interested in more details of the time integration scheme should consult the public gizmo source code.
2.8 Initial conditions
All simulations in this paper are fully cosmological ‘zoom-in’ simulations: a large box is simulated at low resolution to |$z$| = 0, and then the mass within and around the halo(es) of interest is identified, traced back to the starting redshift, and the Lagrangian region containing this mass is re-initialized at much higher resolution for the ultimate simulation (Porter 1985; Katz & White 1993). The initial conditions are generated with the music code (Hahn & Abel 2011), using second-order Lagrangian perturbation theory to evolve the initial conditions to redshift |$z$| ∼ 100, at which point the gizmo simulation begins. In the simulations here, the Lagrangian high-resolution regions are defined by a convex hull including all particles within |${\sim } 5\, R_{\rm vir}$| of the final (|$z$| = 0) ‘primary’ galaxy (most massive galaxy within the high-resolution region); we have used a series of re-simulations with progressively higher resolution, including baryons, to refine the Lagrangian regions more accurately, with a target of zero low-resolution DM particles contaminating the region within |${\sim } 2\, R_{\rm vir}$| (following Oñorbe et al. 2014). Typically, these regions include a number of smaller galaxies; however, in this paper, we exclude any galaxy with >1 per cent contamination (from low-resolution particles) by mass within Rvir.
Table 1 describes the initial conditions for the initial set of haloes we have simulated to |$z$| = 0. We consider a series of haloes with different masses; many of these are chosen to match the haloes from our FIRE-1 studies (specifically simulations first presented in Hopkins et al. 2014 and Chan et al. 2015). In all cases, the ICs are re-generated if needed to meet our strict contamination standard above. A couple of FIRE-1 ICs are not re-simulated here, because they were not generated from the music code (they were taken from older work); for consistency and clarity we will only include ICs generated in a consistent manner here. We have added new simulations here to increase our statistical sampling of halo growth histories and mass. The specific haloes we re-simulate are chosen to represent a broad mass range and be ‘typical’ in most properties (e.g. sizes, formation times, and merger histories) relative to other haloes of the same |$z$| = 0 mass. Simulations labelled ‘q’ (e.g. m10q) have more ‘quiescent’ halo growth histories at late times (i.e. tend to form earlier) while those labelled ‘v’ have more ‘violent’ late-time histories (tend to form later); however we stress that these all lie well within the typical scatter in such histories at each mass (for example, each ‘q’ history has several major mergers at high redshifts). Other labels (‘i’, ‘f’) are purely for bookkeeping. Several ICs (m10q, m10v, m11q, m11v, m12q, m12i) are taken from the AGORA project (Kim et al. 2014, 2016), to enable easy comparisons with a wide range of different codes. We adopt a standard, flat Λ cold dark matter cosmology with h ≈ 0.70, ΩM = 1 − ΩΛ ≈ 0.27, and Ωb ≈ 0.045 (consistent with current constraints; see Planck Collaboration et al. 2014).7
We scale the resolution with simulation mass, to achieve the optimal possible mass and force resolution for each halo; we study both mass and force resolution extensively in Section 4.
For readers interested in more details, or reproducing our results, all initial conditions used here are publicly available.8
2.9 Parallelization and runtime requirements
The simulations here use a hybrid OpenMP-MPI parallelization scheme with a number of optimizations specific for ‘zoom-in’ simulations. These are listed in Appendix G, together with explicit strong and weak scaling tests. Our improvements allow us to extend good weak scaling on production zoom-in simulations to at least |$\gt 16\, 000$| CPU cores (and >106 cores for large-volume simulations).
With these optimizations, each high-resolution, production-quality simulations of an MW-mass galaxy with particle masses |${\sim } 7000\, {\rm M}_{\odot }$| (a few × 108 total particles) typically requires |${\sim } 10^{6}\,$|cpu-hrs; for our smallest dwarfs (particle masses |${\sim } 250\, {\rm M}_{\odot }$|), their much lower star formation efficiencies and baryonic densities reduce this to |${\sim } 10^{4}\,$|cpu-hrs. All simulations here were run on the XSEDE Stampede, Comet, or NASA Pleiades machines.
Details of our code optimizations and scaling tests are presented in Appendix G.
2.10 A complete list of differences between FIRE-1and FIRE-2
Although they are discussed in great detail throughout this paper, for the sake of clarity we here summarize the differences between the FIRE-1 and FIRE-2 simulations, in order from most to least important.
More accurate hydrodynamic solver: As described in Section 2.1, FIRE-2 uses the newer, more accurate mesh-free finite-volume Godunov-type MFM method to solve the hydrodynamic equations. FIRE-1 used the older ‘pressure–energy’ SPH (‘P-SPH’) method. In Section 5 we show how this affects our results; while the differences are generally second-order, this appears to be the single change with the largest effects on our predictions.
Manifestly-conservative supernovae ejecta distribution: In Appendix D and Paper II, we describe in explicit detail how, algorithmically, we distribute the products (mass, metals, momentum, and energy) of mechanical feedback (SNe and continuous stellar mass-loss) from star particles into the surrounding gas particles. As discussed there, the FIRE-1 runs used a simpler algorithm, which can, in situations where the gas elements surrounding a star are highly disordered, produce a distorted (anisotropic) deposition (e.g. biasing the momentum deposition so it is not deposited symmetrically in the rest frame of the star, violating linear momentum conservation). We stress that the FIRE-1 algorithm still ensured the mass and energy of ejecta were exactly conserved; the issue comes with the spatial/vector distribution of the ejecta (momentum conservation). We have developed a novel scheme in FIRE-2 which eliminates this numerical bias and ensures manifest conservation. This difference generally has small effects, but does appear to influence the central stellar masses/densities of massive galaxies, and because the error term in the older implementation was resolution-independent, it actually can influence galaxy morphologies more dramatically at the highest resolutions.
More accurate photoionization heating: In Appendix E and Paper III, we describe our treatment of radiation transport in explicit detail, including UV/optical/IR radiation pressure, photoelectric heating, and photoionization heating. The method and source terms are almost entirely identical between FIRE-1 and FIRE-2. In our default treatment of photoionization heating specifically, we conduct a gas neighbour search around each star particle, consuming ionizing photons (as we move outwards) using a local Stromgren approximation until the photon budget is exhausted. However in FIRE-1, the search was simply terminated at the boundary of the local computational domain – any remaining photons were lost. In FIRE-2, any remaining photons are propagated via the long-range tree-based radiative transfer method in Appendix E. The fraction of photons affected is small since the vast majority are absorbed locally, and so this produces weak or negligible differences on galactic scales (nearly undetectable except in small dwarfs), but it eliminates the explicit domain-dependence of local H ii regions.
Removal of ‘artificial pressure’ terms: In FIRE-1, we included an artificial numerical ‘pressure floor’ for cold gas in the ISM, following the approach in e.g. Robertson & Kravtsov (2008) (designed to suppress collapse of any gas resolved with <4 thermal Jeans lengths). As discussed in Section 6, this term is now (a) redundant with our star formation prescription, and (b) potentially unphysical, as it fails to conserve energy and can introduce noise or suppress real fragmentation. We therefore include no such terms in FIRE-2, but instead follow standard practice in the star formation community and rely on the sink-particle (star formation) criterion to treat unresolved fragmentation (see Federrath et al. 2010, for discussion). In Section 6 we show the removal of these terms has no effect except to eliminate some obviously unphysical resolution-scale artefacts in the cold gas, as expected.
Updated cooling tables and SNe II yields: The physical mechanisms of stellar feedback, and assumptions about stellar evolution, are the same between FIRE-1 and FIRE-2. This means SNe rates (Ia and II), wind mass-loss rates and kinetic luminosities, bolometric luminosities and luminosities in different bands, yields, etc., are the same. We have made one minor update: in FIRE-1, we used the SNe II yields of Woosley & Weaver (1995); however, it is widely known that these older models significantly underpredict the observed yields in Mg and Ne, and we confirmed this in Ma et al. (2016a). We have therefore updated this to the more recent Nomoto et al. (2006) yields, which remedies this issue. We stress, though, that for all other species (especially C and O, which constitute most of the metal mass and are the dominant coolants), the IMF-averaged yield is within ∼10 per cent of Woosley & Weaver (1995). Since Mg and Ne are negligible coolants, this has no detectable effect on our main results. Similarly, the cooling physics is the same in FIRE-1 and FIRE-2. However we have updated some of the actual fitting functions used to compute the cooling functions (specifically for the recombination rates, photoelectric heating including PAHs, optically thick cooling, and dust cooling), to match more accurate cooling tables made public since FIRE-1 was developed. For the sake of transparency and clarity, a complete set of fits to the FIRE-2 stellar evolution, yield, and cooling tabulations are presented in Appendices A- B.
Code optimization, higher resolution: For FIRE-2, we have made a number of purely numerical optimizations to the gizmo code, to improve speed and parallelization efficiency (for details, see Appendix G). We have also re-compiled some lookup tables and re-fit cooling functions for greater precision. This has no effect on our results, of course, but it has allowed us to run new simulations at even higher resolution compared to FIRE-1.
3 BASIC RESULTS and COMPARISON BETWEEN FIRE-1 and FIRE-2
Table 1 summarizes all the production-quality FIRE-2 simulations run as of writing this paper. For each, we give the (|$z$| = 0) halo virial mass, virial radius, stellar mass of the ‘target’ galaxy (the galaxy used to identify the initial zoom-in region), half-mass radius of the target galaxy, mass resolution of the simulation, and some values describing the ‘spatial resolution’ (because our simulations are Lagrangian, mass resolution is well-defined, but ‘spatial resolution’ is inherently variable: we discuss this in detail in Section 4.2). We have considered simulations spanning a |$z$| = 0 halo mass range from Mhalo ∼ 109–1012, similar to our FIRE-1 simulations. All the simulations here have been run to redshift |$z$| = 0.
Fig. 1 shows both face-on and edge-on images of two of our FIRE-2 MW-mass systems (m12i and m12f), at the highest resolution we have studied (mi, 1000 = 7). These use STARBURST99 (the same assumptions used in-code) to compute the stellar spectra as a function of age and metallicity for each star particle, and then ray-trace through the ISM assuming a constant dust-to-metals ratio and physical dust opacities to volume-render the observed images in each band, which we use to construct a mock HST u/g/r composite image as seen by a distant observer. Fig. 2 shows images from within the galaxy: we select a random star |${\sim } 10\,$| kpc from the galactic centre and construct a Galactic Aitoff projection of the ray-traced image from all stars in the galaxy to the mock observer. Fig. 3 shows images of several dwarf galaxies from the ultrafaint through LMC mass scales.
Mock images of two Milky Way (MW)-mass galaxies at |$z$| = 0 simulated using FIRE-2: (m12i and m12f). Each image is a mock Hubble Space Telescope u/g/r composite with a logarithmic stretch, using STARBURST99 to determine the SED of each star based on its age and metallicity and ray-tracing following Hopkins et al. (2005) with attenuation using a MW-like reddening curve with a dust-to-metals ratio of 0.4. We show face-on (top) and edge-on (bottom) images. Both form thin discs, with clear spiral structure, clear dust lanes, and visibly resolved star-forming regions. Properties of each galaxy are in Table 1.
Mock images of two Milky Way (MW)-mass galaxies at |$z$| = 0 simulated using FIRE-2: (m12i and m12f). Each image is a mock Hubble Space Telescope u/g/r composite with a logarithmic stretch, using STARBURST99 to determine the SED of each star based on its age and metallicity and ray-tracing following Hopkins et al. (2005) with attenuation using a MW-like reddening curve with a dust-to-metals ratio of 0.4. We show face-on (top) and edge-on (bottom) images. Both form thin discs, with clear spiral structure, clear dust lanes, and visibly resolved star-forming regions. Properties of each galaxy are in Table 1.
Mock galactic map, similar to Fig. 1, but as seen from within the galaxy, for m12i (top) and m12f (bottom). We ray-trace a Galactic (Aitoff) projection, as seen from a random star |${\sim } 10\,$| kpc from the galactic centre. Individual, filamentary GMC complexes and young star clusters are visible, and both galaxies have a clear thin disc plus bulge morphology.
Mock galactic map, similar to Fig. 1, but as seen from within the galaxy, for m12i (top) and m12f (bottom). We ray-trace a Galactic (Aitoff) projection, as seen from a random star |${\sim } 10\,$| kpc from the galactic centre. Individual, filamentary GMC complexes and young star clusters are visible, and both galaxies have a clear thin disc plus bulge morphology.
Mock images, as in Fig. 1, but for a subset of dwarf galaxies in our sample: m09, an ultrafaint with |$M_{\ast }\sim 10^{4}\, {\rm M}_{\odot }$| (similar to Coma Berenices, Leo IV, or Canes Venatici II); m10v, a faint dwarf with |$M_{\ast }\sim 10^{5}\, {\rm M}_{\odot }$| (similar to Hercules or Leo T); m10q, an intermediate-mass dwarf with |$M_{\ast }\sim 10^{6}\, {\rm M}_{\odot }$| (similar to Sextans, Carina, or Leo II); m11q, an SMC-mass dwarf with |$M_{\ast }\sim 10^{9}\, {\rm M}_{\odot }$|; and m11v, an LMC-mass galaxy with |$M_{\ast } \sim 2\times 10^{9}\, {\rm M}_{\odot }$|. Most have spheroidal morphologies, as is observed and as was seen in FIRE-1 (Wheeler et al. 2017). We show, m11v, the LMC-mass galaxy, both face-on and edge-on to illustrate the dramatic bar and elongated/flattened structure, similar to the actual LMC. Note that the surface-brightness scale is not the same in each image (an ultrafaint has ∼1000× lower mean surface brightness than the LMC, so it would be invisible on the samescale).
Mock images, as in Fig. 1, but for a subset of dwarf galaxies in our sample: m09, an ultrafaint with |$M_{\ast }\sim 10^{4}\, {\rm M}_{\odot }$| (similar to Coma Berenices, Leo IV, or Canes Venatici II); m10v, a faint dwarf with |$M_{\ast }\sim 10^{5}\, {\rm M}_{\odot }$| (similar to Hercules or Leo T); m10q, an intermediate-mass dwarf with |$M_{\ast }\sim 10^{6}\, {\rm M}_{\odot }$| (similar to Sextans, Carina, or Leo II); m11q, an SMC-mass dwarf with |$M_{\ast }\sim 10^{9}\, {\rm M}_{\odot }$|; and m11v, an LMC-mass galaxy with |$M_{\ast } \sim 2\times 10^{9}\, {\rm M}_{\odot }$|. Most have spheroidal morphologies, as is observed and as was seen in FIRE-1 (Wheeler et al. 2017). We show, m11v, the LMC-mass galaxy, both face-on and edge-on to illustrate the dramatic bar and elongated/flattened structure, similar to the actual LMC. Note that the surface-brightness scale is not the same in each image (an ultrafaint has ∼1000× lower mean surface brightness than the LMC, so it would be invisible on the samescale).
Fig. 4 shows several properties of a representative subset of our simulations: the star formation rate and stellar mass versus time (archeological formation history of stars within the |$z$| = 0 galaxy); the stellar mass-weighted mean metallicity of those stars versus time; the |$z$| = 0 baryonic and total mass profiles; and the |$z$| = 0 circular velocity curve. Each property is measured for the ‘target’ galaxy in the simulation. Essentially all of our high-resolution simulations show qualitative behaviour broadly similar to one of the galaxies plotted.
Basic galaxy-scale properties in a subset of FIRE-2 simulations. Each column shows a different galaxy from Fig. 1 and Table 1. Top: Star formation rate (averaged in |$100\,$|Myr intervals) of the primary (most massive) galaxy in each simulation versus cosmic time. Ultrafaint galaxies (|$V_{\text{c}}\lesssim 20\, {\rm km\, s^{-1}}$|) are quenched after reionization. In more massive dwarf galaxies, SF is highly ‘bursty’, but it becomes less so at even higher masses and at later times (as seen in our FIRE-1 runs; Sparre et al. 2017). Second from top: Total stellar mass versus scale factor, a = 1/(1 + |$z$|), in the zoom-in region (we show against scale factor so that the rate of growth at early times is more clear). The value at |$z$| = 0 appears on the plot. We show all stellar mass within Rvir, but this is dominated by the main galaxy, so it evolves similarly. Growth occurs rapidly at high redshifts then settles into a more steady state at late times, allowing galaxy structure to relax (El-Badry et al. 2016). Middle: Stellar mass-weighted average metallicity versus scale factor (value at |$z$| = 0 also shown). This rise is similar to the stellar mass, because these galaxies evolve on a redshift-dependent stellar mass–metallicity relation; the metallicities at each mass and redshift are nearly identical to FIRE-1 galaxies (see Ma et al. 2016a). Second from bottom: Baryonic (thick) and total (thin) mass density profiles as a function of radius around the most massive galaxy at |$z$| = 0. Profiles are averaged in spherical shells. The dwarfs with stellar masses |$M_{\ast } \sim 10^{6}\!-\!10^{9.5}\, {\rm M}_{\odot }$| exhibit central ‘cores’ in their mass profiles, in both stars and dark matter, most prominent at |$M_{\ast } \sim 10^{9}\, {\rm M}_{\odot }$|, where the cores extend to ∼ kpc scales, consistent with FIRE-1 results (Chan et al. 2015; Oñorbe et al. 2015; Wheeler et al. 2015). Bottom: Rotation curves of circular velocity, Vc, versus radius around the most massive galaxy at |$z$| = 0. Dwarfs exhibit slowly rising rotation curves, while MW-mass systems have flat rotation curves with small-to-modest bulges, as in FIRE-1 (Chan et al.2015).
Basic galaxy-scale properties in a subset of FIRE-2 simulations. Each column shows a different galaxy from Fig. 1 and Table 1. Top: Star formation rate (averaged in |$100\,$|Myr intervals) of the primary (most massive) galaxy in each simulation versus cosmic time. Ultrafaint galaxies (|$V_{\text{c}}\lesssim 20\, {\rm km\, s^{-1}}$|) are quenched after reionization. In more massive dwarf galaxies, SF is highly ‘bursty’, but it becomes less so at even higher masses and at later times (as seen in our FIRE-1 runs; Sparre et al. 2017). Second from top: Total stellar mass versus scale factor, a = 1/(1 + |$z$|), in the zoom-in region (we show against scale factor so that the rate of growth at early times is more clear). The value at |$z$| = 0 appears on the plot. We show all stellar mass within Rvir, but this is dominated by the main galaxy, so it evolves similarly. Growth occurs rapidly at high redshifts then settles into a more steady state at late times, allowing galaxy structure to relax (El-Badry et al. 2016). Middle: Stellar mass-weighted average metallicity versus scale factor (value at |$z$| = 0 also shown). This rise is similar to the stellar mass, because these galaxies evolve on a redshift-dependent stellar mass–metallicity relation; the metallicities at each mass and redshift are nearly identical to FIRE-1 galaxies (see Ma et al. 2016a). Second from bottom: Baryonic (thick) and total (thin) mass density profiles as a function of radius around the most massive galaxy at |$z$| = 0. Profiles are averaged in spherical shells. The dwarfs with stellar masses |$M_{\ast } \sim 10^{6}\!-\!10^{9.5}\, {\rm M}_{\odot }$| exhibit central ‘cores’ in their mass profiles, in both stars and dark matter, most prominent at |$M_{\ast } \sim 10^{9}\, {\rm M}_{\odot }$|, where the cores extend to ∼ kpc scales, consistent with FIRE-1 results (Chan et al. 2015; Oñorbe et al. 2015; Wheeler et al. 2015). Bottom: Rotation curves of circular velocity, Vc, versus radius around the most massive galaxy at |$z$| = 0. Dwarfs exhibit slowly rising rotation curves, while MW-mass systems have flat rotation curves with small-to-modest bulges, as in FIRE-1 (Chan et al.2015).
It is not our intention in this paper to explore a quantitative comparison of the simulations and observations: this will be the subject of future work. For example, detailed comparison of the scaling relations of galaxy angular momentum, rotation curves, sizes and the Tully–Fisher relation can be found in El-Badry et al. (2018b,a), while Fitts et al. (2017) and Chan et al. (2018) compare the size, structural properties, and surface-brightness distribution functions of dwarfs, and Garrison-Kimmel et al. (2017) the sizes of Milky Way-mass systems at |$z$| = 0 (and Ma et al. 2018b at |$z$| ≳ 5), as a function of halo properties. We will show mass profiles, however, so that one can infer where they are sensitive to the numerical choices explored in this paper.
Fig. 5 compares the galaxies for which we have both production-quality FIRE-1 and FIRE-2 simulations. Fig. 6 compares the visual morphology of the same galaxies. Here we can directly compare formation histories and morphologies of the same galaxy, with our improved numerical methods.
Comparison of galaxy properties and formation histories in FIRE-1 versus FIRE-2, as in Fig. 4. We show galaxies for which the identical halo is a member of the ‘core set’ of both FIRE-1 and FIRE-2 simulations. FIRE-2 combines a more accurate hydrodynamic method, higher resolution, a more accurate numerical algorithm for depositing supernova ejecta into gas around explosions, and updated cooling tables (for a complete list of changes, see Section 2.10). Nevertheless the results are qualitatively similar in every property that we examine here. We do see some quantitative differences. For dwarf galaxies, we find slightly lower stellar masses, because of the updated photoheating tables. Massive galaxies show somewhat higher masses and central rotation velocities, because of enhanced mixing, which occurs because our more accurate hydrodynamic method changes the cooling and efficiency of wind escape in ‘hot haloes’ at late times. The enhanced ‘burstiness’ in FIRE-1 m11v occurs because it was run with ∼10 × lower resolution as compared to FIRE-2. We examine each of the numerical aspects of the method in detail below.
Comparison of galaxy properties and formation histories in FIRE-1 versus FIRE-2, as in Fig. 4. We show galaxies for which the identical halo is a member of the ‘core set’ of both FIRE-1 and FIRE-2 simulations. FIRE-2 combines a more accurate hydrodynamic method, higher resolution, a more accurate numerical algorithm for depositing supernova ejecta into gas around explosions, and updated cooling tables (for a complete list of changes, see Section 2.10). Nevertheless the results are qualitatively similar in every property that we examine here. We do see some quantitative differences. For dwarf galaxies, we find slightly lower stellar masses, because of the updated photoheating tables. Massive galaxies show somewhat higher masses and central rotation velocities, because of enhanced mixing, which occurs because our more accurate hydrodynamic method changes the cooling and efficiency of wind escape in ‘hot haloes’ at late times. The enhanced ‘burstiness’ in FIRE-1 m11v occurs because it was run with ∼10 × lower resolution as compared to FIRE-2. We examine each of the numerical aspects of the method in detail below.
Mock images, as in Fig. 1, comparing FIRE-1 (left) and FIRE-2 (right) versions of the same galaxy on the same scale. Top: Dwarf galaxy (m10q). Because their morphologies are irregular or spheroidal, they are similar independent of numerical details. Middle and bottom: MW-mass galaxy (m12i) seen face-on and edge-on. Qualitatively, the morphologies are similar. The FIRE-2 run is higher resolution, which translates to a slightly thinner thin disc and a more extended, low-surface-brightness outer disc.
Mock images, as in Fig. 1, comparing FIRE-1 (left) and FIRE-2 (right) versions of the same galaxy on the same scale. Top: Dwarf galaxy (m10q). Because their morphologies are irregular or spheroidal, they are similar independent of numerical details. Middle and bottom: MW-mass galaxy (m12i) seen face-on and edge-on. Qualitatively, the morphologies are similar. The FIRE-2 run is higher resolution, which translates to a slightly thinner thin disc and a more extended, low-surface-brightness outer disc.
In Fig. 7, we plot the stellar mass–halo mass relation for our FIRE-1 and FIRE-2 simulations, compared to observations. We identify all resolved, un-contaminated haloes in the high-resolution region and plot their virial masses and the stellar mass of the central galaxy in each halo,9 which is (as expected) always smaller than the total mass in Rvir plotted in Fig. 4. The FIRE-1 results here are taken directly from Hopkins et al. (2014). We compare these predictions to recent observational constraints, from a combination of abundance matching and mass modelling. The observational fit from Moster, Naab & White (2013) only includes galaxies with |$M_{\ast } \gtrsim 10^{9}\, {\rm M}_{\odot }$| (so it is extrapolated here), but this extrapolation has been shown to reproduce well the observed local group dwarf luminosity functions to |${\sim } 10^{4}\, {\rm M}_{\odot }$| (Garrison-Kimmel et al. 2017), so we consider it as well. Brook et al. (2014) combine the constraints from Behroozi, Wechsler & Conroy (2013) at high masses (|$M_{\ast }\gt 10^{9}\, {\rm M}_{\odot }$|) with local group and field dwarf constraints. Garrison-Kimmel et al. (2017) perform a similar exercise, allowing the scatter below |$M_{\rm halo}\lt 10^{11}\, {\rm M}_{\odot }$| to vary; we plot their best-fitting median relations for a constant scatter below this mass |${\approx }1\,$|dex (but note that for any scatter in the range |$0.5\!-\!2\,$|dex, the results are similar). We expect the scatter to vary continuously with mass, so we show the 95 per cent inclusion contour if we take the model from Garrison-Kimmel et al. (2017) where the scatter is constant at |$0.2\,$|dex above |$M_{\rm halo}\gt 10^{11.5}\, {\rm M}_{\odot }$| (the value favoured by Behroozi et al. 2013 and Moster et al. 2013), and varies linearly with halo mass as |$\sigma _{\rm dex} = 0.2 \!-\!0.2\, \log _{10}(M_{\rm halo}/10^{11.5}\, {\rm M}_{\odot })$| at lower masses (rising to |${\approx } 0.5\,$|dex at |$M_{\rm halo}\approx 10^{10}\, {\rm M}_{\odot }$|).10
Stellar mass–halo mass relation for FIRE-2 simulations (coloured points) at |$z$| = 0. Stellar masses and halo virial masses are defined as in Table 1, for all resolved, uncontaminated haloes (116 galaxies total; see the text, Section 3). Large points show the ‘primary’ (most massive) galaxy within the zoom-in region, in each simulation (different point styles). Grey triangles show FIRE-1 simulations. While individual galaxies may differ in mass, the effects are primarily stochastic: the two agree well on average. We compare observational estimates as labelled; black dotted lines show the observationally estimated ∼95 per cent intrinsic scatter (see the text). Within the scatter and systematic variations between fits, the simulations agree well with the observations at all masses.
Stellar mass–halo mass relation for FIRE-2 simulations (coloured points) at |$z$| = 0. Stellar masses and halo virial masses are defined as in Table 1, for all resolved, uncontaminated haloes (116 galaxies total; see the text, Section 3). Large points show the ‘primary’ (most massive) galaxy within the zoom-in region, in each simulation (different point styles). Grey triangles show FIRE-1 simulations. While individual galaxies may differ in mass, the effects are primarily stochastic: the two agree well on average. We compare observational estimates as labelled; black dotted lines show the observationally estimated ∼95 per cent intrinsic scatter (see the text). Within the scatter and systematic variations between fits, the simulations agree well with the observations at all masses.
We emphasize that although matching the full observed (2D) distribution of galaxies in stellar mass–halo mass space is equivalent to matching the observed stellar mass function (SMF), with the limited sample here, we can only test whether our simulations are consistent with being drawn from this distribution (we do not have a sufficiently large ensemble of haloes to forward-model the entire SMF). However, in Wetzel et al. (2016) and with a much larger sample in Garrison-Kimmel et al. (2018), we have sufficient statistics to forward-model the observed dwarf galaxy SMF and compare to the local (Milky Way and M31) observed satellite and local field SMFs, at stellar masses |${\sim } 10^{4}\!-\!10^{9}\, {\rm M}_{\odot }$|. And in Ma et al. (2018a) we use an expanded sample of simulations run to high-redshift to compare the SMF (and luminosity functions) at |${\sim } 10^{6}\!-\!10^{11}\, {\rm M}_{\odot }$| to observations at |$z$| ≳ 5. However more quantitative comparison to the SMF of massive galaxies at lower redshifts (|$z$| ∼ 0–2) will require larger statistical volumes.
In any case, in Figs 1–7, we confirm the conclusions of our previous FIRE-1 studies. Although it is impossible to be exhaustive at this point, we have yet to identify any area in which the FIRE-2 predictions differ at the order-of-magnitude level from FIRE-1 predictions. In future work, we will examine detailed properties of the CGM (e.g. column density distributions of different absorbers) where the hydrodynamic solver could, in principle, have a larger effect.
As in FIRE-1, in FIRE-2 the dwarfs tend to have spheroidal morphologies, with relatively little rotation (see Wheeler et al. 2017). Especially around |$M_{\rm halo}\sim 10^{11}\, {\rm M}_{\odot }$|, repeated bursts of star formation driving cycles of outflow, subsequent infall, and repeated star formation leads to ‘puffing up’ of the dark matter and stellar orbits, generating large cores in the dark matter profiles (Chan et al. 2015; Oñorbe et al. 2015). This also leads to expansion of the galaxy size and low surface brightness in their stellar distribution (El-Badry et al. 2016). ‘Bursty’ star formation predominates in low-mass dwarfs and high-redshift progenitors of massive galaxies (Faucher-Giguère 2018; Sparre et al. 2017), and in galactic nuclei (Torrey et al. 2017). In FIRE-1 and FIRE-2, MW-mass galaxies develop a clear disc+bulge morphology, with large thin stellar discs (despite the presence of strong feedback; Ma et al. 2017b), with clear spiral structure, pronounced radial metallicity and age gradients (Ma et al. 2017a). The stellar (and gas phase) metallicities agree well with the observed mass–metallicity relation both as a function of stellar mass at |$z$| = 0 and as a function of redshift (Ma et al. 2016a); to the extent that galaxies differ in metallicity between FIRE-1 and FIRE-2, they primarily move along the stellar mass–metallicity relationship. In both sets of simulations, galaxies drive strong winds, with higher mass-loading in low-mass galaxies, sufficient to place galaxies on the observed relationship between stellar mass and halo mass (Hopkins et al. 2014; Muratov et al. 2015; Hayward & Hopkins 2017). Initial examination of our FIRE-2 runs shows these winds produce galactic outflow rates and covering factors of neutral hydrogen similar to our FIRE-1 simulations, similar to observations at a wide range of galaxy masses (Faucher-Giguere et al. 2015; Faucher-Giguère et al. 2016), although this will be studied in more detail in thefuture.
There are some modest quantitative differences between FIRE-2 and FIRE-1; most of this manuscript will explore the origin of these differences, but they appear to primarily owe to the change in the hydrodynamic solver. On average, dwarfs are slightly lower mass in FIRE-2; this owes to both hydrodynamics and the fact that (unlike in FIRE-1) we do not artificially ‘ignore’ ionizing photons when they pass outside numerical domains (hence they can still heat gas). The difference in Fig. 5 can be as large as a factor of ∼3 for a single galaxy, but this is largely stochastic (since the star formation histories are dominated by a few bursts, a small perturbation to the formation history or feedback strength can lead to factor ∼2 changes in mass) – Fig. 7 makes this clear, as the systematic offset between FIRE-1 and FIRE-2 appears to be a factor <2, well within the systematic uncertainties in the M*–Mhalo relation at |$M_{\rm halo} \le 10^{11}\, {\rm M}_{\odot }$|. We have also examined this relation at |$z=(0.5,\, 1,\, 2,\, 4,\, 6)$| and find similar agreement, so we refer to Hopkins et al. (2014) for an extensive analysis. Metallicities at the same mass are slightly higher, by <30 per cent; this owes primarily to updated yield tables; this is far smaller than the factor of ∼2–5 systematic uncertainty in the calibration of observed galaxy metallicities. For MW-mass galaxies, the stellar masses are slightly higher in FIRE-2, and the bulges slightly more concentrated (the rotation curves have stronger peaks, by a modest amount). We will show that this is a direct consequence of the hydrodynamic treatment, but is also sensitive to simulation resolution and the SNe coupling algorithm.
4 RESOLUTION IN THE FIRE-2 SIMULATIONS
We now discuss our mass, spatial, and time resolution. For each, we will present a series of tests, and summarize these with a set of resolution criteria.
Throughout this paper, when we refer to ‘convergence’ of some property, we more precisely mean to test whether the property is strongly, systematically sensitive to resolution (at our highest resolution). Because even pure N-body integration (let alone galaxy formation, with explicitly stochastic effects such as SNe included) is a fundamentally chaotic problem, and has no known exact solution, we of course cannot define convergence in the more formal sense (of e.g. some error norm relative to said solution). Some properties in nature (e.g. halo mass functions, or turbulence in the ISM) extend down to scales vastly smaller than any simulation could resolve – for these, convergence must be defined ‘down to’ some minimum resolvable scale (e.g. the mass function for objects larger than some minimum number of particles). This also means that ‘convergence’ in one quantity should not be taken to necessarily imply convergence in another.
4.1 Mass resolution
In Lagrangian or N-body methods such as ours, there is a well-defined mass-resolution given by the particle mass mi in the high-resolution Lagrangian region.11
To maintain a well-defined mass resolution scale and minimize N-body integration errors, single gas particles are converted into single star particles with the same masses (rather than, for example, spawning star particles with much smaller/larger masses). However, mass-loss from stars to gas in O-star/AGB winds and SNe means that particles will not have perfectly equal masses, so to prevent pathological behaviour in very rare circumstances (if e.g. a single gas particle sees many SNe that increase its mass) we use the standard particle splitting and merging routine from Hopkins (2015) to ensure no particle ever deviates by more than a factor of 3 from the median particle mass. This affects only a tiny number of particles (one in ∼106). Averaged over our runs at |$z$| = 0, ∼90 per cent (99 per cent, 99.99 per cent) of all gas particles are within <0.005 (0.1, 0.2) dex of the median particle mass. We will therefore refer only to the median baryonic particle mass mi in this paper.
Dark matter particles are always more massive by the universal baryon fraction, |$m_{\rm dm} \approx 5\, m_{i}$|; this ensures haloes and baryonic galaxies are comparably resolved at initial collapse. Of course, since many galaxies retain only a small fraction of their baryons, and dark matter does not cluster on small scales, dark matter structures tend to be vastly larger than baryonic structures and so are far better mass-resolved.
4.1.1 Requirements for ‘resolved’ self-gravitating structures
We will show below for DM haloes and subhaloes, stellar galaxies, gas clumps, and GMCs within galaxies, only a few particles are sufficient for robust prediction of masses and mass functions.
Of course, the presence of even a few baryonic particles might require a quite massive halo. The observed relationship between galaxy stellar mass and halo mass implies that galaxies with |$M_{\ast }\sim 10^{4}\, {\rm M}_{\odot }$| typically live in haloes of mass |$M_{\rm halo} \sim 10^{9}\, {\rm M}_{\odot }$|; using the M*–Mhalo relation at low masses from Moster et al. (2013), we estimate the minimum halo mass with a ‘believable’ baryonic relic is |${\sim } 10^{9}\, {\rm M}_{\odot }$| at |$m_{i,\, 1000}\sim 1$|. This is actually quite well-resolved in dark matter, with ≳105 particles. This also means that ≳105 baryonic particles have participated in the formation history of the halo and have ‘cycled through it’ (assuming something like the Universal baryon fraction is associated with the halo). It is just that the star formation efficiency is so low that the residual mass in stars is small. There is no question, then, that such objects are ‘real’ in the simulations and, if they have such small stellar masses, that feedback had a real effect (it had to prevent >105 particles from cooling and forming stars!).
Moreover, because dark matter dominates the gravitational forces in these small galaxies, the orbital dynamics of the surviving stars (determined by the dark matter potential, not the negligible self-gravity) can be believed so long as the dark-matter structure is resolved (i.e. the stars are just tracer particles). This is easily satisfied in haloes with |$M_{\rm halo}\gtrsim 10^{9}\, {\rm M}_{\odot }$|, independent of the number of stars (given a realistic M*–Mhalo relation).
We will show below that even the internal dynamics, evolution over a Hubble time, and mass profile of DM structures are robust to resolution down to radii enclosing just ∼200 elements. This is much more demanding than ‘existence’ of haloes or gaseous structures (which requires just a few elements), as expected.
4.1.2 Requirements for well-behaved internal hydrodynamics
In Hopkins (2015), we show that, for the MFM method here, a few hundred resolution elements are sufficient to capture the orbital dynamics of thin Keplerian discs for ∼10–100 orbital times (for a galactic disc, roughly equivalent to a Hubble time), the shock structure of strong blastwaves and/or implosions (the Sedov and Noh tests), and all the correct qualitative behaviours of self-gravitating polytropic sphere collapse (the Evrard test) and cosmological structure formation (the Zeldovich test), all to within a factor much better than ∼2 of the exact solution. This means that a single star particle generating SNe in a halo and blowing out |${\sim } 100\!-\!1000\,$| surviving gas particles (total baryonic mass |${\gtrsim } 10^{6}\, {\rm M}_{\odot }\, m_{i,\, 1000}$| or, at the Universal baryon fraction, halo mass |${\gtrsim } 10^{7}\, {\rm M}_{\odot }\, m_{i,\, 1000}$|) is at least hydrodynamically well-behaved, if not converged.12 This is consistent, roughly, with the resolution dependence of properties such as the enrichment history presented below, which require similar particle numbers in the relic baryonic galaxy to resolve the entrainment/recycling of SNe ejecta and its re-incorporation into subsequent generations of star formation.
4.1.3 Requirements for capturing ISM properties, star formation, and stellar feedback
The most demanding mass resolution requirements come from the physics of the ISM and CGM.
- The Toomre mass and ISM structure: Many previous studies have shown that reliably capturing star formation (both rates and spatial distribution) requires the ability to resolve at least the existence and self-gravity of the largest self-gravitating gas structures (i.e. fragmentation) in a galactic disc (see Saitoh et al. 2008; Hopkins et al. 2011, 2012c,b, 2014; Kim & Ostriker 2017). These studies showed that once this criterion is met, the SFR predicted in the simulations becomes independent of the numerical star formation model (see Section 8), because it is regulated by feedback. This means we do not strictly need to resolve the internal dynamics of such clouds to capture galaxy-scale dynamics. And although there will always be clouds and substructure below our resolution limits, both observations and simulations have repeatedly shown that almost all star formation occurs in the largest GMC complexes in galaxies (see Evans 1999; Rosolowsky et al. 2003; Blitz & Rosolowsky 2005; Elmegreen 2007; Bolatto et al. 2008; Tasker & Tan 2009; Feldmann & Gnedin 2011; Harper-Clark & Murray 2011; Murray 2011; Hopkins 2012a). This mass |$M_{\rm GMC}^{\rm max}$| is set by the Toomre mass, |$M_{\rm Toomre} \sim f_{\rm gas}^{2}\, M_{\rm gas}$| where fgas is the gas fraction inside the relevant effective radius of the baryonic galaxy. So, if we require |$M_{\rm cloud}^{\rm min} \lesssim M_{\rm Toomre}$|, we obtain the desired resolution criterion |$m_{i,\, 1000} \lesssim m_{i,\, 1000}^{\rm Toomre}$| whereThis defined the target resolution of the original FIRE-1 massive-galaxy simulations (|$10^{12}\, {\rm M}_{\odot }$| haloes).\begin{equation*} m_{i,\, 1000}^{\rm Toomre} \lesssim \frac{100}{N_{10}}\, \frac{M_{\rm Toomre}}{10^{6}\, {\rm M}_{\odot }} \sim 100\, \left(\frac{f_{\rm gas}^{2}\, M_{\rm gas}}{10^{6}\, {\rm M}_{\odot }\, N_{10}}\right). \end{equation*}(5)
- SNe cooling radii: A still more demanding criterion is set by SNe physics. As discussed in detail in Paper II (as well as Cioffi, McKee & Bertschinger 1988; Thornton et al. 1998; Martizzi, Faucher-Giguère & Quataert 2015; Walch & Naab 2015), a single SN remnant radiates its thermal energy rapidly upon reaching a nearly-invariant ‘swept up’ mass |$M_{\rm cool} \sim 3000\, {\rm M}_{\odot }$|; if a number NSNe occur before the cooling time expires, the ‘cooling mass’ simply scales Mcool ∝ NSNe. If SN energy is injected in a kernel-weighted fashion over NNGB elements as we do here, then almost all of the energy goes into the nearest |$N_{\rm NGB}^{1/3}$| neighbours; requiring they have a total mass <Mcool in turn requires:This set the target mass resolution for the original FIRE-1 dwarf galaxies (|$\lt\!10^{10}\, {\rm M}_{\odot }$| haloes). As we show in Paper II, unless |$m_{i,\, 1000} \ll m_{i,\, 1000}^{\rm SNe}$|, it is necessary to properly account for the conversion of energy into momentum in the unresolved Sedov–Taylor (S–T) phases. Failure to do so will significantly underestimate the effects of feedback.13\begin{equation*} m_{i,\, 1000}^{\rm SNe} \lesssim 0.9\, (N_{\rm NGB}/32)^{-1/3}\, N_{\rm SNe}. \end{equation*}(6)
- Dwarf galaxy ‘burstiness’: In previous papers we have shown that for small dwarf galaxies, star formation is robustly ‘bursty’;14 however, at low resolution, the ‘burstiness’ is artificially enhanced by numerical effects (see e.g. Sparre et al. 2017). This owes to the fact that stars form in units of star particles. At sufficiently low resolution, a single star particle implies a massive, co-eval star cluster, therefore a large number of approximately co-eval SNe. Although we know SNe are clustered in reality, this artificial numerical clustering could easily ‘overshoot’ reality, producing too many synchronized SNe in the same location, which in turn leads to an overlarge superbubble that could heat the entire galaxy gas supply to supervirial temperatures. If we consider the ‘unit’ of star formation (minimum resolved cloud) to be, say ∼10 particles (since a single lone gas particle cannot be at much higher density than its neighbours), then taking the IMF-average |$N_{\rm SNe}\sim m_{i}/100\, {\rm M}_{\odot }$| per particle, the entire baryonic mass in the galaxy can be heated to |$T\gg 10^{6}\,$| K (‘superbubble’ temperatures) if that baryonic mass is below |${\sim } 600\, m_{i}$|. So resolving ‘venting’ of individual superbubbles (much smaller than the entire galaxy) requires ≳1000 gas particles in the galaxy. Assuming further a gas fraction of ∼1 during the gas-rich phases of star formation and/or typical dwarf galaxies, and using the stellar mass–halo mass relation above, this implies a particle mass target:Equivalently, we can say that for a simulation with fixed mass resolution, once haloes exceed a mass |$M_{\rm halo} \gtrsim 2\times 10^{9}\, {\rm M}_{\odot }\, m_{i,\, 1000}$| the numerical ‘excess clustering/burstiness’ is not important.\begin{equation*} m_{i,\, 1000}^{\rm burstiness} \lesssim 5\, \left(\frac{M_{\rm halo}}{10^{10}\, {\rm M}_{\odot }} \right). \end{equation*}(7)
The Jeans mass: A common misconception is that one needs to resolve the Jeans mass in order to capture basic fragmentation physics. This is incorrect, for two important reasons. First, the warm/cold ISM is supersonically turbulent, so the ‘fragmentation cascade’ (hierarchical structure of fragmentation into GMCs, clumps, cores, etc.) is determined by the turbulent Jeans mass, not the thermal Jeans mass, at least down to the sonic scale (|$R \lesssim R_{\rm sonic} \sim 0.1\, {\rm pc}$| and mass scale |${\sim } 1\, {\rm M}_{\odot }$|). We discuss this below, but the turbulent Jeans mass of a supersonically turbulent GMC with virial parameter α ∼ 1 is of order the GMC mass itself (|${\sim } 10^{7}\, {\rm M}_{\odot }$|), whereas the thermal Jeans mass is |${\sim } 0.1\, {\rm M}_{\odot }$|. Secondly, in a homogeneous medium, the Jeans mass defines the smallest scales of the fragmentation cascade – by definition, all larger scales are also unstable. Therefore, failure to resolve the Jeans scale simply means all resolved scales fragment as they should – the fragmentation cascade is just truncated at the resolution scale, instead of the (smaller) Jeans scale. This is analogous to ‘resolving turbulence’ in the ISM; the actual Kolmogorov (‘termination’) scale of the turbulent cascade (∼au) is far smaller than achievable resolution, but that does not mean turbulence cannot be captured (it simply limits the dynamic range of the cascade that can be followed). In both cases (for the same physical reason, in fact; see Hopkins 2012a), the power in the cascade is dominated by the largest scale structures, so integrated quantities converge very quickly with increasing resolution (Federrath & Klessen 2012; Padoan et al. 2012; Hopkins 2013b; Guszejnov & Hopkins 2015, 2016). We show this explicitly below – the mass function of dense, cold clouds is well behaved regardless of resolution, it simply extends to smaller and smaller substructures as we increase the resolution. Thus, the full cascade is not followed, but this is not problematic, provided that the goal of our simulation is not to resolve individual brown dwarf or star formation (the actual ‘end point’ of the fragmentation cascade in the ISM). This is where the subgrid model for star formation enters – it is, explicitly, a subgrid model for the un-resolved fragmentation cascade from a resolved, self-gravitating cold gas clump/cloud all the way down to an aggregate of individual stars with some IMF. The Toomre scale, on the other hand, is important to resolve, because it is the largest unstable scale in a disc – in other words, failure to resolve the Toomre scale means that no fragmentation will occur (when it physically should).
4.1.4 Mass resolution tests
We now explore in detail how mass resolution can alter our conclusions. Figs 8–14 present a series of explicit mass resolution tests of our full-physics FIRE-2 simulations. Table 3 gives some typical values for mass, spatial, and time resolution for m12i runs at different resolution.
Resolution study, as in Fig. 4. Each column is one galaxy, and each line shows a different mass resolution (mi, 1000) up to our production resolution. Top: Star formation rate versus cosmic time. In dwarfs (m10v, q), low resolution leads to artificially large ‘burstiness’: a few bursts dominate the history and eject the remaining baryons. At higher resolution, star formation is still ‘bursty’, but it becomes robust to changes in resolution. In MW-mass galaxies, higher resolution shifts star formation to slightly later times by more efficiently regulating the low-mass progenitor at high redshifts. Second from top: Stellar mass versus scale factor. Note that the mi, 1000 = 16 (130) simulations of m10v have only 10 (2) star particles in the main halo, and yet they are within a factor ∼3 of the highest resolution stellar mass; by the time ∼100 particles are in the main galaxy, the mass is stable to within ∼20 per cent. Middle: Average stellar metallicity versus scale factor. This converges more slowly than stellar mass; with <100 star particles, dwarf galaxies show artificially suppressed metallicity, because low resolution undersamples the enrichment history and leads to artificially bursty SFH that blows out metals completely. Massive galaxies show smaller differences that match differences in their SFHs. Second from bottom: Mass density profile at |$z$| = 0: results are robust down to radii enclosing ∼100–200 particles of the ‘type’ of interest (details below). Bottom: Circular velocity profile at |$z$| = 0. For dwarfs, this is dark-matter dominated and therefore under-resolved only at our lowest resolution (where the DM ‘convergence radius’ discussed below is > kpc). For the MW-mass galaxy, the modest difference in the SFH at |$z$| ∼ 0.5–2 in m12i translates to a factor ∼2 difference in the central bulge mass, which leads to a more strongly peaked central Vc at low resolution. m12f (not shown) shows nearly identical behaviour to m12i; m12m shows better agreement at all resolution levels.
Resolution study, as in Fig. 4. Each column is one galaxy, and each line shows a different mass resolution (mi, 1000) up to our production resolution. Top: Star formation rate versus cosmic time. In dwarfs (m10v, q), low resolution leads to artificially large ‘burstiness’: a few bursts dominate the history and eject the remaining baryons. At higher resolution, star formation is still ‘bursty’, but it becomes robust to changes in resolution. In MW-mass galaxies, higher resolution shifts star formation to slightly later times by more efficiently regulating the low-mass progenitor at high redshifts. Second from top: Stellar mass versus scale factor. Note that the mi, 1000 = 16 (130) simulations of m10v have only 10 (2) star particles in the main halo, and yet they are within a factor ∼3 of the highest resolution stellar mass; by the time ∼100 particles are in the main galaxy, the mass is stable to within ∼20 per cent. Middle: Average stellar metallicity versus scale factor. This converges more slowly than stellar mass; with <100 star particles, dwarf galaxies show artificially suppressed metallicity, because low resolution undersamples the enrichment history and leads to artificially bursty SFH that blows out metals completely. Massive galaxies show smaller differences that match differences in their SFHs. Second from bottom: Mass density profile at |$z$| = 0: results are robust down to radii enclosing ∼100–200 particles of the ‘type’ of interest (details below). Bottom: Circular velocity profile at |$z$| = 0. For dwarfs, this is dark-matter dominated and therefore under-resolved only at our lowest resolution (where the DM ‘convergence radius’ discussed below is > kpc). For the MW-mass galaxy, the modest difference in the SFH at |$z$| ∼ 0.5–2 in m12i translates to a factor ∼2 difference in the central bulge mass, which leads to a more strongly peaked central Vc at low resolution. m12f (not shown) shows nearly identical behaviour to m12i; m12m shows better agreement at all resolution levels.
Fig. 8 shows our full-physics cosmological simulations at varying mass resolution. We compare two low-mass dwarfs and two MW-mass galaxies, to bracket the range of behaviour. Fig. 9 compares the visual morphologies of the galaxies.
Mock images, as in Fig. 3, showing the effects of resolution on the morphology of the simulated galaxies at |$z$| = 0, for a subset of the resolution series from Fig. 8. Left: Dwarf galaxy (m10q): Because dwarf morphologies are disordered, their qualitative morphology does not depend sensitively on resolution (this is true for all our dwarfs). centre: MW-mass galaxy m12i: In m12i we see a trend towards a more extended thin disc component dominating as we increase resolution. The effective radius also increases, but much less dramatically (just by ∼40 per cent from mi, 1000 = 56 to mi, 1000 = 7.0); the bulge and central ∼2–3 kpc remain similar in each case, but the extended, gas-rich disc is much more prominent. At the lowest resolution (|$m_{i,\, 1000}=450$|), we see little disc-like structure at all (although there is a rotating gas+stellar disc |${\sim } 1\,$| kpc in size). At intermediate resolution, a clear disc with |${\sim } 5\,$| kpc radius appears – there is also an extended, smooth-light component out to |${\sim } 10\,$| kpc. At our highest resolution, this extended component exhibits spiral structure and the gas+young stellar disc extends to |$\gt 10\,$| kpc from the galaxy centre (albeit at low surface brightness: all figures here use an 8-magnitude stretch). Right: MW-mass galaxy m12f: In this slightly more-massive galaxy, an extended disc is present at all resolution levels (the trends seen in m12i are still present, but much weaker). m12m (not shown) similarly shows a disc at every resolution level.
Mock images, as in Fig. 3, showing the effects of resolution on the morphology of the simulated galaxies at |$z$| = 0, for a subset of the resolution series from Fig. 8. Left: Dwarf galaxy (m10q): Because dwarf morphologies are disordered, their qualitative morphology does not depend sensitively on resolution (this is true for all our dwarfs). centre: MW-mass galaxy m12i: In m12i we see a trend towards a more extended thin disc component dominating as we increase resolution. The effective radius also increases, but much less dramatically (just by ∼40 per cent from mi, 1000 = 56 to mi, 1000 = 7.0); the bulge and central ∼2–3 kpc remain similar in each case, but the extended, gas-rich disc is much more prominent. At the lowest resolution (|$m_{i,\, 1000}=450$|), we see little disc-like structure at all (although there is a rotating gas+stellar disc |${\sim } 1\,$| kpc in size). At intermediate resolution, a clear disc with |${\sim } 5\,$| kpc radius appears – there is also an extended, smooth-light component out to |${\sim } 10\,$| kpc. At our highest resolution, this extended component exhibits spiral structure and the gas+young stellar disc extends to |$\gt 10\,$| kpc from the galaxy centre (albeit at low surface brightness: all figures here use an 8-magnitude stretch). Right: MW-mass galaxy m12f: In this slightly more-massive galaxy, an extended disc is present at all resolution levels (the trends seen in m12i are still present, but much weaker). m12m (not shown) similarly shows a disc at every resolution level.
For the dwarfs, the total stellar mass (and circular velocity profile) becomes robust to better than a factor <2, with just ≳2–16 star particles in the |$z$| = 0 galaxy. This is because the total stellar mass is set by an integral balance between feedback energetics and gravity binding the baryons. Also, given the low particle masses, even these low-resolution dwarf runs easily satisfy our Toomre-mass criterion (equation 5). However, at such low resolution (|$m_{i,\, 1000}=16\!-\!130$|) they do not satisfy our ‘numerical burstiness’ or ‘SNe cooling’ criteria (equations 7 and 6, respectively). As a consequence, the SFHs are visibly more ‘bursty’ (dominated by just a couple large bursts), and the metallicities are systematically underpredicted (compared to our high-resolution runs). The latter occurs because the single bursts blow out nearly all the baryons (and metals) from the galaxy: they fail to capture partial entrainment/mixing/incomplete blowout that would keep the metals in the galaxy. The metallicity and burstiness of the SFH appear to robust to a factor ∼2 (∼10 per cent) when the number of stars reaches >100 (>500) at |$m_{i,\, 1000}=2$|, as expected from our criterion in equation (7). More subtle properties, such as the internal SF structure of bursts and hot gas properties of the galaxy, and escape fraction of ionizing photons (Ma et al. 2015, 2016b), require still higher resolution, hence our highest resolution runs, with |$m_{i,\, 1000}=0.25$|, satisfying equation (6). These results are also supported by the analysis of dwarf satellite galaxies of our massive, high-resolution m12i halo in Wetzel et al. (2016); the convergence in the SMF of dwarfs appears good down to ∼5–10 star particles per galaxy; but the metallicities of the satellites with ≲100 star particles are suppressed relative to our higher resolution isolated-dwarf simulations and observations (compare Ma et al. 2016a). Not surprisingly, because the gross morphology of the dwarfs is irregular, it is essentially resolution-independent. Galaxy sizes (effective radii) are also nearly independent of resolution (because of the more ‘bursty’ star formation, the sizes tend to be ∼10–20 per cent larger at the lowest resolutions here). In Paper II, we show the star formation histories of dwarf galaxy simulations reaching |${\sim } 30\, {\rm M}_{\odot }$| resolution (which will be studied in more detail in Wheeler et al., in preparation), and show that they agree well with the |${\sim } 250\, {\rm M}_{\odot }$|-resolution runs here.
For the massive, MW-mass system, even the lowest resolution (|$m_{i,\, 1000}=450$|) run has ≫105 particles in the baryonic galaxy and easily satisfies the Toomre and ‘burstiness’ criteria (although its progenitor dwarf galaxies at high redshifts may not). As such the SFH and metallicity are more robust to resolution (compared to the dwarf runs). However we do see higher resolution systematically shifts the SFH from early to later times, as higher resolution allows better resolution of two key physics. First, the generation of winds via resolution of the hot gas ‘channels’ and their escape (‘venting’) from a multiphase halo (our ‘SNe’ criterion; for explicit studies see Hopkins et al. 2012b, 2013c; Martizzi et al. 2015; Muratov et al. 2015; Fielding et al. 2017). At low resolution, hot gas is necessarily ‘dragged’ by a large mass of implicitly coupled gas, because mass is locked into massive particles: at our lowest resolution, for example, a single SN cannot affect less mass than |${\sim } 10^{6}\, {\rm M}_{\odot }$| – this means much lower ‘launch velocities’ and temperatures, unless a huge number of SNe explode simultaneously (see Paper II). Secondly, high resolution allows better resolution of the ‘burstiness’ and SFHs within the smaller progenitor galaxies of the more massive |$z$| = 0 MW-mass system (note that the largest differences appear at early times, when the galaxy is a progenitor dwarf), which reduces their stellar and gas masses, leading to more gas expelled to large enough radii where its recycling times are long. The gas is still re-incorporated eventually, evident in the similar late-time masses and SFRs, but appears to re-accrete later.
As a result of these effects, at higher resolution the final |$z$| = 0 MW-mass galaxy is slightly lower mass, but more importantly, because it shifts star formation and re-accretion of recycled material to later times, that material carries larger angular momentum, and the galaxy is less compact. For m12i, the effective radius in our high-resolution |$m_{i,\, 1000}=7$| run is ∼1.4 times larger than the |$m_{i,\, 1000}=450$| run, which translates to a factor ∼1.8 lower mass inside |$\lt\!5\,$| kpc; this in turn lowers the peak in the rotation curve from |${\sim } 370\, {\rm km\, s^{-1}}$| to |${\sim } 270\, {\rm km\, s^{-1}}$|. Thus the galaxy rotation curve is noticeably ‘less bulgy’ at high resolution. The differences in m12i are more dramatically evident in the low-surface-brightness outer disc morphology, which goes from being entirely absent at very low resolution to quite prominent at high resolution. Interestingly, however, in m12m there is much weaker dependence on resolution (the effective radius changes by <15 per cent). Also in m12f, although the change in effective radius and the rotation curve with resolution is similar to m12i, the visual morphology changes much less dramatically – even at |$m_{i,\, 1000}=450$| there is still a prominent, extended thin disc. This may owe to the fact that m12m and m12f have a somewhat larger mass, but likely also owes to the specific fact that m12i has a series of mergers around |$z$| ∼ 1, which launch strong fountains and change the angular momentum of the gas that will form its disc (whereas m12f and m12m grow more smoothly). So it appears m12i is simply more sensitive to resolution effects. Clearly, it is important to push to even higher resolution (in progress), to test whether or not this is actually converged.
If the dependence on resolution in our MW-mass runs owes to a combination of (1) better-resolving the progenitor (dwarf) galaxies, and (2) resolving channels by which hot gas outflows can escape, we should see similar SFRs independent of resolution at late times if we start from the same ICs. In other words, it is useful to test whether indeed the difference with resolution comes from progenitor influence on the late-time galaxy, or whether it is present for fixed conditions in a massive MW-mass galaxy. We therefore consider a series of simulations where we use our m12i simulation with |$m_{i,\, 1000}=56$|, re-started at |$z$| ≈ 0.06 from a snapshot of the simulation in Fig. 8, but using our particle splitting/merging routine to first split/merge the ICs until they are re-sampled with a desired target resolution. Fig. 10 shows that when we do this, the SFR is nearly identical over ∼2.5 dex in mass resolution (small deviations at the highest resolution owe mostly to some artefacts of our very aggressive particle splitting/up-sampling routine applied for this specific test).
Star formation rate versus lookback time, in our MW-mass m12i simulations, re-started at late times. In each case, we re-start using the snapshot at |$z$| = 0.06 from our run with mi, 1000 = 56 (in Fig. 8) as our initial condition, so the late-time ICs of the different realizations are identical. We then run from |$z$| ≈ 0.06–0 (|${\sim } 700\,$|Myr physical time), to study how the SFR varies in a massive galaxy given the same initial galaxy properties (that is, factoring out how variations affect the earlier phases when the progenitor was low-mass). Here, we use particle splitting/merging before running to vary the mass resolution. We see that for the same ICs, the SFR is almost completely insensitive to resolution; variations in the SFR with resolution in Fig. 8 are dominated by (1) early stages when the progenitor galaxy was much lower mass, hence much less well resolved, and (2) less prominently, weak resolution dependence of wind mixing versus escape from the outer halo, which changes the inflow rate back into the galaxy at later times.
Star formation rate versus lookback time, in our MW-mass m12i simulations, re-started at late times. In each case, we re-start using the snapshot at |$z$| = 0.06 from our run with mi, 1000 = 56 (in Fig. 8) as our initial condition, so the late-time ICs of the different realizations are identical. We then run from |$z$| ≈ 0.06–0 (|${\sim } 700\,$|Myr physical time), to study how the SFR varies in a massive galaxy given the same initial galaxy properties (that is, factoring out how variations affect the earlier phases when the progenitor was low-mass). Here, we use particle splitting/merging before running to vary the mass resolution. We see that for the same ICs, the SFR is almost completely insensitive to resolution; variations in the SFR with resolution in Fig. 8 are dominated by (1) early stages when the progenitor galaxy was much lower mass, hence much less well resolved, and (2) less prominently, weak resolution dependence of wind mixing versus escape from the outer halo, which changes the inflow rate back into the galaxy at later times.
This is consistent with our argument above, that we only need to marginally resolve the Toomre scale to achieve a robust prediction for the SFR, given a specific gas disc initial condition. Quantities such as the Kennicutt–Schmidt relation are thus extremely robust to mass resolution. However, non-linear, long-time-scale effects in cosmological simulations (e.g. recycling) shift the SFR by changing the supply or loss rate of gas in the CGM.
To better understand how much of the resolution dependence owes to purely gravitational physics, Figs 11 and 12 consider how the dark matter mass profiles of the galaxies change with mass resolution. First we consider DM-only simulations (i.e. gravity-only simulations), in Fig. 11. We see near-ideal convergence in the mass profiles of the DM haloes (as well as their substructure mass functions, shown below, and halo formation/growth histories). As expected, the |$z$| = 0 DM mass profiles are well-fitted by a Navarro, Frenk & White (1996) (NFW)-like profile, down to some minimum scale where numerical effects flatten the profile. Because of the Lagrangian nature of our code, improving mass resolution also improves the effective spatial resolution/force resolution; in fact, we will show below (consistent with many previous studies) that the nominal spatial force softening is generally much less important than mass resolution. Power et al. (2003) argue that the central ‘flattening’ in DM profiles is dominated by N-body relaxation, and that robust results should be obtained outside a radius where the N-body relaxation time |$t_{\rm relax} \sim 0.6\, t_{0}$| (where |$t_{0}\equiv t_{\rm circ}(R_{200})=2\pi \, R_{200}/V_{200}$|) is comparable to the Hubble time. Because N-body relaxation depends most strongly on N, this is effectively a requirement on the number of particles – more exactly |$(5/\sqrt{8})\, (N[\lt r]/\ln {N[\lt r]})\, (\rho _{\rm crit}/\bar{\rho }[\lt r])^{1/2} \lt 0.6$|, satisfied for the densities in Fig. 11 when N ≳ 2200. Not surprisingly, we see almost excellent agreement at these radii. In fact, as others have shown, because of more accurate integration criteria, shorter time-steps, and a smoother spline for gravitational softening (which reduces the N-body relaxation time below the equation for strict point masses assumed by the argument in Power et al. 2003), if we are willing to tolerate slightly larger errors, within a factor ∼1.3 (|$0.1\,$|dex) of the converged (NFW) solution we find excellent agreement independent of resolution, down to radii containing just N ≳ 200 particles.
Resolution studies in DM-only simulations of the dwarf and MW-mass haloes from Fig. 8. We show the radially averaged DM mass profile at |$z$| = 0 around the main halo, varying the mass resolution. Inset shows the difference plot (Δlog ρ in dex) relative to the ‘reference’ highest resolution run available. For each factor of 8 in mass resolution, we change the DM force softening by a factor of 2. With increasing mass resolution we converge more and more closely to an NFW-like profile at small radii (thin green line). At radii larger than the Power et al. (2003) radius, r0.6. where the relaxation time |$t_{\rm relax}\approx 0.6\, t_{\rm circ}(R_{200})$|, which encloses approximately ≈2200 particles (dotted vertical lines), the agreement is near-perfect. However, even at radius, r0.06, where the |$t_{\rm relax} \approx 0.06\, t_{\rm circ}(R_{200})$|, which encloses just ≈200 particles (dashed vertical lines), the agreement is still quite good: densities are underestimated by at most ∼0.05–0.15 dex. We define the latter as our DM ‘convergence radius’ throughout this paper.
Resolution studies in DM-only simulations of the dwarf and MW-mass haloes from Fig. 8. We show the radially averaged DM mass profile at |$z$| = 0 around the main halo, varying the mass resolution. Inset shows the difference plot (Δlog ρ in dex) relative to the ‘reference’ highest resolution run available. For each factor of 8 in mass resolution, we change the DM force softening by a factor of 2. With increasing mass resolution we converge more and more closely to an NFW-like profile at small radii (thin green line). At radii larger than the Power et al. (2003) radius, r0.6. where the relaxation time |$t_{\rm relax}\approx 0.6\, t_{\rm circ}(R_{200})$|, which encloses approximately ≈2200 particles (dotted vertical lines), the agreement is near-perfect. However, even at radius, r0.06, where the |$t_{\rm relax} \approx 0.06\, t_{\rm circ}(R_{200})$|, which encloses just ≈200 particles (dashed vertical lines), the agreement is still quite good: densities are underestimated by at most ∼0.05–0.15 dex. We define the latter as our DM ‘convergence radius’ throughout this paper.
Resolution studies of DM mass profiles in the dwarf and MW-mass haloes from Figs 8–11, in simulations with baryons (solid) compared to DM-only simulations (dotted). We re-normalize the simulations with baryons by Ωm/(Ωm − Ωb) so that if the baryons traced the DM perfectly, the DM-only and baryonic simulations would agree exactly. For clarity, we label the ‘convergence radius’ (r0.06, enclosing ≈200 DM particles; vertical dashed lines) for just the simulation with baryons. In m10v, the galaxy is sufficiently low mass (|$M_{\ast }\sim 10^{5}\, {\rm M}_{\odot }$|) that it is DM dominated and has little or no core, so DM and baryonic simulations agree well. We also see good agreement down to radii |${\sim } 30\,$|pc enclosing just ∼10 particles. In m10q, the more massive dwarf is still DM-dominated but forms a core in the baryonic runs (suppression of ρDM to |${\sim } 600\,$|pc); the core is actually more robust to resolution than the ‘cusps’ in the DM-only runs, down to similar radii |${\sim } 30\,$|pc. In MW-mass runs, the baryons dominate the central mass and cause some contraction of the DM (although less than would be expected from pure adiabatic contraction given the galaxy mass). Differences in the central DM profile are, in these galaxies, dominated by differences in the baryonic mass (high-resolution runs can be less dense, owing to slightly smaller stellar masses), not by traditional DM resolution considerations such as N-body relaxation.
Resolution studies of DM mass profiles in the dwarf and MW-mass haloes from Figs 8–11, in simulations with baryons (solid) compared to DM-only simulations (dotted). We re-normalize the simulations with baryons by Ωm/(Ωm − Ωb) so that if the baryons traced the DM perfectly, the DM-only and baryonic simulations would agree exactly. For clarity, we label the ‘convergence radius’ (r0.06, enclosing ≈200 DM particles; vertical dashed lines) for just the simulation with baryons. In m10v, the galaxy is sufficiently low mass (|$M_{\ast }\sim 10^{5}\, {\rm M}_{\odot }$|) that it is DM dominated and has little or no core, so DM and baryonic simulations agree well. We also see good agreement down to radii |${\sim } 30\,$|pc enclosing just ∼10 particles. In m10q, the more massive dwarf is still DM-dominated but forms a core in the baryonic runs (suppression of ρDM to |${\sim } 600\,$|pc); the core is actually more robust to resolution than the ‘cusps’ in the DM-only runs, down to similar radii |${\sim } 30\,$|pc. In MW-mass runs, the baryons dominate the central mass and cause some contraction of the DM (although less than would be expected from pure adiabatic contraction given the galaxy mass). Differences in the central DM profile are, in these galaxies, dominated by differences in the baryonic mass (high-resolution runs can be less dense, owing to slightly smaller stellar masses), not by traditional DM resolution considerations such as N-body relaxation.
Fig. 12 compares the DM-only result to the full baryonic physics runs from Fig. 8. Following standard practice, we correct the profiles from baryonic runs by the cosmic mean baryon fraction, so that if the baryons behaved identically to the DM, the curves would lie exactly on top of one another. With or without baryons, in both our dwarf and MW-mass runs, agreement is good to |${\lesssim }0.15\,$|dex outside the radii enclosing ∼200 particles. In m10v, the |$z$| = 0 galaxy is sufficiently low-mass that baryons have a negligible effect on the DM profile (see Chan et al. 2015), so the two sets of runs track each other closely. In m10q, the galaxy starts to reach masses where stellar feedback generates a ‘core’: even though small (factor <2) differences in the stellar mass have large effects on core creation at these masses (see Oñorbe et al. 2015), the resolution dependence is similar in baryonic and DM runs. In the MW-mass runs, we see that runs with baryons have higher central densities than DM-only runs, because the large galaxy baryonic mass has caused some halo contraction. This necessarily leads to better ‘convergence’ in an N-body sense, but it means that the DM profile is more sensitive to changes in the galaxy stellar mass (here, the highest resolution run has a lower M* and correspondingly lower central DM density). In all cases, our highest resolution baryonic simulations reach an approximate ‘convergence radii’ of ∼50–100 pc in the dark matter. We of course achieve much higher effective spatial resolution in the baryons dense enough to form stars.
Note that there is no analogous Power et al. (2003) criterion for baryons. However, Fig. 13 and various self-gravitating baryonic collapse tests in Hopkins (2015) show that self-gravitating structure can be captured across just a couple interparticle separations. Larger numbers of particles are needed for convergence in the mass profile in dark matter because the N-body orbits must be integrated for a Hubble time. In the gas, however, self-gravitating substructures (e.g. GMCs) survive for only a few dynamical times. Thus the appropriate Power et al. (2003)-equivalent criterion is trelax ≳ couple × tdyn, which is easily satisfied even for point masses (un-softened gravity) whenever an object is comparable in mass (or larger) than a kernel. With adaptive softening for gas (our default choice), this is by definition true even for ‘structures’ of ∼2 particles.
Resolution study of ISM structure, in the runs from Fig. 10 (re-running the MW-mass m12i from |$z$| = 0.07to0 with different mass resolution). Top: Time-averaged mass function (MF) of ‘GMCs’: dense, cold gas clouds (identified with a friends-of-friends algorithm; see Section 4.1.4). We plot the total mass in clouds, per logarithmic interval in cloud mass (|$M_{\rm GMC}\, \text{d}N_{\rm GMC}/\text{d}\log M_{\rm GMC}$|), as a function of mass (MGMC). All identified structures as small as three gas particles are shown. We compare the observed GMC MF in the MW (Rice et al. 2016; inside/outside the solar circle as solid/dotted), normalized to the same total mass. The MF has power-law slope dN/dM ∝ M−(1.6 − 1.8) and exponential cut-off around the Toomre mass (|${\sim } 10^{7}\, {\rm M}_{\odot }$|), similar to both observations and analytic predictions from turbulent fragmentation theories. Bottom: Linewidth (internal velocity dispersion) versus size relation (for the same clouds; median and 5–95 per cent interval in thick/thin lines), compared to observations (labelled). Down to ∼3–5 particles per cloud, the predictions (both MF and linewidth-size) agree well; higher resolution simply samples smaller clouds. Most of the GMC mass is around the Toomre mass, so the total cloud mass is within ∼30 per cent in all runs shown. Only the lowest resolution run cannot resolve the peak, biasing the mean MGMC higher by a factor ∼2.
Resolution study of ISM structure, in the runs from Fig. 10 (re-running the MW-mass m12i from |$z$| = 0.07to0 with different mass resolution). Top: Time-averaged mass function (MF) of ‘GMCs’: dense, cold gas clouds (identified with a friends-of-friends algorithm; see Section 4.1.4). We plot the total mass in clouds, per logarithmic interval in cloud mass (|$M_{\rm GMC}\, \text{d}N_{\rm GMC}/\text{d}\log M_{\rm GMC}$|), as a function of mass (MGMC). All identified structures as small as three gas particles are shown. We compare the observed GMC MF in the MW (Rice et al. 2016; inside/outside the solar circle as solid/dotted), normalized to the same total mass. The MF has power-law slope dN/dM ∝ M−(1.6 − 1.8) and exponential cut-off around the Toomre mass (|${\sim } 10^{7}\, {\rm M}_{\odot }$|), similar to both observations and analytic predictions from turbulent fragmentation theories. Bottom: Linewidth (internal velocity dispersion) versus size relation (for the same clouds; median and 5–95 per cent interval in thick/thin lines), compared to observations (labelled). Down to ∼3–5 particles per cloud, the predictions (both MF and linewidth-size) agree well; higher resolution simply samples smaller clouds. Most of the GMC mass is around the Toomre mass, so the total cloud mass is within ∼30 per cent in all runs shown. Only the lowest resolution run cannot resolve the peak, biasing the mean MGMC higher by a factor ∼2.
Fig. 13 specifically considers the resolution dependence of structure within the ISM; we use the same simulations from Fig. 10 of the MW-mass system at |$z$| ∼ 0, but study the mass function of dense, cold gas structures within the ISM.15 A more detailed discussion of the cloud properties in these simulations is presented in Guszejnov, Hopkins & Ma (2017); for our purposes here we simply desire a proxy for the GMC mass function to understand the resolution-dependence of the simulations. In each case, the shape of the mass function is, as expected, a power law with slope dN/dM ∝ M−(1.6 − 1.8) (very similar to observed; see Blitz & Rosolowsky 2005; Rice et al. 2016), and turnover at a maximum mass about the Toomre mass MToomre defined above (also as expected from observations and analytic theory; Murray 2011; Hopkins 2012a). The lower limit is purely a resolution effect: we only keep structures with ≥3 particles. We also compare the internal properties of the clouds, specifically the linewidth–size relation (the one-dimensional velocity dispersion of gas within clouds, versus their projected mass-weighted rms radius), to observations of nearby galaxies [(Bolatto et al. 2008; Fukui et al. 2008; Heyer et al. 2009; Muraoka et al. 2009; Roman-Duval et al. 2010; Colombo et al. 2014; Heyer & Dame 2015; Tosaki et al. 2017); note our definition of Rcloud is equivalent to their σr]. The generic power-law scaling here is also predicted in turbulent fragmentation models (references above) and similar to observations.
Remarkably, the mass function and linewidth–size relation appear independent of resolution down to clouds with just a few gas particles – we simply sample further and further down the mass function as we increase the mass resolution. Since most of the mass is in Toomre-mass structures, the total mass in clouds is also identical to within ∼30 per cent in all the runs plotted (likewise for most of the turbulent power/kinetic energy). The only case which may be biased is the lowest resolution example (|$m_{i,\, 1000}=470$|), where the most massive clouds appear slightly more massive: this is because the clouds with |${\sim } 10^{6}\, {\rm M}_{\odot }$| (not quite the peak of the MF, but just below it) contribute a significant total mass but cannot be resolved (this is ∼2 particles), so that mass is ‘shifted’ into more massive structures numerically. But even in this marginal case, the gas-mass weighted mean MGMC is only overestimated by a factor ∼2. In our best-resolved case, >75 per cent of the GMC population gas mass (and >75 per cent of the SFR of the entire galaxy) is contained in clouds with |$\gt 10^{6}\, {\rm M}_{\odot }$|, similar to what is observed in the Milky Way (Williams & McKee 1997).
Note that Hopkins et al. (2012c), using the same feedback physics (but in non-cosmological simulations using a different code), consider a much more detailed study of simulated GMC mass functions as well as size–mass relations, linewidth–size relations, virial parameters, internal column density distribution functions, lifetimes, and star formation efficiencies. Their resolution studies (and agreement with observations) are all consistent with our simple comparison here.
This further demonstrates, as we argued above, that resolving the thermal Jeans mass in cold gas is not important to cloud-or-larger scale dynamics (it only should matter if we are trying to resolve individual proto-stars). We will further demonstrate this below, when we consider adding artificial pressure floors to the ISM, or remove the low-temperature (|$\ll\!10^{4}\,$| K) cooling physics: because of the strong dependence of Jeans mass on pressure, these changes in turn change the thermal Jeans mass in the cold phase gas by several orders of magnitude (factors ∼103–105), yet they have no appreciable systematic effect on any results we measure.
Finally, Fig. 14 compares the mass function, internal structure, and spatial distribution of subhaloes within our |$z$| = 0 m12i halo, as a function of mass resolution. Down to a subhalo mass (and corresponding maximum rotation velocity) corresponding to ∼10–30 DM particles, the predictions are independent of resolution, consistent with other studies.16 Given the strong dependence of galaxy baryonic mass on halo mass, and much stricter resolution criteria for galaxy baryonic properties, the DM substructure mass functions and orbital distributions are always extremely well-resolved when we consider a galaxy resolved.
Mass function (top), circular velocity distribution (middle), and spatial distribution (bottom) of satellites (DM subhaloes) within the primary halo in DM-only runs of our m12i simulation (at |$z$| = 0), at varied mass resolution (as labelled). Top: Number of subhaloes versus bound subhalo mass. Vertical lines show 32 DM particles; agreement is good down to structures containing ∼10–30 particles. Middle: Number of subhaloes versus maximum circular velocity. Resolution dependence is similar to the mass function (deviations occur only below |${\sim }10\!-\!15\, {\rm km\, s^{-1}}$|, corresponding to the un-resolved subhaloes above). Bottom: Distribution of subhaloes in radial distance from the centre of the primary halo. Up to shot noise in the exact position of the individual subhaloes in their orbits, the distributions agree well. As the DM is approximately self-similar, we find qualitatively identical results comparing our other MW-mass (m12f) or dwarf mass (m10q, m10v) simulations.
Mass function (top), circular velocity distribution (middle), and spatial distribution (bottom) of satellites (DM subhaloes) within the primary halo in DM-only runs of our m12i simulation (at |$z$| = 0), at varied mass resolution (as labelled). Top: Number of subhaloes versus bound subhalo mass. Vertical lines show 32 DM particles; agreement is good down to structures containing ∼10–30 particles. Middle: Number of subhaloes versus maximum circular velocity. Resolution dependence is similar to the mass function (deviations occur only below |${\sim }10\!-\!15\, {\rm km\, s^{-1}}$|, corresponding to the un-resolved subhaloes above). Bottom: Distribution of subhaloes in radial distance from the centre of the primary halo. Up to shot noise in the exact position of the individual subhaloes in their orbits, the distributions agree well. As the DM is approximately self-similar, we find qualitatively identical results comparing our other MW-mass (m12f) or dwarf mass (m10q, m10v) simulations.
4.2 Spatial resolution
Because our simulations are Lagrangian, there is no single meaningful definition of the spatial and/or force resolution. Here we discuss different criteria, and study their importance for our conclusions.
4.2.1 Hydrodynamic resolution
In Hopkins (2015) and Hopkins & Raives (2016) we show that the ‘effective’ resolution for sound waves is identical to second-order grid methods such as athena, meaning one element (‘particle’) is equivalent to one cell, and the appropriate ‘resolution’ should be taken to be the interparticle spacing, as opposed to the extended ‘kernel search radius’ (maximum distance to any interacting neighbour cell), which is more akin to the gradient stencil in grid-based codes (and depends on the detailed kernel shape). This is different from SPH methods, where properties are (by definition) ‘smoothed’ over a kernel. In fact, because of the higher order reconstruction, sound waves can be accurately re-constructed to scales about ∼1/2 the interparticle separation (Hopkins 2015, fig. 2; Hopkins & Raives 2016, fig. 1). Contact discontinuities can be captured and conserved across ∼2–3 elements (two interelement spacings), much sharper than non-Lagrangian codes if the discontinuity is moving (see Hopkins 2015, figs 16–23). Strong shocks are resolved over a similar ∼3 elements, close to athena (Hopkins 2015, figs 3, 10–15, 29–30). Intrinsically multidimensional problems, such as conserving vorticity of a rotating, pressure-equilibrium disc for a few orbits are more demanding; this requires a few hundred total elements (about ∼10 elements ‘per radian’ around the structure; Hopkins 2015, figs 4 and 5). However that is easily satisfied for any disc with a resolved vertical scale height |$H\gtrsim 1\!-\!2\, h_{i}$|. In multidimensional supersonic turbulence, numerical dissipation and noise truncates the inertial range at wavelengths approximately ∼5 times the interparticle spacing (comparable to arepo and athena; Hopkins 2015, figs 26–28).
4.2.2 Force softening: definitions and optimal choices
We will explore variations below, but first summarize our best estimate of ‘optimal’ parameters here:
Gas: For gas, the optimal force softening is un-ambiguous: it should be set adaptively to match the hydrodynamic resolution. This is optimal for several reasons. (1) It is the physically correct set of equations for a collisional fluid. The hydrodynamic solver describes a mass distribution (not just at particle locations, but everywhere in the domain, according to the reconstruction of the method). We should therefore solve the Poisson equation for the same mass distribution – anything else is fundamentally ill-posed and can produce unphysical outcomes (Bate & Burkert 1997).17 (2) Many authors have shown that this provides an optimal numerical softening, in the sense that it automatically provides the most accurate solution (converges most rapidly) while minimizing N-body integration errors (Merritt 1996; Bate & Burkert 1997; Romeo 1998; Athanassoula et al. 2000; Dehnen 2001; Rodionov & Sotnikova 2005; Price & Monaghan 2007; Barnes 2012; Hubber et al. 2013). (3) It guarantees that numerical hard gas–gas scattering can never dominate over physical self-gravitating motions. (4) It removes ambiguity about the meaning of force/spatial/hydrodynamic resolution (it makes the mass resolution the un-ambiguous resolution scale). (5) In Lagrangian codes, spatially, self-gravitating objects will be able to collapse (correctly) to arbitrarily high densities, where some star formation criterion should identify them. This makes it essentially impossible to artificially suppress star formation by ‘tuning’ some star formation threshold. (6) It automatically behaves correctly in all density regimes, and naturally removes any ambiguity about co-moving or physical softenings in cosmological integrations.18
If constant gravitational softenings for gas must be used, they must be chosen sufficiently small to resolve the vertical scale-heights of the cold gas disc, and Toomre lengths of the most massive Toomre-mass objects discussed in our mass-resolution criteria (|$\epsilon _{\rm gas} \ll 100\,$|pc).
Dark matter: For dark matter, we will show that the force softening makes little or no difference to any conclusions, so long as it is not extremely small (∼100× smaller than our default, which would trigger hard-scattering effects), or extremely large (which would oversoften the central DM cusp). One option is to use fully adaptive softening. However, (1) this requires stronger time-step constraints (Section 4.3.3), which considerably increase computational expense for no apparent improvement in accuracy; and (2) for a collisionless fluid, the ‘correct’ adaptive scaling is physically ambiguous. It is not simply the case that the spatial domain of the DM represented by particle ‘a’ must shrink, if the DM particles b around a move inwards (i.e. if |$\nabla \cdot {\boldsymbol v}_{\rm DM}^{a} \lt 0$|), because those particles can move through particle a without compressing it (formally, there is no unique relation between the real-space DM N-body particle distribution and their phase-space distribution; for discussion see Abel, Hahn & Kaehler 2012).
Therefore, fixed softenings appear preferable. We adopt softenings fixed in physical units at |$z$| < 10 (co-moving above this), since the halo centres do not change significantly in density over this redshift range, so this maintains an approximately fixed ratio of εDM to the interparticle spacing |$h_{i}^{\rm DM} \sim 17\, {\rm pc}\, m_{i,\, 1000}^{1/3}\, (\rho _{\rm DM}/10^{9}\, {\rm M}_{\odot }\, {\rm kpc^{-3}})^{-1/3}$|.
For fixed DM softenings, avoiding oversoftening in the central DM profile – i.e. converging as accurately as possible to the solution of higher resolution simulations – requires a force softening smaller than the 200-particle Power-like radius [where |$t_{\rm relax}\approx 0.06\, t_{\rm circ}(R_{200})]$| by a factor of at least a couple, i.e. |$\epsilon _{\rm DM} \lesssim 0.5\, r_{0.06}$|. This is approximately ensured if |$\epsilon _{\rm DM} \lt 30\, {\rm pc}\, m_{i,\, 1000}^{1/2}\, (M_{\rm vir}/10^{12}\, {\rm M}_{\odot })^{-0.2}$| [we estimate this by taking |$M_{\rm enc}(\lt r_{0.06}) \approx 220\, m_{i}$|, and assuming NFW profiles with concentration |$c\approx 10\, (M_{\rm vir}/10^{12}\, {\rm M}_{\odot })^{-0.15}$|]. The minimum softening is given by the value where we begin to see hard scattering effects cause excessive N-body relaxation in the profile and/or velocity distribution function, which is roughly |$\epsilon _{\rm DM} \gt 0.03\, {\rm pc}\, m_{i,\, 1000}\, (M_{\rm vir}/10^{12}\, {\rm M}_{\odot })^{-2/3}$| (obtained by comparing the hard-scatter Δ|$v$| to Vc; Section 4.2.6). Note the large dynamic range in between (e.g. for our default runs, this gives |$1\, {\rm pc} \lesssim \epsilon _{\rm DM} \lesssim 75\, {\rm pc}$|). We will show we can vary εDM by multiple orders of magnitude without changing out results.19 To be conservative we choose softenings about ∼2–3 times smaller than the upper limit above (giving |$\epsilon _{\rm DM} \sim h_{i}^{\rm DM}$| in halo centres). Various tests have shown this is optimal to reduce both noise and oversoftening errors (see e.g. Merritt 1996; Athanassoula et al. 2000; Dehnen 2001; Barnes 2012; Hubber et al. 2013).20
Stars: Stars are the most ambiguous softening case. Fortunately, like dark matter, our results appear almost completely independent of how gravity from stars is softened (Section 4.2.4). As with DM, the same physical ambiguities apply to using adaptive softenings for a collisionless fluid. Moreover, if the adaptive softening is based on the interstar distance, a star born in a pure gas cloud would instantly ‘jump’ to a huge force softening; if based on intergas distance, a pure-stellar bulge would be oversoftened out to the gaseous halo. In runs with adaptive DM+stellar softening, we therefore set ε* to scale with the interbaryon distance (gas+stars), which at least has the advantage that it handles both extremes above correctly. Even in this case, however, a ‘real’ (self-gravitating, resolved) star cluster can artificially expand once gas is blown away, because the neighbour search expands, even though self-gravity should fix the size (hence softenings). With constant softenings, the ambiguity is that stars form with very different densities. We have also tested ε* fixed in time but variable particle-to-particle, to equal the softening of the gas from which the particle formed; while this does not change our results, it leads to wildly variable ε* for stars in the same location at late times (which formed from gas at different densities at different times), which is numerically problematic. A fixed ε* chosen to be large ensures smoothness of the potential but this is not actually physical for stars (because star formation is clustered, the stellar potential is ‘lumpy’ on small scales), and we see this again causes sudden, massive expansion of the softening after a star particle forms. A reasonable compromise is to set ε* similar to the gas softening at the mean density of star formation, |$\epsilon _{\ast } \sim 3.4\, {\rm pc}\, m_{i,\, 1000}^{1/3}\, (\langle n \rangle _{\rm SF}/10^{3}\, {\rm cm^{-3}})^{-1/3}$|, and our default choice follows this criterion.
4.2.3 Other ‘spatial resolution’ definitions
As noted above, there is no single ‘spatial resolution’ in our simulations. In Table 3, we therefore provide a number of other ‘effective spatial resolution’ values for one of our resolution studies (our m12i study) from Fig. 8, at each resolution level we have considered. Specifically we quote the ‘spatial resolution’ (interparticle spacing hi) at:
Maximum density/minimum softening: This is simply the minimum |$\epsilon _{i}^{\rm gas} \equiv h_{i}^{\rm gas}$| reached in the simulation, at any time. This (by definition) represents the extreme in the simulation, not ‘typical’ values – in our highest resolution simulations, this corresponds to densities |$n_{\rm max} \sim 5\times 10^{6}\, {\rm cm^{-3}}$|, which are reached by the simulation only briefly in the galactic nucleus in an intense, high-redshift starburst.
Star-forming densities: We output from our simulations the gas density at which every individual star particle forms, which maps one-to-one to the equivalent hi. We show the mean density, 〈nSF〉, weighted by total star formation, integrated over the entire galaxy history to |$z$| = 0, and corresponding |$h_{i}^{\langle \text{ SF} \rangle }$|. We emphasize that because star formation is only allowed in self-gravitating gas which is also self-shielding and molecular, the mean 〈nSF〉 is always significantly larger than the minimum density at which star formation is allowed (|$n_{\rm SF,\, min}$|), even when the latter is set to |$n_{\rm SF,\, min}=1000\, {\rm cm^{-3}}$|.
Thermal Jeans mass (warm/hot gas): As discussed in Section 4.1.3, the smallest resolvable Jeans mass simply tells us where the ‘fragmentation cascade’ in self-gravitating objects will be truncated (and our subgrid star formation model will take over). We can calculate this minimum scale, but the correct ‘effective Jeans mass’ (the actual characteristic mass of structures) depends on turbulence, not on the sound speed, in a supersonically turbulent medium (see e.g. Padoan & Nordlund 2002; Hennebelle & Chabrier 2008; Hopkins 2012b,a, 2013d,c,b; Hopkins & Christiansen 2013; Guszejnov & Hopkins 2015, 2016). To get some insight, however, for the warm (|${\gtrsim } 10^{4}\,$| K) gas, the turbulence is expected to be trans-sonic, so we can reasonably simplify by considering the thermal Jeans properties. We calculate the smallest possible Jeans mass resolvable with at least ∼10 elements at these temperatures, and the corresponding resolved Jeans length (with |${\sim } 3\, h_{i}$|) and gas density.21 Any lower density or larger Jeans lengths have resolved thermal Jeans fragmentation – important for our purposes, these values need to be sufficient to capture the largest GMCs (sizes |${\sim } 100\!-\!200\, {\rm pc}$| and densities |${\sim } 10\, {\rm cm^{-3}}$|), which form out of the warm gas. Note that if the gas is hotter, it becomes easier to resolve Jeans-scale structures.
Turbulent Jeans mass (cold gas): Once the gas cools below temperatures |${\sim } 10^{4}\,$| K (in e.g. GMCs or molecular discs), the turbulence is highly supersonic – by definition, thermal pressure does not control the dynamics, and the appropriate Jeans scale for fragmentation is the turbulent Jeans scale. This replaces |$\lambda _{\text{J}} = c_{\text{s}}/\sqrt{G\, \rho }$| by |$\lambda _{\rm turb} \approx \langle v_{\rm turb}^{2}(\lambda _{\rm turb}) \rangle ^{1/2} / \sqrt{G\, \rho }$|, where |$v$|turb(λturb) is the rms turbulent velocity measured within the same region. A rigorous definition and derivation of the corresponding turbulent Jeans length, mass, and fragmentation cascade is given in Hopkins (2013b). If we assume a linewidth–size relation seen in the ISM and expected for supersonic turbulence (|$v$|turb ∝ λ1/2), and that the ‘parent’ clouds have virial parameter of unity and (according to Larson’s Laws) a universal surface density |$\Sigma _{\rm cloud} = \Sigma _{300}\, 300\, {\rm M}_{\odot }\, {\rm pc^{-2}}$|, and take a minimum resolved-object mass |${\sim } N\, m_{i}$|, then following Hopkins (2013b) gives a minimum-resolved length |$\lambda _{\rm turb} \approx 4.0\, {\rm pc}\, (m_{i,\, 1000}\, N_{10}/\Sigma _{300})^{1/2}$| and maximum-resolved density |$n_{\rm max}^{\rm turb} \approx 1.2\times 10^{4}\, \Sigma _{300}\, (m_{i,\, 1000}\, N_{10}/\Sigma _{300})^{-1/2}$|.
Dark matter power-type radius: None of these criteria apply to dark matter. We therefore quote the DM interparticle separation: both its minimum value |$h_{i}^{\rm DM,\, min}$|, as well as rms value within twice the effective radius of the baryonic galaxy at |$z$| = 0, |$h_{i}^{\rm DM,\, core}$|. However for the DM profiles, Section 4.1.4 above shows that the internal structure of a collisionless object evolved for a Hubble time is well-converged inside a radius enclosing ∼200 DM particles. We therefore quote this as well, for the DM.
Qualitatively, the results from our other MW-mass series (m12f) are nearly identical to those in Table 3. Our dwarfs (m10v and m10q) have superior resolution owing to their much smaller particle masses.
4.2.4 Effects of collisionless force softening: resolution studies
Figs 15 and 16 consider the effects of varied force softening for both collisional (gas) and collisionless (DM, stars) particles in our cosmological simulations, for both a dwarf and MW-mass galaxy. First, consider the effects of the collisionless softening. We vary both DM and stellar softening simultaneously by multiplying both by a constant (∼0.5–10) relative to their default values, setting them to be fixed in comoving (instead of physical) units at all redshifts, or setting them purely adaptively (with appropriately careful time-stepping, see Section 4.3.3).22
Spatial resolution study, as Fig. 8. We take the m10q simulation with fixed mass resolution |$m_{i,\, 1000}=2$|, and re-run with different gravitational force softening. Left (and middle-left): Varying force softening for collisionless particles (DM εDM and stars ε*). We multiply the default values from Fig. 8 at this mass resolution (constant |$\epsilon _{\rm DM}=40\, {\rm pc},\ \epsilon _{\ast }=10\, {\rm pc}$|) by constant values from ∼0.5to7.5; we also compare softening fixed in co-moving units [default values × 5/(1 + |$z$|)]; and we consider fully adaptive εDM and ε*. These changes have no systematic effect (small differences in mass are consistent with stochastic variations, given the bursty SFH). We have verified the same in more limited surveys of εDM and ε* in simulations m10y, m11q, m11v, m12i. Right (and middle-right): Varying force softening for gas. We compare our default, fully adaptive softening (εgas = hi, the interparticle spacing), to simulations with fixed gas softening set to |$1\!-\!200\, {\rm pc}$|. Our default (adaptive) run and those with |$\epsilon _{\rm gas}=1,\, 4\, {\rm pc}$| enforce a minimum gas density for star formation |$n_{\rm crit}=1000\, {\rm cm^{-3}}$| (as labelled). With |$1\, {\rm pc}$| softening, this produces identical results to our adaptive-softening run; but with |$4\, {\rm pc}$| softening, the maximum gravitationally-resolved density |$n^{\rm max} = (m_{i}/\epsilon _{\rm gas}^{\rm min})/m_{p} \approx 1000\, {\rm cm^{-3}}\, (m_{i,\, 1000}/2)\, (\epsilon _{\rm gas}^{\rm min}/4\, {\rm pc})^{-3}$| barely reaches ncrit, so our self-gravity criterion cannot properly resolve if gas is self-gravitating at n > ncrit and SF is artificially suppressed (slightly lower M* and [Z*/H]). Taking εgas = 20 pc (|$n^{\rm max}\approx 10\, {\rm cm^{-3}}$|) with ncrit = 100 shows this problem more severely. With fixed (non-adaptive) softening, it is necessary to choose ncrit < nmax; lowering ncrit = 100 for |$\epsilon _{\rm gas}=4\,$|pc shows excellent agreement with our default (adaptive) run. With |$\epsilon _{\rm gas}=200\, {\rm pc}$|, |$n^{\rm max}=0.01\, {\rm cm^{-3}}$| is much less than ncritand the mean galaxy gas density – this means we cannot resolve Toomre-scale structures (large GMCs), so star formation is completely suppressed (M* = 0, exactly, here), and a superdense (but non-fragmenting) gas disc forms.
Spatial resolution study, as Fig. 8. We take the m10q simulation with fixed mass resolution |$m_{i,\, 1000}=2$|, and re-run with different gravitational force softening. Left (and middle-left): Varying force softening for collisionless particles (DM εDM and stars ε*). We multiply the default values from Fig. 8 at this mass resolution (constant |$\epsilon _{\rm DM}=40\, {\rm pc},\ \epsilon _{\ast }=10\, {\rm pc}$|) by constant values from ∼0.5to7.5; we also compare softening fixed in co-moving units [default values × 5/(1 + |$z$|)]; and we consider fully adaptive εDM and ε*. These changes have no systematic effect (small differences in mass are consistent with stochastic variations, given the bursty SFH). We have verified the same in more limited surveys of εDM and ε* in simulations m10y, m11q, m11v, m12i. Right (and middle-right): Varying force softening for gas. We compare our default, fully adaptive softening (εgas = hi, the interparticle spacing), to simulations with fixed gas softening set to |$1\!-\!200\, {\rm pc}$|. Our default (adaptive) run and those with |$\epsilon _{\rm gas}=1,\, 4\, {\rm pc}$| enforce a minimum gas density for star formation |$n_{\rm crit}=1000\, {\rm cm^{-3}}$| (as labelled). With |$1\, {\rm pc}$| softening, this produces identical results to our adaptive-softening run; but with |$4\, {\rm pc}$| softening, the maximum gravitationally-resolved density |$n^{\rm max} = (m_{i}/\epsilon _{\rm gas}^{\rm min})/m_{p} \approx 1000\, {\rm cm^{-3}}\, (m_{i,\, 1000}/2)\, (\epsilon _{\rm gas}^{\rm min}/4\, {\rm pc})^{-3}$| barely reaches ncrit, so our self-gravity criterion cannot properly resolve if gas is self-gravitating at n > ncrit and SF is artificially suppressed (slightly lower M* and [Z*/H]). Taking εgas = 20 pc (|$n^{\rm max}\approx 10\, {\rm cm^{-3}}$|) with ncrit = 100 shows this problem more severely. With fixed (non-adaptive) softening, it is necessary to choose ncrit < nmax; lowering ncrit = 100 for |$\epsilon _{\rm gas}=4\,$|pc shows excellent agreement with our default (adaptive) run. With |$\epsilon _{\rm gas}=200\, {\rm pc}$|, |$n^{\rm max}=0.01\, {\rm cm^{-3}}$| is much less than ncritand the mean galaxy gas density – this means we cannot resolve Toomre-scale structures (large GMCs), so star formation is completely suppressed (M* = 0, exactly, here), and a superdense (but non-fragmenting) gas disc forms.
Spatial resolution study in re-starts of an MW-mass galaxy (m12i) at late times, as Fig. 10, keeping fixed mass resolution |$m_{i,\, 1000}=56$| but varying the spatial resolution, as in Fig. 15. All runs unless otherwise labelled take |$n_{\rm crit}=1000\, {\rm cm^{-3}}$|. Our default run uses adaptive softening for gas, fixed softening for DM and stars (|$\epsilon _{\rm DM},\, \epsilon _{\ast }$|); the run labelled |$10\times (\epsilon _{\rm DM},\, \epsilon _{\ast })$| increases these by 10 ×, but keeps the adaptive gas softening – this has no effect on our prediction. Runs labelled εgas fix the gas softening; for |$\epsilon _{\rm gas}=1.4\,$| and |$14\,$|pc (|$n^{\rm max}=10^{6},\, 10^{3}\, {\rm cm^{-3}}$|, respectively), this has little or no effect. For |$\epsilon _{\rm gas}=140\, {\rm pc}$| (|$n^{\rm max}\approx 1\, {\rm cm^{-3}}$|), we see no star formation unless we lower ncrit and allow the hydrodynamic resolution hi to decrease to values much smaller than εgas (|$\lt\!0.1\, \epsilon _{\rm gas}$|, here) – then shocks driven by SNe produce gas at high densities (i.e. hydrodynamic, not gravitational, effects allow the gas to reach high densities), but the most massive GMCs are still only marginally resolved. For |$\epsilon _{\rm gas} \sim \,$| kpc, the galaxy never forms locally self-gravitating structures, even lowering ncrit = 1 and allowing |$h_{i}=0.01\, \epsilon _{\rm gas}$|.
Spatial resolution study in re-starts of an MW-mass galaxy (m12i) at late times, as Fig. 10, keeping fixed mass resolution |$m_{i,\, 1000}=56$| but varying the spatial resolution, as in Fig. 15. All runs unless otherwise labelled take |$n_{\rm crit}=1000\, {\rm cm^{-3}}$|. Our default run uses adaptive softening for gas, fixed softening for DM and stars (|$\epsilon _{\rm DM},\, \epsilon _{\ast }$|); the run labelled |$10\times (\epsilon _{\rm DM},\, \epsilon _{\ast })$| increases these by 10 ×, but keeps the adaptive gas softening – this has no effect on our prediction. Runs labelled εgas fix the gas softening; for |$\epsilon _{\rm gas}=1.4\,$| and |$14\,$|pc (|$n^{\rm max}=10^{6},\, 10^{3}\, {\rm cm^{-3}}$|, respectively), this has little or no effect. For |$\epsilon _{\rm gas}=140\, {\rm pc}$| (|$n^{\rm max}\approx 1\, {\rm cm^{-3}}$|), we see no star formation unless we lower ncrit and allow the hydrodynamic resolution hi to decrease to values much smaller than εgas (|$\lt\!0.1\, \epsilon _{\rm gas}$|, here) – then shocks driven by SNe produce gas at high densities (i.e. hydrodynamic, not gravitational, effects allow the gas to reach high densities), but the most massive GMCs are still only marginally resolved. For |$\epsilon _{\rm gas} \sim \,$| kpc, the galaxy never forms locally self-gravitating structures, even lowering ncrit = 1 and allowing |$h_{i}=0.01\, \epsilon _{\rm gas}$|.
To first approximation, we see no effect from these changes. There are some variations in the growth history in Fig. 15, but given the bursty nature of dwarf star formation histories, this appears to be primarily stochastic. Still, there is a (weak) tendency, on average, for the runs with larger softenings to produce slightly higher stellar masses (and corresponding metallicities). Although not apparent by-eye in Fig. 15, these larger softening runs appear to have slightly less-bursty SFHs (if we quantify this by measuring the logarithmic variance in the SFR measured in |$10\,$|Myr bins relative to a rolling Gyr-average value) – and in previous studies, we have shown that more-bursty SF produces more efficient outflows (because the same feedback is more concentrated; Muratov et al. 2015). We have also verified this by re-running our m11q and m11v simulations (the runs where ‘burstiness’ has the most dramatic effect on the DM halo structure) with 5 × larger softening |$(\epsilon _{\rm DM},\, \epsilon _{\ast }) = (200,\, 20)\, {\rm pc}$|; the ‘burstiness’ is still obviously present but is quantitatively suppressed, and the stellar masses of both increase by a factor ∼1.4. It makes sense that such large softenings suppress burstiness to some extent: they smear out the DM mass profile, meaning the potential is weaker (so SF needs to be less concentrated/dramatic before it can drive outflows) and smear out any star clusters or small merging galaxy stellar components that would otherwise provide more concentrated feedback. But these are unphysical effects; furthermore, the ‘level of burstiness’ in the adaptive softening runs agrees well with our default simulations – together this gives us confidence in our default choices. But in any case, the magnitude of this effect is much smaller than systematic uncertainties in the stellar mass predictions. Not surprisingly, for the MW-mass system, which has a more smooth SFH, the effect is minimal (<10 per cent).
Fig. 17 confirms the result of previous studies (e.g. Power et al. 2003) that at fixed mass resolution, changing the DM force softening (either in physical or comoving units or using fully adaptive softenings) has very little effect. We see that outside the radius containing N ∼ 200 particles, these choices (with fixed εDM varied from ∼10 to 1000 pc) have almost no effect on the mass profile. Of course, if εDM is too large, it will eventually suppress any smaller scale structure (e.g. artificially flattening the DM cusp) – this occurs when εDM is larger than the convergence radius r0.06. Power et al. (2003) show that convergence to the correct solution in the central structure of N-body dark matter haloes also requires |$\epsilon _{\rm DM} \lt c^{-2}\, [\ln {(1+c)}-c/(1+c)]\, R_{200}\lesssim 0.01\, R_{200}$|; this is easily satisfied by any of our simulations that satisfy εDM ≲ r0.06. Note that most previous studies have considered only pure-DM simulations; we show here the same conclusions apply even in our ‘full physics’ runs.
Effects of force softening on the DM profile at |$z$| = 0, at fixed mass resolution. Top: DM-only simulation of m12i, with poor mass resolution (|$m_{i,\, 1000}=450$|). Middle: DM-only m12i, with better mass resolution (|$m_{i,\, 1000}=7$|). Bottom: Full-physics simulation of m10q, with mass resolution |$m_{i,\, 1000}=2$|. Vertical dashed (dotted) lines show ‘convergence radii’ r0.06 (r0.6), as Fig. 11; thin green line is the best-fitting NFW profile in the highest resolution simulation we have run. DM softenings |$\epsilon _{\rm DM}\sim 20\!-\!1000\,$|pc (∼0.05–5 times the mean interparticle spacing inside |${\sim }1\,$| kpc) have almost no effect at >r0.6 and only small (|$\lt\!0.2\,$|dex) effects within r0.06 (suppressing the densities when εDM is too large, |${\gtrsim } 0.5\, r_{0.06}$|). Mass resolution is clearly much more important, compared to force softening (compare top versus middle). Only the smallest |$\epsilon _{\rm DM}=10\,$|pc at very poor mass resolution |$m_{i,\, 1000}=450$| shows hard-scattering effects (the spurious cusp) – this occurs when |$\epsilon _{\rm DM} \lesssim 0.01\, r_{0.06}$|.
Effects of force softening on the DM profile at |$z$| = 0, at fixed mass resolution. Top: DM-only simulation of m12i, with poor mass resolution (|$m_{i,\, 1000}=450$|). Middle: DM-only m12i, with better mass resolution (|$m_{i,\, 1000}=7$|). Bottom: Full-physics simulation of m10q, with mass resolution |$m_{i,\, 1000}=2$|. Vertical dashed (dotted) lines show ‘convergence radii’ r0.06 (r0.6), as Fig. 11; thin green line is the best-fitting NFW profile in the highest resolution simulation we have run. DM softenings |$\epsilon _{\rm DM}\sim 20\!-\!1000\,$|pc (∼0.05–5 times the mean interparticle spacing inside |${\sim }1\,$| kpc) have almost no effect at >r0.6 and only small (|$\lt\!0.2\,$|dex) effects within r0.06 (suppressing the densities when εDM is too large, |${\gtrsim } 0.5\, r_{0.06}$|). Mass resolution is clearly much more important, compared to force softening (compare top versus middle). Only the smallest |$\epsilon _{\rm DM}=10\,$|pc at very poor mass resolution |$m_{i,\, 1000}=450$| shows hard-scattering effects (the spurious cusp) – this occurs when |$\epsilon _{\rm DM} \lesssim 0.01\, r_{0.06}$|.
Fig. 17 does raise one important caveat: if εDM ≪ hi (the interparticle spacing), and the ‘hard scattering’ velocity deflection between two particle is comparable to their velocity dispersion, then runaway N-body effects can produce a gravito-thermal catastrophe over a Hubble time. We see this in our test with |$m_{\rm DM}=2.8\times 10^{6}\, {\rm M}_{\odot }$| and |$\epsilon _{\rm DM}=10\,$|pc; much smaller force softening for dark matter than used in our production FIRE-2 simulations at comparable mass resolution. Considering the hard-scattering velocity from our N-body heating rate calculation below, we estimate that avoiding this requires |$\epsilon _{\rm DM} \gtrsim 0.02\, {\rm pc}\, m_{i,\, 1000}$|, easily satisfied in all our production simulations.
Fig. 18 shows the central portion of the profiles from Fig. 17 in closer detail. Here we can see that there is some systematic suppression of the predicted mass profile, relative to the high-resolution converged solution, in runs with large softenings εDM ≳ r0.06. Although the effect is small, this is expected: if the profiles are converged down to ∼r0.06 with appropriate softening, then oversoftening by setting εDM ≳ r0.06 will necessarily smear the profile out at these radii.
Close-up of the two higher resolution simulations from Fig. 17, showing the DM density profile in the halo centre in more detail. We can now clearly see that while the profiles agree very well at large radii (≳ kpc), at small (sub-kpc) radii, the runs with excessively large force softening εDM suppress the density profile relative to the higher resolution solutions, by a modest factor ∼1.2 (∼1.5) at |${\sim }500\,$|pc (|${\sim }100\,$|pc). The suppression can even extend to radii of order r0.6 (dotted vertical line). The excess suppression appears in all cases we have tested when |$\epsilon _{\rm DM} \gtrsim 0.5\, r_{0.06}$| (our ‘convergence radius’ r0.06 is shown as the vertical dashed line) – approximately |$\epsilon _{\rm DM} \gtrsim 100\,$|pc in both cases shown here. Once εDM is less than |${\sim } 0.25\, r_{0.06}$|, we see no evidence for improved accuracy in the simulations (differences between these runs and adaptive-softening runs are consistent with shot noise).
Close-up of the two higher resolution simulations from Fig. 17, showing the DM density profile in the halo centre in more detail. We can now clearly see that while the profiles agree very well at large radii (≳ kpc), at small (sub-kpc) radii, the runs with excessively large force softening εDM suppress the density profile relative to the higher resolution solutions, by a modest factor ∼1.2 (∼1.5) at |${\sim }500\,$|pc (|${\sim }100\,$|pc). The suppression can even extend to radii of order r0.6 (dotted vertical line). The excess suppression appears in all cases we have tested when |$\epsilon _{\rm DM} \gtrsim 0.5\, r_{0.06}$| (our ‘convergence radius’ r0.06 is shown as the vertical dashed line) – approximately |$\epsilon _{\rm DM} \gtrsim 100\,$|pc in both cases shown here. Once εDM is less than |${\sim } 0.25\, r_{0.06}$|, we see no evidence for improved accuracy in the simulations (differences between these runs and adaptive-softening runs are consistent with shot noise).
Fig. 19 shows the subhalo mass function, Vmax function, and spatial distribution (as Fig. 14), at fixed mass resolution but varying again the DM force softening. These are almost entirely insensitive to the DM force softening for reasonable choices. We have also examined halo formation times and internal kinematics, and find the same result.
Mass function (top), circular velocity distribution (middle), and spatial distribution (bottom) of satellites (DM subhaloes) within the primary halo in DM-only runs of our m12i simulation (at |$z$| = 0), as Fig. 14, at fixed mass resolution (|$m_{i,\, 1000}=7$|) but varied force softening εDM. Top: Number of subhaloes versus bound subhalo mass. Objects are plotted down to <30 DM particles. Middle: Number of subhaloes versus maximum circular velocity. Bottom: Distribution of subhaloes in radial distance from the centre of the primary halo. All the distributions agree well, independent of force resolution (the small deviation in the mass function of |$\epsilon _{\rm DM}=60\, {\rm pc}$| owes to a single subhalo which falls just outside, instead of inside, the radius cut used to identify substructures at |$z$| = 0).
Mass function (top), circular velocity distribution (middle), and spatial distribution (bottom) of satellites (DM subhaloes) within the primary halo in DM-only runs of our m12i simulation (at |$z$| = 0), as Fig. 14, at fixed mass resolution (|$m_{i,\, 1000}=7$|) but varied force softening εDM. Top: Number of subhaloes versus bound subhalo mass. Objects are plotted down to <30 DM particles. Middle: Number of subhaloes versus maximum circular velocity. Bottom: Distribution of subhaloes in radial distance from the centre of the primary halo. All the distributions agree well, independent of force resolution (the small deviation in the mass function of |$\epsilon _{\rm DM}=60\, {\rm pc}$| owes to a single subhalo which falls just outside, instead of inside, the radius cut used to identify substructures at |$z$| = 0).
4.2.5 Effects of gas force softening: resolution studies
As noted previously, Hopkins (2015) present a large number of tests demonstrating the accuracy and near-ideal convergence rate of the implementation of adaptive gas softening in gizmo on test problems with known solutions, including self-gravitating polytropic collapse (Evrard 1988), cosmological collapse of Zeldovich pancakes (with baryons and with/without DM), and steady-state orbit integration of stable (Toomre Q > 1) Keplerian discs, as well as good agreement with other state-of-the-art codes such as arepo on popular code-comparison tests such as the adiabatic ‘Santa Barbara Cluster’ (Frenk et al. 1999). Of course, while necessary, idealized tests do not ensure ideal results in complicated multiphysics simulations like those here, so we explore changes to the gas softening here.
In Figs 15 and 16, we also considered the effects of changing the gas force softening, replacing our default self-consistent adaptive softening (εgas = hi) with a fixed, constant physical softening (εgas). In both our dwarf and MW-mass simulations, we see, reassuringly, that for sufficiently small fixed εgas, the differences are essentially negligible (entirely consistent with stochastic fluctuations).
However, recall that our star formation model is based on identifying self-gravitating gas above some density threshold. At fixed mass resolution, a fixed εgas sets a minimum interparticle separation, hence maximum gas density, at which self-gravity will be correctly calculated: this density is |$n^{\rm max} = m_{p}^{-1}\, \, m_{i}\, (\epsilon _{\rm gas}^{\rm min})^{-3} \approx 1000\, {\rm cm^{-3}}\, m_{i,\, 1000}\, (\epsilon _{\rm gas}^{\rm min}/3.5\, {\rm pc})^{-3}$|. So not surprisingly, when we make εgas large enough that nmax ≲ ncrit (the minimum density for star formation), we can artificially suppress the SFR. Obviously, one should not therefore, with fixed εgas, choose ncrit ≳ nmax. If we lower ncrit sufficiently so that ncrit ≪ nmax, then we recover nearly identical behaviour to our default simulations with adaptive εgas and larger ncrit.
This is important: some simulations allow ncrit ≪ nmax (e.g. Guedes et al. 2011; Shen et al. 2014, where |$\epsilon _{\rm gas} \sim 100\!-\!200\, {\rm pc}$|, |$n^{\rm max} \sim 0.1\, {\rm cm^{-3}}$|, and |$n_{\rm crit}\sim 5\!-\!100\, {\rm cm^{-3}}$|) – external forces (e.g. shocks) can still produce n > ncrit (if hi is allowed to be smaller than εgas), but this means star formation has nothing to do with self-gravity locally. We therefore consider two similar experiments (m10q with |$\epsilon _{\rm gas}=20\,$|pc, |$n^{\rm max} = 10\, {\rm cm^{-3}}$|, and m12i with |$\epsilon _{\rm gas}=140\,$|pc, |$n^{\rm max}=1\, {\rm cm^{-3}}$|; both with |$n_{\rm crit}=100\, {\rm cm^{-3}}$|). Surprisingly, these still behave reasonably. Both galaxies have large turbulent motions an external perturbations (e.g. mergers) that produce a broad distribution of density fluctuations;23 the overdensities cannot ‘detach’ from the turbulent flow and collapse to still higher densities (like real GMCs) if εgas is too large (which means the properties of the cold, dense gas will be incorrect), but they can still reach ncrit, at which point the galaxy-averaged SFR is self-regulated by a balance of inflow and feedback. In the m10q (|$\epsilon _{\rm gas}=20\,$|pc) run, the too-large εgas still suppresses the SFR and stellar mass by a factor ∼2.5, and makes the SFR artificially bursty (more like a much lower resolution simulation), while the effects are less dramatic in our m12i experiment. This is expected as dwarfs have much lower turbulent Mach numbers, so the mechanism above requires some large-scale perturbation (it appears that gas accumulates until the disc goes globally gravitationally unstable, causing excessively large bursts in the galactic centre instead of local fragmentation into clouds). Of course, if we make εgas still larger, we eventually suppress any SF or ISM substructure/GMCs, giving an unphysical warm gas-pressure supported, non-self-gravitating disc.
4.2.6 N-body heating rates
One natural concern is that N-body heating of gas/star particles by the dark matter (or stars, or other gas particles) could thicken the stellar disc, or inject spurious thermal energy/turbulence into the gas. Consider the worst-case hard-scattering scenario: two particles approach one another in a vacuum (no other particles nearby) and scatter near the particle centres, with encounter velocity |$v$|encounter. Since the duration of the encounter is short, the impulsive velocity change is |$\Delta v = |\Delta {\boldsymbol v}| \sim G\, m_{i}/(h_{i}\, v_{\rm encounter})$| [a proper integration over the exact kernel shape used in the simulations gives a maximal deflection |${\approx } 1.3\, G\, m_{i}/(h_{i}\, v_{\rm encounter}$|), which occurs for encounters with impact parameter ≈hi]. For gas, this is |$\Delta v \sim 0.01\, {\rm km\, s^{-1}}\, m_{i,\, 1000}^{2/3}\, (n/{\rm cm^{-3}})^{1/3}\, (v_{\rm encounter}/10\, {\rm km\, s^{-1}})^{-1}$|. For dark matter, the particle masses are larger, but so are the softenings and typical encounter velocities since the dark matter has approximately isotropic dispersion at the virial velocity, |${\sim } 100\, {\rm km\, s^{-1}}$|. So |$\Delta v \sim 1.3\, G\, m_{\rm DM}/(h_{\rm DM}\, v_{\rm encounter}) \sim 0.017\, {\rm km\, s^{-1}}\, m_{i,\, 1000}\, (h_{\rm DM}/20\, {\rm pc})^{-1}\, (v_{\rm encounter}/100\, {\rm km\, s^{-1}})^{-1}$|, only slightly larger even when we adopt the smallest DM softening seen in our simulations.24
4.3 Time resolution
The time resolution in the simulations is set by the time-step Δt, which is always set according to the minimum of the various criteria in Section 2.7. Together, these criteria ensure that gravitational and fluid dynamics, as well as stellar evolution, are always explicitly time-resolved. Usually, the acceleration-based criterion |$\Delta t \lt 0.2\, (h_{i} / |{\boldsymbol a}_{i}|)^{1/2}$| from Power et al. (2003) is the most demanding, for both gas and N-body particles (because the dense gas is highly supersonic). Occasionally, however, in gas shock-heated by many SNe, the Courant criterion is most important.
In either case, the minimum time-steps reached in our simulations are |${\approx } 100\,$|yr (see Table 3). This is reached regularly by some elements from redshifts |$z$| ∼ 0–2, although always by a very small fraction of the total population at any given instant.
4.3.1 Standard criteria and results of variations
We have tested variations in our standard time-stepping criterion, in a limited subset of simulations with both dark matter and baryons: the DM-only runs are run to |$z$| = 0, but baryonic runs are only integrated to |$z$| = 4, because inappropriate time-steps usually lead to catastrophic numerical instability which is evident quickly. Our conclusions are identical to canonical studies in the field. Like Power et al. (2003), we find that a coefficient smaller than α = 0.2 in the time-step limiter |$\Delta t \lt \alpha \, (h_{i} / |{\boldsymbol a}_{i}|)^{1/2}$| produces no appreciable gain in accuracy, but much larger values (α ≳ 0.5) can seriously degrade mass profiles and orbit integration (e.g. angular momentum conservation); our gravity solvers are very similar, following Springel (2005), so this should not be surprising, especially for DM-only tests. Even though this acceleration-based criterion usually dominates for gas (recall |${\boldsymbol a}_{i}$| includes all accelerations, i.e. hydrodynamic and gravitational), a Courant-type condition is still necessary, with coefficients α > 0.8 in |$\Delta t \lt \alpha \, h_{i} / v_{{\rm sig},\, i}^{\rm max}$| giving rise to numerical instability, while values α < 0.4 (our preferred value) do not produce any obvious improvement. This is consistent with standard hydrodynamic tests and analytic numerical stability analysis (see Hopkins 2015 for discussion).
4.3.2 Stellar-evolution time-step limits
4.3.3 Adaptive force softening for collisionless particles: the need for additional time-step criteria
As described in Section 2.2, for a subset of our tests presented in Section 4.2.4, we use adaptive softening for collisionless (DM and stellar) particles. Variations of these methods have been explored in a number of studies on collisionless, self-gravitating systems (Athanassoula et al. 2000; Price & Monaghan 2007; Bagla & Khandai 2009; Iannuzzi & Dolag 2011; Barnes 2012; Iannuzzi & Athanassoula 2013). We have validated our numerical implementation with all tests presented in Price & Monaghan (2007) and Iannuzzi & Dolag (2011).
However, introducing these adaptive softenings requires stronger time-step criteria for collisionless particles, especially in dense halo centres where DM particles on highly-radial orbits may ‘plunge’ and interact with particles of widely differing ε over the course of their orbits.
Fig. 20 shows the results of using adaptive softening in DM-only simulations (m10v) of varying resolution, without imposing any additional time-step limiter beyond what is described above for collisionless particles with fixed softening ε. Clearly, the central sub-kpc regions of the DM profile exhibit a spurious density ‘cusp’ well in excess of the converged (much higher resolution) results from constant-εDM runs. We confirm that this feature is artificial by simply re-running the simulations enforcing a factor of 30 smaller time-step; this agrees well with the fixed-ε runs. We have also confirmed that both sets of runs maintain global conservation (as expected) – the error appears to be associated with local integration errors between particle neighbours when the time-steps are too large.
Dangers of using adaptive force softening for collisionless (non-gas) particles, without careful time-stepping. We show the |$z$| = 0 mass profile in DM-only simulations (here our m10v run, but we repeated a subset of these tests in m09, m10q, m11q, m11v, and m12i), at a series of resolution levels (labelled). For our default (fixed-εDM) runs, we show the conservative ∼2000-particle Power et al. (2003) radius r0.6, but plot the full profile down to our ‘convergence radius’ r0.06 – the profiles in all previous tests agree well outside this radius, independent of εDM, and we see the same in the fixed-εDM runs plotted here. We compare our adaptive-softening implementation with three different time-step choices. If we use only the same time-step criteria employed for fixed-softening runs (‘fixed-ε Δt limiter only’), the simulations clearly exhibit a spurious, non-converged ‘cusp’ at the centre indicative of integration errors that arise because particles ‘move through’ one another in a time-step, preventing the adaptive terms from properly adapting (this cannot occur with gas, owing to the Courant condition). Lowering the time-step by a uniform factor of 30 resolves the problem, and produces excellent agreement with the fixed-ε runs, but at great computational expense. Our default implementation uses the ‘new Δt limiter’ described in Section 4.3.3 (equation 13) to control the time-steps with adaptive softening for collisionless particles: this also produces excellent agreement with fixed-ε runs.
Dangers of using adaptive force softening for collisionless (non-gas) particles, without careful time-stepping. We show the |$z$| = 0 mass profile in DM-only simulations (here our m10v run, but we repeated a subset of these tests in m09, m10q, m11q, m11v, and m12i), at a series of resolution levels (labelled). For our default (fixed-εDM) runs, we show the conservative ∼2000-particle Power et al. (2003) radius r0.6, but plot the full profile down to our ‘convergence radius’ r0.06 – the profiles in all previous tests agree well outside this radius, independent of εDM, and we see the same in the fixed-εDM runs plotted here. We compare our adaptive-softening implementation with three different time-step choices. If we use only the same time-step criteria employed for fixed-softening runs (‘fixed-ε Δt limiter only’), the simulations clearly exhibit a spurious, non-converged ‘cusp’ at the centre indicative of integration errors that arise because particles ‘move through’ one another in a time-step, preventing the adaptive terms from properly adapting (this cannot occur with gas, owing to the Courant condition). Lowering the time-step by a uniform factor of 30 resolves the problem, and produces excellent agreement with the fixed-ε runs, but at great computational expense. Our default implementation uses the ‘new Δt limiter’ described in Section 4.3.3 (equation 13) to control the time-steps with adaptive softening for collisionless particles: this also produces excellent agreement with fixed-ε runs.
With fixed softening, there is no Courant-like condition required for collisionless particles: since the equations of motion depend only on the collective long-range forces (the gravitational potential), if the potential is sufficiently smooth (|$|{\boldsymbol a}|$| is small), particles can safely ‘move through’ one another (Monte Carlo-sampling the phase-space distribution function). But this is not true with adaptive softening (again, for collisionless particles), because the softening length (hence self-gravity) of a particle depends on the local neighbour configuration, introducing local correction terms that must be integrated smoothly as particles move through one another – otherwise these terms are undersampled and effectively scatter the orbits.
Fig. 20 demonstrates that this time-step limiter cures the errors seen before. The added time-step criterion does add a significant cost to the DM-only run, though far less costly than the uniform factor ∼30 smaller-time-step case, since only a small number of particles are affected at each time. In any case the agreement between adaptive softening with appropriate time-steps and fixed-softening runs is excellent down to r0.06. We have also recently learned that other authors who have implemented adaptive DM softening following Price & Monaghan (2007) have reached the same conclusions and found it necessary to include similar time-step criteria to maintain numerical stability (Springel, private communication).
5 EFFECTS OF THE HYDRODYNAMIC METHOD
5.1 Finite-volume Godunov methods (MFM) versus SPH
As noted in Section 2.1, a range of idealized test problems demonstrate that our default, finite-volume MFM method for the hydrodynamics is significantly more accurate than SPH, at fixed mass resolution. However, given that gravity and feedback overwhelmingly dominate over pure hydrodynamic forces in the simulations here, does the hydrodynamic accuracy matter? There have been many studies arguing that the treatment of feedback is more important than details of the hydrodynamic solver in this context (Scannapieco et al. 2012; Power, Read & Hobbs 2014; Hu et al. 2014; Davé, Thompson & Hopkins 2016; Few et al. 2016; Kim et al. 2016; Zhu & Li 2016; Stewart et al. 2017), although in some of these cases it is difficult to isolate the effects of the hydrodynamics within the context of a single feedback model. Fortunately, gizmo is an inherently multimethod code, so we can compare simulations with otherwise identical physics and numerics, replacing only the hydrodynamic solver.
Figs 21–24 compare gizmo simulations using both our (1) default (non-SPH) MFM method,27 (2) various ‘flavours’ of SPH.
Effects of the method for solving the hydrodynamic equations, in cosmological simulations of both a dwarf (m10q; left) and MW-mass galaxy (m12i; right), as Fig. 4. We compare our default method in gizmo – MFM (solid lines), a higher order accurate, mesh-free finite-volume Godunov method – to the gizmo implementation of SPH which was used for FIRE-1 (dotted lines). gizmo is a multimethod code so we can change the hydro solver while keeping all other physics and numerics identical here. We repeat each comparison at multiple resolution levels. For dwarfs, we see excellent agreement between MFM and SPH, at every resolution level. For MW-mass systems, on the other hand, FIRE-1 SPH predicts somewhat lower SFRs, stellar masses, and central Vc. The critical difference between dwarfs and massive galaxies is likely to be the presence of the ‘hot gaseous halo’ around massive systems (absent in dwarfs), which determines the cooling rate onto the galaxy and into which galactic winds propagate. Known issues in SPH can suppress fluid mixing in the halo, even with ‘state of the art’ SPH formulations, which in turn leads to easier escape of winds, less efficient cooling, and (in turn) lower masses.
Effects of the method for solving the hydrodynamic equations, in cosmological simulations of both a dwarf (m10q; left) and MW-mass galaxy (m12i; right), as Fig. 4. We compare our default method in gizmo – MFM (solid lines), a higher order accurate, mesh-free finite-volume Godunov method – to the gizmo implementation of SPH which was used for FIRE-1 (dotted lines). gizmo is a multimethod code so we can change the hydro solver while keeping all other physics and numerics identical here. We repeat each comparison at multiple resolution levels. For dwarfs, we see excellent agreement between MFM and SPH, at every resolution level. For MW-mass systems, on the other hand, FIRE-1 SPH predicts somewhat lower SFRs, stellar masses, and central Vc. The critical difference between dwarfs and massive galaxies is likely to be the presence of the ‘hot gaseous halo’ around massive systems (absent in dwarfs), which determines the cooling rate onto the galaxy and into which galactic winds propagate. Known issues in SPH can suppress fluid mixing in the halo, even with ‘state of the art’ SPH formulations, which in turn leads to easier escape of winds, less efficient cooling, and (in turn) lower masses.
5.1.1 ‘Flavours’ of SPH
There is an extensive literature of various SPH ‘flavours’ which attempt to reconcile the differences between SPH and finite-volume methods like our MFM here (see e.g. Price 2008; Wadsley et al. 2008; Read & Hayfield 2012; Hopkins 2013a; Saitoh & Makino 2013; Hu et al. 2014; Rosswog 2015, and references therein). In this section we will consider three such flavours:
FIRE-1 SPH: This is the SPH formulation used in FIRE-1, and described in Hopkins et al. (2014). Briefly, we use the ‘pressure-energy’ formulation of SPH (P-SPH) from Hopkins (2013a) to eliminate the spurious ‘surface tension’ error present in ‘density-energy’ (D-SPH) formulations at contact discontinuities; a higher order kernel (the quintic spline; with ∼64 effective neighbours instead of ∼32 for the cubic spline in MFM) to reduce zeroth-order SPH errors (see Dehnen & Aly 2012; Zhu, Hernquist & Li 2015); more accurate gradient estimators using the moving-least-squares approach (as in García-Senz, Cabezón & Escartín 2012; Rosswog 2015); higher order switches to minimize the artificial viscosity following Cullen & Dehnen (2010) with further improvements described in Hu et al. (2014) and Hopkins (2015); and added ‘artificial conductivity’ terms to allow entropy/thermal energy diffusion similar to artificial viscosity (Price 2008; Wadsley et al. 2008). These improvements to SPH are designed to improve behaviour in fluid-mixing and shock capturing, while reducing noise and artificial numerical diffusivity away from shocks (see references above).
Readers interested in more details of the SPH method here should consult the public version of gizmo: this is the default SPH implementation.
FIRE-1 SPH + Stronger Mixing: A common feature in most of the SPH flavours above is the use of an ‘artificial conductivity’ term (as in FIRE-1 SPH) which allows for diffusion of entropy between particles: without this, entropy becomes ‘particle-locked’ leading to artificial resolution-scale discontinuities that suppress fluid mixing instabilities.
With these ‘artificial diffusion’ terms in SPH, there is considerable freedom to adjust the form and normalization of the diffusivity. While the prescriptionsare usually tuned to give some desired balance of accuracy on a mix of different idealized test problems, there is usually no single ‘correct’ prescription. We therefore consider the effects of adjusting this diffusivity term to give ‘stronger mixing’ in SPH, in order to eliminate the spurious ‘blobs’ discussed below. Specifically, we take the artificial conductivity in the gizmo SPH implementation to be:where |${\boldsymbol x}_{ba} \equiv {\boldsymbol x}_{b} - {\boldsymbol x}_{a}$| is the particle separation, m mass, |$\bar{\rho }$| the SPH-estimated density, W the SPH smoothing kernel as a function of |${\boldsymbol x}_{ba}$| and smoothing length ha, cs the sound speed, |${\boldsymbol v}$| the velocity, P the pressure, and |$\alpha _{a}^{V}$| is the artificial viscosity coefficient defined in Hopkins 2015, appendix F2, equations F16– F17. This αV varies between 0.05 and 2 depending on the velocity divergence |$\nabla \cdot {\boldsymbol v}$| and its time-derivative, reaching large values when particles approach increasingly rapidly (|$\nabla \cdot {\boldsymbol v} \lt 0$| and |$\text{d}[\nabla \cdot {\boldsymbol v}]/\text{d}t \lt 0$|) and decaying rapidly otherwise.\begin{eqnarray*} \frac{\rm d\, E_{a}^{\rm SPH}}{\rm {d}t} &=& \sum _{b} \alpha _{ab}\, \tilde{v}_{ab}^{\rm sig}\, \frac{m_{a}\, m_{b}}{\bar{\rho }_{a}+\bar{\rho }_{b}}\, \left(u_{a} - u_{b} \right)\, \tilde{W}_{ba}\nonumber \\ \tilde{W}_{ba} &\equiv & \frac{\partial W(|{\boldsymbol x}_{ba}|,\, h_{a})}{\partial |{\boldsymbol x}_{ba}|} + \frac{\partial W(|{\boldsymbol x}_{ba}|,\, h_{b})}{\partial |{\boldsymbol x}_{ba}|} \nonumber \\ \tilde{v}_{ab}^{\rm sig} &\equiv & c_{s,\, a} + c_{s,\, b} - 3\, ({\boldsymbol v}_{b}-{\boldsymbol v}_{a})\cdot \hat{\boldsymbol x}_{ba} \nonumber \\ \alpha _{ab} &\equiv & \Theta (\tilde{v}_{ab}^{\rm sig})\, \frac{| P_{a} - P_{b} |}{P_{a}+P_{b}} \, \left\lbrace \begin{array}{@{}l@{\quad }l@{}} \frac{\alpha _{a}^{V} + \alpha _{b}^{V}}{8} & { ({\rm `Default\ SPH^{\prime }})} \\ &\\ 1 & { ({\rm `Stronger\ Mixing})} \end{array}\right.\nonumber \\ \Theta (\tilde{v}_{ab}^{\rm sig}) &\equiv & \left\lbrace \begin{array}{@{}l@{\quad }l@{}} 0 & { (\tilde{v}_{ab}^{\rm sig} \le 0)} \\ &\\ 1 & { (\tilde{v}_{ab}^{\rm sig} \gt 0)} \end{array}\right. \end{eqnarray*}(14)The difference between our ‘default’ FIRE-1 SPH and ‘Stronger Mixing’ simulations, therefore, is that ‘FIRE-1 SPH’ (by design) only allows for mixing/diffusion of entropy and thermal energy when particles are effectively interpenetrating or ‘move through one another.’ In the ‘Stronger Mixing’ case, we make the effective diffusivity/mixing stronger in those cases (by a factor ≈4), but more importantly, we allow mixing in shear flows. The latter case has been shown to improve the accuracy of SPH in modelling fluid mixing instabilities such as the Kelvin–Helmholtz instability (Price 2008) and more accurately represents the ‘unresolved turbulent mixing’ terms advocated in SPH by Wadsley et al. (2008); it is also numerically closer to the implementation advocated by Read & Hayfield (2012); Hobbs et al. (2013), who have argued this gives better convergence modelling cores of cooling-flow haloes (Power et al. 2014). On the other hand, the ‘Stronger Mixing’ implementation tends to ‘smear out’ shock fronts and Keplerian shear flows much more significantly, further reducing the ‘effective resolution’ of SPH (Hu et al. 2014; Few et al. 2016) – this is why it was not our ‘default’ approach in FIRE-1. Note, though, that even in the ‘Stronger Mixing’ case, there is still a ‘switch’ αab which suppresses diffusion in supersonically receding flows and sharp phase discontinuities.
Density-SPH + Smaller Kernel (D-SPH): Alternatively, we can compare an implementation of SPH where we remove some of the improvements used in our FIRE-1 SPH method. Specifically, in these simulations, we use the ‘density–energy’ SPH (D-SPH) formulation instead of the ‘pressure–energy’ SPH formulation, which introduces a non-convergent (sub-zeroth-order) error that has the functional appearance of a surface tension force at phase discontinuities (see Hopkins 2013a; Saitoh & Makino 2013). We also reduce the size of the SPH smoothing kernel, using a cubic spline with ∼32 effective neighbours; this increases the zeroth-order SPH errors and reduces the ability of the code to capture fluid-mixing instabilities. This is the ‘T-SPH’ formulation studied in Hopkins (2015). We retain all other aspects of FIRE-1 SPH (specifically the higher order gradient, artificial viscosity, and artificial conductivity estimators). We consider this implementation because it allows us to specifically highlight the effects of SPH errors that suppress fluid mixing at contact discontinuities.
5.2 (Weak) effects in dwarfs and the ISM of massive galaxies
Fig. 21 shows that at all resolution levels, our dwarf galaxy simulations are very similar in SPH and MFM methods (at all redshifts). It also clearly shows that SPH and MFM agree well on the properties of the main progenitor of massive (MW-mass) galaxies while the progenitor is still a dwarf with stellar mass |$M_{\ast }\lesssim 10^{10}\, {\rm M}_{\odot }$| at redshifts |$z$| ≳ 1.5–2. This holds for all properties plotted and all others we have examined: e.g. the distribution of mass in different phases, CGM gas morphology, covering fraction of absorbers, metallicity gradients, and galaxy rotation.
This is not surprising: such galaxies are in the ‘cold accretion’ regime where there is little or no ‘hot halo’ of virial shock-heated gas surrounding the galaxy (e.g. Kereš et al. 2005). Rather, gas falls onto galaxies on a free-fall time before being expelled by feedback. As such the properties are simply regulated by a combination of feedback and self-gravity; subtleties of fluid mixing (where SPH differs most dramatically from other hydrodynamic methods) are unimportant. This is consistent with previous studies in FIRE-1 using different ‘flavours’ of SPH, which had no effect on dwarf galaxy properties (Hopkins et al. 2014).
Figs 21–23 show that for MW-mass galaxies, which do have hot haloes, the qualitative behaviour is similar in MFM and SPH, but some significant quantitative differences appear (see below). However, Fig. 23 shows that if we re-start an identical initial condition in MFM and SPH at low redshift, the SFRs are initially identical, and only slowly drift apart (here by just ∼30 per cent over |${\sim }1\,$|Gyr). Moreover Fig. 24 shows that the visual galaxy morphologies in SPH and MFM are very similar.
These results are consistent with a series of studies of non-cosmological simulations of MW-mass galaxies, comparing different SPH flavours (Hopkins et al. 2012b, 2013c; Hu et al. 2014; Kim et al. 2016) and SPH versus moving-mesh codes (Hayward et al. 2014). These studies showed that within galaxies known SPH errors have little effect on predictions, since the turbulence is primarily supersonic, cooling is fast compared to dynamical times, and phase structure is primarily driven by gravitational collapse and feedback – all limits where SPH performs well (see Kitsionas et al. 2009; Price & Federrath 2010; Hopkins 2015).
5.3 (Significant) effects in the CGM of massive galaxies’‘hot haloes’
However, despite the similarity in the SFRs in re-started massive galaxies and non-cosmological simulations, Figs 21–22 clearly show that the cosmological SFHs of MW-mass systems diverge between some SPH flavours and MFM, as they reach stellar masses |$M_{\ast }\gtrsim 10^{10}\, {\rm M}_{\odot }$|, corresponding to halo masses |${\gtrsim } 10^{11.5}\, {\rm M}_{\odot }$|. In the D-SPH runs (which maximize the difference), the final stellar mass is suppressed relative to the MFM run by a factor of ∼1.5 (low resolution) or ∼3 (intermediate resolution), giving a correspondingly smaller peak circular velocity.
Effects of the hydrodynamic method in our cosmological m12i simulation at two resolution levels (left and right), as Fig. 21. Here we compare different ‘flavours’ of SPH (see Section 5.1.1): (a) the FIRE-1 implementation from Fig. 21, which uses the pressure-energy formulation and a larger smoothing kernel, designed to reduce fluid-mixing errors; (b) the FIRE-1 SPH model with ‘Stronger Mixing’ – an explicitly increased thermal energy/entropy mixing term (larger ‘artificial conductivity’); (c) D-SPH: a simpler SPH implementation which uses the ‘density-energy’ formulation of the equations and a smaller kernel (but still uses the higher order artificial viscosity and conductivity switches of FIRE-1 SPH), which strongly suppresses the ability of the method to capture fluid mixing instabilities. The ‘FIRE-1 SPH + Stronger Mixing’ run agrees well with MFM; the ‘D-SPH’ run much more strongly suppresses the SFR, stellar mass, and central Vc, in a manner which appears to diverge with resolution (consistent with the fact that the SPH errors are zeroth-order). This demonstrates that the effects of SPH on fluid mixing physics dominate the differences between runs in Fig. 21.
Effects of the hydrodynamic method in our cosmological m12i simulation at two resolution levels (left and right), as Fig. 21. Here we compare different ‘flavours’ of SPH (see Section 5.1.1): (a) the FIRE-1 implementation from Fig. 21, which uses the pressure-energy formulation and a larger smoothing kernel, designed to reduce fluid-mixing errors; (b) the FIRE-1 SPH model with ‘Stronger Mixing’ – an explicitly increased thermal energy/entropy mixing term (larger ‘artificial conductivity’); (c) D-SPH: a simpler SPH implementation which uses the ‘density-energy’ formulation of the equations and a smaller kernel (but still uses the higher order artificial viscosity and conductivity switches of FIRE-1 SPH), which strongly suppresses the ability of the method to capture fluid mixing instabilities. The ‘FIRE-1 SPH + Stronger Mixing’ run agrees well with MFM; the ‘D-SPH’ run much more strongly suppresses the SFR, stellar mass, and central Vc, in a manner which appears to diverge with resolution (consistent with the fact that the SPH errors are zeroth-order). This demonstrates that the effects of SPH on fluid mixing physics dominate the differences between runs in Fig. 21.
Similarly, Davé et al. (2016) compare low-resolution cosmological large-volume simulations using a simplified, non-FIRE subgrid ISM and feedback model and MFM and ‘P-SPH’ (FIRE-1 SPH) methods in gizmo. Over the mass range simulated (|$M_{\ast }\sim 10^{9}\!-\!10^{12}\, {\rm M}_{\odot }$|), the SMFs agree very well at |$z$| > 1, but then begin to differ, with SPH tending towards smaller masses by |${\sim } 0.2\,$|dex by |$z$| = 0. Yet another study using still different ISM and feedback models in gizmo presented in Zhu & Li (2016), who see a similar ‘divergence’ between MFM and some SPH flavours.
Not coincidentally, this epoch where SPH and MFM diverge corresponds precisely to the formation of the ‘hot halo’ (where virial-shocked gas has a cooling time longer than the dynamical time and establishes a steady-state atmosphere within the halo; see Kereš et al. 2005). In fact, many studies have shown that much, if not most, of the fuel supply for massive galaxies at later times owes to recycled wind material trapped in the CGM in these hot haloes (see Oppenheimer et al. 2010; Davé, Oppenheimer & Finlator 2011b; Faucher-Giguère, Kereš & Ma 2011; Christensen et al. 2016; Anglés-Alcázar et al. 2017a; Muratov et al. 2017). But this requires following the interaction of multiphase winds moving subsonically or trans-sonically through a pressure-supported medium – precisely the regime where the known SPH errors are most problematic (O’Shea et al. 2005; Agertz et al. 2007; Read, Hayfield & Agertz 2010; Bauer & Springel 2012; Sijacki et al. 2012; Torrey et al. 2012).
Fig. 25 shows a visual comparison of the gas morphology and phase structure in the CGM at redshifts |$z$| ∼ 1, where the differences between methods are most apparent. In D-SPH – which, we emphasize, is a formulation of SPH known to introduce larger errors compared to our ‘FIRE-1 SPH’ – cool/cold gas in the CGM is primarily locked into numerically spurious ‘blobs.’ These are a well-known result of numerical errors in SPH, specifically its inability to capture multiphase fluid mixing interfaces near the resolution scale (see Agertz et al. 2007; Kereš et al. 2012; Power et al. 2014; Saitoh & Makino 2013; Hu et al. 2014; Few et al. 2016). This causes inflows and outflows to ‘shred’ into blobs, rather than properly mixing. The FIRE-1 ‘P-SPH’ formulation is specifically designed to remove the specific ‘surface tension’ error in SPH that allows the blobs to be self-insulating and long-lived. P-SPH therefore reduces, but does not completely eliminate, the spurious ‘blobs.’ We note that all SPH variants shown include the ‘artificial conductivity’ (entropy diffusion term) above, which has been argued to eliminate such spurious structures (see Price 2008; Wadsley et al. 2008; Read & Hayfield 2012); we will discuss this further below.
Fig. 25 also shows that in SPH, the halo is more extended with more diffuse boundaries. This is also related to well-known SPH issues, specifically grid-scale heating/noise and difficulty shock-capturing, as well as excessive numerical dissipation of subsonic and trans-sonic turbulence (see e.g. Bauer & Springel 2012; Kereš et al. 2012; Sijacki et al. 2012). Both Springel (2010) and Hopkins (2015) show that SPH (even with state-of-the-art artificial viscosity switches from Cullen & Dehnen 2010) produces larger velocity noise around cosmological shocks (compared to MFM or moving-mesh methods), damps turbulence strongly below Mach numbers |$\mathcal {M}\sim 1$|, and requires ∼8–10 interparticle spacings (|${\sim } 30\!-\!50\,$| kpc at the virial radius for the low resolution in Fig. 25) to fully capture shock jumps.
The differences are more striking when we examine the |$z$| = 0 temperature–density phase diagram in Fig. 26. While both SPH and MFM produce a significant amount of warm (|${\sim } 10^{5}\,$| K) and cool (|${\sim } 10^{4}\,$| K) CGM gas, we see clearly that in D-SPH there is a large amount of cold (|$T\ll 10^{4}\,$| K) gas which has survived in the CGM being ‘protected’ in cold, dense lumps, despite having very short physical mixing times (without magnetic fields – not included here – to ‘protect’ the clouds). Also, in D-SPH, there is almost no hot, intermediate-density gas (|$T\gtrsim 10^{6}\,$| K with |$n_{\text{H}}\gtrsim 10^{-4}\, {\rm cm^{-3}}$|), owing to the difficulties of shock-capturing.
Together, these issues suppress cooling in some SPH flavours, especially from hot gas in more massive haloes (again consistent with previous studies; see Kereš et al. 2012; Torrey et al. 2012; Hobbs et al. 2013; Zhu & Li 2016), and they make it relatively ‘easier’ for cold outflows to escape from the galaxy. Perhaps most troubling, however, in the simplest SPH formulations (e.g. D-SPH here), the ‘blobs’ and associated undermixing errors do not converge away at higher resolution, but persist at the resolution scale and actually reach larger density contrasts and contain more mass at higher resolution (this is because they owe to sub-zeroth-order errors; see Agertz et al. 2007; Read et al. 2010). This is why our D-SPH runs at MW-mass deviate more dramatically from MFM at high-resolution, and do not appear to be converging. Of course in MFM (as with all Godunov methods) there is almost certainly some numerical overmixing at low resolution; a key difference is that this converges away with increasing resolution in a numerically well-defined manner (Harten, Lax & van Leer 1983).
We stress, however, that the FIRE-1 SPH (used in all published FIRE-1 simulations) dramatically reduces these discrepancies.
5.4 Comparing SPH ‘flavours’: adding diffusion explains differences in the CGM
Fig. 22 also shows the results of using the ‘FIRE-1 + Stronger Mixing’ SPH flavour instead of our default ‘FIRE-1 SPH’ in the cosmological m12i simulation. With this enhanced mixing, the results agree well with our MFM simulations. In contrast, as noted above, the D-SPH simulations using the ‘density–energy’ formulation and a smaller kernel (both of which increase the SPH errors on fluid-mixing problems) show the largest disagreement with MFM.
This demonstrates that the MFM-SPH differences, where present, owe to the treatment of fluid mixing, particularly how winds in ‘hot haloes’ do or do not mix and recycle onto the galaxy. This is a challenging numerical problem, and is almost certainly incompletely resolved in any numerical galaxy formation simulation. Therefore it is difficult to say which method is ‘more correct’ at low resolution – rather we simply urge caution in interpreting these results at present. The major caveat which must be borne in mind for SPH is that, if the answer depends on an arbitrarily adjustable parameter (e.g. the artificial conductivity), and is non-convergent (as we find here), then SPH has unfortunately limited predictive power – we are forced to calibrate the SPH method at each resolution level to calculations with other codes, rather than simply increase the SPH resolution directly and trust that the errors should converge away (for more discussion, see Hobbs et al. 2013; Zhu et al. 2015; Zhu & Li 2016).
This also suggests that the large central Vc ‘spikes’ we see in some of our low-resolution MFM runs, which are also sensitive to resolution, may be related to the same wind-mixing physics in hot haloes.
For additional systematic comparison of ‘improved’ SPH and MFM methods in recent cosmological hydrodynamic simulations of galaxy formation, we refer readers to Zhu & Li (2016). Although the simulations there use a completely different treatment of feedback, cooling, and star formation, many of the conclusions – most importantly regarding the effects of fluid mixing in different methods – are identical.
6 EFFECTS OF ‘ARTIFICIAL PRESSURE’ TERMS
In order to follow ISM structure and star formation self-consistently, we specifically avoid the use of artificial or effective equations of state in our simulations – i.e. in FIRE-2 we do not adopt, as some previous studies (including FIRE-1) have, an ‘artificial pressure floor’, numerically forcing the Truelove et al. (1997) criterion to have some value. In those approaches, an additional pressure of the form |$P_{\rm artificial} \sim G\, (N\, h\, \rho)^{2}/\gamma$| is added to the equations of motion, where h is the resolution (local gravitational softening), ρ the density, and N is approximately the ratio of the Jeans length to h (after the artificial pressure is added) – this artificially moves the thermal Jeans mass to a desired scale (and in Lagrangian codes, forms an adiabat with Partificial ∝ ρ4/3).
A common misconception is that this ‘prevents artificial fragmentation’, but this is not accurate (see Teyssier 2015); in cases where Partificial dominates, the medium is by definition Jeans unstable, so fragmentation (usually down to unresolved scales) is physically correct. Rather, what the artificial pressure does is move the fragmentation scale up to a larger scale, set by |${\sim } N\, h$|, and suppress fragmentation on smaller scales. This is numerically convenient in some circumstances. However, given our star formation prescription, it is not appropriate to suppress fragmentation. Indeed, a cold (weakly pressure-supported), Jeans-unstable, self-gravitating region, with a Jeans scale that is small (stellar-mass scale), is precisely that which should be identified as star forming by our algorithm. The un-resolved fragmentation to small scales is already handled, in our method, by assigning the mass to a ‘star particle’ which represents an aggregate of stars (formed via the un-resolved fragmentation to solar-mass scales).28
Furthermore, ‘artificial pressure’ prescriptions require careful treatment, as they: (a) can violate energy conservation (providing an infinite source of ‘P d V work’); (b) are designed for thermally supported discs, and it is not clear how to generalize them when turbulent or magnetic pressure dominates (see Myers et al. 2013; Lee et al. 2014); and (c) are not necessary given our numerical methods. Specifically Kratter & Lodato (2016), Nelson (2006), and Chiaki & Yoshida (2015) show (with very different approaches) that in Lagrangian methods, as long as (1) the Toomre mass is resolved (our own criterion in Section 4.1.3), (2) the gas disc scale height is resolved (identical to the Toomre criterion if Q ∼ 1), and (3) fully adaptive gravitational softenings are used for gas (εgas = hi), the fragmentation cascade converges accurately and is numerically stable (resolution will truncate the lower limit of the cascade, but all the power is on large scales, just as in turbulent motions). This appears to be confirmed by our tests in Figs 10 & 13.
That said, because our FIRE-1 simulations used such a prescription, we have checked whether adding an artificial pressure term in the simulations makes a qualitative difference to our results; in Fig. 27, we implement the standard prescription above with N = 4. For N ∼ 1–5, the difference in bulk galaxy properties (SFR, sizes, stellar masses) are small. This is because, for N = 4, the artificial pressure will stabilize an otherwise unstable spherical overdensity with radius |$R \lesssim 30\, {\rm pc}\, m_{i,\, 1000}^{1/3}\, (n/10\, {\rm cm^{-3}})^{-1/3}$|; so for the resolution and typical gas densities inside the central ∼4 kpc (the half-light radius) in Fig. 27, the largest GMCs can still collapse. Manuel et al. (2016) reach similar conclusions (the added terms have little effect) in GMC-scale simulations. However, we caution that there are some potentially un-physical small-scale artefacts introduced by an artificial pressure term, including: noise in the low-temperature gas thermal properties, a ‘bump’ in the mass function of GMCs/self-gravitating clouds (owing to ‘pileup’ of clouds at the scale where the fragmentation cascade is truncated), and spurious stellar clusters (see Nelson 2006; Lukat & Banerjee 2016). If we adopt N ≳ 10 (at the resolution shown here), then we are, by construction, forcing the gas to be smooth on scales larger than the gas disc scale height – i.e. we suppress any substructure in the galactic discs, which in turn artificially suppresses star formation everywhere except at galaxy centres.
7 DO THE DETAILS OF COOLINGand CHEMISTRY MATTER?
7.1 Cooling, heating, and self-shielding physics
We now consider how the details of cooling alter our predictions. Of course, it goes without saying that cooling is critical for galaxy and star formation – ‘turning off cooling’ would produce no galaxies! Moreover, detailed chemistry and cooling physics are obviously critical for some observables such as line diagnostics (e.g. fine-structure or CO excitation; see Richings & Schaye 2016), but it is not clear whether this in turn produces any dynamical effects on bulk galaxy properties studied here. Our interest here is therefore in exploring whether the more subtle details of cooling, which are often uncertain at the factor ∼2 level and treated differently or incompletely in different codes (for example, some include chemical networks for low-temperature and/or non-equilibrium cooling, some include only pre-tabulated cooling tables, some include additional subdominant cooling processes), ultimately have significant effects on our galaxy-scale predictions (masses, SFHs, morphologies, sizes, etc.).
Figs 27 and 28 show the results of turning on or off different portions of the cooling physics in our simulations.29 Specifically, we compare our default FIRE-2 cooling physics described in Section 2.3 to simulations adopting an extremely simplified toy model. In the toy model, we place all gas on a single, invariant cooling curve |$\Lambda (T,\, Z,\, I_{\nu },\, n) \rightarrow \Lambda (T)$| for fully ionized, non-self-shielded gas (so there is essentially no cooling to |$T\ll 10^{4}\,$| K), with a single metallicity Z = Z⊙ or Z = 0 (primordial cooling only). We also remove the requirement that stars form in molecular/self-shielded gas, since this is not self-consistently computed in the toy model. This toy model is not intended to be physically correct. Rather, it is intended only to illustrate how even radical changes to cooling physics (much more extreme than typical model differences in cooling) have relatively modest impacts on galaxy formation.
For dwarf galaxies, with either Z = 0 or Z = Z⊙ (Fig. 28), we see there is no large effect on the galaxy formation history. There is some enhanced early cooling and star formation at Z = Z⊙ as expected (this is much higher than the mean metallicity in m10q). For MW-mass galaxies, we again find only modest changes to the dynamics in both full cosmological simulations (Fig. 28) or re-starts near |$z$| = 0 with fixed initial conditions (Fig. 27), if we adopt approximately the ‘correct’ metallicity in and around the galaxy, Z = Z⊙. However for MW-mass systems, the primordial cooling-only (Z = 0) run does differ more dramatically. We have also examined the visual galaxy morphology, and wind outflow rates and covering factors, in each run and find similar results.
Fig. 29 shows the |$z$| = 0 temperature–density phase diagram of the m12i runs: clearly, details of the phase structure differ, as expected. With the toy model, there is no dense, cold gas (|$T\ll 10^{4}\,$| K), by construction. For the toy model with Z = Z⊙, the hot, denser gas has also cooled more efficiently – much of this was gas in the halo with lower metallicities which now radiates more rapidly than it should. But this does not appear to have a strong dynamical effect (there is some increase in the late-time SFR, stellar mass, and circular velocity evident in Fig. 28 in this run, owing to additional cooling, but the effect is weak).
This weak dependence of galaxy properties on the more subtle details of cooling physics at T ≲ 104 K (for approximately the correct metallicity) is consistent with previous studies. For example, both Hopkins et al. (2011) and Hu et al. (2016) added/removed photoelectric heating, and Hopkins et al. (2012c) added/removed molecular cooling at low temperatures, and all found this had essentially no effect on SFRs, wind outflow rates, and other galaxy properties. A more detailed study on subgalactic scales by Glover & Clark (2012) considering each microphysical cooling mechanism in turn showed that as long as some cooling channel exists, the details of that cooling are largely irrelevant in the dense ISM.
The reason for this is simple: for almost all gas (by mass) in galaxies, the cooling time is much shorter than the dynamical time (tcool ≪ tdyn), and the gas is supersonically turbulent. Under these conditions, the details of the cooling physics have little effect on dynamics – cooling is not a ‘rate-limiting’ step. We find our predicted SFRs are similar so long as the cooling model captures two key effects: (1) tcool ≲ tdyn for gas with |$T \ll 10^{7}\, {\rm K}\, (n/0.01\, {\rm cm^{-3}})$| (although for SNe blastwaves, the more relevant comparison is to the remnant expansion time, giving |$T\lesssim 10^{6}\,$| K), and (2) gas in this rapidly cooling regime has equilibrium temperatures ≲104 K or colder (the colder gas has no significant thermal pressure support, so assigning it T ∼ 104 does not appreciably change its large-scale dynamics).
Basically, in gas with temperatures ≲106–107 K, details of the cooling physics are not important. Above this threshold, tcool ≳ tdyn and cooling can be important; this can matter for (1) superbubbles and hot galactic winds, and (2) ‘hot haloes’ of virial-shocked gas around massive galaxies. For winds (1), thermal pressure-driven winds generally cool adiabatically as they expand (Chevalier & Gardner 1974), so the exact radiative cooling is not important so long as the transition from tcool ≪ tdyn to tcool ≫ tdyn happens at more or less the correct temperature (see Paper II). In hot haloes (2), the cooling rate in the halo centre determines accretion rates onto galaxies. This is irrelevant in dwarfs (|$T_{\rm vir} \ll 10^{7}\,$| K), but important in MW-mass haloes, hence we see significant effects in m12i if we adopt the Z = 0 toy model. We have re-run this turning on/off each piece of cooling physics in turn, and verified that almost the entire change in Fig. 28 owes to the Z = 0 toy model having no high-temperature (|$T\gt 10^{4}\,$| K) metal-line cooling. This suppresses the SFR around |$z$| ∼ 1–2, as the hot halo forms. In the ‘default cooling’ run, accretion onto the galaxy at this time is dominated by recycled wind material from earlier episodes, mixed with other less metal-rich CGM material (leading to additional cooling in that gas) – the additional cooling from metal-rich wind material is absent in the toy model. Similar conclusions have also been reached in previous studies (e.g. Choi & Nagamine 2009; Piontek & Steinmetz 2009; Schaye et al. 2010).
7.2 Effects of numerical metal mixing
In Section 2.6 we note that, in our ‘core physics only’ simulations, using our default MFM hydrodynamic solver, passive scalars such as metals are ‘locked’ to the gas resolution elements into which they are initially deposited (e.g. the nearest few elements to each SN). This occurs because the MFM method is a finite-mass method, i.e. advective fluxes vanish identically. But since we have finite resolution, this fails to capture e.g. small-scale turbulent eddies and microphysical diffusion of metals between the boundaries of two neighbouring resolution elements. In finite-volume methods such as grid-based Eulerian codes, or moving-mesh codes, or the meshless finite-volume ‘MFV’ method in gizmo (which is similar to MFM, differing only in how the face is assumed to deform when solving the Riemann problem between cells) there is an explicit advective (mass) flux, hence there is always some un-avoidable mixing at the boundary (in fact, it is well known that such methods will tend to overmix, relative to a converged solution, at finite resolution).
Under some circumstances, it may be desirable to explicitly model this microphysical metal transport between resolution elements. In Appendix F3 we describe how this is implemented as an ‘additional physics’ option in FIRE-2. Essentially this follows the Smagorinsky (1963) approximation, where we explicitly solve a diffusion equation between cells with the diffusivity κturb set to the resolution-scale ‘eddy diffusivity’ (|${\sim } \ell \, |\Delta v_{\rm turb}(\ell)|$|; i.e. assuming the mixing time-scales with the eddy turnover time, based on the local spatial resolution and velocity field). This is tested directly in gizmo with our same MFM solver in idealized, converged ‘turbulent box’ simulations in Colbrook et al. (2017) and Rennehan et al. (in preparation). An upper limit to the mixing between cells is enforced, equal to what would be obtained by the gizmo MFV solver for the same cells and same time-step – in other words, the maximum possible diffusivity of the added term in MFM is simply the un-avoidable diffusivity inherent to the MFV method (itself very similar to that in moving-mesh codes). This allows us to study how this particular numerical diffusion term, which is always present in hydrodynamic methods with explicit mass fluxes, alters our predictions.
Fig. 30 shows the effects of adding this term, in several of our simulations at both dwarf and MW mass scales, on the galaxy formation history and |$z$| = 0 mass profiles. Fig. 31 shows the effects on the |$z$| = 0 ISM and CGM gas phase distribution and visual morphologies in a MW-mass galaxy (there is no detectable difference in dwarfs, consistent with other properties we have surveyed). We see essentially no systematic effect in any gross galaxy property (star formation history, stellar mass, mass profile, rotation curves, visual morphology of gas or stars), including the mean metallicity itself (both in gas and stars). This is true at all mass scales we have explored and at all resolution levels. There is slightly more cool gas at |$z$| = 0 in the disc of the m12f simulation with metal diffusion, which could owe to metal mixing promoting additional cooling from the hot halo, but we caution that this effect is similar in magnitude to stochastic variations between runs. It is worth noting that the cold gas within the disc (|$T\lesssim 10^{4}\,$| K, nH ≳ 0.1 cm−3) forms a slightly tighter (more visually obvious) cooling sequence; this is because the metal diffusion smooths local particle-to-particle variations in gas-phase metallicity in e.g. the same GMCs, and the metals are the dominant coolant in this regime.
Su et al. (2017a) explore in greater detail the effects of this metal-mixing term in the ISM of both isolated (non-cosmological) discs and cosmological simulations with the FIRE-2 physics. They specifically compare the bivariate distribution of gas temperatures and densities in the ISM (at several redshifts); galactic wind outflow rates, phases, density distributions, and velocity distributions; turbulent velocity distribution functions in the ISM; and star formation histories. They conclude in all cases that the metal-mixing terms have weak or negligible effects. In Escala et al. (2018) we present the actual abundance ratio distribution functions within the galaxies here; there, it is clear that the mixing terms do have important effects (as expected). However because the mixing terms conserve (by construction) the mean metallicity and total metal mass, and we have already shown that the metallicity enters only relatively weakly into dynamical effects via its effect on the cooling rates (see Section 7), the dynamical effect of these mixing terms on other galaxy properties is weak.
Fig. 32 further demonstrates this by considering variations to the standard metal-mixing term, at both dwarf and MW mass scales. Specifically we consider (in addition to the ‘core physics only’ and ‘metal diffusion’ runs) cases where we add the metal diffusion term but arbitrarily multiply the diffusivity κturb by an additional factor of 10 or 30. We also consider a case where we replace the standard adaptive eddy diffusivity (defined in Appendix F3) with a constant |$\kappa _{\rm turb}=10^{24}\, {\rm cm^{2}\, s^{-1}}$| (i.e. simply treat the metals as if they obey a strict, constant-diffusivity diffusion equation, and we also remove the MFV-based limiter above). This value of κturb corresponds crudely to typical values of the turbulent diffusivity estimated by equation (F5) in Appendix F3 on the maximal turbulent scales (for |$\ell \sim 100\,$|pc and |$|\Delta v_{\rm turb}(\ell)|\sim 10\, {\rm km\, s^{-1}}$|). Finally, we consider a case where we include no diffusion equation, but instead we solve the metal flux exactly as we would if we used the MFV hydrodynamic method (with explicit mass fluxes), and include the resulting metal fluxes (even though all other fluxes use the MFM solution, identical to our ‘standard’ runs). In other words we always transfer the metals that would be ‘numerically diffused’ in a finite-volume code. In each of these cases, we see no effect on the properties inFig. 32.
7.3 Yields and explicit abundance-ratio tracking
As noted above, we track 11 species on-the-fly with yield tables for SNe (Ia and II) and stellar mass-loss rates given in Appendix A. But nucleosynthetic yields (even IMF-averaged) have very large uncertainties, especially at progenitor metallicities far from solar. For example, the Woosley & Weaver (1995) yields differ from those in Nomoto et al. (2006) even at Z = Z⊙ by |${\sim }0.4\,$|dex for Mg and Ne. However, given the weak dependence of our results on the details of the cooling curve shape (especially at low temperatures; Section 7.1) and detailed metal mixing (Section 7.2), we do not expect this to have large dynamical effects on other galaxy properties. Moreover, even high-temperature metal-line cooling (which is important to include) is dominated by o, which constitutes most of the metal mass and therefore is better constrained (differing by <10 per cent between the Woosley & Weaver 1995 and Nomoto et al. 2006 models, for example). We have verified this directly by re-running our m10q (|$m_{i,\, 1000}=0.25$|) and m12i (|$m_{i,\, 1000}=56$|) simulations, replacing the default Nomoto et al. (2006) yields for core-collapse SNe with those from Woosley & Weaver (1995). In all properties surveyed here, we see no detectabledifference.
Given this and our comparisons in Section 7.1, it appears that as long as the total metallicity is approximately correct, differences in the detailed abundance ratios introduce no major dynamical effects. We have therefore re-run the same simulations, ignoring all detailed abundance information and simply tracking the total metal abundance, then assuming solar abundance ratios in the cooling and other relevant routines. We find this produces nearly identical results to our default simulations (in which the cooling is explicitly solved species-by-species).
To leading order, then, detailed abundance patterns are important as tracers for predictions of various observables, but do not introduce important dynamical effects.
8 EFFECTS OF THE STAR FORMATION ALGORITHM
It has been extensively demonstrated in the literature that, provided the Toomre scale is resolved and stellar feedback is treated explicitly (as in our simulations), the exact resolution-scale SF model has essentially no effect on predicted galaxy-scale SFRs. For the sake of completeness, we demonstrate this here, but refer readers to Hopkins et al. (2011, 2013d,e) and Kim, Ostriker & Kim (2013) for more extensive discussions (see also Section 4.1.3).
Figs 33 and 34 show the effects of varying the resolution-scale star formation model in the simulations, in both full cosmological runs at different mass scales and resolution, and re-starts of our MW-mass simulation at late times (guaranteeing an identical initial condition for the comparison). We compare our default model from Section 2.4 (requiring gas be self-gravitating, self-shielding/molecular, Jeans unstable, and have density n > ncrit with |$n_{\rm crit}=1000\, {\rm cm^{-3}}$|), to variations with |$n_{\rm crit}=5\!-\!1000\, {\rm cm^{-3}}$|; turning on/off the self-gravity (virial), molecular, and Jeans criteria; and arbitrarily multiplying the SFR per free-fall time |$\dot{\rho }_{\ast }$| in the gas which meets these criteria by a constant factor εsf = 0.01–100.
In every case, the predicted SFR and all other galaxy properties we examine here are essentially identical. This has now been shown in many different contexts, with simulations using different detailed implementations of star formation and stellar feedback; mass resolution ranging from subsolar to |${\sim } 10^{6}\, {\rm M}_{\odot }$|; isolated (non-cosmological), galaxy-merger, and fully cosmological simulations; circum-nuclear simulations of star formation around active galactic nucleus; and simulations using very different feedback mechanisms (removing SNe, stellar mass-loss, or H ii photoheating); and in different codes (see e.g. Saitoh et al. 2008; Shetty & Ostriker 2008; Hopkins et al. 2011, 2012b, 2013a,c,d,e, 2016; Kim et al. 2011; Federrath & Klessen 2012; Agertz et al. 2013; Kim et al. 2013; Kim & Ostriker 2015). We specifically showed the same was true in our FIRE-1 simulations in Hopkins et al. (2014) and Orr et al. (2018). This is also consistent with simulations of individual GMCs (which track star formation on much smaller scales), and analytic ‘multifree-fall’ models of star formation, in which independent clumps collapse on their own local free-fall times (see e.g. Federrath & Klessen 2012, 2013; Faucher-Giguère et al. 2013; Grudić et al. 2018; Guszejnov & Hopkins 2016).
This is because the rate-limiting step in star formation does not occur at the resolution limit of the simulations; rather it is the formation and efficient destruction of the largest self-gravitating objects (large GMC complexes, which have dynamical times |${\sim } 100\,$|Myr). Because these are resolved, and our force softening is fully adaptive (and we do not force some artificial lower limit to the softening), a self-gravitating cloud or subclump will continue to fragment, as it should, on its local free-fall time, until it either forms stars or is destroyed by feedback (see below). This means that absent star formation or sufficient feedback, the densities in such a clump will (correctly) become arbitrarily high and the internal dynamical times will become arbitrarily short, within a finite physical time (of order the original parent cloud free-fall time). So whatever value of ncrit we set will eventually be exceeded, and even if εsf ≪ 1 (so the cloud collapses faster than it forms stars), the actual physical SF time-scale will become arbitrarily short within the clump as it collapses. Provided star formation can occur, then the simulations above have shown that feedback self-regulates the level of star formation. Stars form until sufficient numbers of young stars are present that their feedback destroys the parent clouds, which may occur after just a small fraction of the cloud turns into stars (e.g. Grudić et al. 2018), giving a low time-averaged efficiency per free-fall time. This self-regulating behaviour depends on the strength of feedback – changing the strength of feedback immediately changes the equilibrium SFR in a galactic disc – but is independent of how individual stars form in dense gas.
Of course, the ratio of SFR to dense gas at the resolution limit depends, by construction, on the SF model; comparison to dense gas tracers within galaxies (e.g. HCN as opposed to CO) in previous work appears to favour the ‘default’ normalization and SF criteria we adopt here (see the comparison in Hopkins et al. 2013e). But this is only relevant within the densest resolved gas clumps.
9 STELLAR FEEDBACK
Many previous studies have argued that feedback is the most important determinant of star formation in galaxies (see references in Section 1). In this section we therefore explore how basic feedback physics changes our predictions; in Paper II–Paper III, we examine more subtle physical and numerical aspects of the implementation of said feedback.
9.1 Feedback ‘strength’
In Fig. 35, we simply re-start our m12i simulation near |$z$| = 0 as Fig. 10, but arbitrarily multiply all feedback rates (e.g. SNe rates, wind kinetic luminosities, and mass-loss rates, stellar luminosities) by a factor of ∼3 (‘strong’) or ∼1/3 (‘weak’), relative to the ‘default’ values (which, recall, are taken directly from stellar evolution models without adjustment). We stress that there is no physical motivation for this – this is a larger shift than most uncertainties in stellar evolution – but we consider it purely for illustrative purposes. Exactly as expected in ‘feedback-regulated’ scenarios, this produces a corresponding direct shift in the SFR – the SFR is self-regulating at the level where feedback offsets gravitational collapse, so if feedback is 3× stronger ‘per star’, then 3× fewer stars form when the equilibrium is realized. This is almost exactly what we see (the shift in SFR is very slightly sublinear, owing to non-linear effects). This is consistent with many previous simulation and analytic studies (see Shetty & Ostriker 2008; Hopkins et al. 2011, 2012c; Kim et al. 2011; Faucher-Giguère et al. 2013; Orr et al. 2018, and references therein).
9.2 The role of different feedback mechanisms: Galactic winds and cosmological time-scales
In Fig. 36 we consider how turning off each feedback mechanism in turn alters galaxy evolution in fully cosmological simulations. In both dwarf and MW-mass galaxies, we clearly see SNe have the most dramatic effect. This is because what ultimately regulates galactic star formation efficiencies over a Hubble time is the competition between inflow and galactic outflows, and the high-speed outflows that are not simply recycled quickly are predominantly SNe-driven (e.g. Davé, Finlator & Oppenheimer 2011a, and references therein). Without SNe, galaxies form far too many stars (factor >100 in our m10q dwarf; factor ∼2 in the MW-mass system, going from ∼30 per cent to ∼60 per cent baryon-to-star ‘conversion’ efficiency); the stars form too early (everything collapses rapidly into early dwarf haloes, and has mostly turned into stars by redshift |$z$| ∼ 3–4); the resulting galaxy is too dense (rotation curves peak strongly, even in small dwarfs, and are never ‘gently rising’); and the metallicities are essentially constant across stellar mass because galaxies have similar formation histories and baryon conversion efficiencies (late-time metallicities are lower for massive galaxies because there is no SNe enrichment, only RSG/AGB enrichment).30 Likewise properties of the ISM (gas phases) and CGM (covering factors of outflows and metals, especially) are grossly discrepant with observations. We also note that because all of our galaxies are star-forming, the SNe Type II rate dominates over the Ia rate at all times. All of these results are consistent with many previous studies (see references in Section 1). We discuss the effects of SNe in much greater detail in Paper II – our purpose here is only to confirm they are indeed critical.
Turning off continuous stellar mass-loss (OB/AGB winds), the most obvious effect is that the late-time SFRs of both dwarfs and MW-mass galaxies are suppressed, relative to their ‘default’ values. Despite the fact that OB winds carry (roughly) comparable energy and momentum flux to SNe, and AGB winds can do the same if the relative star-gas velocity is sufficiently large (see Appendix D), their net effect seems to be increasing the supply of gas mass within the galaxy which can eventually cool and form stars at late times. This is also consistent with previous studies, many of which have noted that OB winds tend to not be sufficiently well-confined to build up comparable momentum (after coupling) to SNe (Ciotti & Ostriker 2001; Jungwiert, Combes & Palouš 2001; Ciotti, Ostriker & Proga 2009; Schaye et al. 2010; Leitner & Kravtsov 2011; Novak, Ostriker & Ciotti 2011; Gan et al. 2014; Choi et al. 2015).
Removing all radiative feedback – including the effects of the meta-galactic UV background – has a dramatic effect on dwarf stellar masses, even at halo masses |${\gtrsim } 10^{10}\, {\rm M}_{\odot }$| with |$V_{\rm max}\gtrsim 40\, {\rm km\, s^{-1}}$| that should be well above the threshold for UVB ‘quenching’ star formation. This will be explored in more detail in future work (Wheeler et al., in preparation). In short, the stellar masses increase by a factor ∼10 (consistent with our FIRE-1 results; Hopkins et al. 2014). Unlike removing SNe, the qualitative shape of the SFH is similar to the ‘full feedback’ case – the stars do not form uniformly early, and the SFH is still ‘bursty,’ but the bursts reach much larger amplitude, owing to the much larger gas supply. Removing only local radiative feedback (keeping the UVB, but removing radiative feedback from explicit star particles) has more subtle effects: the SF becomes much more ‘bursty,’ the stellar mass changes but by a smaller factor, and the metallicity is suppressed; we discuss these in detail in Paper III. In MW-mass haloes, the UVB has weak effects, but removing local radiative feedback produces a clear, significant increase in the central Vc (perhaps expected, as the galaxy centre is exactly the region where we expect massive, dense GMCs which must be pre-processed by radiative feedback in order to reach low densities where subsequent SNe can efficiently expel the material, see Thompson, Quataert & Murray 2005; Murray, Quataert & Thompson 2005; Hopkins et al. 2011). The dependence is similar in FIRE-1, although there we saw a stronger dependence of stellar mass on radiative feedback; the difference owes to the improvements in the treatment of SNe which allow, in massive GMCs, for the first SNe to play a similar role to radiative feedback and ‘pre-process’ the cloud for subsequent SNe.
As Fig. 36 clearly demonstrates, our conclusions about the systematic effects of different feedback mechanisms are independent of the hydrodynamic method (MFM versus SPH), even where the methods themselves produce significant systematic differences. Likewise, we have checked the conclusions above are independent of resolution, star formation prescription, and details of the cooling functions.
9.3 The role of different feedback mechanisms: self-regulation within galaxies and the Kennicutt–Schmidt relation
In Fig. 37 we repeat the experiment from Fig. 36 turning on and off different feedback mechanisms, but in restarts of the |$z$| ∼ 0 MW-mass galaxy as Fig. 10. This allows us to separate non-linear, long-time-scale cosmological effects on the SFR (e.g. galactic wind generation and recycling), from the instantaneous self-regulation of star formation within a galaxy.
As expected, removing SNe produces a systematically higher SFR. Removing OB/AGB winds leads, initially, to higher SFRs, as the additional feedback (gas heating via shocked winds) is no longer present (but the gas mass of the disc is still essentially fixed at its initial value); however the SFR then declines as the missing mass-loss is unable to ‘re-supply’ gas lost to star formation. Most interesting, without radiative feedback, the SFR systematically rises with time, comparable to or even exceeding the SFR of the no-SNe test! This is consistent with a number of studies of isolated (non-cosmological) galaxy simulations (see Hopkins et al. 2011, 2012c; Agertz et al. 2013; Kim et al. 2013; Benincasa et al. 2016).
Why does the SFR appear more sensitive to radiative feedback in Fig. 37 and these isolated galaxy simulations, as opposed to Fig. 36? On cosmological spatial and temporal scales, a simple steady-state argument (e.g. Bouché et al. 2010; Davé, Finlator & Oppenheimer 2012; Feldmann 2013; Lilly et al. 2013; Feldmann 2015; Mitra et al. 2017) implies the sum of the time-average galactic SFR |$\langle \dot{M}_{\ast } \rangle$| and superwind mass-loss rates |$\langle \dot{M}_{\rm wind} \rangle \equiv \eta \, \langle \dot{M}_{\ast } \rangle$| (where η is the wind mass-loading, which can depend on arbitrary galaxy properties) should equal the inflow rate |$\dot{M}_{\rm in}$| (we assume gas mass in the disc is steady-state; see Davé et al. 2011a). Thus |$\langle \dot{M}_{\ast } \rangle \sim (1+\eta)^{-1}\, \dot{M}_{\rm in}$|. However, on scales within the galactic disc (and time-scales of order the galaxy dynamical time, much shorter than the Hubble time), the SFR is set by self-regulation via feedback, at the point where the momentum flux per unit area from feedback, |${\sim } (p_{\ast }/m_{\ast })\, \dot{\Sigma }_{\ast }$| (where |$p_{\ast }/m_{\ast }\sim 3000\, {\rm km\, s^{-1}}$| is the time and IMF-averaged flux of momentum into the dense, star-forming gas per unit stellar mass formed) offsets the gravitational force per unit area |${\sim } G\, \Sigma _{\rm dis\rm c}\, \Sigma _{\rm gas}$| (an identical scaling is obtained assuming feedback must destroy star-forming clouds, and/or offset turbulent dissipation, in a Q ∼ 1 disc; see Shetty & Ostriker 2008; Kim et al. 2011; Faucher-Giguère et al. 2013; Hayward & Hopkins 2017). Thus |$\langle \dot{M}_{\ast } \rangle \sim (p_{\ast }/m_{\ast })^{-1}\, G\, \Sigma _{\rm dis\rm c}\, \langle M_{\rm gas} \rangle$|. Of course, these two scalings must be consistent: if the ‘instantaneous’ |$\dot{M}_{\ast }$| is ‘too low’ compared to the cosmological scaling above, then |$\dot{M}_{\rm in}$| is not offset by star formation + outflow and gas ‘piles up’, raising Mgas until the SFR ‘catches up’. If the radiative feedback contributes significantly to p*/m* (either directly or via pre-processing GMCs before SNe), then removing it lowers p*/m* and in turn increases the SFR given fixed|$\Sigma _{\rm dis\rm c}$| and Mgas, as in Fig. 37. However, if η is less sensitive to radiative feedback, the winds from higher |$\dot{M}_{\ast }$| would be stronger, and so the galaxy will self-regulate at the same |$\langle \dot{M}_{\ast } \rangle$|. Thus, the instantaneous self-regulation (the Kennicutt–Schmidt relation) is not the same as self-regulation of cosmological growth (e.g. the stellar mass–halo mass relation).
10 SUMMARY AND CONCLUSIONS
10.1 Overview
We present the FIRE-2 simulations (Table 1), a suite of cosmological simulations of galaxy formation using the FIRE physics modules in the gizmo code. The FIRE-2 suite represents an update over FIRE-1, primarily in the use of a newer, more accurate hydrodynamic method, together with other numerical improvements to the physics algorithms and resolution – but no significant change in the actual physics simulated (Section 2). This includes high-resolution simulations run to |$z$| = 0 with full baryonic physics of the cold, multiphase ISM, at both the dwarf and MW mass scales (reaching sub-pc spatial and |${\sim } 100\, {\rm M}_{\odot }$| mass scales; see Table 3 for details).
In all properties investigated here, our primary conclusions from FIRE-1 appear qualitatively robust to these improvements in numerical accuracy (see Section 3, Figs 5–7), with typically less than factor of a few changes in global galaxy properties such as stellar mass, metallicity, and star formation rates. With explicit treatment of stellar feedback from SNe Types Ia and II, OB and AGB stellar winds, radiation pressure (UV, optical, and IR), photoionization and photoelectric heating, and explicit resolution of the multiphase ISM, galactic winds emerge naturally, producing galaxies with morphologies (Figs 1 and 3), internal ISM structure (Fig. 2), flat or rising star formation histories and flat rotation curves (Figs 4 and 5), metallicities (Fig. 4), and stellar masses (Fig. 7) apparently consistent with observations. Of course, it is impossible to consider an exhaustive list of galaxy properties here, and many more remain to be investigated in future work. Still, this is remarkable, considering that there is no fine-tuning or direct calibration of any parameters in the simulations to match these observations. Each of these properties has been investigated in more detail in previous work, described in Section 1.
It is worth noting that, as previous papers have pointed out (Hopkins et al. 2014; Ma et al. 2017b; Wetzel et al. 2016), there is no tension between even very thin stellar discs at |$z$| = 0 (e.g. Fig. 1), and strong stellar feedback which drives bursty star formation and strong galactic outflows at high redshift, strongly suppressing the stellar masses at |$z$| = 0 relative to no-feedback models. This owes to a combination of resolved venting of hot winds through a multiphase ISM, which remove mass without disturbing galaxy morphologies, and a rapid transition from the bursty star-forming mode and more ‘gentle’ steady-state thin-disc mode as gas fractions and specific star formation rates decline in massive, low-redshift haloes (see Muratov et al. 2015; Faucher-Giguère 2018; Hayward & Hopkins 2017; Ma et al. 2017b).
We have provided a complete algorithmic description of all aspects of the FIRE simulations (see Section 2 and Appendices A– F). We also make our hydrodynamics + gravity code gizmo, and all initial conditions for the runs here, public.
We have considered an extensive study varying numerical and physical aspects of our simulations, to identify the most important ‘ingredients’ and physical effects in the simulations. Table 2 summarizes our conclusions; below we discuss the most important.
10.2 Resolution
Mass resolution is most important for the physics that can be captured in Lagrangian methods; in Section 4.1 we present a number of new resolution criteria relevant for simulations of resolved galaxy formation, phase structure, and galactic winds. For example, for dwarf galaxies, stellar masses are robust to resolution once the galaxies contain just a few star particles (Fig. 8). Metallicity and the shape of the SFH converge more slowly, requiring ∼100 star particles to sample the self-enrichment history and a baryonic particle mass |${\lesssim } 10^{-6}\, M_{\rm halo}$| (equation 7) to avoid numerically enhanced burstiness (from single star particles representing ‘too many’ SNe at once). Accurately capturing phase structure in the ISM and gravitational fragmentation requires resolving the Toomre mass in the ISM, i.e. the largest GMCs, which dominate the galactic SFR (equation 5; Fig. 13). Morphology is very robust to resolution for dwarfs; for massive galaxies, it appears to depend on galaxy formation history – some massive systems are disky (with similar sizes and rotation curves) at all resolution levels, others (where the disc forms somewhat later) are more sensitive (Fig. 9). Details of galactic winds, in particular hot gas ‘venting’ and recycling in the CGM, are most sensitive to resolution of the properties we consider, with true ‘convergence’ likely requiring at least the ability to resolve the cooling radii of individual SNe (equation 6).
Force softenings for collisionless (DM + stellar) particles have little effect on our predictions (including galaxy baryonic properties, DM halo mass profiles, substructure mass, and velocity distribution functions), provided they are chosen within a broad range (Section 4.2, figs 15–19). For DM this is |${\sim } (0.005 \!-\! 0.5)\, r_{0.06}$|, where r0.06 is approximately the radius containing ∼200 DM particles at the halo centre at |$z$| = 0 (Sections 4.2.2–4.2.5). Our ‘default’ DM and stellar softening choices maximize the integration accuracy and convergence of our runs; larger softenings can artificially suppress central densities of DM haloes.
We show that the radius r0.06 is the radius to which DM profiles are converged to ∼10 per cent or better – this is smaller than the commonly quoted ‘convergence radius’ of Power et al. (2003), owing to more accurate integration and time-stepping, and smoother kernels (Figs 11 and 12). At these spatial and mass resolution scales, N-body heating is negligible (equations 10 and 11). Owing to this insensitivity, it makes little difference whether we adopt constant softenings or fully adaptive softenings (set to a fixed multiple of the local interparticle separation) for collisionless particles.
Force softenings for gas should be set adaptively, so that the same mass distribution is being treated in the hydrodynamic equations and gravity equations (Section 4.2). With such a choice, turbulent fragmentation can be resolved down to small spatial scales, and no additional resolution criteria need be applied; of course, the meaning of ‘spatial resolution’ is adaptive, so Table 3 summarizes the effective spatial resolution of our simulations in different regimes. In dense, star-forming gas, the effective resolution reaches ∼1–10 pc in MW-mass systems and ∼0.1–1 pc in dwarfs. Because the medium is supersonically turbulent, accurately capturing turbulent fragmentation and galactic star formation does not require that the thermal Jeans mass/length be resolved.
If, for some reason, constant gravitational force softening for gas is desired in simulations with a resolved multiphase ISM, we show (Figs 15 and 16) that it should be chosen sufficiently small that (1) the Toomre length-scale (molecular gas disc scale height) is resolved (|$\epsilon \ll 100\,$|pc), and (2) the minimum ‘threshold’ density for star formation is resolved gravitationally, so that actual self-gravitating regions are what form stars (|$\epsilon \lesssim 7\, {\rm pc}\, m_{i,\, 1000}^{1/3}\, (n_{\rm SF,\, min}/100\, {\rm cm^{-3}})^{-1/3}$|). If the latter criterion is violated then star formation is driven (incorrectly) entirely by global (galaxy-wide) contraction or shock-compression of gas, and has nothing to do with local fragmentation and collapse of GMCs.
In addition to standard time-step criteria, guaranteeing proper time-resolution of feedback requires a limiter (equation 12) such that star particles cannot ‘skip’ stages of stellar evolution or experience ≫1 SNe per particle per time-step (Section 4.3).
Moreover, if one adopts adaptive gravitational softening for collisionless particles, we show that standard time-steps based on the acceleration are numerically unstable. The reason is that the accelerations and potential now depend explicitly on the local particle configuration which changes as particles move through one another, not just on the total potential gradient; this means a Courant-like condition must be used to ensure stability (Fig. 20; equation 13).
10.3 Hydrodynamic methods
Comparing our new mesh-free finite-volume Godunov hydrodynamic methods (‘MFM’) to SPH (Section 5), we show that at all resolution levels, the properties of dwarf and high-redshift galaxies are insensitive to the details of the hydrodynamic solver (Fig. 21). However, for MW-mass and larger galaxies at late times, when a ‘hot halo’ develops, the details of the hydrodynamics become important for the late-time steady-state SFR of the galaxies, and their gas disc sizes (and subsequent circular velocity profiles). Similar conclusions have been reached in previous comparisons of moving-mesh and fixed-grid codes to SPH, but with simpler treatments of ISM cooling/phases and feedback (Kereš et al. 2012; Sijacki et al. 2012; Torrey et al. 2012; Vogelsberger et al. 2012). We show that the gross morphology and instantaneous SFR given some ISM gas supply are not particularly sensitive (Figs 23 and 24). Instead, the difference owes to the mixing and recycling of galactic winds in the CGM and initial accretion and shocking of hot gas, and its subsequent non-linear effect on cooling and re-accretion (Figs 25 and 26). SPH – even in our state-of-the-art implementation – can produce some spurious non-mixing ‘blobs’ in the CGM, smear out accretion shocks, and suppress subsonic turbulence, leading to more cold and less hot, dense gas in the CGM. We explicitly show that by adding stronger ‘artificial conductivity’ to our SPH runs, we can essentially reproduce our MFM results (Fig. 22), indicating that details of numerical diffusion are important in the CGM of ‘hot haloes’.
We note that it is not appropriate to use ‘artificial pressure floors’ when a sink-particle model (like ours) for star formation (which identifies self-gravitating regions to turn into stars) is already present (Section 6). However, for modest values often used in the literature, we show such a floor has weak effects – but making the pressure floors too large produces clear numerical artefacts and prevents proper physical convergence in treating turbulent fragmentation (Fig. 27).
In finite-mass numerical methods without explicit advective fluxes (MFM), passive scalars (e.g. metals) remain locked (by default) to gas elements where they are first injected; in methods with such fluxes (e.g. AMR) there is a significant numerical mixing between elements. At finite resolution, these tend to under and overestimate (respectively) true physical mixing by un-resolved turbulent eddies and microphysical diffusion between neighbour cells. For AMR codes reducing the error requires higher resolution; in MFM one can add an explicit metal diffusivity. However, while this can be important for predictions of detailed abundance pattern distributions within galaxies, we show that this has essentially no effect on any properties studied here (Section 7.2; fig 30 and 31), regardless of the numerical implementation (Fig. 32).
Given the sensitivity of the CGM in hot haloes to fluid mixing details, it is likely that additional physics – magnetic fields, anisotropic Spitzer–Braginskii conduction and viscosity, cosmic ray transport – may produce larger changes in the late-time cooling rates from hot haloes than the difference between hydro solvers.
Effects of the hydrodynamic method on the SFR at low-redshift of a re-started MW-mass (m12i; |$m_{i,\, 1000}=56$|) simulation as Fig. 10. We compare MFM and various SPH ‘flavours’ as Fig. 21. For fixed initial conditions (early times) the SFR is feedback-regulated and identical. The two slowly diverge by ∼30 per cent over ∼ Gyr as the SPH flavours with less accurate fluid-mixing treatments are able to more easily eject gas from the galaxy. However the effect is small compared to the cosmologically time-integrated effects seen in Fig. 21. This is consistent with the idea that the mixing and re-cycling of these outflows, and subsequent hot gas cooling (which occurs on time-scales of order the Hubble time), not the generation of outflows or self-gravitating fragmentation and star formation in the dense galactic disc, is the dominant reason for the difference between certain SPH flavours and MFM in massive galaxies in Fig. 21.
Effects of the hydrodynamic method on the SFR at low-redshift of a re-started MW-mass (m12i; |$m_{i,\, 1000}=56$|) simulation as Fig. 10. We compare MFM and various SPH ‘flavours’ as Fig. 21. For fixed initial conditions (early times) the SFR is feedback-regulated and identical. The two slowly diverge by ∼30 per cent over ∼ Gyr as the SPH flavours with less accurate fluid-mixing treatments are able to more easily eject gas from the galaxy. However the effect is small compared to the cosmologically time-integrated effects seen in Fig. 21. This is consistent with the idea that the mixing and re-cycling of these outflows, and subsequent hot gas cooling (which occurs on time-scales of order the Hubble time), not the generation of outflows or self-gravitating fragmentation and star formation in the dense galactic disc, is the dominant reason for the difference between certain SPH flavours and MFM in massive galaxies in Fig. 21.
Mock images, as in Fig. 3, showing the effects of the hydrodynamic solver on the |$z$| = 0 morphology of the simulated galaxies, for the highest resolution (|$m_{i,\, 1000}=56$|) MW-mass (m12i) systems in Fig. 21. Dwarfs are not shown, as they have irregular morphologies independent of the hydrodynamics or resolution (as expected). The large-scale visual morphology is similar, although the MFM simulation exhibits a slightly more compact, thinner disc and more well-ordered spiral structure. The major differences in stellar mass and central circular velocity are not obvious in the stellar morphology. The same is true for all SPH flavours in Fig. 22.
Mock images, as in Fig. 3, showing the effects of the hydrodynamic solver on the |$z$| = 0 morphology of the simulated galaxies, for the highest resolution (|$m_{i,\, 1000}=56$|) MW-mass (m12i) systems in Fig. 21. Dwarfs are not shown, as they have irregular morphologies independent of the hydrodynamics or resolution (as expected). The large-scale visual morphology is similar, although the MFM simulation exhibits a slightly more compact, thinner disc and more well-ordered spiral structure. The major differences in stellar mass and central circular velocity are not obvious in the stellar morphology. The same is true for all SPH flavours in Fig. 22.
Gas morphology around the galaxy in the m12i simulations (with mi, 1000 = 56) from Fig. 21, at |$z$| = 0.9 in 200 kpc boxes, with different hydrodynamic methods (as Fig. 21; labelled). Images are logarithmically-weighted surface-density projections, with red/green/magenta showing hot (|$\gt 10^{6}\,$| K), warm ionized (|${\sim } 10^{4}\!-\!10^{5}\,$| K), and cool neutral (|$\lt\!8000\,$| K) gas. The most dramatic differences appear in the CGM; we choose a time where a merger has triggered violent outflows of cool gas to maximize these differences. In some less-accurate SPH formulations, such as ‘D-SPH’ here (right; density-SPH with smaller smoothing kernel), the outflow has broken into the well-known artificial ‘SPH blobs’ that result from errors treating fluid mixing interfaces. In our non-SPH, finite-volume MFM method (left), these are absent. The FIRE-1 implementation of SPH (‘P-SPH’ with larger kernel) was specifically formulated to reduce the fluid-mixing errors in SPH; it dramatically reduces (but does not completely eliminate) the ‘blobs’ (FIRE-1 SPH + Stronger Mixing closely resembles this, but with slightly fewer ‘blobs’). Also, in MFM the hot halo gas is more compact/dense, with a sharper shock front, while in SPH it is lower density with an extended boundary, owing to difficulties in shock-capturing and numerical dissipation/mixing (Bauer & Springel 2012). These effects in SPH make it ‘easier’ for cold winds to be ejected and avoid mixing in the halo, lowering the CGM gas cooling rate, explaining the suppression in SF in Figs 21–23.
Gas morphology around the galaxy in the m12i simulations (with mi, 1000 = 56) from Fig. 21, at |$z$| = 0.9 in 200 kpc boxes, with different hydrodynamic methods (as Fig. 21; labelled). Images are logarithmically-weighted surface-density projections, with red/green/magenta showing hot (|$\gt 10^{6}\,$| K), warm ionized (|${\sim } 10^{4}\!-\!10^{5}\,$| K), and cool neutral (|$\lt\!8000\,$| K) gas. The most dramatic differences appear in the CGM; we choose a time where a merger has triggered violent outflows of cool gas to maximize these differences. In some less-accurate SPH formulations, such as ‘D-SPH’ here (right; density-SPH with smaller smoothing kernel), the outflow has broken into the well-known artificial ‘SPH blobs’ that result from errors treating fluid mixing interfaces. In our non-SPH, finite-volume MFM method (left), these are absent. The FIRE-1 implementation of SPH (‘P-SPH’ with larger kernel) was specifically formulated to reduce the fluid-mixing errors in SPH; it dramatically reduces (but does not completely eliminate) the ‘blobs’ (FIRE-1 SPH + Stronger Mixing closely resembles this, but with slightly fewer ‘blobs’). Also, in MFM the hot halo gas is more compact/dense, with a sharper shock front, while in SPH it is lower density with an extended boundary, owing to difficulties in shock-capturing and numerical dissipation/mixing (Bauer & Springel 2012). These effects in SPH make it ‘easier’ for cold winds to be ejected and avoid mixing in the halo, lowering the CGM gas cooling rate, explaining the suppression in SF in Figs 21–23.
Comparison of hydrodynamic methods (MFM and SPH ‘flavours’ from Fig. 22) in the temperature–density phase diagram (at |$z$| = 0) in the MW-mass (m12i, with |$m_{i,\, 1000}=56$|) systems in Figs 21–25. We compare all gas inside the virial radius (top) and gas within the CGM (excluding the galaxy; bottom). Colours are a mass-weighted heat map with the density of gas mass in the space shown increasing logarithmically from black-blue-green-yellow-red-white. The ‘D-SPH’ (simpler, less accurate fluid-mixing) flavour produces no hot halo gas with densities |$n \gg 10^{-4}\, {\rm cm^{-3}}$|, owing to a combination of poor shock-capturing, numerical dissipation, and artificial ‘ease’ with which cold ‘blobs’ in shredded galactic winds escape the halo (instead of shocking); there is also a substantial population of gas with temperatures |$T\sim 10-1000\,$| K and densities |$n\sim 10^{-2} \!-\! 10^{3}\, {\rm cm^{-3}}$| in the CGM, from the same ‘blobs.’ The more accurate fluid mixing treatment in the FIRE-1 SPH mostly eliminates the cold CGM blobs and restores hot dense gas – but there is still a significant amount of gas at ∼104 K even at very low densities which disappears when we add ‘stronger mixing,’ in agreement with our MFM simulations.
Comparison of hydrodynamic methods (MFM and SPH ‘flavours’ from Fig. 22) in the temperature–density phase diagram (at |$z$| = 0) in the MW-mass (m12i, with |$m_{i,\, 1000}=56$|) systems in Figs 21–25. We compare all gas inside the virial radius (top) and gas within the CGM (excluding the galaxy; bottom). Colours are a mass-weighted heat map with the density of gas mass in the space shown increasing logarithmically from black-blue-green-yellow-red-white. The ‘D-SPH’ (simpler, less accurate fluid-mixing) flavour produces no hot halo gas with densities |$n \gg 10^{-4}\, {\rm cm^{-3}}$|, owing to a combination of poor shock-capturing, numerical dissipation, and artificial ‘ease’ with which cold ‘blobs’ in shredded galactic winds escape the halo (instead of shocking); there is also a substantial population of gas with temperatures |$T\sim 10-1000\,$| K and densities |$n\sim 10^{-2} \!-\! 10^{3}\, {\rm cm^{-3}}$| in the CGM, from the same ‘blobs.’ The more accurate fluid mixing treatment in the FIRE-1 SPH mostly eliminates the cold CGM blobs and restores hot dense gas – but there is still a significant amount of gas at ∼104 K even at very low densities which disappears when we add ‘stronger mixing,’ in agreement with our MFM simulations.
Effects of cooling physics details (Section 7) and artificial ‘pressure floors’ (Section 6) on a restart of our MW-mass m12i simulation near |$z$| = 0, as Fig. 10. Our default model is full-physics, with no ‘artificial pressure’. (1)Toy model chemistry/cooling: We replace our default, detailed cooling physics with the toy model in Section 7 which puts all gas on a single, solar-metallicity cooling curve, artificially turns off self-shielding (preventing cooling to |$T\ll 10^{4}\,$| K), and removes the requirement that SF be in molecular gas. Because the cooling time is much faster than the dynamical time in all cases, details of the cooling functions have almost no effect on SF. (2)Artificial pressure floor: We add an artificial numerical ‘pressure floor’ as described in Section 6, with ‘modest’ values designed to artificially inflate the thermal Jeans length to always be equal to four softening lengths. For these values this produces some spurious artefacts in e.g. the GMC and star cluster mass function, but does not change any galaxy-scale results, since supersonic turbulence and resolved collapse from much larger scales dominate SF. (3)Extreme artificial pressure: We now inflate the artificial pressure so the thermal Jeans length is always >20 softening lengths. This is far larger than reasonable and makes the entire disc thermally supported with Q ≫ 1, shutting down substructure. Star formation only occurs when the disc becomes globally unstable leading to ‘mini-bursts’ – the dynamics are clearly unphysical.
Effects of cooling physics details (Section 7) and artificial ‘pressure floors’ (Section 6) on a restart of our MW-mass m12i simulation near |$z$| = 0, as Fig. 10. Our default model is full-physics, with no ‘artificial pressure’. (1)Toy model chemistry/cooling: We replace our default, detailed cooling physics with the toy model in Section 7 which puts all gas on a single, solar-metallicity cooling curve, artificially turns off self-shielding (preventing cooling to |$T\ll 10^{4}\,$| K), and removes the requirement that SF be in molecular gas. Because the cooling time is much faster than the dynamical time in all cases, details of the cooling functions have almost no effect on SF. (2)Artificial pressure floor: We add an artificial numerical ‘pressure floor’ as described in Section 6, with ‘modest’ values designed to artificially inflate the thermal Jeans length to always be equal to four softening lengths. For these values this produces some spurious artefacts in e.g. the GMC and star cluster mass function, but does not change any galaxy-scale results, since supersonic turbulence and resolved collapse from much larger scales dominate SF. (3)Extreme artificial pressure: We now inflate the artificial pressure so the thermal Jeans length is always >20 softening lengths. This is far larger than reasonable and makes the entire disc thermally supported with Q ≫ 1, shutting down substructure. Star formation only occurs when the disc becomes globally unstable leading to ‘mini-bursts’ – the dynamics are clearly unphysical.
10.4 Cooling, star formation, and feedback
Consistent with previous work (Piontek & Steinmetz 2009; Hopkins et al. 2011, 2012c; Glover & Clark 2012; Hu et al. 2016), we find that most details of radiative cooling and gas chemistry generally have little effect on galaxy dynamics, star formation, and galactic winds (Section 7; figs 27 and 28). This is because almost all gas within the ISM has cooling times much shorter than dynamical times, so the exact cooling time and/or temperature is dynamically irrelevant. This is especially true in the ‘cold’ and ‘cool’ phases of the ISM/CGM/IGM (|$T \lesssim 10^{5}\,$| K). Detailed variations in yields, which species are tracked, and numerical metal-mixing produce correspondingly weak effects.
However, in hot gas (|$T\gg 10^{6}\,$| K) in the CGM or SNe-heated bubbles, the cooling time can be longer than the dynamical time, and so high-temperature metal-line cooling has a significant effect on the phase structure of the CGM (Fig. 29) and cooling onto (hence SF in) the galaxy from the halo (Fig. 28; see also Choi & Nagamine 2009; Schaye et al. 2010). To leading order the total metallicity is the important quantity here, while detailed abundance-ratio variations have a much smaller effect.
As we have shown in previous work, provided the largest (Toomre) scales of fragmentation are resolved (gravitationally and hydrodynamically), and star formation occurs in that fragmenting gas, the resolution-scale star formation prescription has essentially no detectable effects on our predictions for galaxy-integrated SFRs, stellar masses, sizes, positions on the Schmidt–Kennicutt law (both galaxy-wide and spatially resolved), galactic winds, and more (see Section 8, figs 33 and 34, and Saitoh et al. 2008; Shetty & Ostriker 2008; Hopkins et al. 2011, 2013d; Kim et al. 2011; Agertz et al. 2013). This includes orders-of-magnitude variations in the density threshold and resolution-scale ‘rate per free-fall time’. The key criteria are that these densities can (of course) be resolved, and that the SF occur only in self-gravitating gas above the mean galaxy density, so that the SF is automatically clustered (since the natural clustering of star formation non-linearly influences the likelihood of e.g. SNe bubbles overlapping and driving superwinds). Of course, predictions within the dense gas (corresponding to the densities where our subgrid SF models take over) will be sensitive to the exact choices made; our default model is chosen based on previous work arguing it best reproduced observations of dense gas tracers [HCN and CO(3-2)] in idealized (non-cosmological) simulations (Hopkins et al. 2013e).
Provided the above criteria are met, SF is instead feedback-regulated. Uniformly increasing/decreasing the strength of feedback directly shifts both the integrated stellar mass and position of galaxies on the KS law (Fig. 35).
Stellar mass-loss (OB/AGB winds) is primarily important as a late-time fuel source for star formation (Section 9; figs 36 and 37); its net effect is to increase, not decrease, late-time SFRs, especially in massive galaxies.
Radiative feedback has a strong effect regulating the instantaneous SFRs of galaxies (i.e. the Kennicutt–Schmidt law), though less so on cosmologically averaged SFRs (which are also regulated by the availability of fresh gas from IGM accretion).
The most important form of radiative feedback for dwarfs is external radiative feedback, i.e. the UV background. In Paper III, we show that removing the UVB has a much larger effect on the stellar masses of dwarfs than removing internal radiative feedback, even at mass scales as large as |$M_{\ast }\gtrsim 10^{7}\, {\rm M}_{\odot }$|. We will explore these effects further in future work.
On cosmological scales, SNe (specifically core-collapse and prompt Ia) are the most important feedback mechanism regulating galaxy properties. Without SNe (even given other feedback mechanisms), galaxies (especially dwarfs) form too many stars, and form these stars far too early. In Paper II, we therefore investigate numerical SNe treatments in more detail.
Effects of the details of cooling and chemistry (as Fig. 27), on cosmological simulations of a dwarf (m10q) and MW-mass (m12i) galaxy, as Fig. 4. We compare our default, full-physics & chemistry treatment, to the extremely simplified ‘toy’ cooling model from Fig. 27 and Section 7 (single, solar metallicity Z = Z⊙ cooling curve, with no self-shielding so no low-temperature cooling or chemistry). We also compare a version of the toy model assuming Z = 0 (primordial abundances only, no metal-line cooling at low or high temperatures). The simplified cooling model produces remarkably similar galaxies to the full-physics model, provided the metallicity is similar (Z = 0 in m10q and Z = Z⊙ in m12i). Because cooling times within galaxies are often much shorter than dynamical times so as long as some cooling channel exists, the details of cooling have weak effects. The stellar masses are higher with the Z = Z⊙ toy model, owing to solar metallicity being assumed in all gas – this is higher than the metallicity of large-scale superbubbles in m10q or outer parts of the extended ‘hot halo’ of m12i, artificially enhancing cooling at |$T\sim 10^{5}\!-\!10^{7}\,$| K. Conversely, with Z = 0 cooling only, SNe bubbles and the hot halo cool less efficiently; notably in m12i this reduces the SFR around |$z$| ∼ 1, where the dense central bulge forms, flattening the rotation curve substantially. Note that taking our ‘full cooling’ model and only disabling high-temperature (|$T\gt 10^{4}\,$| K) metal-line cooling produces nearly identical results here to the ‘toy’ Z = 0 model.
Effects of the details of cooling and chemistry (as Fig. 27), on cosmological simulations of a dwarf (m10q) and MW-mass (m12i) galaxy, as Fig. 4. We compare our default, full-physics & chemistry treatment, to the extremely simplified ‘toy’ cooling model from Fig. 27 and Section 7 (single, solar metallicity Z = Z⊙ cooling curve, with no self-shielding so no low-temperature cooling or chemistry). We also compare a version of the toy model assuming Z = 0 (primordial abundances only, no metal-line cooling at low or high temperatures). The simplified cooling model produces remarkably similar galaxies to the full-physics model, provided the metallicity is similar (Z = 0 in m10q and Z = Z⊙ in m12i). Because cooling times within galaxies are often much shorter than dynamical times so as long as some cooling channel exists, the details of cooling have weak effects. The stellar masses are higher with the Z = Z⊙ toy model, owing to solar metallicity being assumed in all gas – this is higher than the metallicity of large-scale superbubbles in m10q or outer parts of the extended ‘hot halo’ of m12i, artificially enhancing cooling at |$T\sim 10^{5}\!-\!10^{7}\,$| K. Conversely, with Z = 0 cooling only, SNe bubbles and the hot halo cool less efficiently; notably in m12i this reduces the SFR around |$z$| ∼ 1, where the dense central bulge forms, flattening the rotation curve substantially. Note that taking our ‘full cooling’ model and only disabling high-temperature (|$T\gt 10^{4}\,$| K) metal-line cooling produces nearly identical results here to the ‘toy’ Z = 0 model.
Temperature–density phase diagram of all gas in the simulation box at |$z$| = 0, for the m12i simulations in Fig. 28 with our default, full cooling physics implementation and the ‘toy model’ which puts all gas on a single cooling curve, with no self-shielding, at a uniform metallicity Z = Z⊙ or Z = 0. As expected, without self-shielding, the toy models produce no cold gas (|$T\ll 10^{4}\,$| K). However, this is still ‘cold’ as far as providing dynamical support to the disc (thermal Q < 1) is concerned, and tcool ≪ tdyn remains true, and so even at |${\sim } 10^{4}\,$| K gas can and should physically fragment efficiently. Therefore, this produces little or no dynamical effect in the simulations. The Z = Z⊙ run noticeable suppresses the hot gas at |$T\sim 10^{6}\,$| K and densities |$n\sim 10^{-4}\!-\!10^{-2}\, {\rm cm^{-3}}$| – much of this is gas in the extended CGM and nearby IGM (around Rvir) which has been shocked (by SNe and O-star/AGB winds but also the halo virial shock), and is highly subsolar in metallicity, so the toy model overestimates the cooling rates by a factor ∼10–30. However, this does not contribute much to the galaxy accretion rate. The ‘primordial’ (Z = 0) model, on the other hand, is closer to correct in the hot halo at ∼Rvir, but significantly underestimates the cooling rate for SNe bubbles in the gas disc and inner halo (while the shape of the warm/hot gas distribution is similar, there is much less gas in the warm phase compared to the default cooling run).
Temperature–density phase diagram of all gas in the simulation box at |$z$| = 0, for the m12i simulations in Fig. 28 with our default, full cooling physics implementation and the ‘toy model’ which puts all gas on a single cooling curve, with no self-shielding, at a uniform metallicity Z = Z⊙ or Z = 0. As expected, without self-shielding, the toy models produce no cold gas (|$T\ll 10^{4}\,$| K). However, this is still ‘cold’ as far as providing dynamical support to the disc (thermal Q < 1) is concerned, and tcool ≪ tdyn remains true, and so even at |${\sim } 10^{4}\,$| K gas can and should physically fragment efficiently. Therefore, this produces little or no dynamical effect in the simulations. The Z = Z⊙ run noticeable suppresses the hot gas at |$T\sim 10^{6}\,$| K and densities |$n\sim 10^{-4}\!-\!10^{-2}\, {\rm cm^{-3}}$| – much of this is gas in the extended CGM and nearby IGM (around Rvir) which has been shocked (by SNe and O-star/AGB winds but also the halo virial shock), and is highly subsolar in metallicity, so the toy model overestimates the cooling rates by a factor ∼10–30. However, this does not contribute much to the galaxy accretion rate. The ‘primordial’ (Z = 0) model, on the other hand, is closer to correct in the hot halo at ∼Rvir, but significantly underestimates the cooling rate for SNe bubbles in the gas disc and inner halo (while the shape of the warm/hot gas distribution is similar, there is much less gas in the warm phase compared to the default cooling run).
Comparison of predicted galaxy formation histories as Fig. 4, with and without an explicit numerical ‘metal diffusion’ term. Our ‘core physics only’ runs using the MFM hydrodynamic solver follow fixed-mass elements (so there is no advection between elements and metals are strictly ‘locked’ to the element they were injected into via stellar mass-loss). The ‘metal diffusion’ runs add an explicit passive-scalar diffusion term to account for subresolution diffusion and turbulent mixing of metals between neighbouring elements (see Appendix F3). This is flux-limited so that the diffusivity is never larger than would be obtained from simply numerical diffusivity in our MFV (moving-mesh or AMR-like) hydrodynamic solver. There is no systematic effect at any mass scale. In addition to the runs shown we have also compared m09 and m12b,c,f,q and find the same. Su et al. (2017a) examine non-cosmological discs and our m10q and m12i runs and show the same, also for the gas and stellar morphology, ISM density distribution in different phases, galactic wind mass-loadings and velocity distributions, and ISM turbulent velocities.
Comparison of predicted galaxy formation histories as Fig. 4, with and without an explicit numerical ‘metal diffusion’ term. Our ‘core physics only’ runs using the MFM hydrodynamic solver follow fixed-mass elements (so there is no advection between elements and metals are strictly ‘locked’ to the element they were injected into via stellar mass-loss). The ‘metal diffusion’ runs add an explicit passive-scalar diffusion term to account for subresolution diffusion and turbulent mixing of metals between neighbouring elements (see Appendix F3). This is flux-limited so that the diffusivity is never larger than would be obtained from simply numerical diffusivity in our MFV (moving-mesh or AMR-like) hydrodynamic solver. There is no systematic effect at any mass scale. In addition to the runs shown we have also compared m09 and m12b,c,f,q and find the same. Su et al. (2017a) examine non-cosmological discs and our m10q and m12i runs and show the same, also for the gas and stellar morphology, ISM density distribution in different phases, galactic wind mass-loadings and velocity distributions, and ISM turbulent velocities.
Top: Visual morphology (as Fig. 9), at |$z$| = 0, for the m12f (mi, 1000 = 56) simulations run with our ‘core physics only’ (left) or core physics with the additional metal diffusion term as Fig. 30 (right). Bottom: Phase diagram of the ISM & CGM (as Fig. 26) for the same. The diagrams are qualitatively very similar but there is slightly more cool gas in the ISM at |$z$| = 0 in the runs with metal diffusion, owing to its allowing marginally enhanced cooling from the hot halo that forms at late times in massive galaxies. There is no detectable difference at dwarf masses.
Top: Visual morphology (as Fig. 9), at |$z$| = 0, for the m12f (mi, 1000 = 56) simulations run with our ‘core physics only’ (left) or core physics with the additional metal diffusion term as Fig. 30 (right). Bottom: Phase diagram of the ISM & CGM (as Fig. 26) for the same. The diagrams are qualitatively very similar but there is slightly more cool gas in the ISM at |$z$| = 0 in the runs with metal diffusion, owing to its allowing marginally enhanced cooling from the hot halo that forms at late times in massive galaxies. There is no detectable difference at dwarf masses.
Comparison of the effects of explicit numerical metal diffusion, as Fig. 30, at dwarf (m10q) and MW (m12i) mass scales, as a function of the diffusivity. We compare: (1) Core Physics Only: metals strictly locked to original injection element. (2) Metal Diffusion: the default numerical implementation in Appendix F3. (3) Metal Diffusion x10: as ‘Metal Diffusion’ but with the numerical diffusion coefficient increased by a factor 10. (4) Metal Diffusion x30: as ‘Metal Diffusion’ but with the numerical diffusion coefficient increased by a factor 30. (5) Fixed Metal Diffusivity: replacing the adaptive numerical diffusion prescription with a pure isotropic diffusion equation of fixed diffusivity |$\kappa _{\rm turb}=10^{24}\, {\rm cm^{2}\, s^{-1}}$|, comparable to the large-scale eddy diffusivity for ISM turbulence with |$\sigma \sim 10\, {\rm km\, s^{-1}}$| and driving scale |${\sim } 100\, {\rm pc}$|. (6) MFV Metal Fluxes: explicitly adding the cell-to-cell metal advection fluxes that would appear if we solved the hydrodynamic equations with gizmo’sMFV method, instead of our default MFM method (which has vanishing advective fluxes). This is approximately the ‘numerical metal diffusion’ that would un-avoidably appear in a moving-mesh type code. In all cases, the effects are weak.
Comparison of the effects of explicit numerical metal diffusion, as Fig. 30, at dwarf (m10q) and MW (m12i) mass scales, as a function of the diffusivity. We compare: (1) Core Physics Only: metals strictly locked to original injection element. (2) Metal Diffusion: the default numerical implementation in Appendix F3. (3) Metal Diffusion x10: as ‘Metal Diffusion’ but with the numerical diffusion coefficient increased by a factor 10. (4) Metal Diffusion x30: as ‘Metal Diffusion’ but with the numerical diffusion coefficient increased by a factor 30. (5) Fixed Metal Diffusivity: replacing the adaptive numerical diffusion prescription with a pure isotropic diffusion equation of fixed diffusivity |$\kappa _{\rm turb}=10^{24}\, {\rm cm^{2}\, s^{-1}}$|, comparable to the large-scale eddy diffusivity for ISM turbulence with |$\sigma \sim 10\, {\rm km\, s^{-1}}$| and driving scale |${\sim } 100\, {\rm pc}$|. (6) MFV Metal Fluxes: explicitly adding the cell-to-cell metal advection fluxes that would appear if we solved the hydrodynamic equations with gizmo’sMFV method, instead of our default MFM method (which has vanishing advective fluxes). This is approximately the ‘numerical metal diffusion’ that would un-avoidably appear in a moving-mesh type code. In all cases, the effects are weak.
Comparison of galaxy properties in cosmological FIRE-2 simulations (as Fig. 4) as a function of the resolution-scale assumptions for individual star particle formation. We compare m09, m10v, m10q, and m12i (Table 1). For each, we compare a run with a minimum density for star formation of ncrit = 10 or |$n_{\rm crit}=1000\, {\rm cm^{-3}}$|; recall, in all cases the SF is still only allowed in self-gravitating, self-shielding gas. We have repeated this experiment for m10q and m12i at lower resolution, and for m11q, m11v, m10y with ncrit = 100 and 1000, and reach the same conclusion in every case. For m10v and m10q, we also compare a simulation in which we arbitrarily multiply the SFR in the ‘eligible’ gas (sufficiently dense, self-shielding/molecular, locally self-gravitating) by a factor εSF = 0.01 (i.e. artificially ‘slow down’ the SF in the collapsing gas by a factor of ∼100, relative to its dynamical time). Consistent with extensive studies in the FIRE-1 and previous simulations, these choices have no effect on our predictions.
Comparison of galaxy properties in cosmological FIRE-2 simulations (as Fig. 4) as a function of the resolution-scale assumptions for individual star particle formation. We compare m09, m10v, m10q, and m12i (Table 1). For each, we compare a run with a minimum density for star formation of ncrit = 10 or |$n_{\rm crit}=1000\, {\rm cm^{-3}}$|; recall, in all cases the SF is still only allowed in self-gravitating, self-shielding gas. We have repeated this experiment for m10q and m12i at lower resolution, and for m11q, m11v, m10y with ncrit = 100 and 1000, and reach the same conclusion in every case. For m10v and m10q, we also compare a simulation in which we arbitrarily multiply the SFR in the ‘eligible’ gas (sufficiently dense, self-shielding/molecular, locally self-gravitating) by a factor εSF = 0.01 (i.e. artificially ‘slow down’ the SF in the collapsing gas by a factor of ∼100, relative to its dynamical time). Consistent with extensive studies in the FIRE-1 and previous simulations, these choices have no effect on our predictions.
Effects of the resolution-scale assumptions for individual star formation, in re-starts of an MW-mass galaxy (m12i) at late times, as Fig. 10, keeping fixed mass resolution |$m_{i,\, 1000}=56$| but changing the SF algorithm. In our ‘default’ model gas which is self-gravitating (subvirial), self-shielding/molecular, dense (|$n\gt n_{\rm crit}=1000\, {\rm cm^{-3}}$|), and Jeans unstable forms stars at a rate |$\dot{\rho }_{\ast } = \rho _{\rm mol}/t_{\rm ff}$|. We compare: (1) removing the self-gravity and molecular restrictions (all dense gas can form stars), (2–3) lowering/raising |$n_{\rm crit}=5\!-\!1000\, {\rm cm^{-3}}$|, and (4–5) multiplying |$\dot{\rho }_{\ast }$| by an arbitrary factor εsf = 0.01–100. As in Fig. 33 and our previous studies, this has no effect on the galaxy-scale SFR, because it is feedback-regulated.
Effects of the resolution-scale assumptions for individual star formation, in re-starts of an MW-mass galaxy (m12i) at late times, as Fig. 10, keeping fixed mass resolution |$m_{i,\, 1000}=56$| but changing the SF algorithm. In our ‘default’ model gas which is self-gravitating (subvirial), self-shielding/molecular, dense (|$n\gt n_{\rm crit}=1000\, {\rm cm^{-3}}$|), and Jeans unstable forms stars at a rate |$\dot{\rho }_{\ast } = \rho _{\rm mol}/t_{\rm ff}$|. We compare: (1) removing the self-gravity and molecular restrictions (all dense gas can form stars), (2–3) lowering/raising |$n_{\rm crit}=5\!-\!1000\, {\rm cm^{-3}}$|, and (4–5) multiplying |$\dot{\rho }_{\ast }$| by an arbitrary factor εsf = 0.01–100. As in Fig. 33 and our previous studies, this has no effect on the galaxy-scale SFR, because it is feedback-regulated.
Effects of arbitrarily changing the strength of stellar feedback on a re-start of an identical m12i simulation (with |$m_{i,\, 1000}=56$|) at low redshift (i.e. guaranteeing identical initial galaxy properties), as Fig. 10. Here, we compare our ‘default’ model (in which all feedback physics, rates, and energetics are taken from stellar evolution models without re-adjustment), and compare it to two models where we arbitrarily multiply all feedback rates (e.g. SNe rates, wind kinetic luminosities and mass-loss rates, stellar luminosities at all frequencies) by a factor of ∼3 (‘strong’) or ∼1/3 (‘weak’). These are much larger than actual physical uncertainties in these quantities, we simply show it for illustrative purposes. Clearly SF is instantaneously feedback-regulated: the steady-state SFR is inversely proportional to the feedback strength, as expected.
Effects of arbitrarily changing the strength of stellar feedback on a re-start of an identical m12i simulation (with |$m_{i,\, 1000}=56$|) at low redshift (i.e. guaranteeing identical initial galaxy properties), as Fig. 10. Here, we compare our ‘default’ model (in which all feedback physics, rates, and energetics are taken from stellar evolution models without re-adjustment), and compare it to two models where we arbitrarily multiply all feedback rates (e.g. SNe rates, wind kinetic luminosities and mass-loss rates, stellar luminosities at all frequencies) by a factor of ∼3 (‘strong’) or ∼1/3 (‘weak’). These are much larger than actual physical uncertainties in these quantities, we simply show it for illustrative purposes. Clearly SF is instantaneously feedback-regulated: the steady-state SFR is inversely proportional to the feedback strength, as expected.
Effects of different stellar feedback physics on cosmological galaxy formation histories, as Fig. 4. We compare a dwarf (m10q) and MW-mass galaxy (m12i), both run with our default, higher order accurate hydrodynamic solver (MFM; left); but we also show a set of simulations of m12i with the same physics variations using the SPH (right) method, to demonstrate that even though the hydrodynamic solvers produce differences in massive galaxies, the qualitative effects of different feedback mechanisms are identical (independent of the hydrodynamic method). (1)Default: Our default models include all standard stellar evolution processes. (2)No OB/AGB mass-loss: Removing continuous stellar mass-loss (both OB and AGB-star winds) produces slightly lower metallicities (owing to the lack of recycling) and significantly lower late-time SFRs – it appears the primary role of stellar mass-loss is to provide an additional source of gas fuelling late-time SF in both dwarfs and MW-mass systems. (3)No Radiative feedback: This removes all radiative feedback (radiation pressure as well as photoionization and photoelectric heating by local particles and the meta-galactic background). In dwarfs (even with |$V_{\rm max}\sim 40\, {\rm km\, s^{-1}}$|, shown here), removing the photoionization heating (dominated by the UVB) produces ∼10× larger SFRs and stellar masses (producing large bursts that make a core and lower Vc). In massive galaxies, the effects are weaker but removing radiation pressure produces significantly higher central densities (more strongly-peaked rotation curves in the central |${\sim } 5\,$| kpc). (4)No Supernovae: SNe clearly dominate on cosmological scales, as removing them produces orders-of-magnitude higher SFRs at early times, giving rise to runaway collapse to extremely high densities until the gas is depleted.
Effects of different stellar feedback physics on cosmological galaxy formation histories, as Fig. 4. We compare a dwarf (m10q) and MW-mass galaxy (m12i), both run with our default, higher order accurate hydrodynamic solver (MFM; left); but we also show a set of simulations of m12i with the same physics variations using the SPH (right) method, to demonstrate that even though the hydrodynamic solvers produce differences in massive galaxies, the qualitative effects of different feedback mechanisms are identical (independent of the hydrodynamic method). (1)Default: Our default models include all standard stellar evolution processes. (2)No OB/AGB mass-loss: Removing continuous stellar mass-loss (both OB and AGB-star winds) produces slightly lower metallicities (owing to the lack of recycling) and significantly lower late-time SFRs – it appears the primary role of stellar mass-loss is to provide an additional source of gas fuelling late-time SF in both dwarfs and MW-mass systems. (3)No Radiative feedback: This removes all radiative feedback (radiation pressure as well as photoionization and photoelectric heating by local particles and the meta-galactic background). In dwarfs (even with |$V_{\rm max}\sim 40\, {\rm km\, s^{-1}}$|, shown here), removing the photoionization heating (dominated by the UVB) produces ∼10× larger SFRs and stellar masses (producing large bursts that make a core and lower Vc). In massive galaxies, the effects are weaker but removing radiation pressure produces significantly higher central densities (more strongly-peaked rotation curves in the central |${\sim } 5\,$| kpc). (4)No Supernovae: SNe clearly dominate on cosmological scales, as removing them produces orders-of-magnitude higher SFRs at early times, giving rise to runaway collapse to extremely high densities until the gas is depleted.
Effects of different stellar feedback physics on a re-start of an identical MW-mass simulation (m12i; as Fig. 35); we disable different mechanisms in turn as in Fig. 36. (1)Default: All physics included. (2)No OB/AGB mass-loss: Since the simulations start from identical initial conditions (identical gas supply), removing stellar mass-loss initially leads to a higher SFR (the OB winds cannot act as a source of feedback) – but by |${\sim } 500\,$|Myr later, the net effect of removing the winds is to slightly decrease the SFR, as the winds cannot act continuously over this time to supply new gas mass to the disc. (3)No (Local) Radiative feedback: Here we still include a UV background, but remove only local (star particle) radiative feedback. We see a steady rise in SFR until this is forming more stars than the no-SNe case! Two effects occur: (a) GMCs are no longer efficiently disrupted by radiative feedback before SNe explode, therefore the SFR needed to self-regulate within a disc of a given surface density rises (see e.g. Hopkins et al. 2011), and (b) the outer atomic disc, which was stabilized by photoheating from young stars in the galaxy, can now cool efficiently and form stars. (4)No Supernovae: The SFR is systematically larger, as expected, but by a relatively modest factor ∼2. This is because other feedback mechanisms instantaneously can regulate the SFR of gas in the galactic disc. However, removing SNe eliminates almost all galactic winds – on cosmological time-scales, this means the disc will increase in gas mass and the SFR will run away, as we saw in Fig. 36. Critically, this demonstrates that how feedback regulates SF instantaneously within the disc (e.g. the Kennicutt–Schmidt relation) is not the same as how feedback regulates SF integrated over cosmological growth time-scales (e.g. the stellar mass-halo mass relation).
Effects of different stellar feedback physics on a re-start of an identical MW-mass simulation (m12i; as Fig. 35); we disable different mechanisms in turn as in Fig. 36. (1)Default: All physics included. (2)No OB/AGB mass-loss: Since the simulations start from identical initial conditions (identical gas supply), removing stellar mass-loss initially leads to a higher SFR (the OB winds cannot act as a source of feedback) – but by |${\sim } 500\,$|Myr later, the net effect of removing the winds is to slightly decrease the SFR, as the winds cannot act continuously over this time to supply new gas mass to the disc. (3)No (Local) Radiative feedback: Here we still include a UV background, but remove only local (star particle) radiative feedback. We see a steady rise in SFR until this is forming more stars than the no-SNe case! Two effects occur: (a) GMCs are no longer efficiently disrupted by radiative feedback before SNe explode, therefore the SFR needed to self-regulate within a disc of a given surface density rises (see e.g. Hopkins et al. 2011), and (b) the outer atomic disc, which was stabilized by photoheating from young stars in the galaxy, can now cool efficiently and form stars. (4)No Supernovae: The SFR is systematically larger, as expected, but by a relatively modest factor ∼2. This is because other feedback mechanisms instantaneously can regulate the SFR of gas in the galactic disc. However, removing SNe eliminates almost all galactic winds – on cosmological time-scales, this means the disc will increase in gas mass and the SFR will run away, as we saw in Fig. 36. Critically, this demonstrates that how feedback regulates SF instantaneously within the disc (e.g. the Kennicutt–Schmidt relation) is not the same as how feedback regulates SF integrated over cosmological growth time-scales (e.g. the stellar mass-halo mass relation).
10.5 Summary of ingredients
To summarize, we find that the following criteria are essential for physically realistic high-resolution (multiphase ISM) zoom-in simulations of galaxy formation:
The Toomre mass/length is mass and force-resolved; disc scale heights and at least the largest scales of fragmentation are resolved, with gravitational softening able to follow the mass.
In addition to standard (optically thin, primordial) cooling, some accounting for self-shielding and low-temperature (|$T\ll 10^{4}\,$| K) cooling is included (to enable fragmentation), and high-temperature metal-line cooling is included to account for faster cooling in metal-enriched halo gas.
Star formation is restricted to gas at (force-resolved) densities significantly larger than the mean (ideally, to self-gravitating gas with a sink-particle type approach), so that it will occur in said fragments and therefore naturally be clustered, as observed.
Stellar mass-loss is included, to provide a continuous additional fuel supply to the galaxy.
Radiative feedback is included, particularly heating from the meta-galactic UV background, as well as photoionization heating and single-scattering photon momentum (radiation pressure) from stars in the simulation.
SNe (Ia and II) are included, with a coupling algorithm that carefully ensures manifest conservation of energy, mass, and momentum. More importantly, a careful accounting of both the energy and momentum budget of the coupled terms that properly treats whether the coupled radii are inside or outside the cooling radius, is necessary to obtain converged solutions (see Paper II).
All feedback quantities follow standard stellar evolution models for a standard IMF.
10.6 Future work
In companion papers, we will study in more detail how mechanical feedback (SNe and stellar mass-loss; Paper II) and radiative feedback (photoheating and photon momentum; Paper III) influence our predictions – both the details of their physics and numerical implementations. Because we argue that feedback is more important than many numerical details, it is extremely important to treat it as accurately as possible.
As discussed above, more work is clearly warranted to investigate how additional fluid microphysics (e.g. magnetic fields) alters fluid mixing and subsequent cooling from the CGM. A major motivation of our switch to the new hydrodynamics solver in FIRE-2 is that it allows us to incorporate such physics in future work. A preliminary investigation of some of these physics is presented in Su et al. (2017a). However this was primarily focused on the ISM inside galaxies; detailed, higher resolution CGM studies are clearly necessary.
In this paper, westudy only systems with halo masses |${\lesssim } 2\times 10^{12}\, {\rm M}_{\odot }$|. This is because it is widely believed that feedback from supermassive black holes (not included in our simulations here) is critical to explain the properties (especially the quenching of star formation, and further quiescence) of more massive ‘red and dead’ systems (see Croton et al. 2006; Hopkins et al. 2006). Our preliminary studies from FIRE-1 support the idea that stellar feedback alone cannot explain all the observed properties of the most massive galaxies (Hopkins et al. 2014; Feldmann et al. 2017). In future work, we study the effects of black hole feedback on galaxy properties (for preliminary results see Anglés-Alcázar et al. 2017b).
Finally, we focus here almost exclusively on numerical studies. A series of papers will present the scientific predictions of these simulations for current and future observations.
ACKNOWLEDGEMENTS
We thank our editor and referee, Matthieu Schaller, for a number of helpful suggestions. Support for PFH and co-authors was provided by an Alfred P. Sloan Research Fellowship, NASA ATP Grant NNX14AH35G, and NSF Collaborative Research Grant #1715847 and CAREER grant #1455342. AW was supported by a Caltech-Carnegie Fellowship, in part through the Moore Center for Theoretical Cosmology and Physics at Caltech. CAFG was supported by NSF through grants AST-1412836 and AST-1517491, and by NASA through grant NNX15AB22G. The Flatiron Institute is supported by the Simons Foundation. MBK and AF were partially supported by the NSF through grant AST-1517226. MBK also acknowledges support from NASA through HST theory grants (programmes AR-12836, AR-13888, AR-13896, and AR-14282) awarded by STScI. DK was supported by NSF Grant AST1412153 and a Cottrell Scholar Award from the Research Corporation for Science Advancement. RF was supported by the Swiss National Science Foundation (grant no. 157591). Numerical calculations were run on the Caltech compute cluster ‘Wheeler’, allocations TG-AST130039 and TG-AST150080 granted by the Extreme Science and Engineering Discovery Environment (XSEDE) and PRAC NSF.1713353 supported by the NSF, and the NASA HEC Program through the NAS Division at Ames Research Center and the NCCS at Goddard Space Flight Center.
Footnotes
REFERENCES
APPENDIX A: APPROXIMATE STELLAR EVOLUTION TABULATIONS
Here we present simple fits to the stellar evolution models and yields used in the FIRE simulations. We note that in several cases the simulations in this paper utilize a more detailed look-up table; however for all practical purposes the fits here are sufficiently accurate that the differences are negligible. Stellar evolution results are obtained from STARBURST99 (Leitherer et al. 1999) assuming a Kroupa (2001) IMF. SNe Ia rates follow Mannucci, Della Valle & Panagia (2006) including both prompt and delayed populations. Yields for core-collapse SNe are IMF-averaged for the same IMF, from the tables (including hypernovae) in Nomoto et al. (2006). Yields for SNe Ia follow Iwamoto et al. (1999). Yields for OB/AGB winds are taken from the synthesis of the models from van den Hoek & Groenewegen (1997), Marigo (2001), and Izzard et al. (2004) as synthesized in Wiersma et al. (2009b), appropriately re-averaged over the IMF.
SNe Ia: These occur with rate-per-unit-stellar mass RIa = dNIa/dt = 0 for tMyr < 37.53 (where tMyr is the age of the star particle in Myr), then |$R_{\rm Ia}/({\rm SNe\, Myr^{-1}\, {\rm M}_{\odot }^{-1}}) = 5.3\times 10^{-8} + 1.6\times 10^{-5}\, \exp {\lbrace -[(t_{\rm Myr}-50)/10]^{2}/2\rbrace }$| for tMyr ≥ 37.53. Since the rate is per-stellar-mass, the expectation value of the number of SNe for a star particle of mass mb and time-step Δtb is |$=R_{\rm Ia}(t_{\rm Myr}^{b})\, m_{b}\, \Delta t_{b}$|, and the trial for ‘success’ (an explosion) is drawn from a binomial distribution. Each SN Ia has ejecta mass |$M_{\rm ej} = 1.4\, {\rm M}_{\odot }$| and energy |$E_{\rm ej}=(1/2)\, M_{\rm ej}\, v_{\rm ej}^{2} = 10^{51}\, {\rm erg}$|. The ejecta yield mass for the tracked species is: (Z, He, C, N, O, Ne, Mg, Si, S, Ca, Fe) = (1.4, 0, 0.049, 1.2 × 10−6, 0.143, 0.0045, 0.0086, 0.156, 0.087, 0.012, |$0.743)\, {\rm M}_{\odot }$|.
SNe II: The core-collapse SNe rate can be surprisingly well fitted by a simple piecewise-constant function, RII = 0 for tMyr < 3.401 or tMyr > 37.53; |$R_{\rm II}/({\rm SNe\, Myr^{-1}\, {\rm M}_{\odot }^{-1}})=5.408\times 10^{-4}$| for 3.4 < tMyr < 10.37; and |$R_{\rm II}/({\rm SNe\, Myr^{-1}\, {\rm M}_{\odot }^{-1}})=2.516\times 10^{-4}$| for 10.37 < tMyr < 37.53. The IMF-averaged ejecta mass per explosion is |$M_{\rm ej}=10.5\, {\rm M}_{\odot }$|, with ejecta energy |$E_{\rm ej}=(1/2)\, M_{\rm ej}\, v_{\rm ej}^{2} = 10^{51}\, {\rm erg}$|. These are normalized so that the ejecta mass and energy exactly match the integrated totals from STARBURST99; the time-averaged energy injection rate (|$\langle R_{\rm II}\, E_{\rm ej} \rangle$|) is within ∼10 per cent of the tabulated STARBURST99 rate at all times. The IMF-averaged yields are (He, C, N, O, Ne, Mg, Si, S, Ca, Fe) = (3.87, 0.133, |$0.0479\, \tilde{N},$| 1.17, 0.30, 0.0987, 0.0933, 0.0397, 0.00458, |$0.0741)\, {\rm M}_{\odot }$|, where |$\tilde{N} = {\rm MAX}(Z/{\rm Z}_{\odot },\, 1.65)$| accounts for the strongly progenitor-metallicity dependent n yields. The total metal yield Z is given by summing the explicitly followed species, with an additional ∼2 per cent added to account for un-tracked species (|$Z=1.02\, \sum \, Z_{i,\, {\rm followed}}$|); the remaining ejecta is H.31
OB/AGB mass-loss: We include all non-SNe mass-loss channels here, but this is dominated by OB/AGB-star winds. The IMF-integrated mass-loss rate for a stellar population/particle of mass M* is |$\dot{M}_{\rm w} = M_{\ast }\, f_{\rm w}\, {\rm Gyr^{-1}}$| with |$f_{\rm w}=4.763\, (0.01 + Z/{\rm Z}_{\odot })$| for tMyr < 1; |$f_{\rm w}=4.763\, (0.01 + Z/{\rm Z}_{\odot })\, t_{\rm Myr}^{1.45+0.8\, \ln (Z/{\rm Z}_{\odot })}$| for 1 < tMyr < 3.5; |$f_{\rm w}=29.4\, (t_{\rm Myr}/3.5)^{-3.25} + 0.0042$| for 3.5 < tMyr < 100; and |$f_{\rm w} = 0.42\, (t_{\rm Myr}/1000)^{-1.1} / (19.81 - \ln {(t_{\rm Myr})})$| for tMyr > 100. The total (IMF-averaged) kinetic luminosity of the mass-loss is given by |$L_{\rm kinetic} = (1/2)\, \dot{M}_{\rm w}\, \langle v_{\rm w}^{2} \rangle = \psi \times 10^{12}\, {\rm erg\, g^{-1}}\, \dot{M}_{\rm w}$|, with ψ = (5.94 × 104)/(1 + (tMyr/2.5)1.4 + (tMyr/10)5.0) + 4.83 for tMyr < 100 and ψ = 4.83 for tMyr > 100. The yields are given by the maximum of either the progenitor stellar surface abundances or, for the light species (He, C, N, O), mass fractions |$=({0.36,\, 0.016,\, 0.0041\, \tilde{N},\, 0.0118})$|.
Radiation: We define the light-to-mass ratio in a given band Ψband, with units L⊙/M⊙. Then the bolometric Ψbol = 1136.59 for tMyr < 3.5, and |$\Psi _{\rm bol}=1500\, \exp {[-4.145\, x + 0.691\, x^{2} - 0.0576\, x^{3}]}$| with x ≡ log10(tMyr/3.5) for tMyr > 3.5. For the bands used in our radiation hydrodynamics, we have the following intrinsic (before attenuation) bolometric corrections. In the mid/far IR, ΨIR = 0. In optical/NIR, |$\Psi _{\rm opt}=f_{\rm opt}\, \Psi _{\rm bol}$| with fopt = 0.09 for tMyr < 2.5; |$f_{\rm Opt}=0.09\, (1 + [(t_{\rm Myr}-2.5)/4]^{2})$| for 2.5 < tMyr < 6; fOpt = 1 − 0.841/(1 + [(tMyr − 6)/300]) for tMyr > 6. For the photoelectric FUV band |$\Psi _{\rm FUV} = 271\, [1+(t_{\rm Myr}/3.4)^{2}]$| for tMyr < 3.4; |$\Psi _{\rm FUV}=572\, (t_{\rm Myr}/3.4)^{-1.5}$| for tMyr > 3.4. For the ionizing band Ψion = 500 for tMyr < 3.5; |$\Psi _{\rm ion}=60\, (t_{\rm Myr}/3.5)^{-3.6} + 470\, (t_{\rm Myr}/3.5)^{0.045 - 1.82\, \ln {t_{\rm Myr}}}$| for 3.5 < tMyr < 25; Ψion = 0 for tMyr > 25. The remaining UV luminosity, Ψbol − (ΨIR + Ψopt + ΨFUV + Ψion) is assigned to the NUV band ΨNUV. The flux-mean dust opacities adopted are (κFUV, κNUV, κopt, κIR) |$=(2000,\, 1800,\, 180,\, 10)\, (Z/{\rm Z}_{\odot })\, {\rm cm^{2}\, g^{-1}}$|. The photoionization rate (and corresponding κion) is calculated from the neutral hydrogen density as described in Appendices E and B below.
APPENDIX B: APPROXIMATE COOLING FUNCTIONS
Here we provide simple fitting-function approximations to the complete set of cooling functions used in our FIRE simulations. Note that for several of these, we use somewhat more accurate look-up tables in the simulations (as a function of temperature, density, and metallicity), but we provide functions accurate to ∼10 per cent over the relevant dynamic range in the simulations (|${\sim } 10\!-\!10^{9}\,$| K), so that interested readers can reproduce our full cooling physics treatment.
- Collisional excitation: from Katz et al. (1996) (incorporating earlier fits from Cen 1992):\begin{equation*} \Lambda _{\rm CE} = \left(\beta _{\rm H0}\, \tilde{n}_{\rm H0} + \beta _{\rm He\, {\small {I}}}\, \tilde{n}_{\rm He\, {\small {I}}} \right)\, \tilde{n}_{\text{e}} \end{equation*}(B2)\begin{equation*} \beta _{\rm H0} = 7.50\times 10^{-19}\, \tau _{5}\, \exp {\left(- \frac{11\, 8348}{T}\right)} \end{equation*}(B3)\begin{equation*} \beta _{\rm He\, {\small {I}}} = 5.54\times 10^{-17}\, \tau _{5}\, T^{-0.397}\, \exp {\left(- \frac{473\, 638}{T}\right)} \end{equation*}(B4)\begin{equation*} \tau _{5} \equiv \left[ 1 + \left(\frac{T}{10^5} \right)^{1/2} \right]^{-1}. \end{equation*}(B5)
- Collisional ionization: also from Katz et al. (1996):\begin{eqnarray*} \Lambda _{\rm CI} &=& 10^{-11}\, \tilde{n}_{\text{e}} \nonumber \\ &&\times \left(2.18\, \gamma _{\rm H0}\, \tilde{n}_{\rm H0} + 3.94\, \gamma _{\rm He0}\, \tilde{n}_{\rm He0} + 8.72\, \gamma _{\rm He\, {\small {I}}}\, \tilde{n}_{\rm He\, {\small {I}}} \right) \end{eqnarray*}(B6)\begin{equation*} \gamma _{\rm H0} = 5.85\times 10^{-11}\, T^{1/2}\, \tau _{5}\, \exp {\left(-\frac{157\, 809.1}{T}\right)} \end{equation*}(B7)\begin{equation*} \gamma _{\rm He0} = 2.38\times 10^{-11}\, T^{1/2}\, \tau _{5}\, \exp {\left(-\frac{285\, 335.4}{T}\right)} \end{equation*}(B8)\begin{equation*} \gamma _{\rm He\, {\small {I}}} = 5.68\times 10^{-12}\, T^{1/2}\, \tau _{5}\, \exp {\left(-\frac{631\, 515.0}{T}\right).} \end{equation*}(B9)
- Recombination: from Verner & Ferland (1996):\begin{eqnarray*} \Lambda _{\rm Rec} &=& 1.036\times 10^{-16}\, T\, \tilde{n}_{\text{e}}\, \nonumber \\ &&\times \left(\alpha _{\rm H\, {\small {I}}}\, \tilde{n}_{\rm H\, {\small {I}}}+\left[ \alpha _{\rm He\, {\small {I}}}+\frac{629922.78}{T}\, \alpha _{\rm di} \right]\, \tilde{n}_{\rm He\, {\small {I}}}+\alpha _{\rm He\, {\small {II}}}\, \tilde{n}_{\rm He\, {\small {II}}}\right) \nonumber \\ \end{eqnarray*}(B10)\begin{eqnarray*} \alpha _{\rm H\, {\small {I}}} &=& 7.982\times 10^{-11}\, \left(\frac{1.774}{T^{0.5}}\right) \nonumber \\ && \times \left(1 + \frac{T^{0.5}}{1.774} \right)^{-0.252}\left(1 + \frac{T^{0.5}}{838.81} \right)^{-1.748} \end{eqnarray*}(B11)\begin{eqnarray*} \alpha _{\rm He\, {\small {I}}} &=& 9.356\times 10^{-10}\, \left(\frac{0.2065}{T^{0.5}}\right) \nonumber \\ &&\times \left(1 + \frac{T^{0.5}}{0.2065} \right)^{-0.2108}\left(1 + \frac{T^{0.5}}{6063.0} \right)^{-1.7892} \end{eqnarray*}(B12)\begin{eqnarray*} \alpha _{\rm He\, {\small {II}}} &=& 1.5964\times 10^{-10}\, \left(\frac{2.5092}{T^{0.5}}\right) \nonumber \\ &&\times j \left(1 + \frac{T^{0.5}}{2.5092} \right)^{-0.252}\left(1 + \frac{T^{0.5}}{1677.6} \right)^{-1.748} \end{eqnarray*}(B13)Note the αdi term here comes from dielectric recombination.\begin{eqnarray*} \alpha _{\rm di} &=& 1.9\times 10^{-3}\, T^{1.5}\, \exp {\left(-\frac{470\, 000}{T} \right)} \nonumber \\ && \times \left(1 + 0.3\, \exp {\left[-\frac{94\, 000}{T}\right]}\right). \end{eqnarray*}(B14)
- Free–free emission: from Rybicki & Lightman (1986):\begin{equation*} \Lambda _{\rm FF} = \beta _{\rm ff}(T) \, \left(\tilde{n}_{\rm H\, {\small {I}}} + \tilde{n}_{\rm He\, {\small {I}}} + 4\, \tilde{n}_{\rm He\, {\small {II}}} \right)\, \tilde{n}_{\text{e}} \end{equation*}(B15)\begin{eqnarray*} \beta _{\rm ff}(T) &=& 1.43\times 10^{-27}\, T^{1/2}\, \nonumber \\ &&\times \left[1.1+0.34\, \exp {\left\lbrace -(5.5 - \log _{10}[T])^{2}/3\right\rbrace }\right]. \end{eqnarray*}(B16)
- High-temperature metal-line cooling: this refers to metal-line cooling processes in mostly ionized gas, with temperatures |${\gtrsim } 10^{4}\,$| K. We use the public look-up tables from Wiersma et al. (2009a), for which:where this refers to the sum over all tracked metal species i (here C, N, O, Ne, Mg, Si, S, Ca, Fe), and |$Z^{i}/{\rm Z}_{\odot }^{i}$| is the abundance of species i relative to solar. We adopt solar abundances (Z, He, C, N, O, Ne, Mg, Si, S, Ca, Fe) = (0.02, 0.28, 3.26 × 10−3, 1.32 × 10−3, 8.65 × 10−3, 2.22 × 10−3, 9.31 × 10−4, 1.08 × 10−3, 6.44 × 10−4, 1.01 × 10−4, 1.73 × 10−3), which give abundance ratios matching Asplund et al. (2009) scaled to the total metallicity =0.02 (used because it matches the assumed values in the cooling computations and stellar evolution models). The functions ξi depend on density, temperature, and redshift |$z$| (because they assumes photoionization by a redshift-dependent UV background); they are taken from the look-up tables provided by Wiersma et al. (2009a), at abundances Z = Z⊙ (defined above).32\begin{equation*} \Lambda _{\rm Metal} = \sum _{{\rm species}\ i}\, \Lambda _{\rm Metal}^{i} = \sum _{i}\, \tilde{n}_{e}\, \xi _{i}(n_{\rm H},\, T,\, z)\, \frac{Z^{i}}{{\rm Z}_{\odot }^{i}}, \end{equation*}(B17)
- Low-temperature metal line, fine-structure, and molecular cooling: this combines the gas-phase low-temperature cooling (including molecular and atomic processes) in mostly neutral gas below |${\lesssim } 10^{4}\,$| K. From our compilation of cloudy runs (Ferland et al. 1998), fitting the resulting look-up tables, we obtain approximately:where fselfshield accounts for the local radiation environment by applying a simple (fitted) local shielding correction for UV/ionizing photons, |$f_{\rm selfshield}\equiv \exp {(-\tilde{\tau }_{a}^{\rm ion})}$| with |$\tilde{\tau }_{a}^{\rm ion} \equiv \sigma ^{H}_{\nu _{0}}\, n_{{\rm H},\, a}\, \ell _{a}^{\rm fit}$| where |$\sigma ^{H}_{\nu _{0}}\equiv 6\times 10^{-18}\, {\rm cm^{-2}}$| and |$\ell _{a}^{\rm fit}\equiv 4.4\, {\rm pc}\, (T/10^{4}\, K)^{-0.173}\, \Gamma _{-12}^{-2/3}$| (Γ−12 is the ionization rate in units of |$10^{-12}\, {\rm s^{-1}}$|, including both the UV background and local sources assuming they have the same spectral shape, as defined below for photoionization heating).\begin{eqnarray*} \Lambda _{\rm Cold} &=& 2.896\times 10^{-26}\, {\Bigl \lbrace } \left(\frac{T}{125.215} \right)^{-4.9202} \nonumber \\ && + \left(\frac{T}{1349.86} \right)^{-1.7288} + \left(\frac{T}{6450.06} \right)^{-0.3075} {\Bigr \rbrace }^{-1} \nonumber \\ &&\times \left(\frac{1 + (Z/{\rm Z}_{\odot })}{1+0.001\, 43\, n_{\rm H}}\right)\, \left(1 - f_{\rm selfshield} \right)\, \nonumber \\ &&\times \left(0.001 + \frac{0.10\, n_{\rm H}}{1+n_{\rm H}} + \frac{0.09\, n_{\rm H}}{1+0.1\, n_{\rm H}} + \frac{(Z/{\rm Z}_{\odot })^{2}}{1+n_{\rm H}} \right) \nonumber \\ &&\times \exp {\left(-\left[ \frac{T}{158\, 000} \right]^{2} \right)}, \end{eqnarray*}(B18)
- Dust collisional heating/cooling: from Meijerink & Spaans (2005):where we take |$T_{\rm dust}=30\,$| K here, and the Z/Z⊙ term comes from assuming a constant dust-to-metals ratio.\begin{eqnarray*} \Lambda _{\rm Dust} &=& 1.12\times 10^{-32}\, \left(T-T_{\rm dust}\right)\, T^{1/2}\, \nonumber \\ &&\times \left(1 - 0.8\, \exp {\left[-\frac{75}{T}\right]} \right)\, \left(\frac{Z}{{\rm Z}_{\odot }}\right), \end{eqnarray*}(B19)
- Compton heating/cooling: from the CMB gives (Rybicki & Lightman 1986):\begin{equation*} \Lambda _{\rm Compton} = 5.65\times 10^{-36}\, \tilde{n}_{e}\, (T - T_{\rm CMB}[z])\, (1+z)^{4}\, n_{\rm H}^{-1}. \end{equation*}(B20)
- Photoionization heating: from the UVB and local (in-simulation stellar sources) gives a heating rate, hence negative Λ, of\begin{equation*} \Lambda _{\rm ion} = -\tilde{f}\left(\epsilon _{\rm H0}\, \tilde{n}_{\rm H0} + \epsilon _{\rm He0}\, \tilde{n}_{\rm He0} + \epsilon _{\rm He\, {\small {I}}}\, \tilde{n}_{\rm He\, {\small {I}}} \right)\, n_{\rm H}^{-1} \end{equation*}(B21)\begin{equation*} \tilde{f} \equiv \left(1 + \frac{e_{\nu ,\, {\rm ion}}^{\rm local}}{e_{\nu ,\, {\rm ion}}^{\rm UVB}} \right)\, f_{\rm selfshield} \end{equation*}(B22)\begin{eqnarray*} \log _{10}(\epsilon _{\rm H0}) &\approx& -24.6 + 1.62\, x + 14.9\, x^{2} - 45.5\, x^{3} \nonumber \\ && + 46.2\, x^{4}\, -16.7\, x^{5} - \exp {[50\, (x-1.05)]} \end{eqnarray*}(B23)where εH0, εHe0, and |$\epsilon _{\rm He\, {\small {I}}}$| are pre-tabulated for the assumed UV background magnitude and shape, as a function of redshift in Faucher-Giguère et al. (2009)33 – values above are simple polynomial fits good to ∼10 per cent up to |$z$| ∼ 10. The factor |$\tilde{f}$| accounts for both self-shielding (reducing the effective incident flux by fselfshield) and the contribution from local sources, where |$e_{\nu ,\, {\rm ion}}^{\rm local}$| is the ionizing band radiation energy density calculated explicitly from the radiation-hydrodynamic treatment in the code (Appendix E), and |$e_{\nu ,\, {\rm ion}}^{\rm UVB}$| is the meta-galactic UV background (UVB) energy density integrated in the same band for the same wavelength range (H-ionizing frequencies). Note this means we assume the spectral slope of escaping, ionizing radiation from resolved stars in the simulation is the same as the UVB.\begin{eqnarray*} \log _{10}(\epsilon _{\rm He0}) &\approx& \log _{10}(\epsilon _{\rm H0}) - 0.0366 + 0.376\, x \nonumber \\ \log _{10}(\epsilon _{\rm He\, {\small {I}}}) &\approx& -26.3 + 0.816\, x + 78.2\, x^{2} - 837\, x^{3} + 4770\, x^{4} \nonumber \\ &&- 15600\, x^{5} + 29600\, x^{6} - 32400\, x^{7} \nonumber \\ &&+ 18900\, x^{8}-4550\, x^{9}\nonumber \\ x &\equiv& \log _{10}(1 + z), \end{eqnarray*}(B24)
- Cosmic ray heating: from Guo & Oh (2008):where weassume an approximately uniform MW-like cosmic ray background, |$e_{\rm CR}\approx 9.0\times 10^{-12}\, f_{\rm CR}$|. Here fCR = nH/(0.01 + nH), when nH exceeds 1000× the mean baryonic density of the Universe, and fCR = 0 otherwise, to avoid an artificially high CR heating rate in extremely low-density regions (e.g. outside galaxies) or at very high redshifts (before star formation).\begin{equation*} \Lambda _{\rm CR} = -1.0\times 10^{-16}\, (0.98 + 1.65\, \tilde{n}_{\text{e}}\, X_{\text{H}})\, e_{\rm CR}\, n_{\rm H}^{-1}, \end{equation*}(B25)
- Photoelectric heating: from Wolfire et al. (2003):\begin{eqnarray*} \Lambda _{\rm PE} &=& -1.3\times 10^{-24}\, \tilde{e}_{\nu }^{\rm pe}\, n_{\rm H}^{-1}\, \left(\frac{Z}{{\rm Z}_{\odot }} \right) \nonumber \\ &&\times \left(\frac{0.049}{1 + (x_{\rm pe}/1925)^{0.73}} + \frac{0.037\, (T/10^{4})^{0.7}}{1 + (x_{\rm pe}/5000)} \right) \end{eqnarray*}(B26)where |$\tilde{e}_{\nu }^{\rm pe}$| is the photon energy density in the photoelectric band, normalized to the Habing (1968) MW units, |$\tilde{e}_{\nu }^{\rm pe} \equiv e_{\nu }^{\rm pe} / (3.9\times 10^{-14}\, {\rm erg\, cm^{-3}})$|. The Z/Z⊙ term comes from assuming a constant dust-to-metals ratio. Here the field |$e_{\nu }^{\rm pe}$| is the FUV band radiation energy density calculated explicitly from the radiation-hydrodynamic treatment in the code, described in Appendix E.\begin{equation*} x_{\rm pe} \equiv \frac{\tilde{e}_{\nu }^{\rm pe}\, T^{0.5}}{0.5\, \tilde{n}_{\text{e}}\, n_{\rm H}}, \end{equation*}(B27)
- Magnetohydrodynamic work and shocks: from the MHD equations, we obtain some fluid-dynamic change to the temperature (owing to compression/expansion, shocks, etc.). We include this self-consistently in the fully implicit temperature update:where uthermal is the specific internal energy (internal energy per unit mass).\begin{equation*} \Lambda _{\rm MHD} = -\mu \, \frac{\partial u_{\rm thermal}}{\partial t}{\Bigr |}_{\rm MHD}\, n_{\rm H}^{-1}, \end{equation*}(B28)
- Optically thick cooling: lacking a full radiative transfer solution for cooling radiation, we approximate the effects of optically thick cooling using the method from Rafikov (2007), which captures the most important effects by approximating each element as a ‘slab’ with column density estimated via the Sobolev approximation and integrating a vertical atmosphere through to its photosphere to determine the net photon escape. This amounts to first summing the contributions above to determine the net heating/cooling rate ΛNet, and then restricting this to the cooling rate of said slab:\begin{equation*} |\Lambda _{\rm Net}| \lt \Lambda _{\rm BB} \end{equation*}(B29)where |$\Sigma _{\rm eff} = \langle \Sigma _{\rm column}^{a,\, {\rm Sobolev}} \rangle _{\phi ,\, \theta } = \rho _{a}\, (h_{a} + \rho _{a}/|\nabla \rho _{a} |)$| uses the local Sobolev approximation to estimate the column density to infinity and is defined in Appendix E, and κeff is the effective opacity.34\begin{equation*} \Lambda _{\rm BB} \equiv 5.67\times 10^{-5}\, T^{4}\, \left(\frac{\mu }{\Sigma _{\rm eff}} \right)\frac{1}{1 + \kappa _{\rm eff}\, \Sigma _{\rm eff}}\, n_{\rm H}^{-1}, \end{equation*}(B30)
As noted in the text, the actual heating/cooling step is solved fully implicitly for each gas element on its own time-step.
APPENDIX C: ALGORITHMIC IMPLEMENTATION OF STAR FORMATION
- Self-gravitating: First, following standard sink-particle approaches, we calculate the virial parameter α (ratio of thermal plus kinetic energy topotential energy) in a resolution element and allow only star formation in bound particles with α < 1. From Hopkins et al. (2013d),where |$\Vert \nabla \otimes {\boldsymbol v} \Vert _{a}$| the Frobenius norm (|$\Vert {\boldsymbol A} \Vert ^{2} \equiv \sum _{\alpha \beta \gamma ...}\, A^{2}_{\alpha \beta \gamma ...}$|) of the velocity gradient tensor (⊗ is the outer product), |$c_{s,\, a}$| is the sound speed, ρa the density, and ha the usual resolution scale (interparticle spacing). This has the advantage that it converges to an explicitly resolution-independent expression in the supersonic turbulence limit (see Hopkins et al. 2013d). Note that in gizmo, we always use the higher order accurate, matrix-based gradient estimators described in Hopkins (2015), which remain second-order accurate, consistent, and robust despite arbitrary particle configurations within the stencil (see also Maron & Howes 2003; Lanson & Vila 2008; Luo, Baum & Löhner 2008; Mocz et al. 2014; Pakmor et al. 2016). Using the zeroth-order inaccurate SPH gradient estimator, in contrast, gives similar results statistically, but makes identification of individual physically collapsing clouds much more noisy.\begin{equation*} \alpha \equiv \frac{\Vert \nabla \otimes {\boldsymbol v}\Vert _{a}^{2} + (c_{s,\, a}/h_{a})^{2}}{8\pi \, G\, \rho _{a}}, \end{equation*}(C1)
- Self-shielding: If α < 1, we next calculate the shielded/molecular fraction |$f_{\rm shielded}^{({\rm sf})}$|, which is the fraction of the mass that should be able to self-shield and so cool efficiently (hence fragment to stellar mass scales). The expression for the shielded fraction from Krumholz & Gnedin (2011) is\begin{equation*} f_{\rm shielded}^{({\rm sf})} \equiv 1 - \frac{3}{1+4\, \tilde{\psi }_{a}} \end{equation*}(C2)\begin{equation*} \tilde{\psi }_{a} \equiv \frac{0.6\, \tilde{\tau }_{a}\, (0.01 + Z_{a}/{\rm Z}_{\odot })}{\ln {(1+0.6\, \tilde{\phi }_{a}+0.01\, \tilde{\phi }_{a}^{2})}} \end{equation*}(C3)\begin{equation*} \tilde{\phi }_{a} \equiv 0.756\, (1+3.1\, Z_{a}/{\rm Z}_{\odot })^{0.365} \end{equation*}(C4)We require |$f_{\rm shielded}^{({\rm sf})}\gt 0$| for star formation.\begin{equation*} \tilde{\tau }_{a} \equiv 434.8\, {\rm cm^{2}\, g^{-1}}\, \rho _{a}\, \left(h_{a} + \frac{\rho _{a}}{|\nabla \rho |_{a}} \right). \end{equation*}(C5)
- Jeans-unstable: If α < 1 and |$f_{\rm shielded}^{({\rm sf})}\gt 0$|, we calculate the Jeans mass mJ, and only allow star formation in Jeans-unstable particles, specifically those where |$m_{\text{J}} \lt m_{J,\, {\rm crit}} \equiv {\rm MAX}(m_{a},\, 10^{3}\, {\rm M}_{\odot })$|, where ma is the particle mass. We calculate the Jeans mass aswhere na ≡ ρa/μa is the gas number density.\begin{equation*} m_{\text{J}} = 2\, {\rm M}_{\odot }\, \left(\frac{c_{s,\, a}}{0.2\, {\rm km\, s^{-1}}}\right)^{3}\, \left(\frac{n_{a}}{10^{3}\, {\rm cm^{-3}}} \right)^{-1/2}, \end{equation*}(C6)
Sufficiently dense: If |$\alpha \lt 1,\, f_{\rm shielded}^{({\rm sf})}\gt 0$|, and |$m_{\text{J}}\lt m_{\text{J},\, {\rm crit}}$|, we check if na > ncrit, where |$n_{\rm crit}=1000\, {\rm cm^{-3}}$| is a minimum density (and |$n_{a} \equiv n_{a,\, \text{H}} = X_{\text{H}}\, \rho _{a}/m_{p}$|), to prevent spurious triggering of the above criteria in low-density gas.
Becausewe wish to maintain equal stellar and gas element masses, at each time-step Δta we assign the gas particle a probability |$p_{a} = 1-\exp {(-\dot{m}_{\ast }^{a}\, \Delta t_{a}/m^{a}_{\rm gas})}$| of turning into a star particle that time-step; we draw a uniform random variable 0 < x < 1 and if x < pa, we convert the gas particle to a star particle. It inherits all relevant properties of its parent particle.
APPENDIX D: ALGORITHMIC IMPLEMENTATION OF MECHANICAL FEEDBACK
Here we describe our implementation of mechanical feedback, used for SNe (Types Ia and II) and stellar mass-loss. This algorithm was first developed and presented in a series of papers, beginning with Hopkins et al. (2012c), and the version used in FIRE-1 (which contains most of the important features here up to some specific numerical improvements for FIRE-2) was presented in detail in Hopkins et al. (2014). Similar aspects of that algorithm – in particular the treatment of SNe momentum accounting for the terminal momentum – have been recently developed for other codes by Kimm & Cen (2014), Martizzi et al. (2015), and Rosdahl et al. (2017).
In Paper II, we discuss each piece of this algorithm in detail, and consider a large suite of idealized test problems and cosmological simulations, to test and validate each and show how it influences our predictions. However for the sake of completeness, we include the full algorithm here.
Every time-step Δta, for each star particle a (at position |${\boldsymbol x}_{a}$|), we first determine whether an ‘event’ occurs: a SN Ia, SN II, and/or non-zero stellar mass-loss. This follows the rates and algorithms in Appendix A. If an event occurs, it has some initial ejecta (or wind) mass mej, metal mass |$m_{Z,\, {\rm ej}}$| (defined for each species we track), momentum |$p_{\rm ej}=m_{\rm ej}\, v_{\rm ej}$|, and energy Eej. These also are given in Appendix A (for winds, |$m_{\rm ej} = \Delta t\, \dot{M}_{w}$| from the star, for SNe it is the ejecta mass).
Identify gas elements surrounding the star particle: in a grid code this is straightforward, but in our mesh-free method, we define an effective neighbour number |$N_{\rm ngb} = (4\pi /3)\, H_{a}^{3}\, \bar{n}_{a}(H_{a})$| in the same manner as for hydrodynamics, where W is the kernel function, |$\bar{n}_{a}=\sum W({\boldsymbol x}_{ba}\equiv {\boldsymbol x}_{b}-{\boldsymbol x}_{a},\, H_{a})$|, and Ha is the search radius. The equation for Nngb(Ha) is non-linear so is solved iteratively in the neighbour search; see Springel (2005). Thus we obtain all gas elements b within a radius |$|{\boldsymbol x}_{ba}| \lt H_{a}$| (where ‘a sees b’); we also identify all neighbours with |$|{\boldsymbol x}_{ba}| \lt H_{b}$| (i.e. ‘b sees a’). We show in Paper II that this is important to ensure the ‘effective faces’ close and the resulting distribution of ejecta is isotropic, in regions with highly disordered gas element positions.
- Assign‘vector weights’ to each neighbour, by first boosting to the rest frame of the star (|${\boldsymbol x}_{a}={\bf 0}$|, |${\boldsymbol v}_{a} \equiv \text{d}{\boldsymbol x}_{a}/\text{d}t = {\bf 0}$|; in which the ejecta should be isotropic), then calculating the ‘effective face’ that would be seen by the star particle (using the same definitions of intercell faces used in the hydrodynamics) and integrating the ejecta over solid angle through to each face. This amounts to defining the vector weight function |$\bar{\boldsymbol w}_{ba}$|\begin{equation*} \bar{\boldsymbol w}_{ba} \equiv \frac{{\boldsymbol w}_{ba}}{\sum _{c}\, |{\boldsymbol w}_{ca}|} \end{equation*}(D1)\begin{equation*} {\boldsymbol w}_{ba} \equiv \omega _{ba}\, \sum _{+,\, -}\, \sum _{\alpha }\, (\hat{\boldsymbol x}_{ba}^{\pm })^{\alpha }\, \left(f_{\pm }^{\alpha } \right)_{a} \end{equation*}(D2)\begin{equation*} \left(f_{\pm }^{\alpha } \right)_{a} \equiv \left\lbrace \frac{1}{2}\, \left[1 + \left(\frac{\sum _{c}\, \omega _{ca}\, |\hat{\boldsymbol x}_{ca}^{\mp }|^{\alpha }}{\sum _{c}\, \omega _{ca}\, |\hat{\boldsymbol x}_{ca}^{\pm }|^{\alpha }} \right)^{2}\right]\right\rbrace ^{1/2} \end{equation*}(D3)where |${\boldsymbol A}_{ba}$| is the effective vector face between elements b and a used in the finite-volume hydrodynamic calculations,35 and the |$\hat{\boldsymbol x}_{ca}^{\pm }$| are the positive or negative (singly signed) projection vectors:\begin{equation*} \omega _{ba} = \frac{\Delta \Omega _{ba}}{4\pi } \equiv \frac{1}{2}\, \left(1-\frac{1}{\sqrt{1+({\boldsymbol A}_{ba}\cdot \hat{\boldsymbol x}_{ba})/(\pi \, |{\boldsymbol x}_{ba}|^{2})}}\right), \end{equation*}(D4)\begin{equation*} \hat{\boldsymbol x}_{ba} \equiv \frac{{\boldsymbol x}_{ba}}{|{\boldsymbol x}_{ba}|} = \sum _{+,\, -}\, \hat{\boldsymbol x}_{ba}^{\pm } \end{equation*}(D8)\begin{equation*} (\hat{\boldsymbol x}^{+}_{ba})^{\alpha } \equiv {|{\boldsymbol x}_{ba}|^{-1}}\, {\rm MAX}({\boldsymbol x}_{ba}^{\alpha },\, 0)\, {\Bigr |}_{\alpha =x,\, y,\, z} \end{equation*}(D9)These expressions are complicated but are derived in detail in Paper II. Their important properties are (1) they maintain manifest conservation of mass, momentum, and energy (see below). (2) They give fluxes which are statistically isotropic in the rest frame of the star, i.e. the ejecta are not systematically biased in one direction or another, even if there is a global density gradient such that there are, on average, more gas elements in one direction. We demonstrate this in numerical tests explicitly in Paper II, and show that many simpler prescriptions lead to systematic, unphysical biases in the ejecta deposition, e.g. if there is a thin, dense disc such that more gas neighbours are ‘in the disc’, simple weighting |$\bar{\boldsymbol w}_{ba}$| proportional to, say, the SPH kernel, leads to almost all the ejecta being coupled in the disc, driving an expanding ring, with almost no ejecta going into the vertical direction – when in fact the converged solution to this problem is exactly the opposite (hot gas ‘vents’ in the vertical direction). (3) They approximate, as closely as possible without an expensive numerical quadrature, the exact integral of the ejecta through and into the ‘domains’ of each gas neighbour determined by the hydrodynamic volume partition.\begin{equation*} (\hat{\boldsymbol x}^{-}_{ba})^{\alpha } \equiv {|{\boldsymbol x}_{ba}|^{-1}}\, {\rm MIN}({\boldsymbol x}_{ba}^{\alpha },\, 0)\, {\Bigr |}_{\alpha =x,\, y,\, z}. \end{equation*}(D10)
- Assign initial fluxes in the rest frame of the star:\begin{equation*} \Delta m_{b} = |\bar{\boldsymbol w}_{b}|\, m_{\rm ej} \end{equation*}(D11)\begin{equation*} \Delta m_{Z,\, b} = |\bar{\boldsymbol w}_{b}|\, m_{Z,\, {\rm ej}} \end{equation*}(D12)\begin{equation*} \Delta E_{b} = |\bar{\boldsymbol w}_{b}|\, E_{\rm ej} \end{equation*}(D13)It is easy to see that our definition of |$\bar{\boldsymbol w}_{ba}$| guarantees exact conservation of mass, energy, and linear momentum, and that the correct total radial (outward) momentum is assigned, e.g.:\begin{equation*} \Delta {\boldsymbol p}_{b} = \bar{\boldsymbol w}_{b}\, p_{\rm ej}. \end{equation*}(D14)\begin{equation*} \sum \, \Delta m_{b} = m_{\rm ej} \end{equation*}(D15)\begin{equation*} \sum \, \Delta m_{Z,\, b} = m_{Z,\, {\rm ej}} \end{equation*}(D16)\begin{equation*} \sum \, \Delta E_{b} = E_{\rm ej} \end{equation*}(D17)\begin{equation*} \sum \, |\Delta {\boldsymbol p}_{b}| = p_{\rm ej} \end{equation*}(D18)\begin{equation*} \sum \, \Delta {\boldsymbol p}_{b} = {\bf 0} \end{equation*}(D19)
- Boost back to the simulation (‘lab’) frame: if the star is moving with velocity |${\boldsymbol v}_{a}$|, then this boost transforms the momentum and energy fluxes:\begin{equation*} \Delta {\boldsymbol p}_{b}^{\prime } \equiv \Delta {\boldsymbol p}_{b} + \Delta m_{b}\, {\boldsymbol v}_{a} \end{equation*}(D20)(the mass fluxes are unchanged, |$\Delta m_{b}^{\prime } = \Delta m_{b}$|, |$\Delta m_{Z,\, b}^{\prime }=\Delta m_{Z,\, b}$|). Of course this maintains manifest conservation: the total momentum added to the neighbours via the |$\Delta m_{b}\, {\boldsymbol v}_{a}$| term exactly cancels that lost by the star, since its mass decreases by ∑Δmb = mej.\begin{equation*} \Delta E_{b}^{\prime } \equiv \Delta {E}_{b} + \frac{1}{2\, \Delta m_{b}}\, \left(|\Delta {\boldsymbol p}_{b}^{\prime }|^{2} - |\Delta {\boldsymbol p}_{b}|^{2} \right) \end{equation*}(D21)
- Account for P d V (mechanical) work: consider that we have a particle b representing a volume domain with mass mb around our source, with some mean distance in the volume element |$|{\boldsymbol x}_{ba}|$| (which we call the ‘coupling radius’). The ejecta, in order to reach that point, must sweep up the mass mb (in e.g. a shock or shell) – it cannot simply ‘spread uniformly’ throughout the volume. This means some P d V work must have been done, converting thermal energy into kinetic energy. Thus the correct momentum (|$\Delta {\boldsymbol p}_{b}^{\prime \prime }$|) to couple into the domain b is not the initial ejecta momentum |$\Delta {\boldsymbol p}_{b}^{\prime }$|. Rather, if the shock is energy-conserving (neglecting second-order terms in the ratio of particle velocity to ejecta velocity, discussed in Paper II), it is trivial to show that the correct momentum is |$\Delta {\boldsymbol p}_{b}^{\prime }\, (1 + m_{b}/\Delta m_{b})^{1/2}$|. In the early stages of SNe expansion, the shocks are indeed energy-conserving to high accuracy. Of course, at sufficiently long times (or equivalently large radii and/or large entrained masses), the shock becomes radiative, the residual thermal energy is lost, and the shock asymptotically reaches a final ‘terminal momentum’ pt (and becomes momentum, rather than energy conserving). Therefore we must impose an upper limit |$\Delta {\boldsymbol p}_{b}^{\prime }\, p_{\rm t}/p_{\rm ej}$|. We therefore have:\begin{equation*} \Delta {\boldsymbol p}_{b}^{\prime \prime } \equiv \Delta {\boldsymbol p}_{b}^{\prime }\ {\rm MIN}\left[ \sqrt{1 + \frac{m_{b}}{\Delta m_{b}} }\ , \ \frac{p_{\rm t}}{p_{\rm ej}} \right] \end{equation*}(D22)\begin{equation*} \frac{p_{\rm t}}{{\rm M}_{\odot }\, {\rm km\, s^{-1}}} \!\approx\! 4.8\!\times \! 10^{5} \left(\frac{E_{\rm tot,\, ej}}{10^{51}\, {\rm erg}}\right)^{\frac{13}{14}} \left(\frac{n_{b}}{\rm cm^{-3}}\right)^{-\frac{1}{7}} f(Z_{b})^{\frac{3}{2}} \end{equation*}(D23)The expression for pt comes from high-resolution simulations of individual SNe explosions (see e.g. Cioffi et al. 1988; Draine & Woods 1991; Slavin & Cox 1992; Thornton et al. 1998; Iffrig & Hennebelle 2015; Kim & Ostriker 2015; Li et al. 2015; Martizzi et al. 2015; Walch & Naab 2015; Haid et al. 2016; Hu et al. 2016), in media with different densities and metallicities. We discuss this at length in Paper II, and show that (1) it is the correct expression for a single SN explosion in a homogeneous background, given the same cooling functions and all other physics implemented in FIRE, (2) it appears to be remarkably robust, across many numerical studies, and (3) our conclusions are robust to variations in the exact value of pt much larger than its actual physical uncertainty. It is easy to verify, given the form of equation (D22), that at sufficiently high resolution (|$m_{b} \ll 1000\, {\rm M}_{\odot }$|), the pt term simply never enters our equations – in other words, the SNe cooling radii are always resolved. This motivates our SNe explosion resolution criteria in the text. However the design of the expressions here is such that our coupling scheme automatically correctly treats each of e.g. the ejecta free-streaming, Sedov–Taylor, and snowplow phases. Note that since ΔE represents the total energy, this is not directly modified by changing |$\Delta {\boldsymbol p}$| (the correct thermal-kinetic breakdown is automatic).\begin{eqnarray*} f(Z) = \left\lbrace \begin{array}{ll} 2 \, & { (Z/{\rm Z}_{\odot }\lt 0.01)} \\ { (Z/{\rm Z}_{\odot })^{-0.14}} & { (0.01 \le Z/{\rm Z}_{\odot })} \end{array}\right. \end{eqnarray*}(D24)
Also note that equation (D22) is an approximation if the gas surrounding the star particle is moving at a non-uniform velocity (with non-negligible velocities relative to the ejecta); in this limit the exact expression is given in Paper II (Appendix E).
- Add final fluxes to the neighbouring gas elements, in a fully conservative manner:\begin{equation*} m_{b}^{\rm new} = m_{b} + \Delta m_{b}^{\prime } \end{equation*}(D25)\begin{equation*} (Z\, m_{b})^{\rm new} = Z^{\rm new}\, m_{b}^{\rm new} = (Z\, m_{b}) + \Delta m_{Z,\, b}^{\prime } \end{equation*}(D26)\begin{equation*} {\boldsymbol p}_{b}^{\rm new} = m_{b}^{\rm new}\, {\boldsymbol v}_{b}^{\rm new} = {\boldsymbol p}_{b} + \Delta {\boldsymbol p}_{b}^{\prime \prime } \end{equation*}(D27)So (like our hydrodynamic update), we add conserved quantities (m, |${\boldsymbol p}$|, E) and from those update primitive quantities (Z, |${\boldsymbol v}$|, internal energy U, etc.). We check that any residual momentum or mass (from e.g. round-off error) is re-assigned to the star so conservation is always machine-accurate.\begin{equation*} E_{b}^{\rm new} = E_{\rm kinetic}^{\rm new} + U_{\rm internal}^{\rm new} = E_{b} + \Delta E_{b}^{\prime }. \end{equation*}(D28)
To be fully consistent with the radiative losses described above (when the cooling radius is un-resolved), we must also modify |$U_{\rm internal}^{\rm new}$|. Following Thornton et al. (1998), the thermal post-shock energy outside Rcool decays rapidly as ∝(r/Rcool)−6.5; so we estimate the effective Rcool via the requirement that, at the end of the energy-conserving phase, |$(1/2)\, (m_{\rm ej} + m_{\rm swept}[R_{\rm cool}])\, v_{f}^{2} = (1/2)\, m_{\rm ej}\, v_{\rm ej}^{2}$| and |$p_{\rm t} = m_{\rm swept}[R_{\rm cool}]\, v_{f}$| (where mswept is the enclose mass ‘swept up’ by the shell), giving |$R_{\rm cool} \approx 28.4\, {\rm pc}\, (n_{b}/{\rm cm^{-3}})^{-3/7}\, (E_{\rm tot,\, ej}/10^{51}\, {\rm erg})^{2/7}\, f(Z_{b})$| for pt in equation (D23). If |$|{\boldsymbol x}_{ba}| \lt R_{\rm cool}$|, we leave |$U_{\rm internal}^{\rm new}$| un-modified. If |$|{\boldsymbol x}_{ba}| \gt R_{\rm cool}$|, we calculate the increase in internal energy from shock-heating, ignoring cooling: |$\Delta U_{b} \equiv U_{\rm internal}^{\rm new} - U_{\rm internal}^{\rm old}$|, and then modify it to determine the correct internal energy: |$U_{\rm internal} = U_{\rm internal}^{\rm old} + \Delta U_{b}\, (|{\boldsymbol x}_{ba}|/R_{\rm cool})^{-6.5}$|. We show in Paper II that this extra step has a negligible effect, since (by definition), when we couple the ejecta to a size/mass scale larger than Rcool, it will radiate its energy rapidly, so in practice we find that if we simply leave ΔUb un-modified, the residual energy is (correctly) radiated away in the next time-step. But for the sake of physical consistency and accuracy, we adopt the full expression here.
APPENDIX E: ALGORITHMIC IMPLEMENTATION OF RADIATIVE FEEDBACK
Now we describe the implementation of radiative feedback, used for radiation pressure (in all wavebands, UV-through-IR), photoionization, and photoelectric heating. The algorithm here was first developed in Hopkins et al. (2012c), and the version used in FIRE-1, which is almost exactly identical to that here,36 was presented in Hopkins et al. (2014). As noted in the text, we for convenience denote the radiative transport algorithm as the ‘LEBRON’ (Locally Extincted Background Radiation in Optically thin Networks) approximation.
We emphasize that this is not the same as the algorithm used in some earlier work (e.g. Hopkins et al. 2011). That algorithm was developed for very specific simulations which followed only infrared multiple-scattering radiation pressure (ignoring single-scattering radiation pressure, photoheating, SNe, and OB/AGB winds), with much higher resolution than the FIRE simulations here (following star formation down to protostellar cores with densities |${\sim } 10^{6}\, {\rm cm^{-3}}$| and size scales |$\lt\!0.1\,$|pc).
In Paper III, we discuss each piece of the FIRE radiative feedback algorithm in detail, and consider a suite of both idealized test problems and cosmological simulations, to test and validate each and show how they influence our predictions. We also compare to a set of radiation-hydrodynamics simulations using alternative approximations to the radiation-hydrodynamics equations, specifically the flux-limited diffusion, optically thin variable Eddington tensor, first-moment (M1), and full Monte Carlo methods. We show that these give similar conclusions, provided care is taken with the alternative methods to ensure the radiation pressure terms are not artificially suppressed.
The complete algorithm is:
Determine background radiation (source luminosities): every time-step Δta for each star particle a, we take the luminosity |$L_{\nu }^{a}= \Psi _{\nu }^{a}\, m_{\ast ,\, a}$| as a function of the star particle age, metallicity, and mass, directly from the stellar evolution models. This follows the tabulation given in Appendix A, for each of five broad bands we follow: ionizing (Lion, |$\lambda \lt 912\,$|Å), far-UV (LFUV, |$912\,$|Å|$\lt \lambda \lt 1550\,$|Å), near-UV (LUV, |$1550\lt \lambda \lt 3600\,$|Å), optical/near-IR (LOpt, |$3600\,$|Å|$\lt \lambda \lt 3\, \mu$|), and mid/far-IR (LIR, |$\lambda \gt 3\, \mu$|). The FUV band is used for photoelectric heating, while NUV/optical bands dominate the single-scattering radiation pressure (bolometric luminosity), and the IR band is reserved for light re-radiated by dust.
- Locally extinct: We now process the absorption/extinction in the vicinity of each source. Along a sightline, the optical depth seen by the source is |$\tau _{\nu }^{a} = \kappa _{\nu }\, \Sigma _{\rm column}^{a}$|, where κν is the flux-weighted opacity in each band (given in Appendix A; these are calculated for the mean un-obscured spectrum in the stellar populations models, integrated over each band). Since we are interested in local extinction, we approximate |$\Sigma _{\rm column}^{a}$| using the Sobolev approximation for the isotropic (angle-averaged) column density integrated outwards from the source:\begin{equation*} \tau _{\nu }^{a} = \langle \kappa \rangle _{\nu } \times \langle \Sigma _{\rm column}^{a,\, {\rm Sobolev}} \rangle _{\phi ,\, \theta } \end{equation*}(E1)\begin{equation*} \langle \kappa \rangle _{\nu } \equiv \frac{\int _{\rm band}\, \kappa _{\nu }\, \langle L_{\nu } \rangle ^{\rm unabsorbed}\, \text{d}\nu }{\int _{\rm band}\, \langle L_{\nu } \rangle ^{\rm unabsorbed}\, \text{d}\nu } \end{equation*}(E2)Here ρa, ∇ρa, and ha are the gas density, density gradient, and interelement spacing, evaluated at location |${\boldsymbol x}_{a}$| (with the same algorithm as our usual hydrodynamics). The ρa/|∇ρa| term accounts for the gas column integrated to infinity – it is exact for e.g. a density distribution which declines exponentially with distance from the source – while the |$\rho _{a}\, h_{a}$| term is just the column through the local cell. Since this is isotropic, the absorbed luminosity (in a narrow band) is just |$L_{{\rm abs},\, \nu }^{a} = (1 - \exp {(-\tau _{\nu }^{a})})\, L_{\nu }^{a}$| and the surviving un-absorbed luminosity is\begin{equation*} \langle \Sigma _{\rm column}^{a,\, {\rm Sobolev}} \rangle _{\phi ,\, \theta } \equiv \rho _{a} \left[ h_{a} + \frac{\rho _{a}}{|\nabla \rho _{a} |} \right]. \end{equation*}(E3)Recall our spectral templates include negligible ‘initial’ luminosity in the mid/far IR band: but we assume the luminosity absorbed by dust – that from the FUV, NUV, and optical/near-IR bands – is immediately re-radiated in the mid/far-IR band, giving an emergent IR luminosity:\begin{equation*} L_{{\rm emergent},\, \nu }^{a} = \exp {\left(-\tau _{\nu }^{a}\right)}\, L_{\nu }^{a}. \end{equation*}(E4)For the ionizing band, the opacity comes from neutral hydrogen, and we must jointly solve for the ionizing state and photon absorption; we therefore treat this separately using a simple Stromgren approximation. From Step (i) above (the stellar evolution models) we have |$\dot{N}_{a}^{\rm ion}$|, the rate of production of ionizing photons (∝Lion). Now, we take all gas elements b in the vicinity of a and sort them by increasing distance |$|{\boldsymbol x}_{ba}|$|. Beginning with the closest, we test whether it is already ionized (either because |$T_{b} \gt 10^{4}\,$| K, or because it is already tagged as a member of another H ii region), and if so we move on to the next-closest particle. If it is not ionized, we calculate the ionization rate needed to fully ionize it as: |$\Delta \dot{N}_{b} = N(H)_{b}\, \beta \, n_{\text{e},\, b}$| [where |$N(H)_{b}=X_{H}\, m_{b}/\mu \, m_{p}$| is the number of H atoms in b, |$\beta \approx 3\times 10^{-13}\, {\rm cm^{3}\, s^{-1}}$| is the recombination coefficient, and |$n_{\text{e},\, b}$| is the electron density assuming full ionization]. If |$\Delta \dot{N}_{b} \le \dot{N}_{a}^{\rm ion}$|, then particle b is tagged as being within an H ii region, and the photons are ‘consumed,’ so |$\dot{N}_{a}^{\rm ion}\rightarrow \dot{N}_{a}^{\rm ion} - \Delta \dot{N}_{b}$|. We then proceed to the next particle and repeat. If we reach a particle which is not ionized but for which |$\Delta \dot{N}_{b} \gt \dot{N}_{a}^{\rm ion}$|, we determine whether or not to ionize it randomly, with probability |$p= \dot{N}_{a}^{\rm ion} / \Delta \dot{N}_{b}$|, and consume the remaining photons (guaranteeing the correct total mass is ionized, on average). Any particle tagged as ‘within an H ii region’ is fully ionized and not allowed to cool to temperatures lower than <104 K within that same time-step. If we reach the end of the local computational domain, or distance from the source where the optically thin flux density falls below the meta-galactic ionizing background, we stop the iteration and the remaining photons are ‘emergent’ as in equation (E4). Tests of this algorithm (both static but also dynamic tests of D-Type ionization front expansion) are also shown in Hu et al. (2017).\begin{eqnarray*} L_{\rm IR}^{a} = \sum _{\nu = {\rm FUV,\, UV,\, Opt}}\, L_{{\rm abs},\, \nu }^{a} = \sum _{\nu = {\rm FUV,\, UV,\, Opt}}\, (1 - \exp {(-\tau _{\nu }^{a})})\, L_{\nu }^{a}. \nonumber \\ \end{eqnarray*}(E5)
- Account for momentum of locally absorbed photons: Over a time-step Δt, the absorbed photons in these bands impart their single-scattering momentum to the surrounding gas, radially directed away from the star particle, with total momentumThis momentum flux is distributed among the neighbours, directed radially away from the star particle, as described in Appendix D.\begin{equation*} \Delta p = \frac{L_{\rm abs}^{a}}{c}\, \Delta t = \frac{\Delta t}{c}\, \sum _{\nu }\, L_{{\rm abs},\, \nu }^{a}. \end{equation*}(E6)
- Transport the locally extincted radiation via an optically thin network: We now have an ‘emergent’ spectrum after local attenuation around each star, |$L_{{\rm emergent},\, \nu }$|. Since we assume the absorption is dominated by the gas/dust local to the star, and the emission (from the star) is isotropic, the incident flux |${\boldsymbol F}_{\nu }^{b}$| and photon energy density |$e_{\nu }^{b}$| at a distant gas element b are just\begin{equation*} {\boldsymbol F}_{\nu }^{b} = \sum _{a}\, {\boldsymbol F}_{\nu ,\, {\rm emergent}}^{a} = \sum _{a}\, \frac{L_{{\rm emergent},\, \nu }^{a}}{4\pi \, |{\boldsymbol x}_{b} - {\boldsymbol x}_{a}|^{2}}\, \frac{{\boldsymbol x}_{b} - {\boldsymbol x}_{a}}{|{\boldsymbol x}_{b} - {\boldsymbol x}_{a}|} \end{equation*}(E7)This is identical in form to the equation for gravity, so is computed in the same pass in the gravity tree (we ‘soften’ the sources identical to how we soften gravity, in fact, to prevent a 1/r2 divergence and reflect the physical fact that each star particle really represents many stars distributed within the softening length).37\begin{equation*} e_{\nu }^{b} = \sum _{a}\, \frac{L_{{\rm emergent},\, \nu }^{a}}{4\pi \, c\, |{\boldsymbol x}_{b} - {\boldsymbol x}_{a}|^{2}}. \end{equation*}(E8)
- Calculate incident radiative acceleration from long-range fluxes: For a gas element b with effective face area Ab and mass mb (hence surface density Σb ≡ mb/Ab) seeing an incident flux |${\boldsymbol F}_{\nu }^{b}$|, the exact radiative acceleration is given byIn the optically thin limit (|$\kappa _{\nu }\, \Sigma _{b} \ll 1$|), this reduces to the common expression |${\boldsymbol a} = \kappa _{\nu }\, {\boldsymbol F}_{\nu }/c$|, but in the optically thick limit (|$\kappa _{\nu }\, \Sigma _{b} \gg 1$|), the force saturates at |$m_{b}\, {\boldsymbol a} = ({\boldsymbol F}_{\nu }\, A_{b})/ c$|, i.e. the element absorbs all the flux across its subtended area (but no more). For simplicity here we take the effective area to be that of a sphere with the same volume as the element (|$=m_{b}/\rho _{b} = (4\pi /3)\, h_{b}^{3}$|), i.e. |$\pi \, h_{b}^{2}$|; using the more complicated hydrodynamic face areas introduces negligible (≪10 per cent) differences in the accelerations here. We adopt κν = 〈κ〉ν for each band.\begin{equation*} \frac{\text{d}{\boldsymbol v}_{b}}{\text{d}t}{\Bigr |}_{\nu } = \frac{1}{m_{b}}\, \frac{\text{d}{\boldsymbol p}_{b}}{\text{d}t}{\Bigr |}_{\nu }= \frac{{\boldsymbol F}_{\nu }^{b}}{c}\, \frac{A_{b}}{m_{b}}\, \left[ 1 - \exp {\left(-\kappa _{\nu }\, \frac{m_{b}}{A_{b}}\right)} \right]. \end{equation*}(E10)
Self-shield and pass incident fluxes to cooling routines: Because we have accounted for shielding around the emitter, but not the absorber, we include an additional shielding pass at absorption for the photoheating terms: at a gas element b, we take the photon energy density |$\langle e^{b}_{\nu } \rangle = e^{b}_{\nu }\, \exp {(-\tau _{\nu }^{b})}$|, where |$e^{b}_{\nu }$| is the photon energy density given by equation (E8), and |$\tau _{\nu }^{b}$| is the optical depth estimated using the Sobolev approximation in equation (E1), but now at the location of the absorbing gas element (instead of around the emitting star). The resulting, shielded |$e_{\nu }^{b}$| are passed to the cooling/heating routines, to compute photoionization and photoelectric heating rates as in Appendix B.
APPENDIX F: ADDITIONAL FLUID PHYSICS: MAGNETIC FIELDS, CONDUCTION, VISCOSITY, TURBULENT DIFFUSION
Here, we describe the numerical implementations of additional physics not included in the ‘core physics only’ FIRE simulations, but studied either here or in companion papers (e.g. Su et al. 2017a) which take standard FIRE-2 simulations and add, e.g. magnetic fields. We emphasize again that these physics are not used in the ‘default’ or ‘core physics’ runs in this paper. However, because we wish to present a complete, thorough, and fully consistent set of numerical methods, we summarize them here, referring to the appropriate methods papers for more details.
F1 Magnetic fields
In simulations with magnetic fields, we solve the equations of ideal MHD as implemented in gizmo in Hopkins & Raives (2016). The exact numerical formulation of the equations is presented there along with an extensive series of several dozen test problems, as well as tests of full galaxy simulations using our FIRE physics. The tests demonstrate that the implementation in our MFM solver is accurate and converges at second order. In particular, Hopkins & Raives (2016), Hopkins (2016), and Hopkins & Lee (2016) show that our implementation correctly captures traditionally difficult phenomena such as the magneto-rotational instability (MRI), magnetic jet launching in discs, magnetic fluid-mixing instabilities, and subsonic and supersonic MHD turbulent dynamos. The accuracy and convergence order appears comparable to state-of-the-art grid codes (e.g. athena) on the problems of interest and greatly superior to the P-SPH implementation in gizmo, especially in problems where angular momentum, supersonic advection, strong shocks, and fluid mixing instabilities appear (typical of cosmological simulations). Non-ideal MHD effects (Ohmic resistivity, ambipolar diffusion, and the Hall effect) are also implemented and well-tested in gizmo (Hopkins 2017), but these are not expected to be important on galactic scales.
Readers interested in more details of our numerical implementation of MHD should consult Hopkins & Raives (2016) and the public gizmo source code.
F2 Anisotropic Spitzer–Braginskii viscosity and conduction
Readers interested in more details of our numerical implementation of anisotropic diffusion should consult Hopkins (2017) and the public gizmo source code.
F3 Subgrid turbulent eddy diffusivity
The key assumption here – namely, the assumption that the diffusion time-scale scales with eddy turnover time – has been verified in many experiments on ISM scales (see Pan & Scannapieco 2010; Petit et al. 2015, and references therein), and the scaling in equation (F5) has been used in many applications in galaxy simulations (e.g. Wadsley et al. 2008). In Colbrook et al. (2017), we have performed our own study of the turbulent mixing, using 3D, high-resolution supersonic turbulent box simulations (with and without magnetic fields and/or shear), and verify that this prescription, with C ≈ 0.05, is reasonable specifically in our identical MFM code with the definitions of h and |${\boldsymbol S}$| here (although such simple prescriptions do fail to capture some potentially important non-Gaussian features which emerge from real, resolved turbulent mixing). An independent, more extensive study (including a range of more complex problem setups) will be presented in Rennehan et al. (in preparation), but also finds C ≈ 0.03–0.05. We therefore adopt C = 0.05. However, in the main text (Section 7.2) and in Escala et al. (2018), we show that order-of-magnitude variation in C produces no significant effects on our predictions.
We stress that a term like equation (F5) is ‘built into’ many numerical hydrodynamic methods. Specifically, it is well known that in finite-volume methods with advective mass fluxes (e.g. traditional grid-based methods or moving-mesh codes), an intrinsic numerical diffusivity in advection with magnitude |${\sim } h_{a}\, \Delta v(h_{a})$| appears; this automatically produces scalar/metal diffusion via ‘numerical mixing.’ It is straightforward to show that if the necessary assumptions of the Smagorinsky model (equation F5) are true, then the artificial numerical mixing in these methods is always larger than the ‘true’ effective turbulent diffusivity. If we used such a method, it would therefore not be necessary to explicitly solve equation (F5). However, in our default MFM hydrodynamic method, we follow fixed-mass elements (i.e. there are no advective mass fluxes, hence no artificial ‘numerical diffusivity’ of passive scalars). While the methods will converge to an identical solution at sufficiently high resolution (Hopkins 2015), the concern is that at fixed resolution, MFM will under-estimate the metal-mixing owing to un-resolved small-scale eddies that should mix between the boundaries of neighbouring resolution elements. If we resolved individual stars, the stars would draw mass from many resolution elements (each with their own abundances) and this would still not be a problem, but at our resolution single star particles inherit the abundances of their (single) parent gas particle, so this effect can artificially introduce ‘shot noise’ in the abundances of stars forming from neighbouring gas elements if we do not include an explicit numerical mixing term. One therefore can view equation (F5) as a purely numerical term which ‘restores’ the desirable aspect of the numerical diffusivity present in certain numerical methods.
We caution, however, that simple diffusion prescriptions such as equation (F5), naively applied, can substantially overestimate the diffusivity. The critical assumption is that the resolution-scale motion |$\Delta v \sim \Vert {\boldsymbol S}\Vert \, h \sim v_{\rm eddy}$| is entirely due to turbulence; if there is any bulk motion included in |${\boldsymbol S}$|, this will overestimate κturb. This can be particularly problematic if e.g. differential rotation in a disc or shear in CGM outflows is poorly resolved, in which case the naively inferred κturb can overestimate by an order of magnitude the true turbulent motion. For example, if the disc scale height |$H_{\rm dis\rm c}\approx \sigma _{\rm turb}/\Omega$| is unresolved, |$h_{a} \gg H_{\rm dis\rm c}$|, then equation (F5) will return |$\kappa _{\rm turb} \sim h_{a}\, (h_{a}\, \Omega)$| instead of the correct maximum diffusivity for disc-scale eddies, |$\kappa _{\rm turb} \sim H_{\rm dis\rm c}\, \sigma _{\rm turb} \sim H_{\rm dis\rm c}^{2}\, \Omega$|. There is no obvious universal ‘switch’ to cure these pathologies; however we can limit the magnitude of the errors. In Hopkins (2015) we develop two mesh-free finite-element hydrodynamic methods, our default MFM method here, and an MFV method, the latter of which includes advective mass fluxes (more similar to a moving-mesh code), but otherwise is identical to MFM. The MFV method therefore includes the inherent numerical diffusivity described above. In the diffusion step, therefore, we can first calculate the absolute value of the metal flux that would have been calculated in MFV (owing simply to the advection term; see Hopkins 2015 for the exact values of these terms), and then impose this as an upper limit to the diffusive flux. Since MFV is a second-order, quasi-Lagrangian method, this eliminates the most egregious errors in equation (F5). We find that in idealized test problems, this correction is negligible, but in realistic cosmological simulations it prevents the most severe pathological situations. Essentially, then, our implementation of ‘unresolved turbulent diffusion’ (equation F5) is guaranteed to – at most – produce the same metal mixing we would have obtained had we simply run our simulations using a finite-volume (MFV or moving-mesh) hydrodynamic method. A more detailed study of various (more sophisticated) turbulent and numerical mixing models will be presented in Rennehan et al. (in preparation); preliminary results indicate that the alternative methods give similar results in galaxy-scale simulations.
Readers interested in more details of our numerical implementation of eddy diffusivity should consult Hopkins (2017) and the public gizmo source code.
APPENDIX G: COMPUTATIONAL SCALING and RUNTIME REQUIREMENTS
The work here was made possible by extensive optimizations and improvements to the code scaling for ‘zoom-in’ simulations. The challenge in these high-dynamic range problems is that small, dense regions (e.g. dense GMCs or star clusters), which occupy an extremely small fraction of the total mass and volume of the simulation (and therefore cannot be ‘broken up’ over too many processors) require extremely small time-steps. But, especially with strong feedback present, the rest of the simulation (which is free to take much larger time-steps) cannot advance until they ‘catch up.’ We have addressed this with several improvements.
We have made optimizations to the feedback subroutines (for example, long-range radiation forces) which require significant neighbour communication but can be efficiently included in other operations such as tree construction, reducing their portion of the runtime from ≈40 per cent in previously published work to <10 per cent in the current code. More generally, the entire gizmo code has been line-by-line optimized, manually unrolling or (where possible) vectorizing certain expensive operations, replacing expensive functions in neighbour loops with look-up tables, eliminating redundant operations, and pre-computing additional quantities outside of loops; this has produced an additional factor ∼2 speed improvement.
We have optimized the structure of the domain decomposition to make it more spatially flexible and separately parallelize each level of the time-step hierarchy (increasing the memory imbalances by factors of ∼2–3, but extending the strong scaling to ∼2 times as many cores at fixed resolution). We have also more aggressively implemented a problem-specific particle weighting scheme, where e.g. dense, star-forming gas, and young stars (as opposed to old stars) are given larger weights in the domain decomposition so that their future cost (via gravitational collapse and/or feedback) is more accurately predicted. This allows for a further factor of ∼2–3 reduction in load imbalances at the smallest time-steps.
We employ a hybrid tree-particle mesh gravity solver, following GADGET-3, to efficiently reduce the cost of the gravity solution for the low-resolution regions outside of the zoom-in area.
We use the adaptive individual-time-step integration scheme from GADGET-3 with a hierarchical power-of-two subdivision, updated such that in each time-step we calculate pairwise updates of all fluxes of conserved quantities at interfaces (maintaining exact conservation, and eliminating all redundant pair-wise interations; see Springel 2010).
We adopt adaptive gravitational softenings as described above. This imposes essentially no cost for gas (since hi must be computed already for hydrodynamics), but allows us to take much larger time-steps for low-density particles, and (more important for this problem) avoid oversoftening particles in dense regions (where a too-large softening radius might encompass thousands of neighbour particles, which imposes a substantial cost in the tree-gravity calculation).
We have developed and use a hybrid OpenMP-MPI parallelization of the code, which allows us to extend the weak scaling of the code considerably further as we go to large processor number (where we previously found communication costs between neighbours, which are alleviated by the shared-memory structure of OpenMP, were beginning to dominate the run time).
Our MFM hydrodynamic solver is actually slightly faster than the P-SPH algorithm used for FIRE-1. Hopkins (2015) compare run-times on three problems: a 3D Kelvin-Helmholtz instability, an isolated (non-cosmological) galaxy with star formation and feedback, and the cosmological but strictly ideal-gas (no star formation or cooling) Santa Barbara cluster test. They show that compared to the P-SPH formulation of SPH from Hopkins (2013a) (which incorporated improvements in artificial diffusion terms as well as a larger neighbour number needed in SPH to capture certain instabilities), the speedup on these tests ranged from a factor ∼1.3–2.5, mostly owing to the larger neighbour number needed in P-SPH to achieve comparable accuracy.
We also stress that the inclusion of realistic feedback itself greatly speeds up the code (for galaxy formation simulations) – perhaps more than any purely numerical optimization. Dense regions which would otherwise slow down the computation (as described above) tend to be quickly destroyed by stellar feedback. Without feedback, it would be impossible to run the simulations here with the same resolution and cooling physics below redshift |$z$| ∼ 2, because the extremely dense relic star clusters would require constant, extremely short time-steps.
Readers interested in more details should consult the public source code.
Fig. G1 demonstrates the scaling of the code gizmo on a production quality set of FIRE-2 simulations, including all the physics of our production runs (full cosmological integration with self-gravity, baryonic physics including cooling, star formation, and stellar feedback, etc.). This is a ‘real world’ test, as opposed to the scaling on idealized test problems (which can, of course, be much better). All runs were run with an otherwise identical version of the code; at each CPU number the optimal OpenMP-MPI configuration was used. Strong and weak-resolution scaling tests were run on the XSEDE Stampede machine, weak-problem size runs on the DOE ALCF Mira machine.
Code scalings of gizmo in full production-quality FIRE-2 simulations, at our production resolution, with the full, identical physics of gravity, hydrodynamics, cooling, star formation, and feedback to our published simulations. Left: Strong scaling for a zoom-in of a MW-mass (m12i) or dwarf galaxy (m10q) halo, each using 1.5 × 108 particles, run to 25 per cent of the age of the Universe, using the optimal MPI+OpenMP hybrid configuration at each core number. Our optimizations allow us to maintain near-ideal strong scaling to |${\sim } 14\, 000$| cores per billion particles (2048 for the problem shown). Centre: Weak scaling, for a full cosmological box, populated with the same high-resolution particles, run for a short fraction of the age of the Universe (|$z$| ∼ 10). Here, we keep resolution fixed at baryonic particle mass |$7000 \, {\rm M}_{\odot }$|, identical to our high-resolution MW simulation at left, but we increase the cosmological volume from 2 to 104 comoving Mpc3. The weak scaling of gizmo’s gravity+MHD algorithm is near-ideal (actually slightly better at intermediate volume, owing to fixed overheads and increasing statistical homogeneity of the box at larger sizes), to greater than a million threads (here 220 threads, 218 cores, 217 MPI tasks, 214 nodes). Right: ‘Weak scaling’ test, increasing the resolution instead of the problem size (specifically, increasing the particle number for the same MW-mass galaxy). Because the resolution increases (hence time-step decreases) with particle number here, the ideal weak scaling for a converged solution is wall-clock time ∝tHubble/Δt ∝ (Δx/cs)−1 ∝ N1/3, shown. Our achieved scaling is only slightly worse than this, because new, dense structures such as star clusters appear at higher resolution.
Code scalings of gizmo in full production-quality FIRE-2 simulations, at our production resolution, with the full, identical physics of gravity, hydrodynamics, cooling, star formation, and feedback to our published simulations. Left: Strong scaling for a zoom-in of a MW-mass (m12i) or dwarf galaxy (m10q) halo, each using 1.5 × 108 particles, run to 25 per cent of the age of the Universe, using the optimal MPI+OpenMP hybrid configuration at each core number. Our optimizations allow us to maintain near-ideal strong scaling to |${\sim } 14\, 000$| cores per billion particles (2048 for the problem shown). Centre: Weak scaling, for a full cosmological box, populated with the same high-resolution particles, run for a short fraction of the age of the Universe (|$z$| ∼ 10). Here, we keep resolution fixed at baryonic particle mass |$7000 \, {\rm M}_{\odot }$|, identical to our high-resolution MW simulation at left, but we increase the cosmological volume from 2 to 104 comoving Mpc3. The weak scaling of gizmo’s gravity+MHD algorithm is near-ideal (actually slightly better at intermediate volume, owing to fixed overheads and increasing statistical homogeneity of the box at larger sizes), to greater than a million threads (here 220 threads, 218 cores, 217 MPI tasks, 214 nodes). Right: ‘Weak scaling’ test, increasing the resolution instead of the problem size (specifically, increasing the particle number for the same MW-mass galaxy). Because the resolution increases (hence time-step decreases) with particle number here, the ideal weak scaling for a converged solution is wall-clock time ∝tHubble/Δt ∝ (Δx/cs)−1 ∝ N1/3, shown. Our achieved scaling is only slightly worse than this, because new, dense structures such as star clusters appear at higher resolution.
Our optimizations allow us to extend good strong scaling, at our modest ‘typical FIRE-1’ resolution, to ∼1024 cores. Even more strikingly, the optimizations we have made allow us to maintain good weak scaling up to ∼4096 cores for a simulation with 3 × 108 particles – our ‘Latte’ resolution – and |${\sim } 16\, 384$| cores for a zoom-in simulation with >109 particles (and as many as ∼106 cores for large-volume simulations with ∼1010 particles, which naturally exhibit superior weak scaling). This is especially non-trivial for these sorts of problems, since the gravitational softening is adaptive, so higher particle number implies smaller force softening and hence smaller time-steps in the dense regions.
For comparison, if we compare similar runs to the strong-scaling tests in Fig. G1 with the public GADGET-2 code (using the simpler Springel, Di Matteo & Hernquist (2005) subgrid model for ISM physics and feedback, with wind mass-loading set by-hand to produce a similar mass as our gizmo runs), we find the scaling saturates at ∼64–128 cores.















![Spatial resolution study, as Fig. 8. We take the m10q simulation with fixed mass resolution $m_{i,\, 1000}=2$, and re-run with different gravitational force softening. Left (and middle-left): Varying force softening for collisionless particles (DM εDM and stars ε*). We multiply the default values from Fig. 8 at this mass resolution (constant $\epsilon _{\rm DM}=40\, {\rm pc},\ \epsilon _{\ast }=10\, {\rm pc}$) by constant values from ∼0.5to7.5; we also compare softening fixed in co-moving units [default values × 5/(1 + $z$)]; and we consider fully adaptive εDM and ε*. These changes have no systematic effect (small differences in mass are consistent with stochastic variations, given the bursty SFH). We have verified the same in more limited surveys of εDM and ε* in simulations m10y, m11q, m11v, m12i. Right (and middle-right): Varying force softening for gas. We compare our default, fully adaptive softening (εgas = hi, the interparticle spacing), to simulations with fixed gas softening set to $1\!-\!200\, {\rm pc}$. Our default (adaptive) run and those with $\epsilon _{\rm gas}=1,\, 4\, {\rm pc}$ enforce a minimum gas density for star formation $n_{\rm crit}=1000\, {\rm cm^{-3}}$ (as labelled). With $1\, {\rm pc}$ softening, this produces identical results to our adaptive-softening run; but with $4\, {\rm pc}$ softening, the maximum gravitationally-resolved density $n^{\rm max} = (m_{i}/\epsilon _{\rm gas}^{\rm min})/m_{p} \approx 1000\, {\rm cm^{-3}}\, (m_{i,\, 1000}/2)\, (\epsilon _{\rm gas}^{\rm min}/4\, {\rm pc})^{-3}$ barely reaches ncrit, so our self-gravity criterion cannot properly resolve if gas is self-gravitating at n > ncrit and SF is artificially suppressed (slightly lower M* and [Z*/H]). Taking εgas = 20 pc ($n^{\rm max}\approx 10\, {\rm cm^{-3}}$) with ncrit = 100 shows this problem more severely. With fixed (non-adaptive) softening, it is necessary to choose ncrit < nmax; lowering ncrit = 100 for $\epsilon _{\rm gas}=4\,$pc shows excellent agreement with our default (adaptive) run. With $\epsilon _{\rm gas}=200\, {\rm pc}$, $n^{\rm max}=0.01\, {\rm cm^{-3}}$ is much less than ncritand the mean galaxy gas density – this means we cannot resolve Toomre-scale structures (large GMCs), so star formation is completely suppressed (M* = 0, exactly, here), and a superdense (but non-fragmenting) gas disc forms.](https://oup.silverchair-cdn.com/oup/backfile/Content_public/Journal/mnras/480/1/10.1093_mnras_sty1690/1/m_sty1690fig15.jpeg?Expires=1576187471&Signature=oFK3wVrKCPbEATmhhKgjitW5tQR681~ZoyU5w1hGxvOaCQMKkZMzmUZ-QJnPkDhvmwCfVfW1g-lGmlDgPkWfBJ7KXOYOGGnU5XPN-XKxIQWikuoOFEvqTvtglQHoQviBX22zdlIQOJP1wOV1LzbqeYGYHBOiV~NhMGT-hEa~Gzxf-7dVO-vKNZSGBKHvukHRctLQU64J2v3JXdDljSWN6o050FCYB01elrkLW9RslsHx38QNn700eO~qH-nYPkiItLEPdc-XPtK2d9OldczFf8rkeKZwM5Dz0OC-~07QczJwuDawNvDAQUFMjwewSRVfjKUFngNuYIgmDwoZA2zljg__&Key-Pair-Id=APKAIE5G5CRDK6RD3PGA)






















