Inviscid Burgers Equation
Inviscid Burgers Equation: Non-Conservative Form
In this section, we discuss the solution of the inviscid Burgers equation which is a nonlinear hyperbolic partial differential equation. The hyperbolic equations admit discontinuities, and the numerical schemes used for solving hyperbolic PDEs need to be higher-order accurate for smooth solutions, and non-oscillatory for discontinuous solutions. The inviscid Burgers equation is given below
Inviscid Burgers Equation: Conservative Form
In this section, we explain two approaches for solving the inviscid Burgers equation in its conservative form. The inviscid Burgers equation can be represented in the conservative form as below
where
The \(f\) is termed as the flux. We need to modify the grid arrangement to solve the inviscid Burgers equation in its conservative form.
The solution field is stored at the center of each cell and this type of grid is primarily used for finite volume discretization. We explain two approaches to compute the nonlinear term in the inviscid Burgers equation.
Flux Splitting
The conservative form of the inviscid Burgers equation allows us to use the flux splitting method and WENO reconstruction to compute the flux at the interface. In this method, we first compute the flux \(f\) at the nodal points. The nonlinear advection term of the inviscid Burgers equation is computed as
at a particular node \(i\), The superscripts \(L\) and \(R\) refer to the positive and negative flux component at the interface and the subscripts \(i-1/2\) and \(i+1/2\) for the left and right side interface of the nodal point \(i\). We use WENO-5 reconstruction to compute the left and right side flux at the interface. First, we compute the flux at nodal points and then split it into positive and negative components. This process is called as Lax-Friedrichs flux splitting and the positive and negative component of the flux at a nodal location is calculated as
where \(a\) is the absolute value of the flux Jacobian(\(a=\left | \cfrac{\partial f}{\partial u} \right |\)) We chose the values of \(a\) as the maximum value of \(u_{i}\) over the stencil used for WENO-5 reconstruction, i.e.,
Once we split the nodal flux into its positive and negative component we reconstruct the left and right side fluxes at the interface using WENO-5 scheme using below formulas
We use the third-order Runge-Kutta numerical scheme for time integration and periodic boundary condition for the domain. For the conservative form, we need three ghost points on left and right sides, since we compute the flux at the left and right boundary of the domain also. The periodic boundary condition for fluxes at ghost points is given by
flux jacobian:
flux at left interface:
Use the periodic boundary conditions
flux at right interface:
Use the periodic boundary conditions
Riemann Solver: Rusanov Scheme
Riemann solvers are used for accurate and efficient simulations of Euler equations along with higher-order WENO schemes. In this method, first, we reconstruct the left and right side fluxes at the interface similar to the inviscid Burgers equation in non-conservative form. Once we have \(f^{L}_{i+1/2}\) and \(f^{R}_{i+1/2}\) reconstructed, we use Riemann solvers to compute the fluxes at the interface.
We use a simple Rusanov scheme as the Riemann solver. The Rusanov scheme uses maximum local wave propagation speed to compute the flux as follows
where \(f^{L}\) is the flux component using the right reconstructed state \(f^{L}_{i+1/2}=f(u^{L}_{i+1/2})\) and \(f^{R}\) is the flux component using the right reconstructed state \(f^{R}_{i+1/2}=f(u^{R}_{i+1/2})\). Here, \(c_{i+1/2}\) is the local wave propagation speed which is obtained by taking the maximum absolute value of the eigenvalues corresponding to the Jacobian, \(\cfrac{\partial f}{\partial u}=u\), between cells \(i\) and \(i+1\) can be obtained as
or in a wider stencil as shown in Equation
flux:
local wave propagation speed: