(Correction needed? This equation is dimensioally incorrect. Dynamic viscocity should be replaced by kinematic viscocity for the units to match! http://en.wikipedia.org/wiki/Burgers'_equation)
Explicit Scheme (DRP)
The coefficients can be found in Tam(1993).At the right boundaries use fourth order central difference and fourth backward difference.At left boundaries use second order central difference for i=2 and fourth order central difference for i=3.The Dispersion relation preserving (DRP) finite volume scheme can be found in Popescu (2005).The second order derivative can be calculated from the first order derivative inside the domain using the abouve defined discretization.Near the boundaries use a second order central difference.
where v refers to the first derivative.For a general treatment of compact scheme refer to Lele (1992).In this test case the following values are used
Both the schemes are 4th order accurate in the domain.The compact scheme has third order accuracy at the boundary.
where v in here refers to the second derivative.Second order central difference is used at the boundaries.The coefficients used are
Time (4th Order Runga-Kutta)
,M=1,2..5 .The coefficients a and b can be found in Williamson(1980)
Mihaela Popescu, Wei Shyy , Marc Garbey (2005), "Finite volume treatment of dispersion-relation-preserving and optimized prefactored compact schemes for wave propagation", Journal of Computational Physics, Vol. 210, pp. 705-729.
Tam and Webb (1993), "Dispersion-relation-preserving finite difference schemes for computational acoustics", Journal of Computational Physics, Vol. 107, pp. 262-281.
SK Lele (1992), "Compact finite difference schemes with spectrum-like resolution", Journal of Computational Physics, Vol.103, pp.16-42.
Williamson (1980), "Low Storage Runge-Kutta Schemes", Journal of Computational Physics, Vol.35, pp.48–56.