In this example we use CentPack's one-dimensional third order semi-discrete formulation, centpack_1d_SD3, to evolve the solution of the inviscid Burgers' equation
![](../equation_images/figures/burgers1d.png)
over the interval , from to , with initial conditions given by
![](../equation_images/figures/burgers_ic.png)
and periodic boundary conditions, . Solution computed using 400 cells and cfl number 0.75.
The image below display the initial coditions, click on it to see an animation up to .
![](../animations/burgers/burgers_t0.png)
Click on the image to see an animation
The files implementing this exaple are included in the current CentPack distribution, CP-1.0. Read here how to run and compile this example.
|