is the wave speed.
, which when expanded results in
as
where
is called the Courant number.
. If the time step
is set according to a system sample rate and the wave speed
is set by physical system parameters, then the spatial or grid spacing
must be
.
or the distance a wave will propagate in one spatial sample given a sample rate
and wave speed
. This results in a value of
and meets the CFL condition.
, the system will be unstable. If
, the solution is exact at the sample points. If
, there will be some degree of numerical dispersion.
because the domain of a simulation must be divided into
equal sections of length
. To minimize dispersion and maintain stability, it is recommended to first compute
(assuming
and
are fixed), then
, then
and
.
|
and
, Eq. 15 requires values
and
, which are outside the domain.
, in which case calculations are only needed for
.
(in this case using a centred spatial difference operator).
leads to
![]() |
![]() |
||
![]() |
![]() |
.
plane.
| ©2004-2026 McGill University. All Rights Reserved. Maintained by Gary P. Scavone. |