Skip to main content

MOC single reach, reservoir pipe (2 s)

Short answer

Use one reach, dt=L/a=0.4 s, Bp=801.17 s/m^2, Rp=44.78 s^2/m^5. A is reservoir with H_A=100+2 sin(pi t), B is dead end Q_B=0. Marching gives at t=2 s Q_A=0.00768 m^3/s and H_B=93.846 m.

The figure below shows a pipe conveying water from a reservoir. The HGL at the reservoir is given as HPA=100+2sin⁡(πt)H_{PA} = 100 + 2\sin(\pi t). The discharge at the downstream end is zero at all times. By using only one reach, compute the discharge from A and elevation of HGL at B at 2 seconds using the discretized equation of the MOC in the form of head and discharge. Take f=0.02f = 0.02 and c=1250c = 1250 m/s.

[Figure: reservoir with water level 100 m above the pipe centreline at A; pipe AB of length L=500L = 500 m and diameter D=450D = 450 mm]

Set-up

One reach means two nodes: A at the reservoir (x=0x=0) and B at the dead end (x=Lx=L). The time step follows from Δx=L\Delta x=L and Δt=L/a\Delta t=L/a:

Δt=5001250=0.40 s\Delta t=\frac{500}{1250}=0.40\ \text{s} Ap=π4(0.45)2=0.15904 m2,Bp=agAp=801.17 s/m2,Rp=f L2gDAp2=44.78 s2/m5A_p=\frac{\pi}{4}(0.45)^2=0.15904\ \text{m}^2,\quad B_p=\frac{a}{gA_p}=801.17\ \text{s/m}^2,\quad R_p=\frac{f\,L}{2gDA_p^2}=44.78\ \text{s}^2/\text{m}^5

Equations

C+C^+ (from A at the old time to B) and C−C^- (from B at the old time to A):

HP=HA−Bp(QP−QA)−RpQA∣QA∣,HP=HB+Bp(QP−QB)+RpQB∣QB∣H_{P}=H_A-B_p(Q_{P}-Q_A)-R_pQ_A|Q_A|,\qquad H_{P}=H_B+B_p(Q_{P}-Q_B)+R_pQ_B|Q_B|
  • Node A (reservoir): HPA=100+2sin⁡(πt)H_{PA}=100+2\sin(\pi t) is known; use C−C^- from B:
QPA=HPA−K2Bp,K2=HB−BpQB+RpQB∣QB∣Q_{PA}=\frac{H_{PA}-K_2}{B_p},\qquad K_2=H_B-B_pQ_B+R_pQ_B|Q_B|
  • Node B (closed end): QPB=0Q_{PB}=0; use C+C^+ from A:
HPB=K1=HA+BpQA−RpQA∣QA∣H_{PB}=K_1=H_A+B_pQ_A-R_pQ_A|Q_A|

Initial condition (t=0t=0)

No flow and static head: QA=QB=0Q_A=Q_B=0, HA=HB=100H_A=H_B=100 m.

First step (t=0.40t=0.40 s)

HPA=100+2sin⁡(0.40π)=101.9021H_{PA}=100+2\sin(0.40\pi)=101.9021 m; K2=100−0+0=100K_2=100-0+0=100; QPA=(101.9021−100)/801.17=0.00237Q_{PA}=(101.9021-100)/801.17=0.00237 m3^3/s; K1=100K_1=100, so HPB=100H_{PB}=100 m.

Marching in time

Repeating the two boundary calculations at every step (each uses the values of the previous step):

t (s)QAQ_A (m3^3/s)HAH_A (m)HBH_B (m)
0.400.00237101.902100.000
0.800.00147101.176103.804
1.20-0.0062298.824102.351
1.60-0.0053198.09893.847
2.000.00768100.00093.846

(QB=0Q_B=0 at all times.)

Answer: at t=2t=2 s, the discharge from A is QA=0.00768Q_A=0.00768 m3^3/s and the HGL elevation at B is HB=93.846H_B=93.846 m.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Computational Techniques in Civil Engineering chapter 6 questions →