Towards optimal softening in three-dimensional N-body codes -: I.: Minimizing the force error

被引:144
作者
Dehnen, W [1 ]
机构
[1] Max Planck Inst Astron, D-69117 Heidelberg, Germany
关键词
stellar dynamics; methods : N-body simulations; methods : numerical;
D O I
10.1046/j.1365-8711.2001.04237.x
中图分类号
P1 [天文学];
学科分类号
0704 ;
摘要
In N-body simulations of collisionless stellar systems, the forces are softened to reduce the large fluctuations owing to shot noise. Softening essentially modifies the law of gravity at r = \x(i) - x(j)\ smaller than some softening length epsilon. Therefore, the softened forces are increasingly biased for ever larger epsilon, and there is some optimal epsilon which yields the best compromise between reducing the fluctuations and introducing a bias. Here, analytical relations are derived for the amplitudes of the bias and the fluctuations in the limit of epsilon being much smaller than any physical scale of the underlying stellar system. In particular, it is shown that the fluctuations of the force are generated locally, in contrast to the variations of the potential, which originate from noise in the whole system. Based on these asymptotic relations and using numerical simulations, I study the dependence of the resulting force error on the number of bodies, the softening length, and on the functional form by which Newtonian gravity is replaced. The widely used Plummer softening, where each body is replaced by a Plummer sphere of scale radius epsilon, yields significantly larger force errors than do methods in which the bodies are replaced by density kernels of finite extent. I also give special kernels, which reduce the errors even further. These kernels largely compensate for the errors made with too small interparticle forces at r < <epsilon> by exceeding Newtonian forces at r similar to epsilon. Additionally, the possibilities of locally adapting epsilon and of using unequal weights for the bodies are investigated. By using these various techniques without increasing N, the rms force error can be reduced by a factor similar to2 when compared with the standard Plummer softening with constant epsilon. The results of this study are directly relevant to N-body simulations using direct summation techniques or the tree code for force evaluation.
引用
收藏
页码:273 / 291
页数:19
相关论文
共 30 条
[1]   DYNAMICAL EVOLUTION OF CLUSTERS OF GALAXIES .1. [J].
AARSETH, SJ .
MONTHLY NOTICES OF THE ROYAL ASTRONOMICAL SOCIETY, 1963, 126 (03) :223-255
[2]   Performance and accuracy of a GRAPE-3 system for collisionless N-body simulations [J].
Athanassoula, E ;
Bosma, A ;
Lambert, JC ;
Makino, J .
MONTHLY NOTICES OF THE ROYAL ASTRONOMICAL SOCIETY, 1998, 293 (04) :369-380
[3]   Optimal softening for force calculations in collisionless N-body simulations [J].
Athanassoula, E ;
Fady, E ;
Lambert, JC ;
Bosma, A .
MONTHLY NOTICES OF THE ROYAL ASTRONOMICAL SOCIETY, 2000, 314 (03) :475-488
[4]   THE DYNAMICAL STATE OF GROUPS OF GALAXIES [J].
BARNES, J .
MONTHLY NOTICES OF THE ROYAL ASTRONOMICAL SOCIETY, 1985, 215 (03) :517-536
[5]   A HIERARCHICAL O(N-LOG-N) FORCE-CALCULATION ALGORITHM [J].
BARNES, J ;
HUT, P .
NATURE, 1986, 324 (6096) :446-449
[6]  
Barnes J. E., 1998, GALAXIES INTERACTION, P275
[7]  
BINNEY JJ, 1987, GALAXY DYNAMICS
[8]  
Chandrasekhar S, 1942, Principles of Stellar Dynamics
[9]   A very fast and momentum-conserving tree code [J].
Dehnen, W .
ASTROPHYSICAL JOURNAL, 2000, 536 (01) :L39-L42
[10]   SOFTENING IN N-BODY SIMULATIONS OF COLLISIONLESS SYSTEMS [J].
DYER, CC ;
IP, PSS .
ASTROPHYSICAL JOURNAL, 1993, 409 (01) :60-67