# Beam and Warming scheme

In numerical mathematics, **Beam and Warming scheme ** or **Beam–Warming implicit scheme** introduced in 1978 by Richard M. Beam and R. F. Warming,^{[1]}^{[2]} is a second order accurate implicit scheme, mainly used for solving non-linear hyperbolic equations. It is not used much nowadays.

## Introduction

This scheme is a spatially factored, non iterative, ADI scheme and uses implicit Euler to perform the time Integration. The algorithm is in **delta-form**, linearized through implementation of a Taylor-series. Hence observed as increments of the conserved variables. In this an efficient factored algorithm is obtained by evaluating the spatial cross derivatives explicitly. This allows for direct derivation of scheme and efficient solution using this computational algorithm. The efficiency is because although it is three-time-level scheme, but requires only two time levels of data storage. This results in unconditional stability. It is centered and needs the artificial dissipation operator to guarantee numerical stability.^{[1]}

The delta form of the equation produced has the advantageous property of stability (if existing) independent of the size of the time step.^{[3]}

## The method

Consider the inviscid Burgers' equation in one dimension

- [math]\displaystyle{ \frac{\partial u}{\partial t} = -u \frac{\partial u}{\partial x} \quad \text{with } x\in R }[/math]

Burgers' equation in conservation form,

- [math]\displaystyle{ \frac{\partial u}{\partial t} = - \frac{\partial E}{\partial x} }[/math]

where :[math]\displaystyle{ E = \frac{u^2}{2} }[/math]

### Taylor series expansion

The expansion of :[math]\displaystyle{ u^{n+1}_i }[/math]

- [math]\displaystyle{ u^{n+1}_i = u^n_i + \frac{1}{2} \left[\left. \frac{\partial u}{\partial t} \right|^{n}_i + \left. \frac{\partial u}{\partial t} \right|^{n+1}_i \right] \, \Delta t + O(\Delta t^3) }[/math]

This is also known as the trapezoidal formula.

- [math]\displaystyle{ \therefore \frac{u^{n+1}_i - u^n_i}{\Delta t} = -\frac{1}{2} \left( \left.\frac{\partial E}{\partial x}\right|^{n+1}_i + \left.\frac{\partial E}{\partial x}\right|^n_i + \frac{\partial}{\partial x} \left[ A(u^{n+1}_i - u^n_i)\right] \right) }[/math]
- [math]\displaystyle{ \because \frac{\partial u}{\partial t} = -\frac{ \partial E}{\partial x} }[/math]

Note that for this equation,

- [math]\displaystyle{ A = \frac{\partial E}{\partial u} = u }[/math]

### Tri-diagonal system

Resulting tri-diagonal system:

- [math]\displaystyle{ \begin{align} & - \frac{\Delta t}{4 \, \Delta x} \left( A^n_{i-1} u^{n+1}_{i-1}\right) + u^{n+1}_i + \frac{\Delta t}{4 \, \Delta x} \left( A^n_{i+1} u^{n+1}_{i+1} \right) \\[6pt] = {} & u^n_i - \frac{1}{2} \frac{\Delta t}{\Delta x} \left( E^n_{i+1} - E^n_{i-1} \right) + \frac{\Delta t}{4 \, \Delta x} \left( A^n_{i+1} u^n_{i+1} - A^n_{i-1} u^n_{i-1} \right) \end{align} }[/math]

This resulted system of linear equations can be solved using the modified tridiagonal matrix algorithm, also known as the Thomas algorithm.^{[4]}

## Dissipation term

Under the condition of shock wave, dissipation term is required for nonlinear hyperbolic equations such as this. This is done to keep the solution under control and maintain convergence of the solution.

- [math]\displaystyle{ D = -\varepsilon_e (u^n_{i+2} - 4u^n_{i+1} + 6u^n_i - 4u^n_{i-1} + u^n_{i-2}) }[/math]

This term is added explicitly at level [math]\displaystyle{ n }[/math] to the right hand side. This is always used for successful computation where high-frequency oscillations are observed and must be suppressed.

## Smoothing term

If only the stable solution is required, then in the equation to the right hand side a second-order smoothing term is added on the implicit layer. The other term in the same equation can be second-order because it has no influence on the stable solution if

- [math]\displaystyle{ \nabla^n(U) = 0 }[/math]

The addition of smoothing term increases the number of steps required by three.

## Properties

This scheme is produced by combining the trapezoidal formula, linearization, factoring, Padt spatial differencing, the homogeneous property of the flux vectors (where applicable), and hybrid spatial differencing and is most suitable for nonlinear systems in conservation-law form. ADI algorithm retains the order of accuracy and the steady-state property while reducing the bandwidth of the system of equations.^{[5]}
Stability of the equation is

- [math]\displaystyle{ L^2 }[/math]-stable under CFL : [math]\displaystyle{ |a| \, \Delta t \le 2 \, \Delta x }[/math]

The order of Truncation error is

- [math]\displaystyle{ O ((\Delta t)^2 + (\Delta x) ^2) }[/math]

The result is smooth with considerable overshoot (that does not grow much with time).

## References

- ↑
^{1.0}^{1.1}Richard M. Beam, R.F. Warming (September 1976). "An Implicit Finite-Difference Algorithm for Hyperbolic Systems in Conservation-Law Form".*Journal of Computational Physics***22**(1): 87–110. doi:10.1016/0021-9991(76)90110-8. Bibcode: 1976JCoPh..22...87B. - ↑ Richard H. Pletcher (2012).
*Computational Fluid Mechanics and Heat Transfer, Third Edition*. CRC Press. ISBN 978-1591690375. - ↑ Chung, T.J. (2010).
*Computational Fluid Dynamics, 2nd Edition*. Cambridge University Press. ISBN 978-0521769693. - ↑ Lee, Jon (January 1992). "Simplification of Beam and Warming's implicit scheme for two-dimensional compressible flows".
*AIAA Journal***30**: 266–268. doi:10.2514/3.10908. Bibcode: 1992AIAAJ..30..266L.

Original source: https://en.wikipedia.org/wiki/Beam and Warming scheme.
Read more |