next up previous contents index

3.2.4 Example: Gaussian and conservativity

Figure 28: Non-conservative scheme (left), conservative scheme (right).
\includegraphics[width=8.0cm]{images/pde1d_solve_burgers_gauss_ncdonor_i400n400dt08.ps} \includegraphics[width=8.0cm]{images/pde1d_solve_burgers_gauss_cir_i400n400dt08.ps}
Burgers' equation allows also the non-conservative discretization using upwind values
\begin{displaymath}
v_{i}^{n+1} = v_{i}^{n}
-
\frac{\Delta t}{\Delta x}   v_{i}^{n}   \left( v_{i}^{n} - v_{i-1}^{n} \right)
\end{displaymath} (186)
which results in the time-evolution in the left panel in Fig. 28.

The right panel shows the result with the conservative scheme (185).