Entropy-Conserving Scheme for Modeling Nonthermal Energies in Fluid Dynamics Simulations
arXiv:2107.14240 · doi:10.3847/1538-4365/ac69e1
Abstract
We compare the performance of energy-based and entropy-conserving schemes for modeling nonthermal energy components, such as unresolved turbulence and cosmic rays, using idealized fluid dynamics tests and isolated galaxy simulations. While both methods are aimed to model advection and adiabatic compression or expansion of different energy components, the energy-based scheme numerically solves the nonconservative equation for the energy density evolution, while the entropy-conserving scheme uses a conservative equation for modified entropy. Using the standard shock tube and Zel'dovich pancake tests, we show that the energy-based scheme results in a spurious generation of nonthermal energy on shocks, while the entropy-conserving method evolves the energy adiabatically to machine precision. We also show that, in simulations of an isolated galaxy, switching between the schemes results in changes of the total star formation rate and a significant difference in morphology, particularly near the galaxy center. We also outline and test a simple method that can be used in conjunction with the entropy-conserving scheme to model the injection of nonthermal energies on shocks. Finally, we discuss how the entropy-conserving scheme can be used to capture the kinetic energy dissipated by numerical viscosity into the subgrid turbulent energy implicitly, without explicit source terms that require calibration and can be rather uncertain. Our results indicate that the entropy-conserving scheme is the preferred choice for modeling nonthermal energy components, a conclusion that is equally relevant for Eulerian and moving-mesh fluid dynamics codes.
19 pages + appendix, 10 figures; accepted for publication in ApJS
References in corpus (21)
- The NumPy array: a structure for efficient numerical computation
- Effects of Baryons and Dissipation on the Matter Power Spectrum
- Detecting shock waves in cosmological smoothed particle hydrodynamics simulations
- Environmental Dependence of the Kennicutt-Schmidt Relation in Galaxies
- On the interplay between star formation and feedback in galaxy formation simulations
- Cosmic ray feedback in hydrodynamical simulations of galaxy formation
- Cosmological Shocks in Adaptive Mesh Refinement Simulations and the Acceleration of Cosmic Rays
- Comparing Numerical Methods for Isothermal Magnetized Supersonic Turbulence
- Cosmic ray-driven galactic winds: streaming or diffusion?
- Powering galactic super-winds with small-scale AGN winds
- Shock finding on a moving-mesh: I. Shock statistics in non-radiative cosmological simulations
- Cosmological simulations of galaxy formation with cosmic rays
- DISCO: A 3D Moving-Mesh Magnetohydrodynamics Code Designed for the Study of Astrophysical Disks
- On the origin of surprisingly cold gas discs in galaxies at high redshift
- The anatomy of a star-forming galaxy: Pressure-driven regulation of star formation in simulated galaxies
- Momentum feedback from marginally-resolved HII regions in isolated disc galaxies
- Spatial Decorrelation of Young Stars and Dense Gas as a Probe of the Star Formation-Feedback Cycle in Galaxies
- Large-eddy simulations of isolated disc galaxies with thermal and turbulent feedback
- Approximate Riemann Solvers for the Cosmic Ray Magnetohydrodynamical Equations
- High-Frequency Voronoi Noise Reduced by Smoothed Mesh Motion
- Fluid Simulations of Cosmic Ray Modified Shocks
Cited by in corpus (5)
- CRESCENDO: An on-the-fly Fokker-Planck Solver for Spectral Cosmic Rays in Cosmological Simulations
- Constraining Cosmic-ray Transport with Observations of the Circumgalactic Medium
- The Impact of Cosmic Rays on the Kinematics of the Circumgalactic Medium
- Capturing Turbulence with Numerical Dissipation: a Simple Dynamical Model for Unresolved Turbulence in Hydrodynamic Simulations
- Comparing energy and entropy formulations for cosmic ray hydrodynamics