Documente Academic
Documente Profesional
Documente Cultură
file:///D:/chitra/nptel_phase2/mechanical/cfd/lecture2/2_1.htm
1 of 1
6/19/2012 4:36 PM
Objectives_template
file:///D:/chitra/nptel_phase2/mechanical/cfd/lecture2/2_2.htm
...
(2.1)
Mathematically, Eq. (2.1) is an exact expression for In practice, any function is small and any higher-order term of
Example:
In terms of magnitude, and higher order are neglected, Eq. (2.1) becomes
(2.2)
Eq. (2.2) is second-order accurate, because terms of order neglected. If terms if order
(2.3) Eq. (2.3) is first-order accurate. In Eqns. (2.2) and (2.3) the neglected higher-order terms represent the truncation error. Therefore, the truncation errors for Eqns. (2.2) and (2.3) are
and
It is now obvious that the truncation error can be reduced by retaining more terms in the Taylor series expansion of the corresponding derivative and reducing the magnitude of
1 of 2
6/20/2012 12:16 PM
Objectives_template
file:///D:/chitra/nptel_phase2/mechanical/cfd/lecture2/2_2.htm
2 of 2
6/20/2012 12:16 PM
Objectives_template
file:///D:/chitra/nptel_phase2/mechanical/cfd/lecture2/2_3.htm
or
(2.4)
, expressing the order the magnitude of the truncation error. The first-order-
accurate difference representation for the derivative can be identified as a first-order forward difference. Now consider a Taylor series expansion for , and
or
(2.5)
Solving for
, we obtain
(2.6)
Eq. (2.6) is a first-order backward expression for the derivative at grid point Subtracting Eq. (2.5) from (2.1)
(2.7)
1 of 2
6/20/2012 12:16 PM
Objectives_template
file:///D:/chitra/nptel_phase2/mechanical/cfd/lecture2/2_3.htm
(2.8)
at grid point
2 of 2
6/20/2012 12:16 PM
Objectives_template
file:///D:/chitra/nptel_phase2/mechanical/cfd/lecture2/2_4.htm
(2.9)
we obtain
(2.10)
Eq. (2.10) is a second-order central difference form for the derivative point Difference quotients for the
at grid
[Forward difference]
[Backward difference]
[Central difference]
of
second
1 of 1
6/20/2012 12:17 PM
Objectives_template
file:///D:/chitra/nptel_phase2/mechanical/cfd/lecture2/2_5.htm
or
or
The same approach can be made to generate a finite difference quotient for the mixed derivative Example, (2.11) In Eq. (2.11), if we write the derivative as a central difference of derivatives, at grid point .
derivatives, we obtain
(2.12)
1 of 2
6/20/2012 12:17 PM
Objectives_template
file:///D:/chitra/nptel_phase2/mechanical/cfd/lecture2/2_5.htm
Congratulations, you have finished Lecture 2. To view the next lecture select it from the left hand side menu of the page or click the next button.
2 of 2
6/20/2012 12:17 PM