CentPack Logo Center for Scientific Computation and Mathematical Modeling


Two Dimensional Scalar Example


In this example we use CentPack's two-dimensional, third order semi-discrete formulation, centpack_2d_SD3, to evolve the solution of the nonlinear scalar conservation law

The solution is evolved over the computational domain , from to , using a 144 x 144 mesh and cfl number 0.9. The initial conditions are

and the solution is periodic over the solution domain,

The image below display the initial conditions, click on it to see an animation up to .

Click on the image to see an animation


The files implementing this example 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


User's guide

Jorge Balbas and Eitan Tadmor