Advection phenomena are characterized by the transport of information at finite speed. This implies that the solution at a given point in space and time can be affected only by the initial data in a limited region of space. For now, we continue to ignore the effects of boundaries.
Any numerical method we choose to solve a PDE has analogous property.
12.2.1The CFL condition¶
We now state an important principle about a necessary relationship between domains of dependence.
Although we will not provide the rigor behind this theorem, its conclusion is not difficult to justify. If the CFL condition does not hold, the exact solution at could be affected by a change in the initial data while having no effect on the numerical solution. Hence, there is no way for the method to get the solution correct for all problems. By contradiction, then, the CFL criterion is necessary for convergence.
Equation (12.2.5) is the implication of the CFL condition for the stated discretization. Notice that is the speed at which information moves in the numerical method, which leads to the following restatement.
We can rearrange (12.2.5) to imply a necessary time step restriction . This restriction for advection is much less severe than the restriction we derived for Euler in the heat equation in Stiffness. This is our first clear indication that advection is less stiff than diffusion.
12.2.2Upwinding¶
The advection equation allows information to propagate in only one direction. This asymmetry can have important repercussions.
Numerical methods can also have a directional preference.
The reasoning of Example 12.2.6 is readily generalized: if the numerical method has an upwind direction, the CFL condition requires that it must agree with the upwind direction of the PDE.
12.2.3Inflow boundary condition¶
Now suppose that the linear advection equation is posed on a finite domain . Since the PDE has only a first-order derivative in , we should have only one boundary condition. But should it be specified at the left end, or at the right end?
Upwinding considerations provide the answer. If we impose a condition at the downwind side of the domain, there is no way for that boundary information to propagate into the interior of the domain as time advances. Conversely, at points close to the upwind boundary, the domain of dependence soon wants to move past the boundary, which is impossible, so there has to be information provided there.
For in the advection equation, the inflow is at the left end, and for , it is at the right end.