A discontinuous Galerkin method with artificial viscosity geared toward numerical relativity applications
Artificial viscosity can be used to deal with shocks and other discontinuities such as star surfaces, that can arise in matter. We explain in detail how a local discontinuous Galerkin method can be used to add artificial viscosity terms to hyperbolic evolution equations. These artificial terms are multiplied by a viscosity that is non-zero only in elements that are flagged as non-smooth by a newly developed smoothness indicator. Our artificial viscosity method works well in several simple shock test cases such as with Burgers' equation and blast wave tests. For the first time, we are also able to evolve single neutron star in full general relativistic hydrodynamics. To achieve this, we use different viscosities for the momentum density than for the rest of the matter variables.