Codes
As discussed in Organization, the CAMELS simulations can be classified into different suites depending on the code and subgrid model used to run them. Below we provide some details on the codes, physics, and subgrid models employed.
IllustrisTNG
The simulations in the IllustrisTNG suite have been run with the Arepo code using the same subgrid physics as the IllustrisTNG simulation. Arepo uses TreePM to solve for gravity and a moving Voronoi mesh to solve for ideal magnetohydrodynamics (MHD). The IllustrisTNG galaxy formation physics implementation includes sub-grid models for star-formation, stellar evolution and galactic winds, as well as supermassive black hole (SMBH) seeding, merging, accretion and feedback. The latter operates in two modes, selected based on SMBH mass and Eddington ratio, where the high-accretion mode is thermal and the low accretion mode is kinetic and is the more efficient one in ejecting gas and quenching massive galaxies. The galactic winds feedback is kinetic, implemented via briefly hydrodynamically decoupled wind particles, with energy and mass loading factors that are prescribed based on local velocity dispersion and metallicity. Much more detail can be found on the IllustrisTNG project website.
The video below shows an example of a CAMELS-IllustrisTNG simulation:
SIMBA
The simulations in the SIMBA suite have been run with the GIZMO code using the same subgrid physics as the original SIMBA simulation, presented in Davé et al. 2019. SIMBA builds on the MUFASA model (Davé et al. 2016) and the gravitational torque accretion and kinetic AGN feedback implementation of Anglés-Alcázar et al. 2017a. SIMBA uses the “Meshless Finite Mass” hydrodynamics mode of GIZMO (Hopkins 2015) and computes gravitational forces using a modified version of the TreePM algorithm of Springel 2005, including adaptive gravitational softenings. Radiative cooling and photoionization are implemented using Grackle-3.1 (Smith et al. 2017), stars form from molecular gas following Krumholz & Gnedin (2011), and dust formation and evolution is modelled on-the-fly (Li et al. 2019). Stellar feedback includes two-phase galactic winds with their mass loading factor and velocity taken from the FIRE simulations (Muratov et al. 2015; Anglés-Alcázar et al. 2017b). SMBHs grow through cold gas accretion driven by gravitational torques (Hopkins & Quataert 2011; Anglés-Alcázar et al. 2017a) and hot gas accretion following Bondi 1952. Kinetic AGN feedback follows a two-mode approach with quasar winds transitioning into high-speed collimated jets at low Eddington accretion rates, and X-ray radiative feedback follows Choi et al. (2012).
The video below shows an example of a CAMELS-SIMBA simulation:
Astrid
The simulations in the ASTRID suite have been run with the MP-Gadget code, a massively scalable version of the cosmological structure formation code Gadget-3, to solve the gravity (with TreePM), hydrodynamics (using entropy-conserving formulation of Smoothed Particle Hydrodynamics method). ASTRID models galaxy formation physics including sub-grid models for multi-phase ISM and star-formation (Springel & Hernquist 2003), stellar evolution and metal enrichment (Vogelsberger et al. 2014), galactic winds, as well as supermassive black hole (SMBH) seeding, merging, accretion and feedback (Di Matteo et al. 2005). The details of ASTRID subgrid model are described in Bird et al. 2022 and Ni et al. 2022.
The video below shows an example of a CAMELS-Astrid simulation:
Magneticum
The simulations in the Magneticum suite have been run with the parallel cosmological Tree-PM code OpenGadget3. The code uses an entropy-conserving formulation of Smoothed Particle Hydrodynamics (SPH) (Springel & Hernquist 2002), with SPH modifications according to Dolag et al. (2004), Dolag et al. (2005), and Dolag et al. (2006). It includes also prescriptions for multiphase interstellar medium based on the model by Springel & Hernquist (2003) as well as Tornatore et al. (2007) for the metal enrichment prescription. The model follows the growth and evolution of BHs and their associated AGN feedback based on the model presented by Springel et al. (2005) and Di Matteo et al. (2005), but includes modifications based on Fabjan et al. (2011), Hirschmann et al. (2014b), and Steinborn et al. (2016).
The video below shows an example of a CAMELS-Magneticum simulation:
Swift-EAGLE
The simulations in the Swift-EAGLE suite have been run with the smoothed particle hydrodynamics and gravity code Swift. Swift is a parallel, open-source, versatile and modular code, with a range of hydrodynamics solvers, gravity solvers, and sub-grid models for galaxy formation (see Swift website). In this suite we use the SPHENIX flavour of SPH, coupled with a modified version of the Evolution and Assembly of GaLaxies and their Environments (EAGLE) subgrid model for galaxy formation and evolution (see Schaye et al. 2015 and Crain et al. 2015). This includes element-by-element radiative cooling and heating rates from Ploeckinger & Schaye 2020, star formation (Schaye & Dalla Vecchia 2008), stellar evolution and enrichment from Wiersma et al. 2009, and single thermal-mode feedback from massive stars and accreting AGN (see Dalla Vecchia & Schaye 2012, Booth & Schaye 2009, Rosas-Guevara et al. 2015).
Ramses
The simulations in the RAMSES suite have been run with the RAMSES code using the same subgrid physics as in Kretschmer & Teyssier (2021) and Teyssier et al. (2011). RAMSES uses Adaptive Particle Mesh to solve for gravity and the Godunov Finite Volume Constrained Transport method to solve for ideal magnetohydrodynamics (MHD). The galaxy formation physics implementation includes a multi-freefall sub-grid model for star-formation and supernovae momentum feedback as in Kretschmer and Teyssier (2021), as well as supermassive black hole (SMBH) seeding, merging, accretion and feedback as in Teyssier et al. (2011) and Pellissier et al. (2023). RAMSES also models metallicity dependent radiative cooling, as well as radiation heating from a self-shielded UV background consistent with standard reionization models.
The video below shows an example of a CAMELS-Ramses simulation:
Enzo
The simulations in the Enzo suite have been run with the Enzo code.
CROCODILE
The simulations in the CROCODILE suite have been run with the GADGET4-Osaka code (Romano et al. 2022a, 2022b; Oku & Nagamine 2024), a proprietary modified version of the public GADGET-4 code (Springel et al. 2021). GADGET4-Osaka uses TreePM to solve for gravity and the pressure-based entropy-conserving formulation of smoothed particle hydrodynamics (SPH) to solve for hydrodynamics. The SPH implementation includes artificial viscosity using velocity field reconstruction, artificial conduction, and a wake-up timestep limiter to ensure capturing subgrid physics effects in hydrodynamics. The CROCODILE implementation of galaxy formation physics includes radiative cooling and photoionization, star formation, stellar evolution considering a metallicity-dependent stellar initial mass function and hypernova fraction, dust evolution, stellar feedback, and supermassive black hole (SMBH) formation and feedback. Radiative gas cooling is implemented using the Grackle cooling library (Smith et al. 2017) with the ultraviolet background radiation of Haardt & Madau (2012). A non-thermal pressure floor is applied to prevent unphysical fragmentation. Dust production and destruction are modeled on-the-fly with 30 dust-size bins considering the diffusion of dust and metals (Hirashita & Aoyama 2019; Aoyama et al. 2020; Romano et al. 2022a). The stellar feedback includes supernova momentum input and galactic wind, which are modeled based on high-resolution simulations of superbubbles (Oku et al. 2022; Oku & Nagamine 2024), as well as enrichment of 12 metal elements due to type-II and Ia supernovae and AGB stars implemented using the CELib chemical evolution library (Saitoh 2017). The mass, energy, and metal loading factors of the galactic wind are taken from the TIGRESS simulation (Kim et al. 2020). The SMBH growth rate is based on the torque- and Eddington-limited Bondi rate, and the associated AGN feedback is modeled as a stochastic thermal energy dump (Rosas-Guevara et al. 2015; Schaye et al. 2015; Crain et al. 2015) similarly to EAGLE simulations, but with varying parameters. The details of the CROCODILE subgrid model are described in the original paper by Oku & Nagamine (2024), which introduces a simulation set with varying combinations of both SN and AGN feedback.
Obsidian
The Obsidian simulation (Rennehan et al. 2024) was run with the GIZMO code using the same cooling, star formation, and stellar feedback subgrid physics as the original SIMBA simulation, presented in Davé et al. 2019. However, Obsidian has a completely redesigned black hole accretion and feedback model, with a particularly unique “three regime” feedback scheme. Obsidian uses the “Meshless Finite Mass” hydrodynamics mode of GIZMO (Hopkins 2015) and computes gravitational forces using a modified version of the TreePM algorithm of Springel 2005, including adaptive gravitational softenings. Radiative cooling and photoionization are implemented using Grackle-3.1 (Smith et al. 2017), stars form from molecular gas following Krumholz & Gnedin (2011), and dust formation and evolution is modelled on-the-fly (Li et al. 2019). SMBHs grow via cold gas accretion with a simple scaling with the cold gas mass in the kernel (Hopkins & Quataert 2011; Anglés-Alcázar et al. 2017a, Qiu et al. 2019, Wellons et al. 2023) and hot gas accretion following Bondi 1952. The black hole feedback is spin-dependent, and is split into three regimes: the slim disk regime, quasar regime, and advection dominated accretion flow (ADAF) regime. Each mode activates based on the SMBH accretion rate. The slim disk mode activates when the SMBH accretes above 30% the Eddington rate, the quasar between 3% and 30%, and the ADAF mode below 3% the Eddington rate. The slim disk and quasar modes are bipolar kinetic winds driven by radiation, with variable radiative efficiencies. In the ADAF mode, there is a thermal dump of energy based on the results in Benson & Babul (2009), combined with a powerful Blandford-Znajek kinetic jet (Blandford & Znajek 1977, Talbot et al. 2021, Husko et al. 2023).
N-body
All the N-body simulations hve been run with the TreePM code Gadget-III code. The number of voxels in the PM grid is typically set to be 8 times that of the number of particles. The gravitational softening is set to \(1/40\) of the mean inter-particle distance.
The video below shows an example of a CAMELS-Nbody simulation: