REVIEW
Cosmological Hydrodynamics with Adaptive Mesh Refinement: a new high resolution code called RAMSES
Astrophysics · Submitted 19 Nov 2001 · 61 references
Pith's verdict: A genuinely important methods paper — the AMR code and the coarse–fine shock study are the real contribution; the abstract's halo-model sentence oversells the gas side, which the body itself admits.
T0 · AI review
Why Pith says this
Highlight any text to comment on it.
Referee report
The paper
The paper claims
The paper presents RAMSES, a tree-based adaptive-mesh code that couples an ART-like N-body solver to a second-order Godunov hydro solver and argues that density-driven refinement alone is sufficient for cosmological structure formation.
The reading
What carries the argument
The machinery is a fully threaded tree of octs—groups of $2^{rm dim}$ sibling cells—with linked lists that let the code split and destroy child cells cheaply at every time step. Gravity uses a particle linked list, CIC mass assignment, an FFT coarse-grid Poisson solve, and Gauss-Seidel relaxation with coarse-to-fine boundary buffers on refined levels. Hydrodynamics uses a second-order Godunov (piecewise linear) scheme with an almost-exact Riemann solver and Min-Mod slopes, plus conservative interpolation at level boundaries. The cosmological refinement rule is the part that carries the argument: cells refine when their dark matter or baryon density exceeds a level-dependent threshold chosen to keep a roughly constant number of particles per cell, not when a shock passes through.
Extended reading notes
Core claim
RAMSES establishes that tree-based AMR can carry a coupled N-body and hydrodynamical cosmological simulation to a dynamic range of $8192^3$ while keeping the mesh only about 2.5 times the coarse cell count. The load-bearing result is not just that the code passes standard tests; it is that a quasi-Lagrangian refinement rule based on dark matter and gas density thresholds, with no refinement of shock fronts, is adequate in cosmology. The author argues this because strong accretion shocks propagate outward from high-density haloes into low-density voids, the favorable direction for coarse-fine transitions, while weak shocks that enter refined regions are reported to leave no detectable oscillations. On the largest simulation, the dark matter density power spectrum converges to the formal resolution limit and follows the halo-model prediction, while the gas pressure spectrum and individual halo profiles show convergence at scales above roughly $50h^{-1}$ kpc and only approximate agreement with an isothermal halo model.
Load-bearing premise
The weakest load-bearing premise is that the halo-model comparison is an independent check on the gas physics, even though the paper states that the halo-model parameters were tuned to recover simulation results and the gas model assumes isothermal hydrostatic equilibrium, which the paper's own temperature profiles contradict.
Editorial extensions
If this is right
- Cell-by-cell tree refinement can follow hierarchical clustering with a final mesh only about 2.5 times the coarse cell count, making an $8192^3$-equivalent dynamic range practical on a vector supercomputer.
- Cosmological production runs can omit shock-front refinement, saving the large memory cost of covering two-dimensional shock surfaces in three dimensions, because strong accretion shocks run from high- to low-resolution regions.
- The dark matter density power spectrum is reliable down to the formal Nyquist frequency of each run, so the N-body side can be used for precision clustering tests at the stated resolution.
- Gas pressure and halo profiles are converged only above roughly $50h^{-1}$ kpc in the largest run, which sets the scale at which the adiabatic simulation can be compared with X-ray or Sunyaev-Zeldovich observations.
- The mismatch with the isothermal halo model at small radii and high $k$ points to a needed extension using a $eta$-model gas profile and a hydrostatic temperature profile.
Reading between the lines
- If density-only refinement is safe for outward-running cosmological shocks, the same logic should fail for implosions or merger shocks that converge into dense regions; a targeted convergence-inflow test would map the boundary of the method.
- The pressure-spectrum excess at intermediate scales is naturally read as missing warm filaments; adding a third, filamentary component to the halo model would be a direct way to test that interpretation.
- Because the halo-model parameters are calibrated against simulations, the agreement is a consistency check rather than a prediction; a blind comparison with parameters fixed from independent data would turn it into a real test.
- The 2.5-fold cell overhead from refinement-map smoothing suggests that adaptive smoothing could trade a little mesh regularity for memory, which matters for extending the same box to higher resolution.
Original abstract
A new N-body and hydrodynamical code, called RAMSES, is presented. It has been designed to study structure formation in the universe with high spatial resolution. The code is based on Adaptive Mesh Refinement (AMR) technique, with a tree based data structure allowing recursive grid refinements on a cell-by-cell basis. The N-body solver is very similar to the one developed for the ART code (Kravtsov et al. 97), with minor differences in the exact implementation. The hydrodynamical solver is based on a second-order Godunov method, a modern shock-capturing scheme known to compute accurately the thermal history of the fluid component. The accuracy of the code is carefully estimated using various test cases, from pure gas dynamical tests to cosmological ones. The specific refinement strategy used in cosmological simulations is described, and potential spurious effects associated to shock waves propagation in the resulting AMR grid are discussed and found to be negligible. Results obtained in a large N-body and hydrodynamical simulation of structure formation in a low density LCDM universe are finally reported, with 256^3 particles and 4.1 10^7 cells in the AMR grid, reaching a formal resolution of 8192^3. A convergence analysis of different quantities, such as dark matter density power spectrum, gas pressure power spectrum and individual haloes temperature profiles, shows that numerical results are converging down to the actual resolution limit of the code, and are well reproduced by recent analytical predictions in the framework of the halo model.
The compiled record
The paper's own sentences, arranged, kept beside the review and separate from it. Each label is drawn from a closed vocabulary; the number beside it is the probability the classifier gave that label. Numbers in the tables are the authors', checked by code. No sentence in this record was written by a model.
The abstract, sentence by sentence
A new N-body and hydrodynamical code, called RAMSES, is presented. It has been designed to study structure formation in the universe with high spatial resolution. The code is based on Adaptive Mesh Refinement (AMR) technique, with a tree based data structure allowing recursive grid refinements on a cell-by-cell basis. The N-body solver is very similar to the one developed for the ART code (Kravtsov et al. 97), with minor differences in the exact implementation. The hydrodynamical solver is based on a second-order Godunov method, a modern shock-capturing scheme known to compute accurately the thermal history of the fluid component. The accuracy of the code is carefully estimated using various test cases, from pure gas dynamical tests to cosmological ones. The specific refinement strategy used in cosmological simulations is described, and potential spurious effects associated to shock waves propagation in the resulting AMR grid are discussed and found to be negligible. Results obtained in a large N-body and hydrodynamical simulation of structure formation in a low density LCDM universe are finally reported, with 256^3 particles and 4.1 10^7 cells in the AMR grid, reaching a formal resolution of 8192^3. A convergence analysis of different quantities, such as dark matter density power spectrum, gas pressure power spectrum and individual haloes temperature profiles, shows that numerical results are converging down to the actual resolution limit of the code, and are well reproduced by recent analytical predictions in the framework of the halo model.
background contribution method result interpretation main claim
| # | sentence | role | the authors' own work | states the main conclusion | strength |
|---|---|---|---|---|---|
| s0 | A new N-body and hydrodynamical code, called RAMSES, is presented. | contribution 0.99 | 0.85 | 0.08 | asserted 1.00 |
| s1 | It has been designed to study structure formation in the universe with high spatial resolution. | contribution 0.83 | 0.44 | 0.05 | asserted 0.99 |
| s2 | The code is based on Adaptive Mesh Refinement (AMR) technique, with a tree based data structure allowing recursive grid refinements on a cell-by-cell basis. | method 0.99 | 0.53 | 0.03 | asserted 1.00 |
| s3 | The N-body solver is very similar to the one developed for the ART code (Kravtsov et al. 97), with minor differences in the exact implementation. | method 0.94 | 0.25 | 0.02 | asserted 1.00 |
| s4 | The hydrodynamical solver is based on a second-order Godunov method, a modern shock-capturing scheme known to compute accurately the thermal history of the fluid component. | method 0.99 | 0.36 | 0.04 | asserted 1.00 |
| s5 | The accuracy of the code is carefully estimated using various test cases, from pure gas dynamical tests to cosmological ones. | method 0.90 | 0.93 | 0.04 | asserted 1.00 |
| s6 | The specific refinement strategy used in cosmological simulations is described, and potential spurious effects associated to shock waves propagation in the resulting AMR grid are discussed and found to be negligible. | method 0.81 | 0.95 | 0.09 | asserted 1.00 |
| s7 | Results obtained in a large N-body and hydrodynamical simulation of structure formation in a low density LCDM universe are finally reported, with 256^3 particles and 4.1 10^7 cells in the AMR grid, reaching a formal resolution of 8192^3. | result 0.81 | 0.97 | 0.21 | asserted 1.00 |
| s8 | A convergence analysis of different quantities, such as dark matter density power spectrum, gas pressure power spectrum and individual haloes temperature profiles, shows that numerical results are converging down to the actual resolution limit of the code, and are well reproduced by recent analytical predictions in the framework of the halo model. | result 0.94 | 0.95 | 0.52 | asserted 1.00 |
What was examined, and what was not
- arXiv listing abstract v1
- full text
- figures and tables
- references and citing sentences
- relations to other papers
- P abstract
- S sections
- T body sentences
- C citations
- R cross-paper relations
Figures
Showing 10 of the paper's 13 figures. See all figures in the PDF ↗ Figures reproduced from arXiv:astro-ph/0111367 by the authors.
References
How later papers used it
700 later papers cite it
20 later papers by other authors are listed below: 20 used its method or tool. 4 more papers by the same authors are listed: 4 used its method or tool.
Uses its method or tool 24 of 513 papers with this label · 4 by the same authors
-
Ran an N-body plus hydrodynamical simulation of two merging disc galaxies using the adaptive mesh refinement code of this paper.
From starburst to quenching: merger-driven evolution of the star formation regimes in a shell galaxy (2022) · 1.00 · paraphrased: the licence does not allow quoting
-
Performed its N-body simulations with the ecosmog code, which is based on this paper's adaptive mesh refinement code.
Testing the quasi-static approximation in $f(R)$ gravity simulations (2014) · 1.00 · paraphrased: the licence does not allow quoting
-
Re-evolved initial conditions to z=0 using this paper's adaptive mesh refinement code and the star-by-star model inferno.
EDGE-INFERNO: Simulating every observable star in faint dwarf galaxies and their consequences for resolved-star photometric surveys (2024) · 1.00 · paraphrased: the licence does not allow quoting
-
Ran its simulations with RAMSES-RT, an extension of this paper's open-source RAMSES code that includes on-the-fly radiation transfer and non-equilibrium chemistry.
How to Quench a Dwarf Galaxy: The Impact of Inhomogeneous Reionization on Dwarf Galaxies and Cosmic Filaments (2019) · 1.00 · paraphrased: the licence does not allow quoting
-
Ran hydrodynamical simulations of an isolated dwarf galaxy using this paper's adaptive mesh refinement code.
New insights on the formation of nuclear star clusters (2016) · 1.00 · paraphrased: the licence does not allow quoting
-
Ran both of its idealized hydrodynamical simulations with this paper's RAMSES code, using sub-grid physics modules.
Lyman-alpha emission properties of simulated galaxies: interstellar medium structure and inclination effects (2012) · 1.00 · paraphrased: the licence does not allow quoting
-
Performed its simulations with the ecosmog code, an augmented version of this paper's RAMSES code with added routines for modified gravity.
The Santiago-Harvard-Edinburgh-Durham void comparison I: SHEDding light on chameleon gravity tests (2017) · 1.00 · paraphrased: the licence does not allow quoting
-
Simulated two Milky Way-like isolated galaxies using this paper's hydro plus N-body adaptive mesh refinement code.
Physical Properties and Scaling Relations of Molecular Clouds: the Impact of Star Formation (2020) · 1.00 · paraphrased: the licence does not allow quoting
-
Ran its N-body simulations with the ECOSMOG code, a modified version of this paper's publicly available adaptive mesh refinement RAMSES code.
Validating estimates of the growth rate of structure with modified gravity simulations (2016) · 1.00 · paraphrased: the licence does not allow quoting
-
Ran its simulations with a modified gravity N-body cosmological code based on this paper's particle mesh code.
Non-linear Phenomenology of Disformally Coupled Quintessence (2019) · 1.00 · paraphrased: the licence does not allow quoting
-
Calculated the time evolution of the Galaxy and Sgr precursor by solving the Vlasov-Poisson and Euler equations with this paper's adaptive mesh refinement N-body gravito-hydrodynamics code.
The Sagittarius dwarf galaxy: Where did all the gas go? (2018) · 1.00 · paraphrased: the licence does not allow quoting
-
Ran its simulations with RAMSES-RT, an extension of this paper's adaptive mesh refinement RAMSES code.
Tracing the Sources of Reionization in Cosmological Radiation Hydrodynamics Simulations (2018) · 1.00 · paraphrased: the licence does not allow quoting
-
The model is a galaxy wide implementation of a successful ISM feedback model tested in small box simulations [ref] and adapted to the adaptive mesh refinement (AMR) code [ref] .
The SATIN project I: Turbulent multi-phase ISM in Milky Way simulations with SNe feedback from stellar clusters (2022) · SATIN Model · 0.84
-
Used this paper's adaptive mesh refinement code and the cosmological zoom-in technique on the m12i initial conditions.
VINTERGATAN II: the history of the Milky Way told by its mergers (2020) · 0.99 · paraphrased: the licence does not allow quoting
-
por is a patch to the publicly available code ramses [ref] , a grid-based code that uses the AMR technique. ramses also has a hydrodynamical solver, enabling simulations with gas and star formation. por is a patch to the 2015 version of ramses that was added by [ref] in order to solve a numerical implementation of QUMOND [ref] , whose field equation for the potential $Φ$ is [equation] where $g$ is the true gravity, $g__N$ is the Newtonian gravity, and $ν$ is an interpolation function between the Newtonian and MOND regimes such that $g = νg__N$ in spherical symmetry.
Simulations of star forming main sequence galaxies in Milgromian gravity (2022) · Numerical Methods · 0.99
-
Evolved particles in a periodic cubic box using the f(R) version of this paper's RAMSES N-body code called ecosmog.
The e-MANTIS emulator: fast predictions of the non-linear matter power spectrum in $f(R)$CDM cosmology (2023) · 0.99 · paraphrased: the licence does not allow quoting
-
Based its code on this paper's publicly available N-body and hydrodynamical simulation code RAMSES.
GRAMSES: a new route to general relativistic $N$-body simulations in cosmology. Part I. Methodology and code description (2019) · 0.97 · paraphrased: the licence does not allow quoting
-
Calculated the evolution of the MCs and their infall into the Galaxy using this paper's N-body, MHD grid code with adaptive mesh refinement.
The Magellanic System: the puzzle of the leading gas stream (2019) · 1.00 · paraphrased: the licence does not allow quoting
-
We use the hydrodynamic code RAMSES [ref] to simulate the evolution of gas in patches of galactic disks over timescales of hundreds of Myr.
Constraints on the frequency and mass content of r-process events derived from turbulent mixing in galactic disks (2023) · Numerical Methods · 1.00
-
Used this paper's RAMSES astrophysical code and its extension to MHD.
Birth of magnetized low-mass protostars and circumstellar disks (2025) · 1.00 · paraphrased: the licence does not allow quoting
By the same authors
-
Used a zoom-in simulation performed with this paper's cosmological adaptive mesh refinement code, including baryon gas dynamics and star formation.
Indirect dark matter searches: towards a consistent top-bottom approach for studying the gamma-ray signals and associated backgrounds (2012) (same authors) · 1.00 · paraphrased: the licence does not allow quoting
-
Based its study on a cosmological zoom-in simulation performed with this paper's adaptive mesh refinement code.
A Subgrid Turbulent Mean Field Dynamo Model for Cosmological Galaxy Formation Simulations (2021) (same authors) · 1.00 · paraphrased: the licence does not allow quoting
-
Addressed the photon budget using the CoDa II simulation, produced with RAMSES-CUDATON, which couples this paper's RAMSES code to ATON.
Galactic ionising photon budget during the Epoch of Reionisation in the Cosmic Dawn II simulation (2020) (same authors) · 0.97 · paraphrased: the licence does not allow quoting
-
Used this paper's adaptive mesh refinement code RAMSES to simulate the formation and evolution of an isolated dwarf galaxy.
A small-scale dynamo in feedback-dominated galaxies - II. The saturation phase and the final magnetic configuration (2017) (same authors) · 1.00 · paraphrased: the licence does not allow quoting
How the literature uses it
143 arXiv papers cite this in 176 sentences
Papers citing it · 61 sentences without a confident label
Uses its method or tool 85 papers
-
Our numerical results are obtained by combining the ray-tracing modules of the Ray-Ramses code [ref] with the modified gravity N-body code ECOSMOG [ref] , both being extensions of the publicly available AMR Ramses code [ref] .
Weak lensing by galaxy troughs with modified gravity · Numerical methods · 1.00
-
We implement the GCCG model in the simulation code [ref] , which is an adaptive mesh refinement (AMR) code built on [ref] and extended to model modified gravity scenarios.
N-body Simulations of Large-Scale Structure in the Generalized Cubic Covariant Galileon Model · N-body simulations set-up · 0.98
-
To this end, we included to non-static terms of the Klein-Gordon equation in the code Isis [ref] , which is modification of the code Ramses [ref] that includes scalar fields in its static limit.
Cosmological simulations of screened modified gravity out of the static approximation: effects on matter distribution · Introduction · 0.96
Uses its data or values 1 paper
-
Finally Ref. [ref] found that present-day N-body codes (Ramses [ref] , Pkdgrav3 [ref] , Gadget3 [ref] ) agree to within 1% at $k=1$ h/Mpc and 3% at $k=10$ h/Mpc.
Cosmology in the era of Euclid and the Square Kilometre Array · Power spectrum error modelling (galaxy clustering + intensity mapping) · 0.86
Compares with it 3 papers
-
In Fig. [ref] we show a comparison of $P(k)$ for $Λ$CDM using L-PICOLA (with $n = 30$ time steps) compared to the results of the N-body code RAMSES [ref] .
COLA with scale-dependent growth: applications to screened modified gravity models · Results · 0.90
-
Here, several different N-body methods [ref] are compared with linear response [ref] , the emulator, and ; the low-shot-noise swift simulation of Ref. [ref] , based upon the $δf$ method of Refs. [ref] , is used as a reference.
Everything hot everywhere all at once: Neutrinos and hot dark matter as a single effective species · Accuracy at low Mnu: solving a puzzle · 0.89
-
We choose to compare our implementation with Gadget-2 [ref] and with RAMSES (version 3.0) [ref] .
gevolution: a cosmological N-body code based on General Relativity · Code comparison with Gadget-2 and RAMSES · 0.99
Cites it as background 11 papers
-
The standard approach to investigate the non-linear process of structure formation is N-body simulations [ref] , which however ignore any relativistic effect.
$\texttt{fRevolution}$ $-$ Relativistic Cosmological Simulations in $f(R)$ Gravity I: Methodology · Introduction · 0.83
-
Even though this model seems to be quite simple from a conceptual point of view, no general solution is known and one usually has to resort to N-body simulations which tackle the problem of solving the dynamical equations numerically, see [ref] .
Schr\"odinger method as N-body double and UV completion of dust · Introduction · 0.83
-
The variety of available options is noteworthy, even when restricting oneself to the particular case of scientific software chiefly intended for galaxy evolution and non-linear structure formation studies; MHD solvers developed for such applications include the high-order Godunov scheme of [ref] that was incorporated into the adaptive mesh refinement (AMR) code [ref] , the mesh-less smoothed particle magnetohydrodynamics (SPMHD) method of [ref] that was conceived as a constituent of [ref] , the second-order finite-volume scheme of [ref] implemented into the moving-mesh code [ref] , the `mesh-less finite mass'/`mesh-less finite volume' (MFM/MFV) approaches of [ref] that are a part of [ref] , and `geometric density average' formulation of SPMHD conceived by [ref] that was recently included in [ref] and [ref] .
Smoothed particle magnetohydrodynamics for simulations of galaxy and cosmic structure formation · Introduction · 0.80
Discussion
Disagree with the review, or know something it missed? Leave a comment, highlight any passage above to comment on it, or challenge this review formally.