An energy-conserving formalism for adaptive gravitational force softening in SPH and N-body codes

Astronomy and Astrophysics – Astrophysics

Scientific paper

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

13 pages, 8 figures, accepted to MNRAS

Scientific paper

10.1111/j.1365-2966.2006.11241.x

In this paper we describe an adaptive softening length formalism for collisionless N-body and self-gravitating Smoothed Particle Hydrodynamics (SPH) calculations which conserves momentum and energy exactly. This means that spatially variable softening lengths can be used in N-body calculations without secular increases in energy. The formalism requires the calculation of a small additional term to the gravitational force related to the gradient of the softening length. The extra term is similar in form to the usual SPH pressure force (although opposite in direction) and is therefore straightforward to implement in any SPH code at almost no extra cost. For N-body codes some additional cost is involved as the formalism requires the computation of the density via a summation over neighbouring particles using the smoothing kernel. The results of numerical tests demonstrate that, for homogeneous mass distributions, the use of adaptive softening lengths gives a softening which is always close to the `optimal' choice of fixed softening parameter, removing the need for fine-tuning. For a heterogeneous mass distribution (as may be found in any large scale N-body simulation) we find that the errors on the least-dense component are lowered by an order of magnitude compared to the use of a fixed softening length tuned to the densest component. For SPH codes our method presents a natural and elegant choice of softening formalism which makes a small improvement to both the force resolution and the total energy conservation at almost zero additional cost.

No associations

LandOfFree

Say what you really think

Search LandOfFree.com for scientists and scientific papers. Rate them and share your experience with other people.

Rating

An energy-conserving formalism for adaptive gravitational force softening in SPH and N-body codes does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.

If you have personal experience with An energy-conserving formalism for adaptive gravitational force softening in SPH and N-body codes, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and An energy-conserving formalism for adaptive gravitational force softening in SPH and N-body codes will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFWR-SCP-O-229794

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.