Abstract
Numerical simulations are a versatile tool for providing insight into the complicated process of structure formation in cosmology1. This process is mainly governed by gravity, which is the dominant force on large scales. At present, a century after the formulation of general relativity2, numerical codes for structure formation still employ Newton’s law of gravitation. This approximation relies on the two assumptions that gravitational fields are weak and that they originate from non-relativistic matter. Whereas the former seems well justified on cosmological scales, the latter imposes restrictions on the nature of the ‘dark’ components of the Universe (dark matter and dark energy), which are, however, poorly understood. Here we present the first simulations of cosmic structure formation using equations consistently derived from general relativity. We study in detail the small relativistic effects for a standard lambda cold dark matter cosmology that cannot be obtained within a purely Newtonian framework. Our particle-mesh N-body code computes all six degrees of freedom of the metric and consistently solves the geodesic equation for particles, taking into account the relativistic potentials and the frame-dragging force. This conceptually clean approach is very general and can be applied to various settings where the Newtonian approximation fails or becomes inaccurate, ranging from simulations of models with dynamical dark energy3 or warm/hot dark matter4 to core collapse supernova explosions5.
This is a preview of subscription content, access via your institution
Access options
Subscribe to this journal
Receive 12 print issues and online access
$259.00 per year
only $21.58 per issue
Buy this article
- Purchase on SpringerLink
- Instant access to the full article PDF.
USD 39.95
Prices may be subject to local taxes which are calculated during checkout


Similar content being viewed by others
References
Springel, V. et al. Simulating the joint evolution of quasars, galaxies and their large-scale distribution. Nature 435, 629–636 (2005).
Einstein, A. The field equations of gravitation. Sitz.ber. Preuss. Akad. Wiss. Berlin 1915, 844–847 (1915).
Noller, J., von Braun-Bates, F. & Ferreira, P. G. Relativistic scalar fields and the quasistatic approximation in theories of modified gravity. Phys. Rev. D 89, 023521 (2014).
Costanzi, M. et al. Cosmology with massive neutrinos III: the halo mass function and an application to galaxy clusters. JCAP 1312, 012 (2013).
Kotake, K. Multiple physical elements to determine the gravitational-wave signatures of core-collapse supernovae. C. R. Phys. 14, 318–351 (2013).
Chisari, N. E. & Zaldarriaga, M. Connection between Newtonian simulations and general relativity. Phys. Rev. D 83, 123505 (2011).
Green, S. R. & Wald, R. M. Newtonian and relativistic cosmologies. Phys. Rev. D 85, 063512 (2012).
Rigopoulos, G. & Valkenburg, W. On the accuracy of N-body simulations at very large scales. Mon. Not. R. Astron. Soc. 446, 677–682 (2015).
Yoo, J. & Zaldarriaga, M. Beyond the linear-order relativistic effect in galaxy clustering: second-order gauge-invariant formalism. Phys. Rev. D 90, 023513 (2014).
Bonvin, C. Isolating relativistic effects in large-scale structure. Class. Quantum Gravity 31, 234002 (2014).
Schmidt, F. Self-consistent cosmological simulations of DGP braneworld gravity. Phys. Rev. D 80, 043001 (2009).
Li, B., Zhao, G.-B., Teyssier, R. & Koyama, K. ECOSMOG: an efficient COde for simulating modified gravity. JCAP 1201, 051 (2012).
Puchwein, E., Baldi, M. & Springel, V. Modified-Gravity-GADGET: a new code for cosmological hydrodynamical simulations of modified gravity models. Mon. Not. R. Astron. Soc. 436, 348–360 (2013).
Llinares, C., Mota, D. F. & Winther, H. A. ISIS: a new N-body cosmological code with scalar fields based on RAMSES. Code presentation and application to the shapes of clusters. Astron. Astrophys. 562, A78 (2014).
Adamek, J., Daverio, D., Durrer, R. & Kunz, M. General relativistic N-body simulations in the weak field limit. Phys. Rev. D 88, 103527 (2013).
Adamek, J., Durrer, R. & Kunz, M. N-body methods for relativistic cosmology. Class. Quantum Gravity 31, 234006 (2014).
Daverio, D., Hindmarsh, M. & Bevis, N. Latfield2: a C++ library for classical lattice field theory. Preprint at http://arXiv.org/abs/1508.05610 (2015).
Behroozi, P. S., Wechsler, R. H. & Wu, H.-Y. The Rockstar phase-space temporal halo finder and the velocity offsets of cluster cores. Astrophys. J. 762, 109 (2013).
Lu, T. H.-C., Ananda, K., Clarkson, C. & Maartens, R. The cosmological background of vector modes. JCAP 0902, 023 (2009).
Bruni, M., Thomas, D. B. & Wands, D. Computing general relativistic effects from Newtonian N-body simulations: frame dragging in the post-Friedmann approach. Phys. Rev. D 89, 044010 (2014).
Ananda, K. N., Clarkson, C. & Wands, D. Cosmological gravitational wave background from primordial density perturbations. Phys. Rev. D 75, 123518 (2007).
Baumann, D., Steinhardt, P. J., Takahashi, K. & Ichiki, K. Gravitational wave spectrum induced by primordial scalar perturbations. Phys. Rev. D 76, 084019 (2007).
Bonvin, C. & Durrer, R. What galaxy surveys really measure. Phys. Rev. D 84, 063505 (2011).
Lewis, A., Challinor, A. & Lasenby, A. Efficient computation of cosmic microwave background anisotropies in closed Friedmann–Robertson–Walker models. Astrophys. J. 538, 473–476 (2000).
Blas, D., Lesgourgues, J. & Tram, T. The Cosmic Linear Anisotropy Solving System (CLASS). Part II: approximation schemes. JCAP 1107, 034 (2011).
Acknowledgements
We thank R. Teyssier and M. Bruni for discussions. This work was supported by the Swiss National Supercomputing Centre (CSCS) under project ID s546. The numerical simulations were carried out on Piz Daint at the CSCS and on the Baobab cluster of the University of Geneva. Financial support was provided by the Swiss National Science Foundation.
Author information
Authors and Affiliations
Contributions
J.A. worked out the equations in our approximation scheme and implemented the cosmological code gevolution. He also produced the figures. D.D. developed and implemented the particle handler for the LATfield2 framework. R.D. contributed to the development of the approximation scheme and the derivation of the equations. M.K. proposed the original idea. All authors discussed the research and helped with writing the paper.
Corresponding authors
Ethics declarations
Competing interests
The authors declare no competing financial interests.
Supplementary information
Supplementary information
Supplementary information (PDF 886 kb)
Supplementary Movie 1
Supplementary Movie (MPG 10504 kb)
Supplementary Movie 2
Supplementary Movie (MPG 7958 kb)
Rights and permissions
About this article
Cite this article
Adamek, J., Daverio, D., Durrer, R. et al. General relativity and cosmic structure formation. Nature Phys 12, 346–349 (2016). https://doi.org/10.1038/nphys3673
Received:
Accepted:
Published:
Issue date:
DOI: https://doi.org/10.1038/nphys3673
This article is cited by
-
The averaging problem on the past null cone in inhomogeneous dust cosmologies
General Relativity and Gravitation (2023)
-
Testing general relativity with cosmological large scale structure
General Relativity and Gravitation (2022)
-
Beyond Schrödinger-Poisson: nonrelativistic effective field theory for scalar dark matter
Journal of High Energy Physics (2021)
-
The detection of relativistic corrections in cosmological N-body simulations
Celestial Mechanics and Dynamical Astronomy (2020)
-
Mathematical general relativity
General Relativity and Gravitation (2019)


