
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Fall: 9/26/
( 2 0
2 2
∂
y
h x
h ) in a domain 100 units (say meters) in the x direction and 50 m in the y
direction. The head gradient was 0.001 and the head at 0 was 60 m. The boundary conditions are those represented on the following figure (Wang and Anderson, 1982):
Create an equivalent spreadsheet model and compare the results with your analytical solution by plotting equipotentials from both models on the same graph (ideally with the numerical model as open symbols over the lines of the analytical solution). If you are ambitious, you could do a node-by-node difference contour map.
Possibly helpful MATLAB code:
[c,k]=contour(x,y,h); clabel(c,k) %needs x, y vector arguments for ‘real’ coordinates
>> [dhdx,dhdy]=gradient(h,x,y) %needs x, y vector arguments for ‘real’ coordinates >> [Stream]=stream2(x,y,-dhdx,-dhdy,[1:100],50*ones(100,1)) >> streamline(Stream)
(This is for stream lines starting at y = 50 from x = 11 to 100 along the x axis. Different geometries will require different starting points.)
, 0
y x
h
max,
xx y
h 0 0 ,
x y
h
h (^) x , y max= 0. 001 x + 60 m