CentPack Logo Center for Scientific Computation and Mathematical Modeling

 

One Dimensional Burgers' Equation

 

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

over the interval , from to , with initial conditions given by

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 .


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.




One dimensional examples

Burgers equation
Euler equations of gas dynamics
MHD equations


Two dimensional examples

scalar example
Euler equations of gas dynamics
MHD equations


Documentation

README file
User's guide


Jorge Balbas and Eitan Tadmor