
FLOW AROUND A SPHERE AT FINITE REYNOLDS NUMBERS—GALERKIN METHOD 225
that is, when
|x
k+1
−x
k
|< (4.1.47)
The Newton-Raphson method for finding the root of a single algebraic equation is
programmed in the function subprogram
NEWTN1 that is attached to Program 4.1;
by calling this subroutine, the roots of (4.1.44) are found for various Reynolds
numbers.
At the final stage of the Galerkin method, the values of A
1
and B
1
must be
calculated by solving simultaneously the nonlinear algebraic equations (4.1.27)
and (4.1.28), which are represented in the following general form:
g(x, y) = 0andh(x, y) = 0 (4.1.48)
The solution to the system of two equations may again be found using the
Newton-Raphson method by first guessing arbitrary initial values x
1
, y
1
and then
applying successively the modified iterative formulas:
x
k+1
= x
k
−
g(x
k
, y
k
)
(∂g/∂x)(x
k
, y
k
)
(4.1.49)
y
k+1
= y
k
−
h(x
k+1
, y
k
)
(∂h/∂y)(x
k+1
, y
k
)
(4.1.50)
Notice that the value of x obtained from the first formula is used on the right-
hand side of the second formula in computing the improved value for y.The
approximate solution is considered satisfactory when both
|x
k+1
−x
k
|< and |y
k+1
−y
k
|<
(4.1.51)
The subroutine
NEWTN2 is constructed for such a purpose.
Now we are ready to write a computer program for computing flow proper-
ties at various Reynold numbers based on the result deduced from the Galerkin
method. The procedure is outlined in the listing for Program 4.1. Computations
were performed for 20 different Reynolds numbers ranging from 5 to 1000. Three
flow patterns were plotted respectively for Re = 10, 100, and 300. Points along
stream lines are obtained by calling
SEARCH (or by using MATLAB plotting
commands, given as an option in the program); their images are plotted in the
way described Section 2.6. The result is shown in Figs. 4.1.5 to 4.1.7.
The computed drag coefficient c
d
agrees well with the measured curve within
the same Reynolds number range, as plotted in Fig. 1.2.2. The printed data
(Table 4.A.1) reveal the important fact that at low Reynolds numbers, the drag
of a sphere is attributed mainly to the skin friction, whereas the pressure drag
becomes more important for Re > 90. This suggests an efficient method for drag
reduction at high Reynolds numbers by reducing the size of the separated flow
region behind a body, because the pressure drag is caused primarily by the low
pressure associated with the secondary flow in the wake.