Implementation of the Shearing Box Approximation in Athena
James M. Stone, Thomas A. Gardiner

TL;DR
This paper details the implementation of the shearing box approximation in the Athena MHD code, introducing algorithms for energy conservation, orbital advection, and boundary condition modifications to improve simulation accuracy of accretion disk dynamics.
Contribution
It presents new numerical methods for implementing the shearing box approximation in Athena, including energy-conserving schemes and an orbital advection algorithm for MHD.
Findings
Energy conservation for epicyclic oscillations to round-off error.
Orbital advection reduces truncation error and improves efficiency.
Conservation of magnetic flux and other quantities to better than 0.03% over hundreds of orbits.
Abstract
We describe the implementation of the shearing box approximation for the study of the dynamics of accretion disks in the Athena magnetohydrodynamics (MHD) code. Second-order Crank-Nicholson time differencing is used for the Coriolis and tidal gravity source terms that appear in the momentum equation for accuracy and stability. We show this approach conserves energy for epicyclic oscillations in hydrodynamic flows to round-off error. In the energy equation, the tidal gravity source terms are differenced as the gradient of an effective potential in a way which guarantees that total energy (including the gravitational potential energy) is also conserved to round-off error. We introduce an orbital advection algorithm for MHD based on constrained transport to preserve the divergence-free constraint on the magnetic field. This algorithm removes the orbital velocity from the time step…
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.
