Solution of Discrete Algebraic Systems
Solution of Discrete Algebraic Systems
(24.2)
Iterations are continued till a converged solution is obtained. Similar procedure can also be
extended to a system of coupled non-linear equations
F(x) = 0 (24.3)
which can be re-cast as
x = G(x) (24.4)
Permitting computation of improved iterates starting from an initial guess x
0
as
1
( ), 0,1, 2,....
k
k
i i
x G k
x (24.5)
Another iterative approach can be formulated by re-casting the system of equations (24.3) as
a linearized system given by
A(x)x = b(x) (24.6)
in which system matrix A and load vector b are functions of unknown vector x. In this case,
starting from the initial guess x
0
, improved iterates are computed by solving a linear system
of equation at each iteration, i.e.
COMPUTATIONAL FLUID DYNAMICS: ALGEBRAIC SYSTEMS: General Techniques
Dr K M Singh, Indian Institute of Technology Roorkee NPTEL 24.2
1
, 0,1, 2,.....
k k k
k
(24.8)
In Eq. (24.8), superscript primes indicate derivatives. If we retain only first two terms on
RHS, then an improved guess can be estimated as
1
( )
, 0,1, 2,....
( )
k
k k
k
f x
x x k
f x
(24.9)
The preceding approach can be easily generalized for a coupled nonlinear system (24.3). For
a small increment x , function F
i
can be expanded in Taylor series as
2
1
( ) ( ) ( )
n
i
i i j
j j
F
F F x O
x
x x x x (24.10)
By neglecting higher order terms and setting ( ) 0
i
F x x , we get
1
( ) or ( ),
n
i i
j i ij j i ij
j j j
F F
x F J x F J
x x
x x (24.11)
In the preceding equation, J is called the Jacobian matrix. For a given iterate x
k
, we first
compute (i) the function values and (ii) the Jacobian, and then solve Eq. (24.11) to get the
correction vector
k
x . Thus, new iterate is given by
1 1
, ( ) ( )
k k k k k k
x = x x x J x F x (24.12)
Newton iteration converges very rapidly if the initial guess is close to the solution. Its
convergence not guaranteed starting from an arbitrary guess. To get over this problem, a
globally convergent algorithm based on line searches and back-tracking in conjunction with
Newton-Raphson iteration is usually preferred (see Press et al., 2002 for further details of this
algorithm).
REFERENCES/FURTHER READING
Ferziger, J. H. And Peri, M. (2003). Computational Methods for Fluid Dynamics. Springer.
Press, W. H., Teukolsky, S. A., Vetterling, W. T. and Flannery, B. P. (2002). Numerical
Recipes in C++. Cambridge University Press, Cambridge.