Professional Documents
Culture Documents
Downloaded from ascelibrary.org by Florida International University on 10/19/13. Copyright ASCE. For personal use only; all rights reserved.
Abstract: In this study, the authors solve the shallow water equations (SWE) with smoothed particle hydrodynamics (SPH) for onedimensional (1D) nonrectangular and nonprismatic channel flows with open boundaries. To date, 1D SPH-SWE has been only developed
to simulate rectangular prismatic channel flows with closed and open boundaries. However, for practical hydraulic problems, channel cross
sections are not always rectangular and prismatic. A general approach is proposed in this study to extend the engineering application range
of 1D SPH-SWE to nonrectangular and nonprismatic channels with open boundaries by introducing the wetted cross-sectional area and the
water discharge in SWE and combining the method of specified time interval with the inflow/outflow algorithm. Three benchmark study
cases, aiming at testing various steady flow regimes in nonrectangular and nonprismatic channels, are adopted to validate the newly proposed
approach. Through the investigation of the convergence analysis and numerical accuracy test of the study cases, the results show that the
present SPH-SWE approach is capable to model 1D nonrectangular and nonprismatic channel flows with open boundaries. DOI: 10.1061/
(ASCE)HY.1943-7900.0000782. 2013 American Society of Civil Engineers.
CE Database subject headings: Hydrodynamics; Shallow water; Channel flow.
Author keywords: Smoothed particle hydrodynamics; Shallow water equations; Method of specified time interval; Open boundaries;
Nonrectangular and nonprismatic channel.
Introduction
The shallow water equations (SWE) are widely used to mathematically describe a wide variety of free surface flows in rivers,
estuaries, and coasts (Chaudhry 1993; Cunge et al. 1980). Many
Eulerian mesh-based methods are currently available to solve
SWE in hydraulic engineering applications. Recently, a pure
Lagrangian meshless method, smoothed particle hydrodynamics
(SPH) (Monaghan 2005; Gomez-Gesteira et al. 2010), is widely
applied to the numerical formulation of SWE (Wang and Shen
1999; Ata and Soulaimani 2005; Rodriguez-Paz and Bonet 2005;
De Leffe et al. 2010; Vacondio et al. 2012a; Chang et al. 2011; Kao
and Chang 2012). Compared with Eulerian mesh-based methods,
SPH has the following advantages: (1) no convective term (nonlinear term), which often causes numerical oscillations, exists in the
governing equations (Liu and Liu 2003); (2) the wave propagation
of free surface can be intrinsically tracked (De Leffe et al. 2010);
and (3) the wet-dry interface can be automatically described without any special treatment (Vacondio et al. 2012a). Hence, SPHSWE has recently been receiving more and more attention. Some
significant achievements are summarized. Wang and Shen (1999)
firstly investigated inviscid dam-break flows using SPH-SWE. Ata
and Soulaimani (2005) derived a new artificial viscosity for the
dam-break problem with wet bed. Rodriguez-Paz and Bonet (2005)
1
Professor, Dept. of Bioenvironmental Systems Engineering, National
Taiwan Univ., Taipei 10617 Taiwan. E-mail: tjchang@ntu.edu.tw
2
Postdoctoral Researcher, Dept. of Bioenvironmental Systems
Engineering, National Taiwan Univ., Taipei 10617 Taiwan (corresponding
author). E-mail: f94622026@ntu.edu.tw
Note. This manuscript was submitted on October 1, 2012; approved on
May 23, 2013; published online on May 25, 2013. Discussion period open
until April 1, 2014; separate discussions must be submitted for individual
papers. This paper is part of the Journal of Hydraulic Engineering,
Vol. 139, No. 11, November 1, 2013. ASCE, ISSN 0733-9429/2013/
11-1142-1149/$25.00.
Downloaded from ascelibrary.org by Florida International University on 10/19/13. Copyright ASCE. For personal use only; all rights reserved.
SPH-SWE Methodology
SPH Formulation
SPH is a pure interpolation method. Any physical quantity of
particle i (i ) is approximated by the weighted summation as
i
X j
mj W i jxi xj j; hi
Aj
j
1X
m i W i jxi xj j; hi
Ai j j j
i Ai
X i j
mj 2 2 W i jxi xj j; hi
Ai Aj
j
Reski Aki
mj W i jxi xj j; hki
DQ
Q=A
d
Q
gA w gAS0 Sf
x
Dt
x
10
W i
Dt
Ai j j Aj Ai
X di dj
gA2i
mj 2 2 W i gAi S0;i Sf;i 11
Ai Aj
j
where W i 1=2W i jxi xj j; hi W j jxi xj j; hj .
Because the smoothing length is variable, the expression of the
gradient of a kernel function (W i ) is a hybrid combination of
Downloaded from ascelibrary.org by Florida International University on 10/19/13. Copyright ASCE. For personal use only; all rights reserved.
vb
~ j jxi xvb
W
j j; hj P
j
vb
vb
V vb
j W j jxi xj j; hj
13
c ij uij xij
A ij q
x2ij 2
t 0.25 min
15
Ddw c Du
cS0 Sf
Dt
g Dt
16
dx
uc
dt
17
along
C
14
p
where c is the celerity ( gH d ); Hd is the hydraulic depth;
Aij Ai Aj =2; c ij ci cj =2; uij ui uj ; xij xi xj ;
and is a constant ( 106 ).
Time-Marching Scheme. To update particle positions and
velocities in time, the leap-frog time-marching scheme (RodriguezPaz and Bonet 2005; Vacondio et al. 2012a) is herein used. Because
the SPH is an explicit method, the time step (t) has to satisfy the
CFL condition as
x0
p
ui gH d;i
and
C
Ddw c Du
cS0 Sf
Dt
g Dt
18
along
dx
uc
dt
19
Downloaded from ascelibrary.org by Florida International University on 10/19/13. Copyright ASCE. For personal use only; all rights reserved.
g
d dw;R gS0;R Sf;R t
cR w;S
x xR
C S
uR c R
t
C uP uL
xP xL
uL c L
t
22
23
uD uC
x0
x0
25
dw;D dw;R uR cR t
dw;D dw;C
x0
26
To solve Eqs. (24) and (25) together, the water velocity uR and
the celerity cR can be found, and then the water depth dw;R can also
be determined by Eq. (26).
In the same way, for point P of Fig. 2 on the trajectory of the
negative characteristic line LP, the linear interpolations between
point A and point B are performed and the discretized negative
characteristic equations of Eq. (22) and (23) are utilized to give
the water depth and the water velocity at point P.
Inflow/Outflow Boundary Conditions
Four kinds of boundary conditions can be specified according to
the local flow conditions (the Froude number) at the inflow/outflow
boundaries:
1. Subcritical outflow condition: As the subcritical flow occurs at
the outflow boundary (Line RS of the Fig. 2), the water depth
is prescribed, and the water discharge is determined by using
Eq. (28), which is derived from combining Eq. (20) with the
continuity equation of Eq. (27):
QS AS uS
21
g
d dw;L gS0;L Sf;L t
cL w;P
C
20
cD cR uR cR t
x0
cD cC
24
g
QS AS uR dw;S dw;R gS0;R Sf;R t
cR
27
28
29
30
3. Supercritical outflow condition: If the supercritical flow occurs at the outflow boundary, there is not necessary to specify
the boundary condition there. Hence, the water depth and the
water discharge are extrapolated from the fluid zone.
4. Supercritical inflow condition: Asthe supercritical flow occurs
at the inflow boundary, the water depth and the water
discharge are prescribed.
Inflow/Outflow Algorithms
The inflow/outflow algorithm developed by Federico et al. (2012)
is applied to solve open boundary problems in this study. The detailed procedure includes the following steps: (1) When an inflow
particle (rectangular points of Fig. 1) moves across the inflow
boundary, it will become an inner particle (circle points of Fig. 1).
The momentum equation then controls the behavior of an inner
particle. At the same time, the new inflow particle will be produced
in the inflow zone and the inflow boundary conditions such as
the water discharge (Qp ) and the water depth (dw;p ) at the inflow
Downloaded from ascelibrary.org by Florida International University on 10/19/13. Copyright ASCE. For personal use only; all rights reserved.
i
and analytic=measured
are the simulated physical
where simulated
i
i
quantity and the analytic or measured data at the ith particle,
respectively.
Rectangular Prismatic Channel
The purpose of the first study case is to investigate the performance of the proposed approach on rectangular prismatic channel
flows given by MacDonald (1995). The channel is 100-m long
and 10-m wide and the Manning roughness coefficient of the
channel is 0.03. The bed slope is nonuniform and the bed elevation profile of the channel is plotted in Fig. 3(a). This study case
has the analytic solution. The flow is supercritical at the inflow
boundary and at the outflow boundary, with the given water discharge 20 m3 s1 and the water depth 0.7506 mat the inflow
boundary.
Convergence Analysis
In this study case, four initial particle numbers of 100, 200, 500,
1,000 in the computational domain (i.e., the initial particle spacings
(x0 ) are 1, 0.5, 0.2, and 0.1 m, respectively) are considered to
conduct the convergence analysis. Through Eq. (31), the values
of L2 dw (L2 relative error norm based on the water depth) and
L2 Q (L2 relative error norm based on the water discharge) are
summarized in Table 1. Both L2 dw and L2 Q decrease as the
initial particle number increases. Thus, the proposed approach
can converge to the analytic solution. In addition, the convergence
rates are 1.19 and 1.5, respectively, for the water depth and the
water discharge. A convergence criterion is defined as the difference in L2 dw or L2 Q between two initial particle numbers less
than 0.005. The initial particle number of 500 is adequate herein
and the simulated results of using 500 particles are given in this
study case.
Numerical Accuracy
Fig. 3(b) compares the numerical accuracy of the simulated result
and the analytic solution of the water depth profile in the channel.
Fig. 3(c) demonstrates the spatial variation of the simulated Froude
number of the channel and Fig. 3(d) further shows the simulated
and analytic water discharges of the channel. From Figs. 3(a and c),
100 (1.0 m)
200 (0.5 m)
500 (0.2 m)
1000 (0.1 m)
L2 dw
Difference (dw )
L2 Q
Difference (Q)
0.026
0.020
0.013
0.011
1 2 0.006
2 3 0.007
3 4 0.002
0.0040
0.0036
0.0035
0.0034
1 2 0.0004
2 3 0.0001
3 4 0.0001
Downloaded from ascelibrary.org by Florida International University on 10/19/13. Copyright ASCE. For personal use only; all rights reserved.
L2 dw
Difference (dw )
L2 Q
Difference (Q)
0.020
0.014
0.009
0.007
1 2 0.006
2 3 0.005
3 4 0.002
0.0059
0.0041
0.0035
0.0034
1 2 0.0018
2 3 0.0006
3 4 0.0001
jump. The result shows that the proposed approach can deal with
nonprismatic channel flows as well.
Downloaded from ascelibrary.org by Florida International University on 10/19/13. Copyright ASCE. For personal use only; all rights reserved.
Conclusions
L2 dw Difference (dw ) L2 Q
0.073
0.068
0.068
Difference (dw )
0.0159
Numerical Accuracy
The channel width profile of the entire rectangular nonprismatic
channel is described in Fig. 5. As shown in Fig. 5, the channel
expansion starts at x 0.65 m, resulting in a transition from supercritical flow to subcritical flow. Thus, a hydraulic jump occurs
around x 1 m. Fig. 6(a) presents the comparison between the
simulated and measured water depth profiles. In Table 3, L2 dw
is about 0.068. The simulated and measured water depths are quite
consistent. Fig. 6(b) shows the comparison between the simulated
and measured water discharges. L2 Q is 0.0199 (Table 3). Again,
an oscillation in the simulated water discharges near the hydraulic
jump is found in Fig. 6(b). The simulated water discharges are influenced by the rapid variation of water depth in the hydraulic
References
Anderson, J. D. (1995). Computational fluid dynamics: The basics with
applications, McGraw-Hill, New York.
Ata, R., and Soulaimani, A. (2005). A stabilized SPH method for inviscid
shallow water flows. Int. J. Numer. Meth. Fluid., 47(2), 139159.
Cunge, J. A., Holly, F. M., and Verwey, A. (1980). Practical aspects of
computational river hydraulics, Pitman Advanced Publishing Program,
London.
Chang, K. H., Kao, H. M., and Chang, T. J. (2012b). Lagrangian modeling
of particle concentration distribution in indoor environment with different kernel functions and particle search algorithms. Build. Environ.,
57, 8187.
Chang, T. J., Chang, K. H., Kao, H. M., and Chang, Y. S. (2012a).
Comparison of a new kernel method and a sampling volume method
for estimating indoor particulate matter concentration with Lagrangian
modeling. Build. Environ., 54, 2028.
Chang, T. J., Kao, H. M., Chang, K. H., and Hsu, M. H. (2011). Numerical
simulation of shallow-water dam break flows in open channels using
smoothed particle hydrodynamics. J. Hydrol., 408(12), 7890.
Chaudhry, M. H. (1993). Open-channel flow, Prentice-Hall, New Jersey.
De Leffe, M., Le Touze, D., and Alessandrini, B. (2010). SPH modeling of
shallow-water coastal flows. J. Hydraul. Res., 48(supp 1), 118125.
Federico, I., Marrone, S., Colagrossi, A., Aristodemo, F., and Antuono, M.
(2012). Simulating 2D open-channel flows through an SPH model.
Eur. J. Mech. B Fluids, 34, 3546.
Gomez-Gesteira, M., Rogers, B. D., Dalrymple, R. A., and Crespo, A. J. C.
(2010). State-of-the-art of classical SPH for free-surface flows.
J. Hydraul. Res., 48(supp 1), 627.
Hernquist, L., and Katz, N. (1989). TREESPH: A unification of SPH with
the hierarchical tree method. Astrophys. J. Suppl. Ser., 70, 419446.
Khalifa, A. M. (1980). Theoretical and experimental study of the radial
hydraulic jump. Ph.D. thesis, Univ. of Windsor, Windsor, ON.
Kao, H. M., and Chang, T. J. (2012). Numerical modeling of dambreakinduced flood and inundation using smoothed particle hydrodynamics.
J. Hydrol., 448449, 232244.
Liu, G. R., and Liu, M. B. (2003). Smoothed particle hydrodynamics:
A meshfree particle method, World Scientific, Singapore.
Macdonald, I. (1995). Test problems with analytic solutions for steady
open channel flow. Numerical Analysis Rep. 6/94, Univ. of Reading,
Dept. of Mathematics, Reading, UK.
Downloaded from ascelibrary.org by Florida International University on 10/19/13. Copyright ASCE. For personal use only; all rights reserved.