An efficient implementation of flux formulae in multidimensional relativistic hydrodynamical codes
Abstract
We derive and analyze a simplified formulation of the numerical viscosity terms appearing in the expression of the numerical fluxes associated to several High-Resolution Shock-Capturing schemes. After some algebraic preprocessing, we give explicit expressions for the numerical viscosity terms of two of the most widely used flux formulae, which implementation saves computational time in multidimensional simulations of relativistic flows. Additionally, such treatment explicitely cancels and factorizes a number of terms helping to damp the growing of round-off errors. We have checked the performance of our formulation running a 3D relativistic hydrodynamical code to solve a standard test-bed problem and found that the improvement in efficiency is of high practical interest in numerical simulations of relativistic flows in Astrophysics.
- Publication:
-
Computer Physics Communications
- Pub Date:
- August 1999
- DOI:
- 10.1016/S0010-4655(99)00236-2
- arXiv:
- arXiv:astro-ph/9904195
- Bibcode:
- 1999CoPhC.120..115A
- Keywords:
-
- Nonlinear systems of conservation laws;
- High resolution shock capturing methods;
- Special relativistic hydrodynamics;
- General relativistic hydrodynamics;
- Astrophysics
- E-Print:
- 10 pages, accepted for publication in Computer Physics Communications