Numerical study of flow generated in a lake and experiment using GPS
Ying Liu
1Kazuhiro Yamamoto
2Majda Ceric
3Masaji Watanabe
4(Received 15 August 2008; revised 01 April 2009)
Abstract
A finite element method is applied to a system of partial differential equations governing the dynamics of flow in order to study currents generated in a lake. Experiments using a float equipped with a GPS unit calibrate and validate the numerical results.
Contents
1 Introduction C913
2 Finite element method for analyzing flow in the Kojima
Lake C915
2.1 Governing equations of flow . . . . C915 2.2 Finite element discretization . . . . C916 2.3 Time step approximation . . . . C919
http://anziamj.austms.org.au/ojs/index.php/ANZIAMJ/article/view/1470 gives this article, c Austral. Mathematical Soc. 2009. Published June 12, 2009. issn 1446-8735. (Print two pages per sheet of paper.)
3 Experiment using the GPS-float and simulation of its mo-
tion C921
4 Discussion C927
References C928
1 Introduction
The bank isolating Kojima Lake has six gates, which are opened when nec- essary to discharge water to Kojima Bay in order to lower the lake’s water level [5]. In such an event, a current is generated in Kojima Lake. On May 31, 2008, those gates were opened from 2:36 to 5:49 am gmt. Fig- ure 1 shows the change of the water levels of the Kojima Lake, the Kurashiki river, the Sasagase river and Kojima Bay during that period. These data were introduced into a finite element analysis of momentum equations and a continuity equation. We took the upwind type technique in the weighted av- eraged approximation in time discretization to account for convection terms.
In previous work [5] the convex profile of vertical distribution of horizontal velocities was obtained. In this work we show that it is possible for the vertical distribution to have concave structure. Note that the water level of the lake decreased by approximately 0.45 m during the period the gates were opened on May 31, 2008.
The driving force of the gps-float is the fluid resistance on the pair of rect- angular plates attached underneath the water surface. While the gps-float travels on the surface, a gps unit evaluates its position consecutively, and temporal and spatial data to track the float are transmitted to be recorded.
On the other hand, the fluid resistance on the plates is represented in terms
of the velocity of flow. Once the fluid resistance is specified, the motion of the
gps-float is simulated by solving its momentum equations, and a numerical
result and an experimental result compared. The technique determines the
0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
6:30 6:00 5:30
5:00 4:30
4:00 3:30 3:00
2:30 2:00
1:30
WATER LEVEL [m]
TIME [hour]
WATER LEVELS (MAY 31, 2008)
KOJIMA LAKE KOJIMA BAY SASAGASE RIVER KURASHIKI RIVER
Figure 1: Change of water levels on May 31, 2008.
horizontal components of velocity and their vertical distribution.
The numerical result and the experimental result from May 31, 2008 were compared in order to check the validity of the numerical result. Data from Oct 23, 2004 were tested against data from May 31, 2008 in order to see how different boundary conditions, as well as different equation parameters, affect the final result.
2 Finite element method for analyzing flow in the Kojima Lake
2.1 Governing equations of flow
We analyze here a finite element method to solve a series of differential equa- tions governing shallow water equations (1), (2), (3) [1, 2, 3]:
∂M
∂t + u ∂M
∂x + v ∂M
∂y = −g(h + ζ) ∂ζ
∂x + A
h∂
2M
∂x
2+ ∂
2M
∂y
2− τ
xρ
0,(1)
∂N
∂t + u ∂N
∂x + v ∂N
∂y = −g(h + ζ) ∂ζ
∂y + A
h∂
2N
∂x
2+ ∂
2N
∂y
2− τ
yρ
0, (2)
∂ζ
∂t + ∂M
∂x + ∂N
∂y = 0 , (3)
where surface stresses τ
x= ρ
0γ
2√
M
2+ N
2(h + ζ)
2M , τ
y= ρ
0γ
2√
M
2+ N
2(h + ζ)
2N , (4)
parameter γ
2= 0.0026 is the bottom friction coefficient [6], h ≡ h(x, y) is the
bottom topography, z = ζ(x, y) is the lake surface height, and water fluxes
M and N are obtained by integrating the x-component and the y-component
of the velocity over the depth, respectively:
M = Z
ζ−h
u dz , N = Z
ζ−h
v dz . (5)
A
his a constant that represents eddy viscosity, whereas ρ
0= 1000 kg/m
3is the constant density of water. We set A
h= 0.001 for the result obtained on May 31, 2008, and A
h= 0.01 for the result obtained on Oct 23, 2004.
Along the curve
dx
dt = u , dy dt = v , equations (1) and (2) become
dM
dt = −g(h + ζ) ∂ζ
∂x + A
h∂
2M
∂x
2+ ∂
2M
∂y
2− τ
xρ
0, (6) dN
dt = −g(h + ζ) ∂ζ
∂y + A
h∂
2N
∂x
2+ ∂
2N
∂y
2− τ
yρ
0. (7)
2.2 Finite element discretization
After multiplying the equation (6) by δM and applying Green’s theorem, we integrate it over a domain Ω. Thus we obtain [7]
ZZ
Ω
δM ∂M
∂t dx dy = −g ZZ
Ω
δM (h + ζ) ∂ζ
∂x dx dy
− A
hZZ
Ω
∂δM
∂x
∂M
∂x + ∂δM
∂y
∂M
∂y
dx dy + A
hZ
Γ
δM
− ∂M
∂y dx + ∂M
∂x dy
− 1 ρ
0ZZ
Ω
δMτ
xdx dy . (8)
Under appropriate boundary conditions, we set Z
Γ
δM
− ∂M
∂y dx + ∂M
∂x dy
= 0 . (9)
Let the boundary Γ be a disjoint union of the rigid boundary Γ
1and the open boundary Γ
2. Furthermore, δM is an arbitrary function that vanishes along the rigid boundary Γ
1. Then the left-hand side of the equation (9) is
Z
Γ
δM
− ∂M
∂y dx + ∂M
∂x dy
= Z
Γ1
δM
− ∂M
∂y dx + ∂M
∂x dy
+
Z
Γ2
δM
− ∂M
∂y dx + ∂M
∂x dy
= Z
Γ2
δM (dy, −dx) · ∇M ds, (10)
where s parametrises boundary Γ
2. We assume that a uniform flow is formed at an open boundary perpendicular to a long channel such as cross sections of rivers and gate ends. Thus the Neumann condition
∂M
∂n = ∂M
∂x dy − ∂M
∂y dx = (dy, −dx) · ∇M = 0 (11) holds on Γ
2. Decompose fields
M = X
nj=1
φ
jM
j, N =
X
n j=1φ
jN
j,
h = X
nj=1
φ
jh
j, ζ =
X
n j=1φ
jζ
j, (12) δM = φ
i,
where φ
1, φ
2, . . . , φ
nare basis functions, n is the number of nodes, i, j, k = 1, 2, . . . , n . Now, when we substitute (12) into the equation (8), using equa- tion (9), we write [7]
X
j
∂M
j∂t ZZ
Ω
φ
iφ
jdx dy
= −g X
j
ζ
jZZ
Ω
X
k
(h
kφ
k+ ζ
kφ
k) φ
i∂φ
j∂x dx dy
− A
hX
j
M
jZZ
Ω
∂φ
i∂x
∂φ
j∂x + ∂φ
i∂y
∂φ
j∂y
dx dy
− γ
2X
j
M
jZZ
Ω
q P
k
(M
kφ
k)
2+ P
k
(N
kφ
k)
2P
k
(h
kφ
k+ ζ
kφ
k)
2φ
iφ
jdx dy . (13) In the same way we obtain an equation for N. For the continuity equation (3), we write
X
j
∂ζ
j∂t ZZ
Ω
φ
iφ
jdx dy + X
j
M
jZZ
Ω
φ
i∂φ
j∂x dx dy
+ X
j
N
jZZ
Ω
φ
i∂φ
j∂y dx dy = 0 .
When the integration is carried out in each element, P
k
M
kφ
k, P
k
N
kφ
k, P
k
h
kφ
kand P
k
ζ
kφ
kare replaced with their averages over the element ¯ M
4, N ¯
4, ¯ h
4and ¯ ζ
4. The momentum equation (13) becomes [7]
∂M
j∂t ZZ
4
φ
iφ
jdx dy = −gζ
jh ¯
4+ ¯ ζ
4ZZ
4
φ
i∂φ
j∂x dx dy
− A
hM
jZZ
4
∂φ
i∂x
∂φ
j∂x + ∂φ
i∂y
∂φ
j∂y
dx dy
− γ
2q ¯ M
24+ ¯ N
24h ¯
4+ ¯ ζ
4 2M
jZZ
4
φ
iφ
jdx dy .
The equation for N is obtained in the same way. The continuity equation (14) becomes
∂ζ
j∂t ZZ
4
φ
iφ
jdx dy + M
jZZ
4
φ
i∂φ
j∂x dx dy + N
jZZ
4
φ
i∂φ
j∂y dx dy = 0 .
Let
A
ij= X
e
ZZ
4
φ
iφ
jdx dy , (14)
A
0ij= γ
2X
e
q ¯ M
24e
+ ¯ N
24e
h ¯
4e+ ¯ ζ
4e2A
ij, (15) B
ij= X
e
ZZ
4
φ
i∂φ
j∂x dx dy , (16)
B
0ij= g X
e
h ¯
4e+ ¯ ζ
4eB
ij, (17)
C
ij= X
e
ZZ
4
φ
i∂φ
j∂y dx dy , (18)
D
ij= A
hX
e
ZZ
4
∂φ
i∂x
∂φ
j∂x + ∂φ
i∂y
∂φ
j∂y
dx dy , (19) where ne is the number of elements consisted in Ω and e = 1, 2, . . . , ne .
2.3 Time step approximation
For a given ζ
lj, M
ljand N
lj, ζ
l+1jcan be calculated. The continuity equa- tion (14) then becomes
A
ijζ
l+1j= −∆t B
ijM
lj+ C
ijN
lj+ A
ijζ
lj. (20) Putting −∆t B
ijM
lj+ C
ijN
lj+ A
ijζ
lj= p
3iand A
3ij= A
ij, we write
A
3ζ
l+1= p
3. (21)
For given values of M
lj, N
lj, ζ
ljand ζ
l+1j, we calculate the values of M
l+1jand N
l+1j. The momentum equation (14) then becomes
X
j
A
ijM
l+1j− M
lj∆t = − X
j
B
0ij(1 − θ) ζ
lj∗+ θζ
l+1j+ D
ij(1 − θ) M
lj+ θM
l+1j+ A
0ijM
lj, where θ is a parameter that appears in the weighted averaged approximation in time discretization. The previous equation is written as
X
j
(A
ij+ θD
ij) M
l+1j= −∆t X
j
A
0ij+ (1 − θ) D
ijM
lj+B
0ij(1 − θ) ζ
lj∗+ θζ
l+1j+ X
j
A
ijM
lj. (22)
Instead of calculating ζ
lj, we calculate ζ
lj∗at the point (x
∗, y
∗), where x
∗and y
∗are calculated from the system of ordinary differential equations
dx
dt = u , dy
dt = v . (23)
Thus,
x
∗= x
j− M
ljζ
lj+ h
j∆t , y
∗= y
j− N
ljζ
lj+ h
j∆t . (24) Denoting the right-hand side of equation (22) by p
1iand P
j
(A
ij+ θD
ij) = A
1ij, then M
l+1jis the solution of the simultaneous linear equation
A
1M
l+1= p
1. (25)
We similarly obtain an equation for N:
A
2N
l+1= p
2. (26)
Let a
ijbe the entry in the ith row and the jth column of A
1. Suppose that the ith node is on the rigid boundary. We redefine a
ij= δ
ij, and set the ith entry of p
1to 0. For given values of M
lj, M
l+1j, N
lj, N
l+1jand ζ
lj, ζ
l+1jis found. The continuity equation (20) becomes
X
j
A
ijζ
l+1j= −∆t X
j
B
ij(1 − θ) M
lj+ θM
l+1j+ C
ij(1 − θ) N
lj+ θN
l+1j+ X
j
A
ijζ
lj. (27)
Denoting the right-hand side of the above equation by p
03, then ζ
l+1jis the solution of the simultaneous linear equation
A
3ζ
l+1= p
03. (28)
Let a
ijbe the entry in the ith row and the jth column of A
3. Suppose that the ith node is on the open boundary. We redefine a
ij= δ
ij, and set the ith entry of p
3to the value of ζ
l+1igiven by the boundary conditions (Figure 1). At the rigid boundaries the values of M and N are set to zero.
Initial conditions are given as M = 0 and N = 0 at all node points.
The finite element method was applied to equations (1), (2) and (3) to sim- ulate the flow generated in the Kojima Lake. The finite element mesh con- sisting of 2232 elements and 1246 nodes in the entire region and in a region near the gates is used [5]. Figure 2 shows numerically calculated velocity vectors at 80 minutes after the gates were opened on May 31, 2008, in the entire region and in a region near the gates.
3 Experiment using the GPS-float and simulation of its motion
A gps-float [ 5] was used in an experiment of flow generated in Kojima Lake on May 31, 2008 on Kojima Lake. Its position is recorded every second between 3.37 and 5.29 am gmt. During that period, the gps-float traveled over the distance of 1211.75 m with average velocity of approximately 0.180777 m/s.
On Oct 23, 2004 the gps-float was used in an experiment from 2:35 to 3:40 am
gmt when it traveled over the distance of 631.219 m. On that day the gps-
float traveled with the average velocity of approximately 0.161976 m/s.
0 2000 4000 6000 8000
-8000 -6000 -4000 -2000 0
y [m]
x [m]
t = 4800 [s] (May 31, 2008)
1 m/s
3400 3500 3600 3700 3800 3900 4000
1200 1300 1400 1500 1600 1700 1800
y [m]
x [m]
t = 4800 [s] (May 31, 2008) 1 m/s
Figure 2: Velocity vectors in the entire region and in a region near the gates
at time t = 4800 s after the gates were opened on May 31, 2008.
The vertical average of the velocity components u (x, y, z, t) and v (x, y, z, t) should equal to ¯ u (x, y, t) and ¯ v (x, y, t). They should also vanish at z =
−h (x, y). We assume the functional form
u(x, y, z, t) = c {z + h(x, y)}
αu(x, y, t), ¯ (29) that vanishes for z = −h(x, y). Integrating it from −h(x, y) to ζ(x, y, t) we obtain
(ζ + h) ¯ u = Z
ζ−h
u dz = c¯ u (ζ + h)
α+1α + 1 , (30)
which leads to
c = α + 1
(ζ + h)
α. (31)
These assumptions lead to the following expression for velocities u (x, y, z, t) and v (x, y, z, t) in terms of ¯ u (x, y, t) and ¯ v (x, y, t) [5]:
u (x, y, z, t) = (α + 1)
z + h (x, y) ζ (x, y, t) + h (x, y)
αu (x, y, t) ¯ v (x, y, z, t) = (α + 1)
z + h (x, y) ζ (x, y, t) + h (x, y)
α¯ v (x, y, t) . (32) Here ¯ u and ¯ v are the vertically averaged velocity components:
¯
u = 1
ζ (x, y, t) + h (x, y) M (x, y, t) , ¯ v = 1
ζ (x, y, t) + h (x, y) N (x, y, t) ,
(33)
where M and N are given by equation (5). The system of equations (32)
is solved for α equal to 0.1 and 0.2, and the results are shown in Figures 3
and 4. This system of equations is solved by introducing data from May 31,
2008 and Oct 23, 2004. The motion of the gps-float is simulated by solving
its momentum equations [4, 5].
2000 2200 2400 2600 2800 3000 3200 3400 3600 3800 4000 4200 4400
-500 -300 -100 100 300 500 700 900 1100 1300 1500 1700
Y [m]
X [m]
EXPERIMENTAL RESULT AND COMPUTATIONAL RESULT (MAY 31, 2008)
8090100 110
120 130
140 160
170
708090100 110
120 130140150160170 alpha = 0.1
SIMULATION EXPERIMENT
3300 3500 3700 3900 4100 4300
400 600 800 1000 1200 1400 1600 1800
Y [m]
X [m]
EXPERIMENTAL RESULT AND COMPUTATIONAL RESULT (OCT 23, 2004)
3040 50 60 70 80 90
30 40 50 60 70 80 90 alpha = 0.1
SIMULATION EXPERIMENT
Figure 3: Trajectory of the gps-float with elapsed time in minutes shown
along side the path for α = 0.1 on May 31, 2008 and Oct 23, 2004 respectively.
2000 2200 2400 2600 2800 3000 3200 3400 3600 3800 4000 4200 4400
-500 -300 -100 100 300 500 700 900 1100 1300 1500 1700
Y [m]
X [m]
EXPERIMENTAL RESULT AND COMPUTATIONAL RESULT (MAY 31, 2008)
8090100 110
120 130
140 160
170
708090100 110
120 130
140150160170 alpha = 0.2
SIMULATION EXPERIMENT
3300 3500 3700 3900 4100 4300
400 600 800 1000 1200 1400 1600 1800
Y [m]
X [m]
EXPERIMENTAL RESULT AND COMPUTATIONAL RESULT (OCT 23, 2004)
3040 50 60 70 80 90
30 40 50 60 70 80 90 alpha = 0.2
SIMULATION EXPERIMENT
Figure 4: Trajectory of the gps-float with elapsed time in minutes shown
along side the path for α = 0.2 on May 31, 2008 and Oct 23, 2004 respectively.
Table 1: Total difference between the numerical and experimental results at every 10 minutes after starting the gps-float experiment on Oct 23, 2004.
Values in the table are given in metres.
α d(m = 1) d(m = 2) d(m = 3) d(m = 4) d(m = 5) d(m = 6)
0.1 17.95 50.37 89.54 129.65 191.22 298.76
0.2 20.48 58.77 103.72 159.69 226.30 322.88
Table 2: Total difference between the numerical and experimental results at every 10 minutes after starting the gps-float experiment on May 31, 2008.
Values in the table are given in metres.
α d(m = 1) d(m = 2) d(m = 3) d(m = 4) d(m = 5) d(m = 6)
0.1 27.42 79.96 158.16 255.38 367.35 477.33
0.2 27.26 77.90 157.26 264.36 390.03 519.05
The parameter d in Tables 1 and 2 is
d = X
mi=1