A New Way to Conserve Total Energy for Eulerian Hydrodynamic Simulations with Self-Gravity
Yan-Fei Jiang, Mikhail Belyaev, Jeremy Goodman, James M. Stone

TL;DR
The paper introduces a conservative energy algorithm for grid-based hydrodynamic simulations with self-gravity, ensuring energy conservation to round-off error and improving accuracy in sensitive systems.
Contribution
A novel energy-conserving method for Eulerian hydrodynamic simulations with self-gravity that maintains total energy to round-off error with minimal additional computational cost.
Findings
Total energy is conserved with the new algorithm in numerical tests.
The new method is second order accurate.
It requires only one extra Poisson solve compared to traditional methods.
Abstract
We propose a new method to conserve the total energy to round-off error in grid-based codes for hydrodynamic simulations with self-gravity. A formula for the energy flux due to the work done by the the self-gravitational force is given, so the change in total energy can be written in conservative form. Numerical experiments with the code Athena show that the total energy is indeed conserved with our new algorithm and the new algorithm is second order accurate. We have performed a set of tests that show the numerical errors in the traditional, non-conservative algorithm can affect the dynamics of the system. The new algorithm only requires one extra solution of the Poisson equation, as compared to the traditional algorithm which includes self-gravity as a source term. If the Poisson solver takes a negligible fraction of the total simulation time, such as when FFTs are used, the new…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
