English

A momentum conserving $N$-body scheme with individual timesteps

Instrumentation and Methods for Astrophysics 2018-01-01 v1 Cosmology and Nongalactic Astrophysics Astrophysics of Galaxies

Abstract

NN-body simulations study the dynamics of NN particles under the influence of mutual long-distant forces such as gravity. In practice, NN-body codes will violate Newton's third law if they use either an approximate Poisson solver or individual timesteps. In this study, we construct a novel NN-body scheme by combining a fast multipole method (FMM) based Poisson solver and a time integrator using a hierarchical Hamiltonian splitting (HHS) technique. We test our implementation for collision-less systems using several problems in galactic dynamics. As a result of the momentum conserving nature of these two key components, the new NN-body scheme is also momentum conserving. Moreover, we can fully utilize the O(N)\mathcal O(\textit N) complexity of FMM with the integrator. With the restored force symmetry, we can improve both angular momentum conservation and energy conservation substantially. The new scheme will be suitable for many applications in galactic dynamics and structure formation. Our implementation, in the code Taichi, is publicly available at https://bitbucket.org/qirong_zhu/taichi_public/.

Keywords

Cite

@article{arxiv.1712.10116,
  title  = {A momentum conserving $N$-body scheme with individual timesteps},
  author = {Qirong Zhu},
  journal= {arXiv preprint arXiv:1712.10116},
  year   = {2018}
}

Comments

14 pages, 11 figures; comments welcome!