PySCo-EFT and ECOSMOG-EFT: a tandem of N-body simulation codes for the Effective Field Theory of Dark Energy - Himanish Ganjoo; Yann Rasera; Emilio Bellini; Michel-Andrès Breton; Fabien Castillo; Sandrine Codis; Stephane Colombi; Pier-Stefano Corasaniti; Giulia Cusin; Yohan Dubois; Sylvain de la Torre; Eric Jullo; et al. (2026)
Modified gravity theories constitute viable alternatives to the standard cosmological model for explaining the observed late-time accelerated expansion of the Universe. The Effective Field Theory of Dark Energy (EFTofDE) is an efficient framework to describe a wide range of such theories with a limited number of parameters. To robustly constrain them by comparison with clustering and weak lensing data from upcoming large-scale structure surveys, high-resolution cosmological N-body simulations are required to obtain accurate predictions for the matter distribution on non-linear scales. We introduce two new N-body simulation codes for EFTofDE cosmologies: PySCo-EFT, a Python-based particle mesh code, and ECOSMOG-EFT, a RAMSES-based code with adaptive mesh refinement. We consider Horndeski models with a luminal gravitational wave speed. We use iterative solvers and multigrid schemes to solve for the additional scalar field equation in both codes, incorporating the non-linear Vainshtein screening mechanism. We present validation and convergence tests of the codes. We obtain a sub-0.5 percent agreement with linear theory on large scales and a similar agreement between the two codes on non-linear scales. The dominant numerical effects on the matter-power-spectrum boost are mass resolution, finite-volume effects, refinement threshold, and starting redshift, but they are limited to below 2% at the largest wavenumbers (k=10 h/Mpc) for the range of tested values. We investigate the impact of the EFTofDE parameters on the matter-power-spectrum ratios between EFTofDE and $Λ$CDM cases. Depending on the EFTofDE parameters, the screening plays a negligible or dominant role compared to the linearised field equations. Our codes provide tools for generating fast and accurate predictions of the impact of the EFTofDE on the clustering of matter, incorporating non-linear screening.
Keywords: astro-ph.CO; gr-qc