64 INVISCID FLUID FLOWS
When a source of strength at (x
0
−x, y
0
) is added to a sink of strength
− at (x
0
+x, y
0
), a new flow field is obtained. Furthermore, by letting x
approach zero while keeping the product 2x a constant κ, the stream function
(2.4.4) for a doublet at (x
0
, y
0
) is obtained. The streamlines are circles passing
through the point (x
0
, y
0
) with centers on the straight line x = x
0
.Thesameflow
pattern can be produced by superimposing a vortex (x
0
, y
0
+y) to a vortex
of opposite circulation at (x
0
, y
0
−y), and then letting y approach zero. κ
is called the strength of the doublet. The velocity at the center of a doublet is
infinitely large.
Except the uniform flow, the other three elementary flows just discussed
have the same property, that the velocity becomes infinity when the center is
approached. Because of this property, they are sometimes called singularities.
They do not cause any mathematical difficulties if each of the singular points is
within a domain that is considered to be occupied by a body. For example, when
a source is placed in a uniform stream, a half-body is generated in the flow. If
the source is replaced by a doublet, a circular cylinder is generated instead. The
singularity in each case is enclosed within the boundary of a rigid body, and the
flow outside the body is therefore free of singularities. Detailed descriptions of
elementary flows and their syntheses can be found in most textbooks on fluid
mechanics (e.g., Chapter 4 of Kuethe and Chow, 1998).
In general, bodies of infinite extension are generated by sources or sinks.
On the other hand, doublets or a group of sources and sinks of vanishing total
strength are used to form bodies of closed boundary. The inverse method of
superposition of elementary flows is simple in principle, and the body shape and
the flow pattern can be effectively obtained by computing and plotting some
representative streamlines of a flow that consists of any number of elementary
flows.
Consider a two-dimensional stream function of the general form
ψ = f (x, y) (2.4.5)
The flow pattern within a rectangular space bounded between x
min
and x
max
in
the x direction and between y
min
and y
max
in the y direction is to be plotted.
The space is subdivided, as shown in Fig. 2.4.2, by vertical lines at a constant
distance x apart, and by horizontal lines at a distance y apart. The sizes of
x and y are not necessarily the same. Grid points that are formed at the
intersections of these two sets of perpendicular lines have coordinates (x
i
, y
j
),
where i = 1, 2, ..., m and j = 1, 2, ..., n according to the notation of Fig. 2.4.2.
The values of the stream function evaluated at the grid points are called ψ
i, j
,
which are computed for all values of i and j from the relation
ψ
i, j
= f (x
i
, y
j
) (2.4.6)
In the output of the program, a graph will be shown that displays the points where
the vertical grid lines intersect certain particular streamlines. If the number of