Next: Accuracy of upwind method
Up: Brief notes on CFD,
Previous: Verification, Validation and Certification
The ultimate test of a numerical method is to establish its convergence to
the analytical solution in the limit of grid refinement. Convergence proofs
of numerical methods are also used to establish the existence of solutions
to PDE. Let
be the exact solution and
the numerical solution. We are
typically interested in an unsteady problem and assume that the solution is
desired at time
. The numerical scheme is written as
 |
(1) |
The local error or one-step error or truncation error is defined as
 |
(2) |
Contractive operators
The numerical solution operator
is said to be contractive in some
norm
if
 |
(3) |
for any two grid functions
and
. If the method is contractive then it
is stable in this norm and we can obtain a bound on the global error
By iterating we obtain
Assume that the local truncation error is bounded by
Then we have
The term
measures the error in the initial data on the grid, and
we require that
as
in order to be solving the
correct initial-value problem. If the method is consistent, then also
are
and we have proved convergence. Moreover, if
, then global error will have this same behaviour as
(provided the initial data is sufficiently accurate), and the method
has global order of accuracy
.
Actually a somewhat weaker requirement on the operator
is sufficient for
stability,
 |
(4) |
where
is some constant independent of
as
. If the
above condition holds then we get
and so
In this case the error may grow exponentially in time, but the key fact is
that this growth is bounded independently of the time step
. For fixed
we have a bound that goes to zero with
.
Convergence to weak solutions
One class of schemes which are contractive are monotone methods, see
section (4) for definition of monotone property. Unfortunately
this property holds only for certain first-order accurate methods (monotone
methods are always first order accurate). Hence we need to look for some
other stability condition and for conservation laws the condition of TVD or
TVB is suitable since the exact solutions also have the same property, again
see section (4). This approach has been successful only for
scalar problems. For general systems of equations with arbitrary initial
data no numerical method has been proved to be stable or convergent in
general, although convergence results have been obtained in some special
cases.
The solution is assumed to be piece-wise linear
where the index
is used to denote the grid size
. We
are interested in the behaviour of the above solution on a sequence of grids
with
,
as
.
One difficulty with conservation laws is that the global error
is not well defined when the weak solution is not unique. Instead, we
measure the global error in our approximation by the distance from
to the set of all weak solutions
,
To measure this distance we use the 1-norm
and the global error is defined as
The convergence result takes the following form
If
is generated by a numerical method in conservation form,
consistent with the conservation law, and if the method is stable in some
appropriate sense, then
Note that this only ensures that the solutions converge to some weak
solution but does not guarantee uniqueness. If the conservation law
satisfies an entropy condition then the exact solution is unique. We can
try to check whether the numerical solutions also satisfy a discrete form of
the entropy condition which would ensure uniqueness of the numerical
solution also.
Compactness and Total-variation stability
Compactness is a useful concept for non-linear equations. While compactness
can be defined in many ways, the most useful definition in our case is that
of sequential compactness. We say that a set
is (sequentially)
compact if given
any sequence
belonging to
we can extract a sub-sequence
which converges to some element of
.
To prove convergence we must first ensure that the sequence of numerical
solutions all belong to a compact set. The set of all functions with bounded
1-norm
 |
(5) |
is not compact. Reasons which prevent this set from being compact are
unbounded support of the functions and highly oscillatory behaviour. To
control the oscillations we impose a stability condition in the form
of a bound on the Total-Variation, which is defined as
We now look for solutions which belong to the following compact space
![\begin{displaymath}
K = \{v \in L_{1,T} : TV_T(v) \le R \textrm{ and } \textrm{supp}( v(\cdot, t) )
\subset [-M, M] \forall t \in [0,T] \}
\end{displaymath}](img211.png) |
(7) |
where the positive constants
,
depend on
and the initial
condition. Note that the conditions on total-variation and support of the
function are also satisfied by the exact solution of the conservation law.
The numerical solution is piece-wise constant and its total-variation is
given by
![\begin{displaymath}
TV_T(U^\Delta) = \sum^{T/\Delta t}_{n=0} \sum^\infty_{i=-\in...
..._i -
U^n_{i-1} \vert + \Delta x\vert U^{n+1}_i - U^n_i \vert ]
\end{displaymath}](img214.png) |
(8) |
which can also be written as
![\begin{displaymath}
TV_T(U^\Delta) = \sum^{T/\Delta t}_{n=0}[\Delta t TV(U^n) +
\vert\vert U^{n+1} - U^n \vert\vert _1 ]
\end{displaymath}](img215.png) |
(9) |
References
- This note is based on chapters 8 and 12 of
RJ LeVeque, Finite volume methods for hyperbolic problems, Cambridge Univ
Press, 2002.
- For the notions of convergence and compactness see
W Rudin, Principles of Mathematical Analysis, McGraw Hill.
- For more on total variation, see the material on functions of
bounded variation in
Apostol, Mathematical Analysis.
Next: Accuracy of upwind method
Up: Brief notes on CFD,
Previous: Verification, Validation and Certification
Praveen. C, last updated on 18-February-2005