COSMOS: A Hybrid N-Body/Hydrodynamics Code for Cosmological Problems
arXiv:astro-ph/9912339 · doi:10.1086/308908
Abstract
We describe a new hybrid N-body/hydrodynamical code based on the particle-mesh (PM) method and the piecewise-parabolic method (PPM) for use in solving problems related to the evolution of large-scale structure, galaxy clusters, and individual galaxies. The code, named COSMOS, possesses several new features which distinguish it from other PM-PPM codes. In particular, to solve the Poisson equation we have written a new multigrid solver which can determine the gravitational potential of isolated matter distributions and which properly takes into account the finite-volume discretization required by PPM. All components of the code are constructed to work with a nonuniform mesh, preserving second-order spatial differences. The PPM code uses vacuum boundary conditions for isolated problems, preventing inflows when appropriate. The PM code uses a second-order variable-timestep time integration scheme. Radiative cooling and cosmological expansion terms are included. COSMOS has been implemented for parallel computers using the Parallel Virtual Machine (PVM) library, and it features a modular design which simplifies the addition of new physics and the configuration of the code for different types of problems. We discuss the equations solved by COSMOS and describe the algorithms used, with emphasis on these features. We also discuss the results of tests we have performed to establish that COSMOS works and to determine its range of validity.
43 pages, 14 figures, submitted to ApJS and revised according to referee's comments
References in corpus (1)
Cited by in corpus (12)
- Off-Axis Cluster Mergers: Effects of a Strongly Peaked Dark Matter Profile
- Galaxy Formation Theory
- A Direct Multigrid Poisson Solver for Oct-Tree Adaptive Meshes
- Computational Eulerian Hydrodynamics and Galilean Invariance
- Simulation techniques for cosmological simulations
- Tree-Particle-Mesh: an adaptive, efficient, and parallel code for collisionless cosmological simulation
- A Hybrid Cosmological Hydrodynamic/N-body Code Based on a Weighted Essentially Non-Oscillatory Scheme
- Cosmological MHD simulations of cluster formation with anisotropic thermal conduction
- Encounters of Merger and Accretion Shocks in Galaxy Clusters and their Effects on Intracluster Medium
- A Fast Algorithm for Solving the Poisson Equation on a Nested Grid
- Investigating the influence of magnetic fields upon structure formation with AMIGA - a C code for cosmological magnetohydrodynamics
- Selection effects on X-ray and strong-lensing clusters in various cosmologies