Courant–Friedrichs–Lewy condition

In mathematics, the Courant–Friedrichs–Lewy (CFL) condition is a necessary condition for convergence while solving certain partial differential equations (usually hyperbolic PDEs) numerically by the method of finite differences.[1] It arises in the numerical analysis of explicit time integration schemes, when these are used for the numerical solution. As a consequence, the time step must be less than a certain time in many explicit time-marching computer simulations, otherwise the simulation will produce incorrect results. The condition is named after Richard Courant, Kurt Friedrichs, and Hans Lewy who described it in their 1928 paper.[2]

Heuristic description

The principle behind the condition is that, for example, if a wave is moving across a discrete spatial grid and we want to compute its amplitude at discrete time steps of equal duration,[3] then this duration must be less than the time for the wave to travel to adjacent grid points. As a corollary, when the grid point separation is reduced, the upper limit for the time step also decreases. In essence, the numerical domain of dependence of any point in space and time (as determined by initial conditions and the parameters of the approximation scheme) must include the analytical domain of dependence (wherein the initial conditions have an effect on the exact value of the solution at that point) in order to assure that the scheme can access the information required to form the solution.

The CFL condition

In order to make a reasonably formally precise statement of the condition, it is necessary to define the following quantities

The spatial coordinates and the time are supposed to be discrete-valued independent variables, which are placed at regular distances called the interval length[4] and the time step, respectively. Using these names, the CFL condition relates the length of the time step to a function of the interval lengths of each spatial coordinate and of the maximum speed with which information can travel in the physical space.

Operatively, the CFL condition is commonly prescribed for those terms of the finite-difference approximation of general partial differential equations which model the advection phenomenon.[5]

The one-dimensional case

For one-dimensional case, the CFL has the following form:

where the dimensionless number is called the Courant number,

The value of changes with the method used to solve the discretised equation, especially depending on whether the method is explicit or implicit. If an explicit (time-marching) solver is used then typically . Implicit (matrix) solvers are usually less sensitive to numerical instability and so larger values of may be tolerated.

The two and general n-dimensional case

In the two-dimensional case, the CFL condition becomes

with obvious meaning of the symbols involved. By analogy with the two-dimensional case, the general CFL condition for the -dimensional case is the following one:

The interval length is not required to be the same for each spatial variable . This "degree of freedom" can be used in order to somewhat optimize the value of the time step for a particular problem, by varying the values of the different interval in order to keep it not too small.

Implications of the CFL condition

The CFL condition is only a necessary one

The CFL condition is a necessary condition, but may not be sufficient for the convergence of the finite-difference approximation of a given numerical problem. Thus, in order to establish the convergence of the finite-difference approximation, it is necessary to use other methods, which in turn could imply further limitations on the length of the time step and/or the lengths of the spatial intervals.

Notes

  1. In general, it is not a sufficient condition; also, it can be a demanding condition for some problems. See the "Implications of the CFL condition" section of this article for a brief survey of these issues.
  2. See reference Courant, Friedrichs & Lewy 1928. There exists also an English translation of the 1928 German original: see references Courant, Friedrichs & Lewy 1956 and Courant, Friedrichs & Lewy 1967.
  3. This situation commonly occurs when a hyperbolic partial differential operator has been approximated by a finite difference equation, which is then solved by numerical linear algebra methods.
  4. This quantity is not necessarily the same for each spatial variable, as it is shown in the "The two and general n–dimensional case" section of this entry : it can be chosen in order to somewhat relax the condition.
  5. Precisely, this is the hyperbolic part of the PDE under analysis.

References

External links

This article is issued from Wikipedia - version of the 9/12/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.