In a Godunov method, during an update step, functions
are introduced to approximate the solution in the volumes
of our volume discretization. We need to solve the Riemann initial value problem at the interfaces between cells. The functions are defined piecewise on the domain intervals and interpolated, or reconstructed, from the cell averages
. They are three so called reconstruction functions.
The algorithm for this reconstruction is the first choice that comes to mind, and consists in computing the slope1 centered at the cell boundaries,
| (6) |
| (7) |
| (8) |
About the performance of the naive reconstruction: The results of the evolution of the gaussian and pulse profiles are shown in the web site.
As expected, this reconstruction produces spurious oscillations at discontinuities (shocks), making the scheme unstable. Slope limiters and the use of the property of TVD provide a way to damp oscillations near discontinuities. This scheme is stable in the short term only.
Recapitulating, the piecewise linear reconstruction is stable (for long time periods) and its more dense in the sense that its complexity requires more computing power. The piecewise constant reconstruction is somewhat less stable in the long term but it demands less power, but we would loose some confidence in the results. The naive approach, finally, is the less stable and of course it does not require much resources but we would not use it for any large scale project.
The results depend dramatically on the type of reconstruction employed.