Second order schemes
The schemes we have seen this far has slow convergence. We can improve the convergence by using higher order schemes.
Order of convergence
For a \((2p+1)\)-point scheme with update function \(H\) and \(\lambda \equiv \frac{\Dt}{\Dx}\), we define the truncation error as usual as
We call it \(q\)-th order accurate if \(q \in \N\) is the largest integer such that
Lemma
If \(U \in C^2\) is the exact solution and \(H\) is a consistent, conservative \(3\)-point FVM, then the scheme is at least first order accurate.
Proof
Follows as usual from Taylor expansion.
Example
- Both Lax-Friedrichs and Engquist-Osher use \(C^2\) numerical fluxes, and are thus first order accurate.
- Godunov is not, so we cannot use the lemma on it. However, one can still show that it is of first order accuracy.
Kuznetsov [GR91] shows that monotone schemes has an order of convergence of at least \(1/2\):
Lax-Wendroff scheme
For weak solutions, one cannot use Taylor expansions to find the error. However, we can use it to design schemes that formally are better than first order. Let \(U\) be a smooth solution. Then, we have
Inserting into the taylor expansion yields
The last two term are approximated by
yielding the Lax-Wendroff scheme
where \(a_{j+1/2}^n = f'\qty(\frac{U_j^n + U_{j+1}^n}{2})\) is an approximation of \(f'(U_{j+1/2}^n)\). Alternatively, the numerical flux can be written as
Numerical experiments show that the Lax-Wendroff scheme is second order accurate for smooth soluitons. Additionally, the discontinuities are sharper than for first order schemes. However, there are heavy oscillations near the shocks.
REA Algorithm
The derivation of the schemes presented in the last chapter went as follows:
- Reconstruction: Recreate \(U(x,t^n)\) from the cell averages \(U_j^n\). Prevoiusly, we used piecewise constant functions.
- Evolution: Solve the superposition of Riemann problems. This can be done approximately (LxF) or exactly (Godunov).
- Averaging: Average the solutions for each cell.
The difference in many of the schemes presented is the evolution step. However, one can also increase the accuracy of the reconstruction step. One can for example use higher order interpolation.
Second order reconstruction
To determine the piecewise affine function, we need some requirements. One can show that the last two steps are conservative. It would be natural to require that the reconstruction too. For the interpolation function \(p_j\) in the cell \(\Cell_j\), we thus require that
or instance, one can apply the standard slope approximation using central, backward, or forward difference methods. However, in the case of the linear advection equation with constant velocity, it can be demonstrated that using the forward difference approach leads to the Lax-Wendroff scheme. Oscillations also arise using the two other methods.
Source of oscillations
The solutions of \(\eqref{eq:conservation_law}\) are TVD. Thus, they are not oscillatory whenever the initial data is not. Finite volume methods should therefore not introduce oscillations. The averaging operator and suitable Riemann solvers respects TVD. Thus, the source must be the reconstruction step. Consider for example the cell averages
It has total variation \(\norm{U^n}_{TV} = 1\). Using the downwind reconstruction, we get
Thus, the reconstruction overshoots and reaches \(3/2\). The total variation is now \(\norm{p^n}_{TV} = 3/2\). Similar arguments can be made for the other reconstruction methods. Therefore, we should require that the reconstruction operator is TVD: \(\norm{p}_{BV} \le \norm{U^{\Dx}}_{BV}\).
Minmod limiter
One such TVD reconstruction operator is the minmod limiter. The problem above at discontinuities occurs whenever the downwind and upwind slopes have opposite signs. One can therefore default to constant interpolation, that is, a slope of zero. This results in the minmod limiter:
where