MLAPM - a C code for cosmological simulations
arXiv:astro-ph/0103503 · doi:10.1046/j.1365-8711.2001.04532.x
Abstract
We present a computer code written in C that is designed to simulate structure formation from collisionless matter. The code is purely grid-based and uses a recursively refined Cartesian grid to solve Poisson's equation for the potential, rather than obtaining the potential from a Green's function. Refinements can have arbitrary shapes and in practice closely follow the complex morphology of the density field that evolves. The timestep shortens by a factor two with each successive refinement. It is argued that an appropriate choice of softening length is of great importance and that the softening should be at all points an appropriate multiple of the local inter-particle separation. Unlike tree and P3M codes, multigrid codes automatically satisfy this requirement. We show that at early times and low densities in cosmological simulations, the softening needs to be significantly smaller relative to the inter-particle separation than in virialized regions. Tests of the ability of the code's Poisson solver to recover the gravitational fields of both virialized halos and Zel'dovich waves are presented, as are tests of the code's ability to reproduce analytic solutions for plane-wave evolution. The times required to conduct a LCDM cosmological simulation for various configurations are compared with the times required to complete the same simulation with the ART, AP3M and GADGET codes. The power spectra, halo mass functions and halo-halo correlation functions of simulations conducted with different codes are compared.
20 pages, 20 figures, MNRAS in press, the code can be downloaded at http://www-thphys.physics.ox.ac.uk/users/MLAPM/
Cited by in corpus (116)
- The cosmological simulation code GADGET-2
- Ahf: Amiga's Halo Finder
- Enzo: An Adaptive Mesh Refinement Code for Astrophysics
- Dusty Star-Forming Galaxies at High Redshift
- The evolution substructure I: a new identification method
- Haloes gone MAD: The Halo-Finder Comparison Project
- The Impact of Baryonic Physics on the Structure of Dark Matter Halos: the View from the FIRE Cosmological Simulations
- The Role of Cold Flows in the Assembly of Galaxy Disks
- The Dual Origin of Stellar Halos
- The evolution of substructure III: the outskirts of clusters
- The Origin and Evolution of the Mass-Metallicity Relationship for Galaxies: Results from Cosmological N-Body Simulations
- BUDHIES II: A phase-space view of HI gas stripping and star-formation quenching in cluster galaxies
- ECOSMOG: An Efficient Code for Simulating Modified Gravity
- Damped Lyman Alpha Systems in Galaxy Formation Simulations
- N-body Simulations for f(R) Gravity using a Self-adaptive Particle-Mesh Code
- Structure Finding in Cosmological Simulations: The State of Affairs
- The origin of ultra diffuse galaxies: stellar feedback and quenching
- Astrophysical Smooth Particle Hydrodynamics
- Modified Gravity N-body Code Comparison Project
- N-Body Simulations for Coupled Scalar Field Cosmology
- A Direct Multigrid Poisson Solver for Oct-Tree Adaptive Meshes
- Anisotropy in the Distribution of Satellite Galaxy Orbits
- GAMER: a GPU-Accelerated Adaptive Mesh Refinement Code for Astrophysics
- The Sensitivity of Harassment to Orbit: Mass Loss from Early-Type Dwarfs in Galaxy Clusters
- ISIS: a new N-body cosmological code with scalar fields based on RAMSES. Code presentation and application to the shapes of clusters
- Wandering Black Holes in Bright Disk Galaxy Halos
- The Substructure Hierarchy in Dark Matter Haloes
- Two body relaxation in CDM simulations
- Structure Formation in the Symmetron Model
- Formation and evolution of galactic disks with a multiphase numerical model
- The Formation of Isolated Ultra-Diffuse Galaxies in Romulus25
- Constraining chameleon models with cosmology
- The evolution of substructure II: linking dynamics to environment
- Cholla : A New Massively-Parallel Hydrodynamics Code For Astrophysical Simulation
- The Novel Probes Project -- Tests of Gravity on Astrophysical Scales
- GOTPM: A Parallel Hybrid Particle-Mesh Treecode
- Nonlinear Structure Formation with the Environmentally Dependent Dilaton
- Tree-Particle-Mesh: an adaptive, efficient, and parallel code for collisionless cosmological simulation
- Cosmological Structure Formation under MOND: a new numerical solver for Poisson's equation
- Radial Alignment in Simulated Clusters
- Structure Formation by Fifth Force I: N-Body vs. Linear Simulations
- Discreteness Effects in Lambda Cold Dark Matter Simulations: A Wavelet-Statistical View
- Numerical estimation of densities
- The Impact of Box Size on the Properties of Dark Matter Haloes in Cosmological Simulations
- N-body Simulations for Extended Quintessence Models
- Reignition of Star Formation in Dwarf Galaxies
- Numerical Galaxy Catalog -I. A Semi-analytic Model of Galaxy Formation with N-body simulations
- Modeling the nonlinear clustering in modified gravity models I: A fitting formula for matter power spectrum of f(R) gravity
- The Dynamics of Subhalos in Warm Dark Matter Models
- ColDICE: a parallel Vlasov-Poisson solver using moving adaptive simplicial tessellation
- Luminous superclusters: remnants from inflation
- Two-Body Relaxation in Cosmological Simulations
- Block Structured Adaptive Mesh and Time Refinement for Hybrid, Hyperbolic + N-body Systems
- Matter Power Spectrum Covariance Matrix from the DEUS-PUR ΛCDM simulations: Mass Resolution and non-Gaussian Errors
- Structure Formation by the Fifth Force III: Segregation of Baryons and Dark Matter
- Relaxation to thermal equilibrium in the self-gravitating sheet model
- Towards understanding the structure of voids in the cosmic web
- Numerical convergence of hydrodynamical simulations of galaxy formation: the abundance and internal structure of galaxies and their cold dark matter haloes
- Towards quantitative control on discreteness error in the non-linear regime of cosmological N body simulations
- A new multidimensional AMR Hydro+Gravity Cosmological code
- Environment Dependence of Dark Matter Halos in Symmetron Modified Gravity
- Cosmic variance limited Baryon Acoustic Oscillations from the DEUS-FUR CDM simulation
- Clusters and groups of galaxies in the 2dF galaxy redshift survey
- The Tidal Streams of Disrupting Subhaloes in Cosmological Dark Matter Haloes
- Secondary infall and dark matter haloes
- The Importance of Interactions for Mass Loss from Satellite Galaxies in Cold Dark Matter Haloes
- Dark Matter Gravitational Clustering With a Long-Range Scalar Interaction
- Top-Down Fragmentation of a Warm Dark Matter Filament
- ASOHF: a new adaptive spherical overdensity halo finder
- Mapping Substructures in Dark Matter Halos
- The Relative Role of Galaxy Mergers and Cosmic Flows in Feeding Black Holes
- Galactic Halos in MONDian Cosmological Simulations
- On the Effects of Coupled Scalar Fields on Structure Formation
- Conservation Laws in Smooth Particle Hydrodynamics: the DEVA Code
- On the relation between radial alignment of dark matter subhalos and host mass in cosmological simulations
- Structure Formation by Fifth Force: Power Spectrum from N-Body Simulations
- Toward Understanding Environmental Effects in SDSS Clusters
- Adaptive gravitational softening in GADGET
- The cosmic web for density perturbations of various scales
- Wavelet analysis of the formation of the cosmic web
- The radial alignment of dark matter subhalos: from simulations to observations
- A wavelet add-on code for new-generation N-body simulations and data de-noising (JOFILUREN)
- The sense of rotation of subhaloes in cosmological dark matter haloes
- Environmental Enhancement of DM Haloes
- A Semi-analytic Ray-tracing Algorithm for Weak Lensing
- Cosmological Vlasov-Poisson equations for dark matter: Recent developments and connections to selected plasma problems
- Are the nearby groups of galaxies gravitationally bound objects?
- Varying alpha from N-body Simulations
- N-body simulations for testing the stability of triaxial galaxies in MOND
- Vectorization and Parallelization of the Adaptive Mesh Refinement N-body Code
- One-Two Quench: A Double Minor Merger Scenario
- The Adaptive TreePM: An Adaptive Resolution Code for Cosmological N-body Simulations
- Brought to Light II: Revealing the Origins of Cloaked Spiral Features in Cluster Passive Dwarf Galaxies
- Investigating the influence of magnetic fields upon structure formation with AMIGA - a C code for cosmological magnetohydrodynamics
- Physics of galactic colliders: high speed satellites in LCDM vs MONDian cosmology
- Interactions of Satellite Galaxies in Cosmological Dark Matter Halos
- MACHOs in dark matter haloes
- A Modified TreePM Code
- On the separation between baryonic and dark matter: evidence for phantom dark matter?
- Grommet: an N-body code for high-resolution simulations of individual galaxies
- Tidal Suppression of Fuzzy Dark Matter Heating in Milky Way Satellite Galaxies
- Hydrodynamic Approach to the Evolution of Cosmic Structures II: Study of N-body Simulations at z=0
- An adaptive particle-mesh gravity solver for ENZO
- Magrathea-Pathfinder: A 3D adaptive-mesh code for geodesic ray tracing in -body simulations
- A toy model to test the accuracy of cosmological N-body simulations
- Properties of self-gravitating quasi-stationary states
- On the reliability of initial conditions for dissipationless cosmological simulations
- Warm Dark Matter versus Bumpy Power Spectra
- An Integral Equation Formulation of the -body Dielectric Spheres Problem. Part II: Complexity Analysis
- How to simulate the Universe in a Computer
- The Impact of AMR in Numerical Astrophysics and Cosmology
- PySCo: A fast Particle-Mesh -body code for modified gravity simulations in Python
- The Formation of Dwarf Galaxy Disks
- An analytical model of surface mass densities of cold dark matter haloes - with an application to MACHO microlensing optical depths
- Cosmology on a Mesh
- How to simulate the Universe in a box? Testing modified gravity with a N-body simulation code