
Methods using variable interchange 
351 
iterative formula corresponding to (8.68) can 
be 
written 
[2(5~2 
- 5!2 ) 
(5X:P2
+ 5!2 
{1 
+ 
(5x~f+ 
(5x;)~ 
]X~t( 
= 
(5X~)2{(X~)2_(X;)2}+ 
(x~f{(5x~)2_(5x;)2+ 
l} 
+ 2 
5x~ 
5x~{xi'+1,j+1,k 
-
Xi'+lj-1,k 
-
X;:'l,j+l,k 
+ 
Xi'-1,j-1,J 
- 2 
5x; 
5x~{Xi'+l,j,k+l 
-
Xi'+l,j,k-1 
-
Xi'-1,j,k+1 
+ 
Xi'-1,j,k-1}' 
(8.80) 
For 
convenience, 
5x:t = (XI+l,j,k -
x;:'1,j,J/(2 
&f», 
etc. have been introduced and 
X~j,k 
is 
the nth iterative value 
of 
Jii,j,k' 
On 
the 
free surface we have either x = .J(b
2
-
Z2) 
or 
n+1 
n  2(5y f 
_1. 
(5
y
)2 
~:X~j'k+1 
= 
X~'k-1f 
(8.81) 
Xi,j,k 
= 
xi,i-1,k 
Xl+1,i+l,k 
-
Xi'-lj-1,k 
2  5z 
Xi+1,i+1,k 
Xi-1,i-1,k 
from 
eqn 
(8.72); as in the two-dimensional problem, a one-sided differ-
ence replacement of 
(ax/ay)c/>,z 
is  used to avoid fictitious points.  Corres-
ponding modified forms of (8.80) are applied at all mesh points one step 
below 
the 
plane A'N'P'G' and 
on 
the lower impervious boundary, y = 
O. 
Use of the extrapolation (8.76) leads to unequal mesh sizes in eqn (8.80) 
for points 
one 
step inside the side face  FM'P'G', and in eqn (8.81)  for 
points 
one 
step inside the curve P'G' 
on 
which x = 
O. 
For 
points in the line 
A'N',  i.e.  z = k = 0,  fictitious  points  can 
be 
avoided  when  using  (8.81) 
because 
of 
(8.74). 
The 
iterative cycle 
is 
started by assuming the separation line 
eL' 
to 
be 
at 
N'P',  its lowest possible  position,  unless  prior knowledge  suggests  a 
better 
starting position. We thus ensure that the final  position of C'L' is 
approached from  below.  We then know that x = .J(b
2
-
Z2) 
on 
the face 
D'N'P'M'  and 
on 
C'N'P'L'  and  also 
that 
x = .J(a
2
-
Z2) 
on 
the  face 
E'A'G'F. 
For 
every 
other 
mesh  point  within  the  region  and 
on 
the 
remaining  parts 
of 
the boundary,  an equat,ion  has  been derived. 
One 
iterative cycle  involves  sweeping  along successive i-planes in the order 
i = 0, 1, 2, 
... 
, where i = y = 0 is the lower boundary. 
In 
each consecutive 
plane each mesh point 
is 
covered in the order i = 0,  k = 0, 1, 2, 
... 
; i = 1, 
k 
= 0,  1,  2, 
... 
, and so on. 
The 
new values 
X~tk1 
are retained for use in 
the 
next cycle subject to the proviso 
that 
on 
the boundary plane we take 
the 
new value 
x~N 
to 
be 
X!,;I"l 
= min(.J(b
2 
-
Z2) 
X!,;I"l) 
hJ.k 
, 
1~I.k 
since we  know 
that 
Jii,j,k 
~.J(b2-
Z2). 
On 
FG'P'M' new values  of Z  are 
retained for  use  in  the next  cycle.  Values 
of 
the solution  and of the