SCF-FDPS: A Fast -body Code for Simulating Disk-halo Systems
arXiv:2302.11794 · doi:10.3847/1538-4357/acbea5
Abstract
A fast -body code has been developed for simulating a stellar disk embedded in a live dark matter halo. In generating its Poisson solver, a self-consistent field (SCF) code which inherently possesses perfect scalability is incorporated into a tree code which is parallelized using a library termed Framework for Developing Particle Simulators (FDPS). Thus, the code developed here is called SCF-FDPS. This code has realized the speedup of a conventional tree code by applying an SCF method not only to the calculation of the self-gravity of the halo but also to that of the gravitational interactions between the disk and halo particles. Consequently, in the SCF-FDPS code, a tree algorithm is applied only to calculate the self-gravity of the disk. On a many-core parallel computer, the SCF-FDPS code has performed at least three times, in some case nearly an order of magnitude, faster than an extremely-tuned tree code on it, if the numbers of disk and halo particles are, respectively, fixed for both codes. In addition, the SCF-FDPS code shows that the cpu cost scales almost linearly with the total number of particles and almost inversely with the number of cores. We find that the time evolution of a disk-halo system simulated with the SCF-FDPS code is, in large measure, similar to that obtained using the tree code. We suggest how the present code can be extended to cope with a wide variety of disk-galaxy simulations.
arXiv comment13 pages, 8 figures, accepted for publication in ApJ
References in corpus (16)
- A Universal Density Profile from Hierarchical Clustering
- The Structure of Cold Dark Matter Halos
- The Galaxy in Context: Structural, Kinematic and Integrated Properties
- Rotation Curves of Spiral Galaxies
- Bar-Halo Interaction and Bar Growth
- Self-Perpetuating Spiral Arms in Disk Galaxies
- A sparse octree gravitational N-body code that runs entirely on the GPU processor
- The dynamics of spiral arms in pure stellar disks
- Implementation and performance of FDPS: A Framework Developing Parallel Particle Simulation Codes
- Anatomy of the Bar Instability in Cuspy Dark Matter Halos
- The dynamics of stellar disks in live dark-matter halos
- Modeling the Milky Way as a Dry Galaxy
- Fortran interface layer of the framework for developing particle simulator FDPS
- MAGI: many-component galaxy initialiser
- A Parallel Self--Consistent Field Code
- Simulations of Spheroidal Systems with Substructure: Trees in Fields