WSHAPE: Gravitational Softening and Adaptive Mass Resolution

Discussion topics for individual codes
Post Reply
User avatar
owlice
Guardian of the Codes
Posts: 1119
Joined: Wed Aug 04, 2004 4:18 pm
Location: Washington, DC

WSHAPE: Gravitational Softening and Adaptive Mass Resolution

Post by owlice » Fri Oct 29, 2010 8:12 pm

[c]WSHAPE: Gravitational Softening and Adaptive Mass Resolution[/c][/b]
Abstract: Pairwise forces between particles in cosmological N-body simulations are generally softened to avoid hard collisions. Physically, this softening corresponds to treating the particles as diffuse clouds rather than point masses. For particles of unequal mass (and hence unequal softening length), computing the softened force involves a nontrivial double integral over the volumes of the two particles. We show that Plummer force softening is consistent with this interpretation of softening while spline softening is not. We provide closed-form expressions and numerical implementation for pairwise gravitational force laws for pairs of particles of general softening scales $epsilon_1$ and $epsilon_2$ assuming the commonly used cloud profiles: NGP, CIC, TSC, and PQS. Similarly, we generalize Plummer force law into pairs of particles of general softenings. We relate our expressions to the gaussian, Plummer and spline force softenings known from literature. Our expressions allow possible inclusions of pointlike particles such as stars or supermassive black holes.

Credit: Shirokov, Alexander

Site: http://www.gracos.org/wshape/
http://adsabs.harvard.edu/abs/2007arXiv0711.2989S

Bibcode: 2010ascl.soft10071S

ID: ascl:1010.071
Last edited by Ada Coda on Tue Aug 29, 2017 2:28 pm, edited 1 time in total.
Reason: Updated code entry.
Code-seeking owl at your service

Post Reply