Skip to main content

Full Saint-Venant explicit scheme numerical (50 m)

Short answer

Using Lax diffusive explicit scheme: y_i^{n+1}= (1.97+1.87)/2 - Δt/(2BΔx)(35-38)=1.9380 m. Discharge Q_i^{n+1} from average (35+38)/2=36.5, plus convective term 0.902, minus pressure term 26.78, plus gravity-friction 56.37, total 66.99 m³/s.

Using any explicit finite difference scheme for the full Saint-Venant equations, compute discharge and flow depth at grid (i,n+1)(i, n+1) for the following data. Rectangular channel width =50= 50 m, bed slope =0.0002= 0.0002, Manning's n=0.035n = 0.035, no lateral inflow, Δx=1.0\Delta x = 1.0 km and Δt=10\Delta t = 10 min. Discharge: Qi−1n=38Q_{i-1}^n = 38 m3^3/s, Qin=36Q_i^n = 36 m3^3/s, Qi+1n=35Q_{i+1}^n = 35 m3^3/s. Flow depth: yi−1n=1.87y_{i-1}^n = 1.87 m, yin=1.82y_i^n = 1.82 m, yi+1n=1.97y_{i+1}^n = 1.97 m.

A simple explicit scheme is the Lax diffusive scheme: forward in time, central in space, with the old value at ii replaced by the average of its two neighbours. The equations for a rectangular channel are

B∂y∂t+∂Q∂x=0,∂Q∂t+∂∂x(Q2A)+gA∂y∂x−gA(S0−Sf)=0B\frac{\partial y}{\partial t}+\frac{\partial Q}{\partial x}=0,\qquad \frac{\partial Q}{\partial t}+\frac{\partial}{\partial x}\left(\frac{Q^2}{A}\right)+gA\frac{\partial y}{\partial x}-gA(S_0-S_f)=0

Finite difference form (grid (i,n+1)(i,n+1) from (i−1,n),(i,n),(i+1,n)(i-1,n),(i,n),(i+1,n)):

yin+1=yi+1n+yi−1n2−Δt2BΔx(Qi+1n−Qi−1n)y_i^{n+1}=\frac{y_{i+1}^n+y_{i-1}^n}{2}-\frac{\Delta t}{2B\Delta x}\left(Q_{i+1}^n-Q_{i-1}^n\right) Qin+1=Qi+1n+Qi−1n2−Δt2Δx[(Q2)i+1Ai+1−(Q2)i−1Ai−1]−gAiΔt2Δx(yi+1−yi−1)+gAiΔt (S0−Sf,i)Q_i^{n+1}=\frac{Q_{i+1}^n+Q_{i-1}^n}{2}-\frac{\Delta t}{2\Delta x}\left[\frac{(Q^2)_{i+1}}{A_{i+1}}-\frac{(Q^2)_{i-1}}{A_{i-1}}\right]-gA_i\frac{\Delta t}{2\Delta x}\left(y_{i+1}-y_{i-1}\right)+gA_i\Delta t\,(S_0-S_{f,i})

Data

B=50B=50 m, S0=0.0002S_0=0.0002, n=0.035n=0.035, Δx=1000\Delta x=1000 m, Δt=600\Delta t=600 s, so Δt2Δx=0.300\dfrac{\Delta t}{2\Delta x}=0.300.

Step 1: Areas and friction slope

Ai−1=93.50A_{i-1}=93.50, Ai=91.00A_i=91.00, Ai+1=98.50A_{i+1}=98.50 m2^2.

Pi=B+2yi=53.64 m,Ri=AiPi=1.6965 m,Sf,i=n2Qi2Ai2Ri4/3=9.475×10−5P_i=B+2y_i=53.64\ \text{m},\quad R_i=\frac{A_i}{P_i}=1.6965\ \text{m},\quad S_{f,i}=\frac{n^2Q_i^2}{A_i^2R_i^{4/3}}=9.475\times10^{-5}

Step 2: Flow depth

yin+1=1.97+1.872−0.00600 (35−38)=1.9200−(−0.0180)=1.9380 my_i^{n+1}=\frac{1.97+1.87}{2}-0.00600\,(35-38)=1.9200-(-0.0180)=1.9380\ \text{m}

Step 3: Discharge

  • Average term: 35+382=36.500\dfrac{35+38}{2}=36.500
  • Convective term: Q2A\dfrac{Q^2}{A} at i+1i+1 is 12.437, at i−1i-1 is 15.444; difference =−3.0073=-3.0073; term =−0.300(−3.0073)=0.902=-0.300(-3.0073)=0.902
  • Pressure term: −gAiΔt2Δx(yi+1−yi−1)=−9.81(91.00)(0.300)(0.10)=−26.781-gA_i\dfrac{\Delta t}{2\Delta x}(y_{i+1}-y_{i-1})=-9.81(91.00)(0.300)(0.10)=-26.781
  • Gravity and friction: gAiΔt(S0−Sf)=9.81(91.00)(600)(0.0002−9.475×10−5)=56.374gA_i\Delta t(S_0-S_f)=9.81(91.00)(600)(0.0002-9.475\times10^{-5})=56.374
Qin+1=36.500+(0.902)+(−26.781)+(56.374)=66.99 m3/sQ_i^{n+1}=36.500+(0.902)+(-26.781)+(56.374)=66.99\ \text{m}^3/\text{s}

Answer: yin+1=1.9380y_i^{n+1}=1.9380 m and Qin+1=66.99Q_i^{n+1}=66.99 m3^3/s.

Remark: the large jump in QQ comes mainly from the gravity-friction term (56.456.4): the given flow is far from uniform (SfS_f is less than half of S0S_0), and this imbalance is multiplied by a long time step. Also, Δt=600\Delta t=600 s gives a Courant number (V+gy)Δt/Δx≈2.8>1(V+\sqrt{gy})\Delta t/\Delta x\approx2.8>1, so the explicit scheme is outside its stability limit; a time step below about 216 s would be needed to continue the simulation. One step is computed here, as asked.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Computational Techniques in Civil Engineering chapter 5 questions →