Quick Navigation:
Go to Home
MS Research
PhD Research
Curriculum Vitae
Linux
Matlab
On-line Stores
Cycling
Medicine & Health
LaTeX
OOP & C++
Sony PCM-R500 DAT
|

|
Next: Solving systems of non-linear
Up: Core flow numerics
Previous: Introduction
  Contents
  Index
Truncation error
In order to investigate the truncation error associated with the finite
difference scheme we consider the equation
 |
(7.13) |
which resembles both ordinary differential equations in our problem.
As stated earlier we will discretize (7.14) about point
which implies that we have to use the following Taylor
series.
Taylor series of
about point zi and zi+1 (assuming
)
respectively read
 |
(7.14) |
 |
(7.15) |
In addition we need Taylor series about
 |
(7.16) |
 |
(7.17) |
Using the two last series (7.17) and (7.18)
reveals that the difference
 |
(7.18) |
equals the derivative at point
plus a local truncation error
of size
.
It is a bit more involved to calculate the local truncation error which
accompanies the difference for
.
From the Taylor series (7.15) and (7.16) we have
![\begin{displaymath}
\frac{\Psi_i+\Psi_{i+1}}{2} = \Psi_{i+\frac{1}{2}} - \frac{...
...ac{d^2\Psi}{dz^2}\right\vert _{i+1}
\right] + {\cal O}(k_i^3)
\end{displaymath}](img1365.gif) |
(7.19) |
which at first glance indicates that we have a local truncation of
but a Taylor expansion of
about zi yields
 |
(7.20) |
which implies that the first square bracket in (7.20) can be rearranged in the following way
 |
(7.21) |
The final expression which includes a Taylor expansion of the last square
bracket in (7.20) therefore reads
which indicates a local truncation of order
.
We can conclude without actually writing out the full expression that the finite
difference scheme (7.8)-(7.11) has a local truncation
error of size
 |
(7.22) |
Next: Solving systems of non-linear
Up: Core flow numerics
Previous: Introduction
  Contents
  Index
Revision 2.0, Copyright © 1999-2004 Jakob
Christensen
http://www.JakobCHR.com
E-Mail: webmaster@JakobCHR.com
|
Top Quality Developed with Danish Brain Power
|
|
|
|
|