The Lecture Deals With:: Module 1: Introduction To Finite Difference Method and Fundamentals of CFD
The Lecture Deals With:: Module 1: Introduction To Finite Difference Method and Fundamentals of CFD
htm
1 of 1 6/20/2012 12:22 PM
Objectives_template file:///D:/chitra/nptel_phase2/mechanical/cfd/lecture5/5_2.htm
Let us now attempt a different discretization of the original partial differential equation
given by Eq. (3.3). Here we express the spatial difference on the right-hand side in terms
of averages between and time level
(5.1)
The differencing shown in Eq. (5.1) is known as the Crank-Nicolson implicit scheme.
The unknown is not only expressed in terms of the known quantities at time level
but also in terms of unknown quantities at time level . Hence Eq. (5.1) at a given grid
1 of 1 6/20/2012 12:22 PM
Objectives_template file:///D:/chitra/nptel_phase2/mechanical/cfd/lecture5/5_3.htm
Eq. (5.1) has to be written at all grid points, resulting in a system of algebraic equations
from which the unknowns for all can be solved simultaneously. This is a typical
example of an implicit finite-difference solution (Fig. 5.1).
Since they deal with the solution of large system of simultaneous linear algebraic
equations, implicit methods usually require the handling of large matrices.
Generally, the following steps are followed in order to obtain a solution. Eq (5.1) can be
rewritten as
(5.2)
where or
or
(5.3)
1 of 2 6/20/2012 12:23 PM
Objectives_template file:///D:/chitra/nptel_phase2/mechanical/cfd/lecture5/5_3.htm
Eq. (5.3) has to be applied at all grid points, i.e., from to A system of
algebraic will result (refer to Fig 5.1).
at
at
at
at
where,
Note that the boundary values at and are transferred to the known
right-hand side.
For such a tridiagonal system, different solution procedures are available. In order to
derive advantage of the zeros in the coefficient-matrix, the well known Thomas
algorithm (1949) can be used .
2 of 2 6/20/2012 12:23 PM
Objectives_template file:///D:/chitra/nptel_phase2/mechanical/cfd/lecture5/5_4.htm
(5.5)
If we apply the simple explicit method to heat conduction equation, the following
algorithm results
(5.6)
(5.7)
where the central difference operators and in two different spatial directions are
defined by
(5.8)
1 of 1 6/20/2012 12:24 PM
Objectives_template file:///D:/chitra/nptel_phase2/mechanical/cfd/lecture5/5_5.htm
The resulting system of linear algebraic equations is not tridiagonal because of the five
unknowns and In order to examine this further, let us rewrite
Eq. (5.7) as
(5.9)
where
Eq. (5.9) can be applied to the two-dimensional (6×6) computational grid shown in Fig.
5.2.
1 of 2 6/20/2012 12:24 PM
Objectives_template file:///D:/chitra/nptel_phase2/mechanical/cfd/lecture5/5_5.htm
(5.9)
where
The system of equations, described by Eq. (5.9) requires substantially more computer
time as compared to a tridiagonal system. The equations of this type are usually solved by
iterative methods. These methods will be described in a subsequent lecture. The quantity
is the boundary value.
Congratulations! You have finished Lecture 5. 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:24 PM