BURGERS_SOLUTION, a MATLAB code which evaluates exact solutions of the time-dependent 1D viscous Burgers equation.
The form of the Burgers equation considered here is:
du du d^2 u -- + u * -- = nu * ----- dt dx dx^2
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
BURGERS_SOLUTION is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version and a Python version.
BURGERS, a dataset directory which contains 40 solutions of the Burgers equation in one space dimension and time, at equally spaced times from 0 to 1, with values at 41 equally spaced nodes in [0,1];
BURGERS_STEADY_VISCOUS, a MATLAB code which solves the steady (time-independent) viscous Burgers equation using a finite difference discretization of the conservative form of the equation, and then applying Newton's method to solve the resulting nonlinear system.
FD1D_BURGERS_LAX, a MATLAB code which applies the finite difference method and the Lax-Wendroff method to solve the non-viscous Burgers equation in one spatial dimension and time.
FD1D_BURGERS_LEAP, a MATLAB code which applies the finite difference method and the leapfrog approach to solve the non-viscous Burgers equation in one spatial dimension and time.