Skip to article frontmatterSkip to article content

Absolute stability

The CFL criterion gives a necessary condition for convergence. It suggests, but cannot confirm, that a step size of O(h)O(h) may be adequate in the advection equation. More details emerge when we adopt the semidiscretization point of view.

Let the advection equation

ut+cux=0u_t + c u_x = 0

be posed for x[0,1]x \in [0,1] and subjected to periodic end conditions. If we use the central-difference matrix Dx\mathbf{D}_x defined in (12.1.9) to discretize the space derivative, we get the ODE system

u=cDxu.\mathbf{u}' = -c \mathbf{D}_x \mathbf{u}.

To apply an IVP solver, we need to compare the stability region of the solver with the eigenvalues of cDx-c \mathbf{D}_x, as in Absolute stability. You can verify (see Exercise 12.3.1) that for mm points in [0,1)[0,1), these are

λk=icmsin(2πkm),k=0,,m1. \lambda_k = - i\, c m \sin \left( \frac{2\pi k}{m} \right), \qquad k = 0,\ldots,m-1.

Two things stand out about these eigenvalues: they are purely imaginary, which is consistent with conservation of magnitude, and they extend no farther than O(m)=O(h1)O(m)=O(h^{-1}) away from the origin. These characteristics suggest how to analyze the use of different time-stepping methods by referring to stability regions.

Many PDEs that conserve quantities will have imaginary eigenvalues, causing Euler and some other IVP methods to fail regardless of step size. Diffusion problems, in which the eigenvalues are negative and real, are compatible with a wider range of integrators, though possibly with onerous step size requirements due to stiffness.

The location of eigenvalues near ±ic/h\pm ic/h also confirms what the CFL condition was suggesting. In order to use RK4, for example, whose stability region intersects the imaginary axis at around ±2.8i\pm 2.8i, the time step stability restriction is τc/h2.8\tau c/h \le 2.8, or τ=O(h)\tau=O(h). This is much more favorable than for diffusion, whose eigenvalues were as large as O(h2)O(h^{-2}).

12.3.1Advection–diffusion equations

The traffic flow equation (12.1.5) combines a nonlinear advection with a diffusion term. The simplest linear problem with the same feature is the advection–diffusion equation

ut+cux=ϵuxx.u_t+c u_x=\epsilon u_{xx}.

The parameter ε controls the relative strength between the two mechanisms, and the eigenvalues accordingly vary between the purely imaginary ones of advection and the negative real ones of diffusion.

In a nonlinear problem, the eigenvalues come from the linearization about an exact solution, as in Stiffness.

12.3.2Boundary effects

Boundary conditions can have a dramatic effect on the eigenvalues of the semidiscretization. For instance, Example 12.2.7 solves linear advection ut=uxu_t=u_x on [0,1][0,1] with the homogeneous inflow condition u(0,t)=0u(0,t)=0. Exclusion of the boundary node from the semidiscretization u\mathbf{u} to get the interior vector v\mathbf{v} is equivalent to

v=Eu,u=[v0]=ETv,\mathbf{v} = \mathbf{E} \mathbf{u}, \quad \mathbf{u} = \begin{bmatrix} \mathbf{v} \\ 0 \end{bmatrix} = \mathbf{E}^T \mathbf{v},

where E\mathbf{E} is the (m+1)×(m+1)(m+1)\times (m+1) identity with the last row deleted. The ODE on the interior nodes is

dvdt=E(Dxu)=EDxETv.\frac{d\mathbf{v}}{dt} = \mathbf{E} \left( \mathbf{D}_x \mathbf{u} \right) = \mathbf{E} \mathbf{D}_x \mathbf{E}^T \mathbf{v}.

As a result, we conclude that A=EDxET\mathbf{A} = \mathbf{E} \mathbf{D}_x \mathbf{E}^T is the appropriate matrix for determining the eigenvalues of the semidiscretization. More simply, we can simply delete the last row and last column from Dx\mathbf{D}_x.

12.3.3Exercises