Skip to main content

MOC single reach, reservoir pipe (3 s)

Short answer

One reach with Δt=L/a=0.5 s, B_p=973.42 s/m², R_p=96.83 s²/m⁵. Upstream head is H_PA=100+3sin(πt), downstream Q=0. At t=3 s, discharge at A is 0.000 m³/s and HGL at B is 117.968 m.

A pipe conveys water from a reservoir as shown in the figure. Take f=0.02f = 0.02, C=1200C = 1200 m/s. The hydraulic grade line (HGL) at the reservoir is given as HPA=100+3sin⁡(πt)H_{PA} = 100 + 3\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 the hydraulic grade line at B at 3 sec using the discretized equation of the method of characteristics in the form of HGL and discharge.

[Figure: reservoir with water level 100 m above the pipe centreline at A; pipe AB of length L=600L = 600 m and diameter D=400D = 400 mm; a sketch of the C+C^+ and C−C^- characteristics on the grid]

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=6001200=0.50 s\Delta t=\frac{600}{1200}=0.50\ \text{s} Ap=π4(0.4)2=0.12566 m2,Bp=agAp=973.42 s/m2,Rp=f L2gDAp2=96.83 s2/m5A_p=\frac{\pi}{4}(0.4)^2=0.12566\ \text{m}^2,\quad B_p=\frac{a}{gA_p}=973.42\ \text{s/m}^2,\quad R_p=\frac{f\,L}{2gDA_p^2}=96.83\ \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+3sin⁡(πt)H_{PA}=100+3\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.50t=0.50 s)

HPA=100+3sin⁡(0.50π)=103.0000H_{PA}=100+3\sin(0.50\pi)=103.0000 m; K2=100−0+0=100K_2=100-0+0=100; QPA=(103.0000−100)/973.42=0.00308Q_{PA}=(103.0000-100)/973.42=0.00308 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.500.00308103.000100.000
1.000.00000100.000105.999
1.50-0.0092497.000100.000
2.000.00000100.00088.009
2.500.01540103.000100.000
3.000.00000100.000117.968

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

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

✓ Answer checked by Claude Opus 5.5 (high effort)

All Computational Techniques in Civil Engineering chapter 6 questions →