arXiv Science⌕ Search

arXiv · astro-ph/9912467

Optimal softening for force calculations in collisionless N-body simulations

Abstract

In N-body simulations the force calculated between particles representing a given mass distribution is usually softened, to diminish the effect of graininess. In this paper we study the effect of such a smoothing, with the aim of finding an optimal value of the softening parameter. As already shown by Merritt (1996), for too small a softening the estimates of the forces will be too noisy, while for too large a softening the force estimates are systematically misrepresented. In between there is an optimal softening, for which the forces in the configuration approach best the true forces. The value of this optimal softening depends both on the mass distribution and on the number of particles used to represent it. For higher number of particles the optimal softening is smaller. More concentrated mass distributions necessitate smaller softening, but the softened forces are never as good an approximation of the true forces as for not centrally concentrated configurations. We give good estimates of the optimal softening for homogeneous spheres, Plummer spheres, and Dehnen spheres. We also give a rough estimate of this quantity for other mass distributions, based on the harmonic mean distance to the $k$th neighbour ($k$ = 1, .., 12), the mean being taken over all particles in the configuration. Comparing homogeneous Ferrers ellipsoids of different shapes we show that the axial ratios do not influence the value of the optimal softening. Finally we compare two different types of softening, a spline softening (Hernquist & Katz 1989) and a generalisation of the standard Plummer softening to higher values of the exponent. We find that the spline softening fares roughly as well as the higher powers of the power-law softening and both give a better representation of the forces than the standard Plummer softening.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

E. Athanassoula, E. Fady, J. -C. Lambert, A. Bosma. 2000-05-01. Optimal softening for force calculations in collisionless N-body simulations. https://doi.org/10.1046/j.1365-8711.2000.03316.x

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Frame covariance of CMBR lensing in the exact 1+3 covariant radiation hierarchy

The exact $1+3$ covariant Boltzmann hierarchy for the cosmic microwave background contains acceleration, shear and vorticity couplings whose coefficients grow linearly in $\ell$. We show that all are the multipole form of the aberration operator in the photon Liouville equation. Under a change of threading, this operator shifts by the along-ray generator of a Lorentz boost. The acceleration coupling of $\ell$ to $\ell\pm1$ and the shear coupling of $\ell$ to $\ell\pm2$ are therefore frame-covariant descriptions of the same operator, related by an algebraic, pointwise relabelling of direction. With emitter and observer frames fixed, the observed sky is independent of the intermediate threading at every $\ell$. We derive this in $1+3$ covariant and gauge-invariant variables without constructing second-order gauge-invariant variables. The $O(ε^2\ell)$ content is gravitational lensing, as known in metric variables. Linearisation about a Friedmann--Lemaître--Robertson--Walker background removes these couplings, requiring lensing to be reinstated from the geodesic equation. Keeping the threading arbitrary makes frame covariance explicit and places observer aberration in the same operator. In the Newtonian threading we compute both halves of the deflection: the equivalence-principle contribution enters through aberration, while the spatial-curvature contribution arises from free streaming on perturbed spatial sections and reduces to the same operator. The lensing efficiency follows from the direction derivative. The angular-power-spectrum contribution is quartic in the potential: for a deflection statistically independent of the source, the two fourth-order terms carrying $\ell^2$ cancel where the spectrum is smooth on the deflection scale, and lensing redistributes power without adding ensemble variance.

astro-ph↗

Cosmic Conundrums with Quantum Corrections

Darh energy was discovered over 25 years ago and we do not have an explanation of it. Dark matter comprises 95% of matter in the universe and we still don't know what it is. The Webb telescope has been finding fully formed galaxies with massive black holes millions of times the mass of the sun in the early universe and we don't have any explanation. A quantum density limitation will be used to solve these and other outstanding problems.

astro-ph↗

On binary pulsars and the force of gravity

The energy-momentum budget of the astrophysical systems can be studied by the exact local conservation equation derived by Landau and Lifshitz. We show that a similar equation is valid for the Einstein-Cartan gravity. We reanalyze a binary pulsar system using the Landau-Lifshitz conservation equation and show that the orbital period change rate can be completely understood as a curvature backreaction process. Taking into account the detailed theoretical and observational research of relativistic binary pulsar systems, especially the system of Hulse and Taylor, we conclude that general relativity and astrophysical observations rule out the existence of gravitational radiation. We comment upon the LIGO GW events and their alternative explanation, as well as the recent pulsar timing arrays data.

astro-ph↗