78
and
up:
DR
*f
<n,
-
h^)
-
FR .
If
hR,
y'ls,
D.* and
u5 are
known
then
F^
and
F,
can be
calculated
and
the values
of. h"
and
up
can be
determined.
A
complete
technique
of
analysis
can
be
based
on the
solutions
given
above.
As can
be
seen in
Fig.
3.2., characteristic
lines
are
curves.
This
is
caused
by the
zone
of
quiet
Fig.3.2.
variations
in u
and
c that occur
in unsteady
flow.
It is therefore
necessary
to
ensure
that
the
the r axis
is
divided
up into
A.r
lengths
which
are
so small
that the
corresponding
segments
of
the
characteristic
lines
are,
effectively,
straight.
The
Ar
value
corresponding
must
fit the
requirement
that
at
x
(u
+
c) + arx
lu
-
cl
:
Ax.
_
Divide
up the.r
axis
into
Ar lengths.
These
Ax
lengths
must
be
short
enough for
the
segments
of the
characteristic
lines
springing
from
their
ends and
rneeting
at
P
points
to
be,
effectively,
short
and
straight.
Complete
characteristics
are
curved
because,
in the
case
of unsteady
flow,
the values
of u
and c
change with
r and I
-
as
demonstrated
in
Fig.
3.2
-
and
so the values
of the
characteristics'
gradients
(l/(u
* c)
and ll(u
-
c)) must
also
change.
From
the nodes
so created,
pairs
of
positive
and
negative
characteristics
are
drawn.
These
characteristics
intersect
at various
positions
in
the
x-r
space.
The
techniques
for
calculating
hp and u" given
before
can
then be
applied
to solve
for
values
of
ft and
u at
all of
these
points.
There
are
problems
associated
with
doing
this,
however.
There
are
no
particular
difficulties
in
analysing
the
central
regions
of i duct
in this way
but
a
problem
arises when
the
boundary
nodes
are
to
be
solved. At an
upstream
boundary,
a negative
characteristic
is
available
to
provide
one
of
the
two
equations
needed
to
solve
the two variables
h
and u. The
other
equation
must be
provided
by
the
conditions
at
the boundary.
If a
reservoir
is locatedlt
the upstream
Sec.
3.21
The
method
of characteristics
boundary,
this is
very easy
to
establish. The required condition is simply
that the
pressure
head
plus
the
elevation of the centreline of the
pipe
above some chosen
datum
(the
total
head
h) is constant. This
provides
the head h and the
value
of
u
can
be
easily obtained
from
the negative
characteristic
invariant.
So
Dp: Ds
+
glc(h,
-
lt")
-
fs
where
Fs:2f5uslutltt/d,
d is the pipe diameter and
.fr
is
the
Darcy
friction
coefficient.
Similarly
downstream,
the
conditions
of the boundary there and
the positive
characteristic
joining
from
the
node
just
upstream
provide the
solution
for nodes
located on
the x:
L ordinate. If all boundary conditions
were
as
simple as the
reservoir
there
would be no difficulty in using this technique. Unfortunately,
this is
not so; many of
the boundary
conditions that can occur
offer
considerable
difficulty.
Junctions,
pumps,
turbines
and valves of many different sorts all
have their
difficulties
and can
be awkward to handle
in
this method.
An additional
awkward-
ness of this
method is
that,
as
time advances, the network of lines
gradually
distorts
and
becomes,
progressively, more and more irregular. This means that for
neither a
fixed x
value
nor a fixed
r
value
will
it be
possible
to obtain
more
than a few /r
or
u
values. Fig.3.2 describes
a
pipeline
in
which the flow
is
initially steady. It will
be
seen
that
below the
positive
characteristic
line originating at x
=
0 and
r:
0 the character-
istics, both
positive
and
negative, are
straight.
This is because the flow is
steady as no
unsteadiness
has reached
the nodes in these locations. Thus,
the
velocities
and wave
celerities
at each node
remain at their
previous values
until the unsteadiness
reaches
them and so
the characteristic
gradients
remain constant. This
zone
is
called
the zone
of
quiet.
If x
is large
there
may well
be a
number
of
P
points
lying immediately
above
the initial
node but,
as time
advances, the
point
of interest
passes
out of the zone
of
quiet
and
into that
area
of the diagram in
which
the network made
by the
characteristic
lines
is
distorted. Consequently, on an ordinate
located
at x, there will
be a number
of
P
points
for
which
h and
u
values
will
be available; for
larger
fvalues,
outside
the
zone of
quiet,
there
will
be
none except
coincidently. Similarly, for an x
line
drawn horizontally
on
the
diagram at a
particular
t value, there may
be no P
points whatsoever.
Values
can be
obtained
on either the x line or the r line
by
interpolating
values
from
adjacent
P
points"
This
method
is due to Hartree,
who
originally
developed
it
as a semi-graphical semi-computed
method in the
1930s. He
used hand-operated
mechanical
computing machines which must
have
been exceed-
ingly tedious to operate.
One can have only
the
greatest
admiration for
him. The
method
can be
programmed on a modern computer and
has certain considerable
advantages
but also,
disadvantages.
In
particular
it has a tendency to
generate
non-
existent
shocks.
3.2.2
The
method of
the
regular
grid
The early
attempts
to
program
the
characteristic
equations for modern computers
by
Streeter
and
Lai in 1963
used the
assumption
that
velocity
u
would
be
sufficiently
small, in comparison
with
the
celerity
c, that it
would
be
permissible
to ignore
it
(Fig.
3.3).
This assumption
is
also made in the
graphical
methods described in
Chapter
2.
The
method
of characteristics
lch.
3
t9