Shallow Water
Shallow Water
Shallow Water
Equations
Oto Havle, Jir Felcman
Contents
Conclusion
(hvs ) + div(hvs v) + g
h = gh
,
t
2 xs
xs
z ... given function, g > 0 ... given constant
h
z
s = 1, 2.
w X
+
f i (w ) = r(x, w )
t
xi
i=1
where
h
h
h
hv1
w
q
hv
hv2
q1
hv1
f 1 (w ) = h1 q12 + 21 gh2 = hv12 + 21 gh2
hv1 v2
h1 q1 q2
q2
hv2
f 2 (w ) = h1 q1 q2 = hv1 v2
hv22 + 12 gh2
h1 q22 + 21 gh2
0
r(x, w ) =
ghz(x)
source term
w X
+
f s (w ) = 0
t
xs
s=1
Z
w (x, t
Di
k +1
Z
) dx
w (x, t k ) dx
Di
t k +1
+
tk
Di
2
X
ni f i (w )
i=1
{z
dS = 0
on the cell Di
and time interval (t k , t k +1 )
wki +1 = wki
k X
|ij |H(wki , wkj , nij )
|Di |
jS(i)
Numerical flux
(?)
10
9
8
7
6
5
4
3
2
1
0
6
5
4
3
2
1
0
200
200
150
150
100
-200
50
-150
-100
0
-50
50
100
150
-50
-100
-150
-200
200
100
-200
50
-150
-100
0
-50
50
100
150
-50
-100
-150
-200
200
(hvs ) + div(hvs v) + g
h = gh
,
t
2 xs
xs
Stationary solution (lake at rest)
h(x, t) = H0 z(x),
Discrete stationary solution
H0 zi
w ki = 0 ,
0
v(x, t) = 0.
zi z D
s = 1, 2.
w X
+
f s (w ) = r(x, w )
t
xs
s=1
Operator splitting
2
w X
+
f s (w ) = 0
t
xs
s=1
w
+
t
= r(x, w )
t >0
w? =
0
r = gh? (zL zR )
0
1
(wL + wR )
2
u
u
+
= (x), t > 0
t
x
u(x, 0) = u0 (x)
K (x, t),
6= 0 = u(x, t) = u0 (x t) +
||
(
1, x(x t) < 0,
where K (x, t) =
0, x(x t) 0.
|v | < c
... subcritical
|v | = c
... critical
p
gh
h
w = hv1
hv2
c=
= A+
1 (w ? )w L + A1 (w ? )w R 2 gh?? e 2
1
gh? (zR zL )(sgn A1 )e 2
2
In fact, the numerical flux does not depend on sgn 2 .
p
1 = v1 c, 2 = v1 , 3 = v1 + c,
c = gh
Therefore, it is continuous in the subcritical case |v | < c,
1/c
sgn A1 (w ? )e 2 = v1 /c .
v2 /c
tk
Di
k
0
dx dt
z(x)
tk
= ghi
0
z(x)
nij
dS
Di
k
ghi
jS(i)
where zij? =
zi + zj
is an approximation to z at the interface ij .
2
We can write
w ki +1 = w ki
k X
|ij |H total w ki , w kj , zi , zj , nij
|Di |
jS(i)
Theoretical properties
I
Numerical results
The scheme seems to work in the subcritical case |v | < c, but
not in the supercritical case. It gets better if we replace
h?? =
hL + hR
2
with
h?? =
h
qR
1+ 2
2 hL
< 1,
+
h ,
L
1 2
2 hR ,
1 < < 1,
v1,?
c?
> 1,
g conv (w L , w R , zL , zR )
1 2
= A+
1 (w ? )w L + A1 (w ? )w R 2 gh?? e 2
1
gh? (zR zL )(sgn A1 )e 2
2
Summary
Numerical scheme for Shallow Water Equations.
I
Future work
I
Summary
Numerical scheme for Shallow Water Equations.
I
Future work
I