Environmental Engineering Reference
In-Depth Information
2. The width of the well catchment in far upstream distance is:
Q
Q
x
0
b ¼
(14.18)
14.5 MATLAB
®
3D Graphics
Potential flow can also be computed in 3D. The potential for a sink or a source is
given by the formula:
Q
4
log
'ðx; y; zÞ¼
(14.19)
p
j
r
r
0
j
instead of formula (
14.5
). This can be combined with baseflow in x-direction. An
example M-file for a sink or source at position (2,2,2) is shown below. Slices
xslice
,
yslice
and
zslice
are defined for all three different space directions,
which are then used within the
slice
command. Streamlines are drawn using
streamline
.
3
2.8
2.6
2.4
2.2
2
1.8
1.6
1.4
1.2
1
3
2
1
2.8
3
2.2
2.4
2.6
1.4
1.6
1.8
2
1
1.2
Fig. 14.7 3D potential flow, computed and visualized using MATLAB
®