Skip to main content

Research Repository

Advanced Search

Fast full N-body simulations of generic modified gravity: derivative coupling models

Hernández-Aguayo, César; Ruan, Cheng-Zong; Li, Baojiu; Arnold, Christian; Baugh, Carlton M.; Klypin, Anatoly; Prada, Francisco

Fast full N-body simulations of generic modified gravity: derivative coupling models Thumbnail


César Hernández-Aguayo

Cheng-Zong Ruan

Christian Arnold

Anatoly Klypin

Francisco Prada


We present mg-glam, a code developed for the very fast production of full N-body cosmological simulations in modified gravity (MG) models. We describe the implementation, numerical tests and first results of a large suite of cosmological simulations for two broad classes of MG models with derivative coupling terms — the Vainshtein- and Kmouflage-type models — which respectively features the Vainshtein and Kmouflage screening mechanism. Derived from the parallel particle-mesh code glam, mg-glam incorporates an efficient multigrid relaxation technique to solve the characteristic nonlinear partial differential equations of these models. For Kmouflage, we have proposed a new algorithm for the relaxation solver, and run the first simulations of the model to understand its cosmological behaviour. In a companion paper, we describe versions of this code developed for conformally-coupled MG models, including several variants of f(R) gravity, the symmetron model and coupled quintessence. Altogether, mg-glam has so far implemented the prototypes for most MG models of interest, and is broad and versatile. The code is highly optimised, with a tremendous (over two orders of magnitude) speedup when comparing its running time with earlier N-body codes, while still giving accurate predictions of the matter power spectrum and dark matter halo abundance. mg-glam is ideal for the generation of large numbers of MG simulations that can be used in the construction of mock galaxy catalogues and accurate emulators for ongoing and future galaxy surveys.

Journal Article Type Article
Acceptance Date Dec 29, 2021
Online Publication Date Jan 24, 2022
Publication Date 2022-01
Deposit Date Oct 27, 2021
Publicly Available Date May 25, 2022
Journal Journal of Cosmology and Astroparticle Physics
Publisher IOP Publishing
Peer Reviewed Peer Reviewed
Volume 2022
Article Number 048
Public URL
Related Public URLs


Published Journal Article (3.2 Mb)

Publisher Licence URL

Copyright Statement
Published by IOP Publishing Ltd on behalf of Sissa Medialab. Original content from this work may be used under the terms of the Creative Commons Attribution 4.0 licence. Any further distribution of this work must maintain attribution to the author(s) and the title of the work, journal citation and DOI.

You might also like

Downloadable Citations