Skip to main content

Research Repository

Advanced Search

ECOSMOG: an Efficient COde for Simulating MOdified Gravity

Li, B.; Zhao, G.; Teyssier, R.; Koyama, K.


G. Zhao

R. Teyssier

K. Koyama


We introduce a new code, ECOSMOG, to run N-body simulations for a wide class of modified gravity and dynamical dark energy theories. These theories generally have one or more new dynamical degrees of freedom, the dynamics of which are governed by their (usually rather nonlinear) equations of motion. Solving these non-linear equations has been a great challenge in cosmology. Our code is based on the RAMSES code, which solves the Poisson equation on adaptively refined meshes to gain high resolutions in the high-density regions. We have added a solver for the extra degree(s) of freedom and performed numerous tests for the f(R) gravity model as an example to show its reliability. We find that much higher efficiency could be achieved compared with other existing mesh/grid-based codes thanks to two new features of the present code: (1) the efficient parallelisation and (2) the usage of the multigrid relaxation to solve the extra equation(s) on both the regular domain grid and refinements, giving much faster convergence even under much more stringent convergence criteria. This code is designed for performing high-accuracy, high-resolution and large-volume cosmological simulations for modified gravity and general dark energy theories, which can be utilised to test gravity and the dark energy hypothesis using the upcoming and future deep and high-resolution galaxy surveys.


Li, B., Zhao, G., Teyssier, R., & Koyama, K. (2012). ECOSMOG: an Efficient COde for Simulating MOdified Gravity. Journal of Cosmology and Astroparticle Physics, 2012(01), Article 051.

Journal Article Type Article
Publication Date Jan 27, 2012
Deposit Date Jan 20, 2012
Publicly Available Date May 8, 2014
Journal Journal of Cosmology and Astroparticle Physics
Publisher IOP Publishing
Peer Reviewed Peer Reviewed
Volume 2012
Issue 01
Article Number 051
Public URL


You might also like

Downloadable Citations