WHFast: A fast and unbiased implementation of a symplectic Wisdom-Holman integrator for long term gravitational simulations
Keywords
Astrophysics - Earth and Planetary AstrophysicsAstrophysics - Instrumentation and Methods for Astrophysics
Mathematics - Numerical Analysis
Nonlinear Sciences - Chaotic Dynamics
Physics - Computational Physics
Full record
Show full item recordOnline Access
http://arxiv.org/abs/1506.01084Abstract
We present WHFast, a fast and accurate implementation of a Wisdom-Holman symplectic integrator for long-term orbit integrations of planetary systems. WHFast is significantly faster and conserves energy better than all other Wisdom-Holman integrators tested. We achieve this by significantly improving the Kepler-solver and ensuring numerical stability of coordinate transformations to and from Jacobi coordinates. These refinements allow us to remove the linear secular trend in the energy error that is present in other implementations. For small enough timesteps we achieve Brouwer's law, i.e. the energy error is dominated by an unbiased random walk due to floating-point round-off errors. We implement symplectic correctors up to order eleven that significantly reduce the energy error. We also implement a symplectic tangent map for the variational equations. This allows us to efficiently calculate two widely used chaos indicators the Lyapunov characteristic number (LCN) and the Mean Exponential Growth factor of Nearby Orbits (MEGNO). WHFast is freely available as a flexible C package, as a shared library, and as an easy-to-use python module.Comment: Accepted by MNRAS, 13 pages, 4 figures, source code and tutorials available at http://github.com/hannorein/rebound
Date
2015-06-02Type
textIdentifier
oai:arXiv.org:1506.01084http://arxiv.org/abs/1506.01084
doi:10.1093/mnras/stv1257
DOI
10.1093/mnras/stv1257ae974a485f413a2113503eed53cd6c53
10.1093/mnras/stv1257