We present a novel well-balanced second order Godunov-type finite volume scheme for compressible Euler equations with gravity. The well-balanced property is achieved by a specific combination of source term discretization, hydrostatic reconstruction, and numerical flux that exactly resolves stationary contacts. The scheme is able to preserve isothermal and polytropic stationary solutions up to machine precision. It is applied on several examples using the numerical flux of Roe to demonstrate its well-balanced property and the improved resolution of small perturbations around the stationary solution.
Introduction.Conservation laws with gravitational source terms occur in many PDE models like shallow water equations and Euler equations. These equations possess nontrivial stationary solutions which are referred to as hydrostatic solutions in the case of Euler equations. Euler equations with gravity are useful models for atmospheric flows and stellar structure simulations in astrophysical applications. The hydrostatic Euler equation takes the form of an ordinary differential equation in which the pressure forces are balanced by the gravitational forces. This precise balancing has to be achieved at the numerical level in order to preserve the stationary solution. Since the gravitational source terms are nonconservative, this precise balancing is not easy to achieve in the numerical scheme. Conventional numerical schemes in which the source term may be discretized in a consistent manner are not able to preserve such stationary solutions especially on coarse meshes. This leads to erroneous numerical solutions especially when trying to compute small perturbations around the stationary solution necessitating the need for very fine meshes. However, in practical threedimensional (3-D) computations it may not be possible to use very fine meshes. The discretization errors in a non-well-balanced scheme can completely mask the small perturbations. Moreover, even a very high order accurate scheme can lead to an inaccurate prediction of small perturbations if the scheme is not well-balanced [15]. A well-balanced scheme is designed so that it maintains the precise balance of pressure and gravitational forces in case of the hydrostatic solution. This enables such schemes to more accurately resolve small perturbations around the stationary solution.To solve the hydrostatic Euler equations exactly, we have to make additional assumptions, for example, constant temperature or constant entropy or a more general