Courant–Friedrichs–Lewy condition
From Wikipedia, the free encyclopedia
In mathematics, the Courant–Friedrichs–Lewy condition (CFL condition) is a condition for certain algorithms for solving partial differential equations to be convergent (not to be confused with numerically stable, though for an explicit it often is within a small constant factor of the stability condition). 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 wildly incorrect results. The condition is named after Richard Courant, Kurt Friedrichs and Hans Lewy who described it in their 1928 paper[1][2].
For example, if a wave is crossing a discrete grid, then the timestep must be less than the time for the wave to travel adjacent grid points. As a corollary, when the grid point separation is reduced, the upper limit for the time step also decreases.
The CFL condition is commonly represented for pure advection schemes (i.e., ignoring diffusion or reaction terms) as
where
- u is the velocity (L/T)
- is the time step (T)
- is the length interval (L),
and the constant C depends on the particular equation to be solved and not on Δt and Δx.
In the two-dimensional case this becomes [4]
The CFL condition can be a very limiting constraint on the time step Δt, to the extent that for certain fourth-order nonlinear partial differential equations it can be of the form
and efforts are often made to avoid it by using implicit methods.
[edit] References
- ^ R. Courant, K. Friedrichs and H. Lewy, Über die partiellen Differenzengleichungen der mathematischen Physik, Mathematische Annalen, vol. 100, no. 1, pages 32–74, 1928.
- ^ R. Courant, K. Friedrichs and H. Lewy, "On the partial difference equations of mathematical physics", IBM Journal, March 1967, pp. 215-234, English translation of the 1928 German original, download available here
- ^ TriGrid, oceanic modelling
- ^ a b http://lcd-www.colorado.edu/~zuev/R/STUFF_2002/JULIA/courant.pdf Live in Feb 2007; dead in March 2007, but may be restored