{"title":"On the reliability of N-body simulations","authors":"Tjarda Boekholt, Simon Portegies Zwart","doi":"10.1186/s40668-014-0005-3","DOIUrl":null,"url":null,"abstract":"<p>The general consensus in the <i>N</i>-body community is that statistical results of an ensemble of collisional <i>N</i>-body simulations are accurate, even though individual simulations are not. A way to test this hypothesis is to make a direct comparison of an ensemble of solutions obtained by conventional methods with an ensemble of true solutions. In order to make this possible, we wrote an <i>N</i>-body code called <span>Brutus</span>, that uses arbitrary-precision arithmetic. In combination with the Bulirsch-Stoer method, <span>Brutus</span> is able to obtain converged solutions, which are true up to a specified number of digits.</p><p>We perform simulations of democratic 3-body systems, where after a sequence of resonances and ejections, a final configuration is reached consisting of a permanent binary and an escaping star. We do this with conventional double-precision methods, and with <span>Brutus</span>; both have the same set of initial conditions and initial realisations. The ensemble of solutions from the conventional simulations is compared directly to that of the converged simulations, both as an ensemble and on an individual basis to determine the distribution of the errors.</p><p>We find that on average at least half of the conventional simulations diverge from the converged solution, such that the two solutions are microscopically incomparable. For the solutions which have not diverged significantly, we observe that if the integrator has a bias in energy and angular momentum, this propagates to a bias in the statistical properties of the binaries. In the case when the conventional solution has diverged onto an entirely different trajectory in phase-space, we find that the errors are centred around zero and symmetric; the error due to divergence is unbiased, as long as the time-step parameter, <span>\\(\\eta\\le2^{-5}\\)</span> and when simulations which violate energy conservation by more than 10% are excluded. For resonant 3-body interactions, we conclude that the statistical results of an ensemble of conventional solutions are indeed accurate.</p>","PeriodicalId":523,"journal":{"name":"Computational Astrophysics and Cosmology","volume":"2 1","pages":""},"PeriodicalIF":16.2810,"publicationDate":"2015-03-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://sci-hub-pdf.com/10.1186/s40668-014-0005-3","citationCount":"28","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computational Astrophysics and Cosmology","FirstCategoryId":"4","ListUrlMain":"https://link.springer.com/article/10.1186/s40668-014-0005-3","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 28
Abstract
The general consensus in the N-body community is that statistical results of an ensemble of collisional N-body simulations are accurate, even though individual simulations are not. A way to test this hypothesis is to make a direct comparison of an ensemble of solutions obtained by conventional methods with an ensemble of true solutions. In order to make this possible, we wrote an N-body code called Brutus, that uses arbitrary-precision arithmetic. In combination with the Bulirsch-Stoer method, Brutus is able to obtain converged solutions, which are true up to a specified number of digits.
We perform simulations of democratic 3-body systems, where after a sequence of resonances and ejections, a final configuration is reached consisting of a permanent binary and an escaping star. We do this with conventional double-precision methods, and with Brutus; both have the same set of initial conditions and initial realisations. The ensemble of solutions from the conventional simulations is compared directly to that of the converged simulations, both as an ensemble and on an individual basis to determine the distribution of the errors.
We find that on average at least half of the conventional simulations diverge from the converged solution, such that the two solutions are microscopically incomparable. For the solutions which have not diverged significantly, we observe that if the integrator has a bias in energy and angular momentum, this propagates to a bias in the statistical properties of the binaries. In the case when the conventional solution has diverged onto an entirely different trajectory in phase-space, we find that the errors are centred around zero and symmetric; the error due to divergence is unbiased, as long as the time-step parameter, \(\eta\le2^{-5}\) and when simulations which violate energy conservation by more than 10% are excluded. For resonant 3-body interactions, we conclude that the statistical results of an ensemble of conventional solutions are indeed accurate.
n体界的普遍共识是,即使单个模拟并不准确,但碰撞n体模拟集合的统计结果是准确的。检验这一假设的一种方法是将用常规方法得到的解的集合与真解的集合进行直接比较。为了实现这一点,我们编写了一个名为Brutus的n体代码,它使用任意精度算法。结合burbursch - stoer方法,Brutus能够得到收敛解,该解在特定位数内为真。我们进行了民主三体系统的模拟,其中经过一系列的共振和弹射,最终达到了由永久双星和逃逸恒星组成的最终构型。我们使用传统的双精度方法,以及布鲁图;两者都有相同的初始条件和初始实现。将常规模拟的解集合与收敛模拟的解集合直接进行比较,既作为一个集合,也作为单个基础,以确定误差的分布。我们发现,平均至少有一半的常规模拟偏离了收敛解,使得这两个解在微观上是不可比较的。对于没有显著发散的解,我们观察到,如果积分器在能量和角动量上有偏差,那么这就会传播到二进制的统计特性上的偏差。当传统解在相空间中发散到完全不同的轨迹时,我们发现误差以零为中心并且对称;发散误差是无偏的,只要时间步长参数\(\eta\le2^{-5}\)和当模拟违背能量守恒大于10时% are excluded. For resonant 3-body interactions, we conclude that the statistical results of an ensemble of conventional solutions are indeed accurate.
期刊介绍:
Computational Astrophysics and Cosmology (CompAC) is now closed and no longer accepting submissions. However, we would like to assure you that Springer will maintain an archive of all articles published in CompAC, ensuring their accessibility through SpringerLink's comprehensive search functionality.