English

Adaptive smoothing lengths in SPH

Astrophysics 2015-06-24 v1

Abstract

Context: There is a need to improve the fidelity of SPH simulations of self-gravitating gas dynamics. Aims: We remind users of SPH that, if smoothing lengths are adjusted so as to keep the number of neighbours, N{\cal N}, in the range NNEIB±ΔNNEIB{\cal N}_{_{\rm NEIB}}\pm\Delta{\cal N}_{_{\rm NEIB}}, the tolerance, ΔNNEIB\Delta{\cal N}_{_{\rm NEIB}}, should be set to zero, as first noted by Nelson & Papaloizou. We point out that this is a very straightforward and computationally inexpensive constraint to implement. Methods: We demonstrate this by simulating acoustic oscillations of a self-gravitating isentropic monatomic gas-sphere (cf. Lucy), using NTOT6,000{\cal N}_{_{\rm TOT}}\sim6,000 particles and NNEIB=50{\cal N}_{_{\rm NEIB}}=50. Results: We show that there is a marked reduction in the rates of numerical dissipation and diffusion as ΔNNEIB\Delta{\cal N}_{_{\rm NEIB}} is reduced from 10 to zero. Moreover this reduction incurs a very small computational overhead. Conclusions: We propose that this should become a standard test for codes used in simulating star formation. It is a highly relevant test, because pressure waves generated by the switch from approximate isothermality to approximate adiabaticity play a critical role in the fragmentation of collapsing prestellar cores. Since many SPH simulations in the literature use NNEIB=50{\cal N}_{_{\rm NEIB}}=50 and ΔNNEIB10\Delta{\cal N}_{_{\rm NEIB}}\geq10, their results must be viewed with caution.

Keywords

Cite

@article{arxiv.astro-ph/0701909,
  title  = {Adaptive smoothing lengths in SPH},
  author = {R. E. Attwood and S. P. Goodwin and A. P. Whitworth},
  journal= {arXiv preprint arXiv:astro-ph/0701909},
  year   = {2015}
}

Comments

5 pages, 2 figures, accepted for publication in A&A