next up previous contents index

2.4.5 Donor cell (FTBS) scheme

Figure 11: Stencil and example for donor cell scheme: result is wonderfully smooth but smeared out almost beyond recognition.
\includegraphics[width=8.0cm]{images/pde1d_stencil_m0.ps} \includegraphics[width=8.0cm]{images/pde1d_solve_linadv_spikes_donor_i200n500dt04.ps}
Figure 11 shows the stencil diagram and an example for the donor cell scheme (FTBS, 1st order upwind method), with flux at \bgroup\color{DEFcolor}$i+\frac{1}{2}$\egroup
\begin{displaymath}
\textstyle
f_{i+\frac{1}{2}}^n = f \! \left( \rho_{i}^n \right)
\enspace .
\end{displaymath} (108)