17.01.2014 Views

The Courant-Friedrichs-Levy (CFL) Stability ... - ETH - ETH Zürich

The Courant-Friedrichs-Levy (CFL) Stability ... - ETH - ETH Zürich

The Courant-Friedrichs-Levy (CFL) Stability ... - ETH - ETH Zürich

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

1<br />

<strong>The</strong> <strong>Courant</strong>-<strong>Friedrichs</strong>-<strong>Levy</strong> (<strong>CFL</strong>)<br />

<strong>Stability</strong> Criterion<br />

Christoph Schär<br />

Institut für Atmosphäre und Klima, <strong>ETH</strong> <strong>Zürich</strong><br />

http://www.iac.ethz.ch/people/schaer<br />

Schär, <strong>ETH</strong> <strong>Zürich</strong>


Interpretation of <strong>Courant</strong> number<br />

2<br />

<strong>Courant</strong> number:<br />

! =u"t "x :<br />

j-2 j-1<br />

α = 1.5<br />

α = 1<br />

α = 0.5<br />

j j+1 j+2<br />

x<br />

<strong>The</strong> <strong>Courant</strong> number is the dimensionless transport per time step (in units of Δx) <br />

Schär, <strong>ETH</strong> <strong>Zürich</strong>


<strong>CFL</strong> criterion for Leapfrog scheme<br />

3<br />

!"<br />

Equation:<br />

!t + u !"<br />

!x = 0<br />

n<br />

Scheme: ! +1 i = ! n–1 i –" ! i +1<br />

( n n<br />

#! ) i–1 with " = u$t<br />

$x<br />

n+1 <br />

t<br />

physical domain<br />

of dependence<br />

n <br />

n-1 <br />

numerical domain<br />

of dependence<br />

n-2 <br />

Schär, <strong>ETH</strong> <strong>Zürich</strong><br />

i-3 i-2 i-1 i i+1 i+2 i+3 <br />

x


<strong>CFL</strong> criterion for Leapfrog scheme<br />

4<br />

!"<br />

Equation:<br />

!t + u !"<br />

!x = 0<br />

n<br />

Scheme: ! +1 i = ! n–1 i –" ! i +1<br />

( n n<br />

#! ) i–1 with " = u$t<br />

$x<br />

t<br />

n+1 <br />

physical domain<br />

of dependence<br />

n <br />

n-1 <br />

n-2 <br />

unstable<br />

|uΔt/Δx| > 1<br />

stable<br />

|uΔt/Δx| ≤ 1<br />

numerical domain<br />

of dependence<br />

Schär, <strong>ETH</strong> <strong>Zürich</strong><br />

i-3 i-2 i-1 i i+1 i+2 i+3 <br />

x


<strong>CFL</strong> criterion for Upstream scheme<br />

5<br />

!"<br />

Equation:<br />

!t + u !"<br />

!x = 0<br />

! n+1 i = ! n i "# ! n n<br />

Scheme:<br />

i "! i"1<br />

( ) with # = u $t<br />

$x<br />

t<br />

n+1 <br />

physical domain<br />

of dependence<br />

n <br />

n-1 <br />

numerical domain<br />

of dependence<br />

n-2 <br />

Schär, <strong>ETH</strong> <strong>Zürich</strong><br />

i-3 i-2 i-1 i i+1 i+2 i+3 <br />

x


<strong>CFL</strong> criterion for Upstream scheme<br />

6<br />

Equation:<br />

t<br />

n+1 <br />

!"<br />

!t + u !"<br />

!x = 0<br />

physical domain<br />

of dependence<br />

Scheme:<br />

! n+1 i = ! n i "# (! n n<br />

i "! i"1 ) with # = u $t<br />

$x<br />

n <br />

n-1 <br />

n-2 <br />

unstable<br />

uΔt/Δx > 1<br />

stable<br />

0 ≤ uΔt/Δx ≤ 1<br />

unstable<br />

uΔt/Δx < 0<br />

numerical domain<br />

of dependence<br />

Schär, <strong>ETH</strong> <strong>Zürich</strong><br />

i-3 i-2 i-1 i i+1 i+2 i+3 <br />

x


Summary<br />

<strong>Courant</strong>-<strong>Friedrichs</strong>-<strong>Levy</strong> (<strong>CFL</strong>) principle:<br />

<strong>The</strong> physical domain of dependence must be contained in<br />

the numerical domain of dependence!<br />

7<br />

Is a necessary condition for stability, but not a sufficient condition!<br />

<strong>CFL</strong> criteria:<br />

Generalized form:<br />

Velocity represents the largest velocity in the system, at which information can<br />

propagate. May include advective transport and wave propagation:<br />

Example 1: shallow water system:<br />

gravity waves<br />

u !t<br />

!x "1 valid for a large category of schemes<br />

c !t<br />

!x "1 with c = max u adv + c group<br />

( )<br />

c group =<br />

g H<br />

Schär, <strong>ETH</strong> <strong>Zürich</strong><br />

Example 2: non-hydrostatic, compressible<br />

atmosphere: sound waves<br />

c group = 331 ms -1<br />

T 273.15 K

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!