Cosmological N-Body & Hydrodynamic Simulations
Cosmological simulations split gravity into long-range Particle-Mesh (Fast Fourier Transform) forces and short-range Barnes-Hut octree forces (O(N log N)), coupled to Smoothed Particle Hydrodynamics, Adaptive Mesh Refinement, or Voronoi moving meshes (AREPO) plus sub-grid star-formation and AGN feedback recipes.
Physical Mechanism & Dynamics
Direct pairwise gravity across N = 10^11 particles would require O(N^2) = 10^22 operations per step; TreePM computes periodic long-range forces on a 3D FFT grid and groups distant particle clusters into multipole tree nodes, reducing cost to O(N log N).
Because a 100-Mpc cosmic volume cannot resolve individual sub-parsec supernova shocks or black hole event horizons, hydrodynamic codes implement calibrated 'sub-grid' physics for radiative cooling, star formation, stellar yields, and quasar/radio-mode AGN feedback.
Key relation
\nabla^2\Phi = 4\pi G a^2(\rho - \bar{\rho}),\quad \mathcal{O}(N^2) \xrightarrow{\mathrm{TreePM}} \mathcal{O}(N\log N)Quantitative Benchmarks & Parameters
| Parameter / Observable | Measured Value / Scale | Method & Context |
|---|---|---|
| Flagship Particle Counts | 10^10 to ~2 × 10^12 particles/cells | e.g., Millennium-XXL, Uchuu, FLAMINGO, TNG300 |
| Baryonic Mass Resolution | ~10^4 to 10^7 M_sun per gas cell | Dwarf-galaxy zoom-in simulations reach ~1–100 M_sun |
Observational Evidence & How Scientists Know
IllustrisTNG, EAGLE, SIMBA, and FLAMINGO broadly reproduce the cosmic web, the galaxy stellar mass function, the bimodal colour-magnitude diagram, and the morphological Hubble sequence simultaneously. FLAMINGO's feedback is calibrated to the observed galaxy stellar mass function and cluster gas fractions (Schaye et al. 2023).
Key literature reference: Vogelsberger et al. 2020: Cosmological Simulations of Galaxy Formation (Nat. Rev. Phys.).
Uncertainties, Systematics & Open Questions
Different sub-grid AGN feedback implementations (thermal injection vs kinetic winds) predict significantly different baryon ejection profiles at cluster outskirts, a key systematic for weak-lensing cosmology.
Real Astronomical Benchmarks & Cross-Domain Links
IllustrisTNG (TNG50 / TNG100 / TNG300)
Moving-mesh magnetohydrodynamic simulation suite using the AREPO code.
Millennium & Uchuu Simulations
Landmark dark-matter-only N-body runs mapping halo assembly and cosmic web statistics.
Guided Learning Path
Related Concepts, Methods & Explorers
Scientific Sources & Provenance
- Nelson et al. 2019: The IllustrisTNG simulations: public data release (2019 Comput. Astrophys. Cosmol. 6, 2) — Nelson, D., et al. 2019, Comput. Astrophys. Cosmol., 6, 2 (The IllustrisTNG simulations: public data release). Archive / Reference ↗
- Schaye et al. 2023: The FLAMINGO project: cosmological hydrodynamical simulations for large-scale structure and galaxy cluster surveys (2023 MNRAS 526, 4978) — Schaye, J., Kugel, R., Schaller, M., Helly, J. C., et al. 2023, MNRAS, 526, 4978 (The FLAMINGO project: cosmological hydrodynamical simulations for large-scale structure and galaxy cluster surveys). Archive / Reference ↗
- Vogelsberger et al. 2020: Cosmological simulations of galaxy formation (2020 Nature Reviews Physics 2, 42) — Vogelsberger, M., et al. 2020, Nature Reviews Physics, 2, 42 (Cosmological simulations of galaxy formation). Archive / Reference ↗
Have a correction or updated measurement? Review our Epistemic Standards and Corrections Policy.