Courant–Friedrichs–Lewy condition
In mathematics, the convergence condition by Courant–Friedrichs–Lewy is a necessary condition for convergence while solving certain partial differential equations (usually hyperbolic PDEs) numerically. 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 upper bound, given a fixed spatial increment, in many explicit time-marching computer simulations; otherwise, the simulation produces incorrect or unstable results. The condition is named after Richard Courant, Kurt Friedrichs, and Hans Lewy who described it in their 1928 paper.[1]
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,[2] 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) to assure that the scheme can access the information required to form the solution.
Statement
To make a reasonably formally precise statement of the condition, it is necessary to define the following quantities:
- Spatial coordinate: one of the coordinates of the physical space in which the problem is posed
- Spatial dimension of the problem: the number [math]\displaystyle{ n }[/math] of spatial dimensions, i.e., the number of spatial coordinates of the physical space where the problem is posed. Typical values are [math]\displaystyle{ n=1 }[/math], [math]\displaystyle{ n=2 }[/math] and [math]\displaystyle{ n=3 }[/math].
- Time: the coordinate, acting as a parameter, which describes the evolution of the system, distinct from the spatial coordinates
The spatial coordinates and the time are discrete-valued independent variables, which are placed at regular distances called the interval length[3] 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 that 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 that model the advection phenomenon.[4]
The one-dimensional case
For the one-dimensional case, the continuous-time model equation (that is usually solved for [math]\displaystyle{ w }[/math]) is:
- [math]\displaystyle{ \frac {\partial w} {\partial t} = u \frac {\partial w} {\partial x}. }[/math]
The CFL condition then has the following form:
- [math]\displaystyle{ C = \frac {u\,\Delta t} {\Delta x} \leq C_\max }[/math]
where the dimensionless number [math]\displaystyle{ C }[/math] is called the Courant number,
- [math]\displaystyle{ u }[/math] is the magnitude of the velocity (whose dimension is length/time)
- [math]\displaystyle{ \Delta t }[/math] is the time step (whose dimension is time)
- [math]\displaystyle{ \Delta x }[/math] is the length interval (whose dimension is length).
The value of [math]\displaystyle{ C_\max }[/math] 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 [math]\displaystyle{ C_\max = 1 }[/math]. Implicit (matrix) solvers are usually less sensitive to numerical instability and so larger values of [math]\displaystyle{ C_\max }[/math] may be tolerated.
The two and general n-dimensional case
In the two-dimensional case, the CFL condition becomes
- [math]\displaystyle{ C = \frac {u_ x\,\Delta t}{\Delta x} + \frac {u_ y\,\Delta t}{\Delta y} \leq C_\max }[/math]
with the obvious meanings of the symbols involved. By analogy with the two-dimensional case, the general CFL condition for the [math]\displaystyle{ n }[/math]-dimensional case is the following one:
- [math]\displaystyle{ C = \Delta t \left( \sum_{i=1}^n\frac{u_{i}}{\Delta x_i} \right) \leq C_\max. }[/math]
The interval length is not required to be the same for each spatial variable [math]\displaystyle{ \Delta x_i, i = 1, \ldots , n }[/math]. This "degree of freedom" can be used to somewhat optimize the value of the time step for a particular problem, by varying the values of the different interval to keep it not too small.
Notes
- ↑ 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.
- ↑ 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.
- ↑ This quantity is not necessarily the same for each spatial variable, as it is shown in "The two and general n–dimensional case" section of this entry: it can be selected to somewhat relax the condition.
- ↑ Precisely, this is the hyperbolic part of the PDE under analysis.
References
- Courant, R.; Friedrichs, K.; Lewy, H. (1928), "Über die partiellen Differenzengleichungen der mathematischen Physik" (in de), Mathematische Annalen 100 (1): 32–74, doi:10.1007/BF01448839, Bibcode: 1928MatAn.100...32C, http://resolver.sub.uni-goettingen.de/purl?GDZPPN002272636.
- Courant, R.; Friedrichs, K.; Lewy, H. (September 1956), On the partial difference equations of mathematical physics, AEC Research and Development Report, NYO-7689, New York: AEC Computing and Applied Mathematics Centre – Courant Institute of Mathematical Sciences, pp. V + 76, https://archive.org/details/onpartialdiffere00cour.: translated from the German by Phyllis Fox. This is an earlier version of the paper Courant, Friedrichs & Lewy 1967, circulated as a research report.
- Courant, R.; Friedrichs, K.; Lewy, H. (March 1967), "On the partial difference equations of mathematical physics", IBM Journal of Research and Development 11 (2): 215–234, doi:10.1147/rd.112.0215, Bibcode: 1967IBMJ...11..215C, http://domino.research.ibm.com/tchjr/journalindex.nsf/a3807c5b4823c53f85256561006324be/769774a3c9f3685f85256bfa00683f8a!OpenDocument. A freely downloadable copy can be found here.
- Carlos A. de Moura and Carlos S. Kubrusly (Eds.): "The Courant-Friedrichs-Lewy (CFL) Condition: 80 Years After Its Discovery", Birkhauser, ISBN 978-0-8176-8393-1 (2013).
External links
- Hazewinkel, Michiel, ed. (2001), "Courant–Friedrichs–Lewy condition", Encyclopedia of Mathematics, Springer Science+Business Media B.V. / Kluwer Academic Publishers, ISBN 978-1-55608-010-4, https://www.encyclopediaofmath.org/index.php?title=C/c026760
- Weisstein, Eric W.. "Courant-Friedrichs-Lewy Condition". http://mathworld.wolfram.com/Courant-Friedrichs-LewyCondition.html.
Original source: https://en.wikipedia.org/wiki/Courant–Friedrichs–Lewy condition.
Read more |