180 The material and the local description of flow
Using the equation of state
p
n+1
j+1/2
= p
e
n+1
j+1/2
,α
n+1
j+1/2
(3.32e)
and replacing the term p
n+1
j+1/2
results in the only implicit difference equation
e
n+1
j+1/2
= e
n
j+1/2
−
1
2
p
n
j+1/2
+ p
e
n+1
j+1/2
,α
n+1
j+1/2
α
n+1
j+1/2
− α
n
j+1/2
(3.32f )
Since α
n+1
j+1/2
is known from (3.32c), only e
n+1
j+1/2
needs to be determined, but it
also occurs on the right-hand side of the equation. Therefore, we must proceed
iteratively to find e
n+1
j+1/2
, which is the specific internal energy at time t = (n +1) t
of the trajectory T
j+1/2
.
It should be noted that the difference equations must be solved in the given
order. The required state quantities can be determined explicitly, except for the
specific internal energy, which must be found iteratively for each nt and at
each grid point (j +
1
2
). Instead of (3.32f) we could also use a simpler explicit
version of the difference equation, but this would decrease the numerical reliability
of the scheme. In the finite-difference scheme adopted all other finite-difference
equations use central differences so that, for each point in the (a, t)-plane, the partial
derivatives are approximated to second-
order accuracy
O(t
2
)andO(a
2
).
Some schematic model results are shown in Figure 3.6 for a section of the space-
time grid beginning with time t = t
0
. The trajectories of the various particles are
labelled according to their positions at time t = t
0
. Therefore, the trajectory T
j
traces the path of the particle whose Lagrangian coordinate is a
j
as described by
x
j
= x(a
j
,t), where a
j
is the value x
j
of the trajectory at time t = t
0
.
3.3.4 Initial values and boundary conditions
The initial time t = t
0
is taken at n = 0. At this time, at all gridpoints j the
initial values of the trajectories x
j
= a
j
must be known according to (3.22).
At all points between j − 1,j,j + 1, i.e. at j −
1
2
,j +
1
2
etc., initial values of
α, e, p must be available also. Additionally, for time t =−t/2 all velocities
u(x
j
, −t/2),j = 0, 1,...,J must be given.
An interpolation scheme can be used to find the still-missing initial values
u
−1/2
j
= u(a
j
, −t/2) = u(x
j
, −t/2) on the trajectory T
j
to start the calculations.
3.3.4.1 Approximate determination of u
1/2
j
and x
1
j
Using (3.32a) and (3.32b) and the given gridpoint value u(x
j
, −t/2) we initially
estimate the values (indicated by the tilde)
u
1/2
j
= u(x
j
, −t/2) − α
0
t
a
p
0
j+1/2
− p
0
j−1/2
x
1
j
= x
0
j
+ t u
1/2
j
(3.33)