Professional Documents
Culture Documents
2T T
2 .2.11
x t
Since the equation contains the second derivative in x and only the first derivative in
time t, two boundary conditions are needed in x and a single initial condition in t. These
may be prescribed in terms of T(x,t) as
T (a, t) =A
T (b, t) =B
T (x,0) =TO
where x = a and x = b representing the boundaries of the region and TO is the initial
condition. In general, TO may be a function of x, and A and B may be functions of
7
time. However, for simplicity these are taken as constants here. The problem, as given
above, is properly posed for obtaining the solution for > 0.
The above parabolic PDE may be solved numerically by finite difference methods. A
space-time grid, with x and t denoting the corresponding mesh sizes, is taken, as
shown in Fig.2.11. Then, the finite difference approximations to the derivatives are
applied to the given equation at each grid point. Several finite difference
approximations can be obtained, depending on the representations used for the
derivatives. For instance, a forward difference representation may be used for the partial
derivative in time to obtain
T Ti 1, j Ti , j
2.12
t t
where the subscript (i+1) denotes the values at time ( t t ), and i those at time t. The
spatial location is given by j. For the mesh shown in Fig (2.11). x =jx and == i t.
The truncation error is O ( t).
2T Ti , j 1 2Ti , j Ti , j 1
( 2 )i , j .2.13
x (x)2
with a truncation error of O [(x) 2]. In this expression, the second derivative in x is
approximated at time . If the above finite difference representations are substituted into
Eq (2.11), the resulting equation may be written as:
t
Ti 1, j Ti , j .(Ti , j 1 2Ti , j Ti , j 1 ) 2.14
(x) 2
where the truncation error is O ( t) + O [(x) 2]. Therefore,
Therefore, an amplification of the round-off and truncation errors arises if F > 1/2 and
may lead to a meaningless solution as the computation advances in time. This condition
for numerical stability is obtained by stability analysis, considering the growth of errors
introduced into the solution. The major problem with the stability criterion given by Eq.
(2.17) is the constraint that it imposes on the allowable time step for a given grid
spacing Ax, which is generally chosen as small to keep the truncation error small. For a
given value of the thermal diffusivity , the maximum permissible time step t is
given by the stability constraint as
1 (x) 2
t 2.18
2
A small value of t is desirable for keeping the truncation error, which is of order
t in this formulation, down to a desired level. However, the stability criterion
generally limits the time step to a value that is much smaller than that needed for
maintaining the accuracy of the solution. Therefore, the explicit method often severely
constrains the time step and results in excessive computational time. Consequently,
other methods have been developed which, although often more involved than this
method, have better stability characteristics. [35], [36]
2.7.1.3 Implicit Methods
In the explicit method, the finite difference approximation for the second spatial
2T
derivative is written, in Eq. (2.13). At time t. A family of implicit methods may
x 2
10
be obtained by approximating this derivative at a different time, between t and t t .
The resulting finite difference equation is
12
Two other approaches have gained importance in recent years. These are the
boundary element method and the control volume approach. The former is similar to the
finite element method, except that the integral formulation for the computational
domain is transformed to one that applies for the bounding surface. Although somewhat
limited in its applicability, this method is finding much interest for many problems of
practical interest, particularly for those where the phenomenal of the surfaces are of
main concern. The method has the advantage, over finite element methods, of a smaller
number of elements and unknowns. [40]
The control volume approach is also based on the integral formulation. The
physical region is divided into a set of non overlapping control volumes, such as those,
obtained by drawing lines parallel to the coordinate axes midway between the nodes;
the integral conservation statement is applied to each control volume, using
interpolation between the node points to approximate the integrands. Thus, the volume
and surface integrals are approximated, using values at the nodes. The resulting
algebraic equations are similar to those obtained from the finite difference approach,
which is based on the differential equations. However, the finite volume method
satisfies the conservation principles more accurately and is particularly valuable for the
numerical formulation of the boundary conditions. [35]
13