Appendix I (Theory and basic formulas of flow and bed deformation calculation)
Theoretical solutions to advection equations
For the advection equation
perform the following variable conversions.
This is equivalent to set new coordinates \(X,T\) that move together with the origin moving at a velocity of \(c\). This means, for example, that we suppose we have a car moving at a speed of \(c\) in the original space, and we place coordinates in the car whose origin is on the \(X\) axis that moves with the car.
From Equation (2),
Where,
Therefore,
Substituting Equation (5) into Equation (1), we have…
That is, in coordinates (\(X,T\)) moving at a speed of \(c\), we have…
In other words, the distribution of \(f\) is kept constant while moving at a speed of \(c\). For example, when the initial distribution is triangular, the solutions to this equation maintain a triangle that is moving as shown in Figure 1.
Other higher-order difference schemes for the advection term
When a typical difference method other than the CIP method is applied for the advection term, then its difference equation, Python codes, and calculation results are as below.
Kawamura-Kuwahara scheme (K-K scheme) [Ref:2]
Difference equation
Python codes
Calculation results
QUICK scheme [Ref:3]
Difference equation
Python codes
https://github.com/YasuShimizu/Python-Code/blob/main/quick.py
Calculation results
A fifth-order upwind difference scheme [Ref:4]
Difference equation
Python codes
https://github.com/YasuShimizu/Python-Code/blob/main/od5th.py
Calculation results
Expressions of riverbed shear force
As shown in Figure 5 and Figure 6, the direction of the depth velocity and the direction of the riverbed shear force are assumed to coincide. The composite components, \(V=\sqrt{u^2+v^2}\), of the depth-averaged velocity can be expressed by Manning’s equation as follows.
Where, \(I_e\) is the energy gradient. Therefore, the riverbed shear force, \(\tau\), due to the composite velocity, \(V\), is…
From Equation (12), Figure 5 and Figure 6, the representation of \(\tau\) separated in the \(x, y\) direction is as follows:
River bank (sidewall) friction resistance
In general, the shear force acting on a wall along the flow direction can be expressed by following equations, where \(c_w\) is the friction coefficient, \(\tau_w\) is the wall shear force, \(\rho\) is the fluid density, and \(u_w\) is the velocity along the wall.
In order to match the direction of flow velocity (positive or negative) with the direction of shear force,
are required to be satisfied.
The shear resistance of the riverbank (sidewall) in free-surface flow can be taken into account in the second derivative term with respect to \(y\) of the right-side diffusion term of the equation of motion in the \(x\) direction in Equation (7.8). Therefore…
Where, the subscripts \(y+\) and \(y-\) indicate the values on the \(+\) and \(-\) sides of the \(y\) axis.
Let us express the shear force along the \(x\) axis using the computational grid shown in Figure 7. For a channel other than a riverbank,
On the right bank, the relationship in Equation (15), gives us…
Similarly, for the left bank, we have…
Therefore, for a channel other than a riverbank,
For the right bank,
For the left bank,
Wall friction coefficient
Assuming that the effect of bottom friction is relatively negligible near the sidewalls at some distance from the bottom,and that friction acts only from the sides, then the horizontal distribution of flow velocity in the downstream direction can be considered to follow a theoretical velocity distribution such as that of the logarithmic law in the horizontal direction. Applying the logarithmic law distribution equation in the vertical direction, Equation (41), to the horizontal direction, we obtain the following equation.
Where, \(u_{\ast w}\) is the friction velocity of the wall, \(\kappa\) is Karman’s universal constant, and \(y\) is the horizontal distance. \(y_0\) is the distance from the wall to the point where the flow velocity is zero, and when the wall is rough, applying Equation (64) below gives us…
Also, expressing \(u_{\ast w}\) with the wall shear force of Equation (15) gives us…
In the case of \(u_{\ast w} >0\), we have…
Let \(u_w\) be the velocity at the calculation point closest to the sidewall, and let \(y_1\) be the distance from that point to the sidewall. Then, we have…
Therefore,
When the equivalent roughness height of the sidewall, \(k_s\), and the horizontal distance from the sidewall to the calculation point of the velocity that is closest to the sidewall, \(y_1\), are given, then Equation (27) is able to give \(c_w\) as a physical constant.
Velocity distribution
Here, we explain the vertical distribution of horizontal velocity.
Logarithmic velocity distribution (logarithmic law)
Distribution equation in the vertical direction
The equation of motion in the downstream direction for 1D steady flow is given by the following equation.
Where, \(u\) is the velocity in the downstream direction, \(g\) is the gravitational acceleration, \(H\) is the water level, \(x\) is the coordinate axis in the downstream direction, \(z\) is the vertical coordinate axis, and \(\nu_t\) is the eddy kinematic viscosity coefficient. Since the flow is uniform flow, we have \(-\cfrac{\partial H}{\partial x}=I_e\) (\(I_e\) is the energy gradient). Assuming that the riverbed elevation is \(z_b\) and the depth is \(h\), then the water level is \(H (=z_b+h)\), and we can define the dimensionless coordinates as
Then, from Equation (30) we have \(\partial z = h \partial \zeta\). Therefore, Equation (29) is
Where, \(u_\ast (=\sqrt{g h I_e})\) is the friction velocity. Let us integrate Equation (31) with \(\zeta\).
Where, \(C_1\) is the integration constant. Because the shear force is zero at the water surface, when \(\zeta=1\), we have \(\nu_t \cfrac{\partial u}{\partial \zeta}=0\). Consequently,
Therefore, Equation (32) derives
Let us use the following parabolic velocity distribution for the eddy kinematic viscosity coefficient.
Where, \(\kappa\) is Karman’s universal constant. Substitute Equation (35) into Equation (34).
Then, we have…
or,
Where, \(C_2\) is the integration constant. Assuming that when \(\zeta=\zeta_0\), we have \(u=0\). Then,
Therefore, the following logarithmic velocity distribution equation is derived.
or,
It is the height above the riverbed at the point where the flow velocity becomes zero when \(z_0=h\zeta_0\). In the logarithmic law, the magnitude of \(z_0\) determines the magnitude of resistance of the riverbed. It is known that when the equivalent roughness \(k_s\) is used instead of \(z_0\), we have \(k_s=30z_0\). [Refer to Karman-Prandtl’s equation for the near-wall turbulent flow velocity ([Ref:31])] Now, substitute \(z_0=k_s/30\) into Equation (41), and we have…
Assuming that \(\kappa=0.4\), we have the following equation.
The depth-averaged velocity determined by means of logarithmic law
Integrate Equation (40) from 0 to 1.
or,
Now, let us introduce the equivalent roughness \(k_s\). From [Karman-Prandtl’s equation for the near-wall turbulent flow velocity ([Ref:31])], we have \(k_s=30z_0\). Using \(z_0=\cfrac{k_s}{30}\), we have…
Assuming that \(\kappa=0.4\), we have…
Parabolic velocity distribution
Vertical distribution equation
Instead of (35), a constant value in the depth direction is used for the eddy kinematic viscosity coefficient and is applied to Equation (34).
Now, let us apply it to Equation (34).
Consequently,
Integrate this with \(\zeta\), and assuming that \(u=u_b\) at riverbed (\(\zeta=0\)), then we have…
or,
The depth-averaged velocity from the parabolic velocity distribution
The depth-averaged velocity is given by integrating Equation (51) with \(\zeta=0 \sim 1\).
or,
Comparison of logarithmic law and parabolic velocity distribution
From Equation (54),
Substituting it into Equation (52) gives the following parabolic velocity distribution.
To compare parabolic distributions with the logarithmic law under the same depth-averaged velocity conditions, substitute the expression in Equation (46) into \(\cfrac{<u>}{u_\ast}\) of the right-side of Equation (56).
Assuming that \(\kappa=0.4\), we have…
For the logarithmic law ((42)), to express it by using \(\zeta\), because \(z=h\zeta\)…
Here, when \(\kappa=0.4\), we have…
Figure 8 is the comparison of the parabolic velocity distribution (57), or Equation (58), with the logarithmic velocity distribution equation (logarithmic law) (59), or Equation (60). Here, Figure 8 is an example of when \(h/k_s=30\).
Karman-Prandtl’s equation for the near-wall turbulent flow velocity ([Ref:31])
Karman-Prandtl proposed the following equation as the flow velocity equation for near-wall turbulence ([Ref:31] ).
Where, \(u\) is the flow velocity, \(\kappa\) is Karman’s constant, \(A\) is an experimental constant, \(u_\ast\) is the friction velocity, \(z\) is the distance from the wall, and \(k_s\) is the roughness height.
From the experimental results of Nikuradse shown in Figure 9, the constant \(A=8.5\) is obtained for rough surfaces, and from this, Equation (61) derives…
Assuming that this is equal to the theoretical equation of the logarithmic law, Equation (41), we obtain the following.
And assuming that \(\kappa=0.4\), we have…
Roughness of a flat riverbed
Here we discuss the roughness of a flat riverbed (without the influence of riverbed waves). An exponential approximation of the mean velocity equation (Equation (47)) based on the logarithmic law is easier to deal with.
This is illustrated in Figure 10, which shows a close approximation.
Expression with the Manning’s roughness coefficient
Regarding the relationship between Manning’s law and the roughness, assuming that \(n_m\) is Manning’s roughness coefficient, and because…
we have…
or,
Manning’s law uses [meter, sec] for the units of measurement, in principle. By setting \(g\) as 9.8 (m/s \(^2\)), we have…
For a flat riverbed, using the equivalent roughness height \(k_s=2d\) (\(d\) is the grain size of the bed material), we have…
Where, unit of \(d\) is [mm].
Regarding the relationship between the roughness and the coefficients of resistance and flow velocity
When the roughness of a flat riverbed is expressed with the grain size of the riverbed material by using the coefficients of resistance, such as the velocity coefficient, \(\varphi\) and the friction coefficient, \(C_f\), then that roughness is expressed as follows.
Consequently, we have…
The above is an example expression.