Difference between revisions of "Nonlinear Shallow Water Waves"

From WikiWaves
Jump to navigationJump to search
 
(193 intermediate revisions by 4 users not shown)
Line 1: Line 1:
= Introduction =
+
{{nonlinear waves course
 +
| chapter title = Nonlinear Shallow Water Waves
 +
| next chapter = [[Introduction to KdV]]
 +
| previous chapter = [[Traffic Waves]]
 +
}}
  
We want to consider waves occurring at the interface of the two fluids water and air. We assume that water is incompressible,
+
{{complete pages}}
viscous effects are negligible and that the typical wave lengths are much larger than the water depth. For "shallow" water we assume no variations in the y-dirn.
 
Let the domain of interest be denoted by <math>\Omega</math> with z-axis vertical and x-axis horizontal, <math>\vec{x} = (x,z)</math>. Let <math>h_{o}</math> be the at rest water depth. Let <math>h(x,t)</math> be the local water depth or wave height.
 
From previous lectures we have established the eqn. for Conservation of Mass.
 
  
  
<math>
+
== Introduction ==
\frac{D \rho}{D t} (\vec{x} ,t) + \rho(\vec{x} ,t)\nabla \cdot \vec{u}(\vec{x} ,t) = 0, x \in \Omega
 
</math>
 
  
 +
We assume that water is incompressible,
 +
viscous effects are negligible and that the typical wave lengths are much larger than the water depth.
 +
This allows us to assume [[:Category:Shallow Depth|Shallow Depth]]. We assume that the problem has not variation
 +
in either the <math>y</math> or <math>z</math> direction. The fluid is governed by two parameters,
 +
<math>u(x,t)</math>, the velocity of the water, and <math>h(x,t)</math> the water depth (note that this is not the still water depth since the problem
 +
is nonlinear).
  
Since water is incompressible  <math>\;  \frac{D \rho}{D t} = 0  \;</math>  i.e. <math>\;\nabla \cdot \vec{u} = 0,\;</math>  the divergance of the velocity field is zero.
+
The theory we present here is discussed in [[Stoker 1957]], [[Billingham and King 2000]] and [[Johnson 1997]].
  
 +
== Equations of Motion ==
  
We can apply the Conservation of Momentum eqn. as follows
+
The equation for the conservation of mass can derived by considering a a region <math>[x,x+\Delta x]</math>
 +
Conservation of mass then implies that
 +
<center>
 +
<math>
 +
\partial_t \int_x^{x + \Delta x} \rho h(s,t) \mathrm{d}s = \rho h(x,t)u(x,t) - \rho h(x+\Delta x,t)u(x+\Delta x,t)
 +
</math>
 +
</center>
 +
If we take the limit as <math>\Delta x \to 0</math> we obtain
 +
<center>
 +
<math>
 +
\partial_t h(x ,t) + \partial_x (h(x ,t)u(x ,t)) = 0
 +
</math>
 +
</center>
  
 +
A second equation comes from conservation of momentum. In integral form
 +
this is
 +
<center>
 +
<math>
 +
\partial_t \int_{x}^{x + \Delta x} \rho h u \mathrm{d}x
 +
= \left. \rho u^2 h \right|_{x}^{x + \Delta x}
 +
+ \int_0^{h(x)} P(x,z,t) \mathrm{d}z -
 +
\int_0^{h(x + \Delta x)} P(x+\Delta x,z,t) \mathrm{d}z
 +
</math>
 +
</center>
 +
where <math>\rho \,</math> denotes density, and the pressure <math>P \,</math> is given by
 +
<center>
 +
<math>
 +
P = \rho g \left(h - z\right)
 +
</math>
 +
</center>
 +
(i.e. we have hydrostatic equilibrium).  This then gives us
 +
<center>
 +
<math>
 +
\partial_t \int_{x}^{x + \Delta x} \rho h u \mathrm{d}x
 +
= -\left. \rho u^2 h \right|_{x}^{x + \Delta x}
 +
+ \frac{1}{2}\rho g {h(x)}^2 -
 +
\frac{1}{2}\rho g  {h(x + \Delta x)}^2
 +
</math>
 +
</center>
 +
If we then take the limit as <math>\Delta x \to 0</math> we obtain
 +
<center>
 +
<math>
 +
\partial_t  \left( h u \right)
 +
+ \partial_x \left(u^2 h + \frac{1}{2} gh^2\right) =0
 +
</math>
 +
</center>
 +
We can simplify this using the equation derived from conservation of mass to
 +
to obtain
 +
<center>
 +
<math>
 +
\partial_t u + u \partial_x u + g \partial_x h = 0 
 +
</math>
 +
</center>
  
<math>\frac{D \vec{u}}{D t} (\vec{x} ,t) = \frac{-1}{\rho} \nabla p + g(0,-1) </math>
+
The equations
 +
<center>
 +
<math>
 +
\partial_t h + u \partial_x h + h \partial_x u = 0
 +
</math>
 +
</center>
 +
and
 +
<center>
 +
<math>
 +
\partial_t u + u \partial_x u + g \partial_x h = 0
 +
</math>
 +
</center>
 +
are called the nonlinear shallow water equations. They determine the horizontal water velocity and the local water depth.
  
 +
We can rewrite them in terms of the local wave speed <math>c(x, t) = \sqrt{gh(x, t)}</math> as follows:
 +
<center>
 +
<math>2\partial_t c + 2u\partial_x c + c\partial_x u = 0
 +
</math>
 +
</center>
 +
<center>
 +
<math>\partial_t u + u\partial_x u + 2c \partial_x c = 0
 +
</math>
 +
</center>
 +
These equation are almost identical to those of compressible gas dynamics. Much of our understanding
 +
of the equations for water have been found by researchers studying compressible gas dynamics.
  
components of <math> \vec{u} = (u,v) </math>, assuming that changes in the vertical velocity are negligible i.e.<math>\;\; \frac{D v}{D t} (\vec{x} ,t) = 0 </math>
+
== Linearized Equations ==
  
 +
We can linearize these equations by assuming that <math>u</math> is small and that
 +
<math>h=h_0 + \zeta </math> where <math>h_0</math> is the average water depth
 +
and <math>\zeta</math> is also assumed small. This gives us
 +
<center>
 +
<math>
 +
\partial_t \zeta + h_0\partial_x u = 0
 +
</math>
 +
</center>
 +
and
 +
<center>
 +
<math>
 +
\partial_t u + g \partial_x \zeta = 0 
 +
</math>
 +
</center>
 +
These linear shallow water equations which can be
 +
derived from the linear equations for water of finite
 +
depth and taking the limit of small depth (see [[:Category:Shallow Depth|Shallow Depth]]).
  
thus, <math> 0 = \frac{-1}{\rho}\frac{\partial p}{\partial z} - g </math> or <math>\frac{\partial p}{\partial z} = -\rho g</math> and hence,
+
== Characteristics ==
  
 +
The equations possess characteristics.
 +
Adding and subtracting the two equations above we obtain
 +
<center>
 +
<math>
 +
\frac{\partial (u \pm 2c)}{\partial t}+ (u \pm c)\frac{\partial (u \pm 2c)}{\partial x} = 0
 +
</math>
 +
</center>
 +
This means that
 +
on the <math>\;C_+</math> characteristic, given by
 +
<center>
 +
<math>
 +
\frac{\mathrm{d} X_+}{\mathrm{d} t} = u + c = u + \sqrt{gh}
 +
</math>
 +
</center>
 +
the <math>\;C_+</math> invariant
 +
<center>
 +
<math>
 +
R_+ = u + 2c = u + 2\sqrt{gh}
 +
</math>
 +
</center>
 +
is a constant,
 +
and on the <math>\;C_-</math> characteristic, given by
 +
<center>
 +
<math>
 +
\frac{\mathrm{d} X_-}{\mathrm{d} t} = u - c = u - \sqrt{gh}
 +
</math>
 +
</center>
 +
the <math>\;C_-</math> invariant
 +
<center>
 +
<math>
 +
R_- = u - 2c = u - 2\sqrt{gh}
 +
</math>
 +
</center>
 +
is a constant.
  
<math> p(\vec{x} ,t) = p_{atm} + \rho g[h(x,t) - z] </math> (pressure is hydrostatic)
+
The functions <math>R_{\pm} (u ,c) = u \pm 2c</math>, are called the Riemannian invariants.
  
 +
== Simple Waves ==
  
Also<math>\frac{D u}{D t}(\vec{x} ,t) = \frac{-1}{\rho}\frac{\partial p}{\partial x}</math>, and since <math> \frac{\partial p}{\partial x} </math> is independant of <math> z </math>, so is <math>\frac{D u}{D t}</math>
+
The problem as formulated can be solved by advancing the solution along the characteristics, but
 +
this will in general be quite difficult analytically. However, there is a special class of problems,
 +
called ''Simple Waves'' in which the solution only changes on one characteristic.  
 +
They are best illustrated through some examples. Note that the characteristic can meet forming
 +
a shock, which is called a [http://en.wikipedia.org/wiki/Tidal_bore bore] or a
 +
[http://en.wikipedia.org/wiki/Hydraulic_jump hydraulic jump]
 +
when it occurs on the surface of the water.
  
 +
=== The dam break problem ===
 +
Assume the water occupies the region <math>{x < 0 ; 0 < z < h_0 }</math> initially held back by a dam at <math>x = 0</math>.
 +
At <math>t = 0</math>, the dam is removed (breaks). What is the height of the water
 +
<math>h(x,t) \,</math> for <math>t > 0? \,</math> The initial condition is therefore
 +
<center>
 +
<math>h(x,0) = \begin{cases}
 +
h_0, & x < 0 \\
 +
0, & x > 0
 +
\end{cases}
 +
</math>
 +
</center>
 +
<center>
 +
<math>u(x ,0) = 0. \,
 +
</math>
 +
</center>
 +
On the characteristic that originates at <math>t = 0</math> for <math>x < 0</math>,
 +
<center>
 +
<math>
 +
R_\pm = u \pm 2\sqrt{gh} = \pm 2\sqrt{gh_0} = \pm 2c_0
 +
</math>
 +
</center>
 +
where <math>c_0 = \sqrt{gh_0}</math> is the initial (linear) wave speed.
  
<math>\frac{D u}{D t} = -g\frac{\partial h(x ,t)}{\partial x}</math> after substituting expression for <math>p(\vec{x} ,t)</math>
+
Therefore, if a <math>C_+</math> and a <math>C_-</math> characteristic from this region intersect, then
 +
<center>
 +
<math>
 +
u + 2\sqrt{gh} = 2c_0 , \;\mathrm{and}\; u - 2\sqrt{gh} = -2c_0 
 +
</math>
 +
</center>
 +
and hence, <math>u = 0</math> and <math>h = h_0</math>.
 +
Moreover,
 +
<center>
 +
<math>
 +
\frac{\mathrm{d} X_\pm}{\mathrm{d} t} = u \pm \sqrt{gh} = \pm c_0
 +
</math>
 +
</center>
 +
so these characteristics are straight lines in the region <math>\big\{x < -c_0 t \big\}</math>
 +
(the undisturbed region).
  
 +
The <math>\;C_+</math> characteristic leave the region a<math>\big\{x < -c_0 t \big\}</math>
 +
and enter <math>\big\{x > -c_0 t \big\}</math>. For now we will assume that these characteristics fill the domain
 +
(and show that this is true shortly).
 +
For <math>\big\{x > -c_0 t \big\}</math>, the <math>C_-</math> characteristics are given by 
 +
<center>
 +
<math>
 +
\frac{\mathrm{d} X_-}{\mathrm{d} t} = u - \sqrt{gh}
 +
</math>
 +
</center>
 +
and on each of the <math>C_-</math> characteristics <math>R_- = u - 2\sqrt{gh}</math> is constant.
 +
However, since this region is filled with <math>C_+</math> characteristics where <math>R_+ = u + 2\sqrt{gh} = 2c_0</math>, <math>u</math> and <math>h</math>
 +
must be constant on each <math>C_-</math> characteristic.
 +
This also means that the <math>C_-</math> characteristics must be straight lines.
  
Therefore if <math> u </math> has no z-dependance at the, at rest condition (<math>h_{o}</math>), it will remain this way.
+
Since the fluid occupies <math>\big\{x < 0 \big\}</math> at <math>t = 0</math>,
Thus,
+
these <math>C_-</math> characteristics must start at the origin, with
 +
<center>
 +
<math>
 +
X_-(t) = \left(u - \sqrt{gh}\right)t
 +
</math>
 +
</center>
 +
which in turn implies that
 +
<center>
 +
<math>
 +
u - \sqrt{gh} = \frac{x}{t}
 +
</math>
 +
</center>
 +
We also have <math>R_+ = u + 2\sqrt{gh} = 2c_0</math> from the
 +
<math>C_+</math> characteristics. We can solve these equations
 +
at each point in <math>\big\{x > -c_0 t \big\}</math>. Solving for <math>u</math> and <math>h</math> gives
 +
<center>
 +
<math>
 +
h(x, t) =
 +
\begin{cases}
 +
\frac{h_0}{9}\left(2 - \frac{x}{c_0 t}\right)^2, \quad -c_0 t < x< 2 c_0 t,\\
 +
h_0,\quad x <-c_0 t,
 +
\end{cases}
 +
</math>
 +
</center>
 +
<center>
 +
<math>
 +
u(x, t) =
 +
\begin{cases}
 +
\frac{2}{3} \left (c_0 + \frac{x}{t} \right ), \quad -c_0 t < x< 2 c_0 t,\\
 +
0,\quad x <-c_0 t.
 +
\end{cases} 
 +
</math>
 +
</center>
 +
Where we have assumed that, since <math>h = 0</math> for <math>x = 2c_0 t,</math>
 +
the  <math>C_+</math> characteristic only exist in the region <math>\big\{x < 2c_0 t \big\}</math>,
 +
We will verify this by explicitly calculating them.  
  
 +
It remains to determine the <math>C_+</math> characteristic, which originated in <math>\big\{x < 0 \big\}</math>,
 +
and show they
 +
will fill the domain <math>\big\{x < 2c_0 t \big\}</math>. For <math>\big\{x < -c_0 t \big\}</math>,
 +
the <math>\;C_+</math> characteristics are straight lines with slope <math>c_0</math> and are given by
 +
<center>
 +
<math>
 +
X_+ (t) = -x_0 + c_0 t, \quad \left(x_0 > 0,\;\; t < \frac{x_0}{2c_0}\right)
 +
</math>
 +
</center>
 +
When <math>t = \frac{x_0}{2c_0},\;\;\ X_{+} (t) = -c_0 t</math> so that for
 +
<center>
 +
<math>
 +
t > \frac{x_0}{2c_0}, \quad \frac{\mathrm{d} X_{+} (t)}{\mathrm{d} t} = u + \sqrt{gh}
 +
</math>
 +
</center>
 +
and substituting the solution we found for <math>h</math> and <math>u</math>
 +
<center>
 +
<math>
 +
\frac{\mathrm{d}X_{+} (t)}{\mathrm{d} t} = \frac{4}{3}c_0 + \frac{X_{+} (t)}{3t}
 +
</math>
 +
</center>
 +
Solving this ODE  subject to <math>X_+ \left(\frac{x_0}{2c_0}\right) = -\frac{x_0}{2}</math> gives
 +
<center>
 +
<math>
 +
X_+ (t) = 2c_0 t - 3\left(\frac{x_0}{2}\right)^{2/3}(c_0 t)^{1/3},\;\;
 +
</math>
 +
</center>
 +
the equation for a characteristic curve.
 +
The curves indeed fill the domain <math>\big\{x < 2c_0 t \big\}</math>
 +
and all satisfy <math>\big\{X_+ (t) < 2c_0 t \big\}</math>.  To summarize, the
 +
<math>C^{+}</math>  characteristics are given by
 +
<center>
 +
<math>
 +
X_+ (t) =
 +
\begin{cases}
 +
2c_0 t - 3\left(\frac{x_0}{2}\right)^{2/3}(c_0 t)^{1/3},\quad t> x_0/2 c_0\\
 +
-x_0 + c_0 t, \quad 0\ < t < x_0/2 c_0
 +
\end{cases}
 +
</math>
 +
</center>
  
<math>\frac{\partial u(\vec{x} ,t)}{\partial t} + u(\vec{x} ,t)\frac{\partial u(\vec{x} ,x)}{\partial x} + g \frac{\partial h(x ,t)}{\partial x} = 0 \qquad (1)</math>
+
{| class="wikitable"
 +
|-
 +
! Characteristics
 +
! Surface elevation
 +
|-
 +
| [[Image:Characteristics_dam_break.jpg|thumb|right|500px|Characteristics for the dam
 +
break problem, blue for <math>C_{+}</math> and red for <math>C_{-}</math>. The solid red lines
 +
show the curves <math>x=-c_0 t</math> and <math>x=2c_0 t</math> (note we have assumed
 +
here that <math>c_0 =1</math>]]
 +
| [[Image:Dambreak.gif|thumb|right|500px|Evolution of the fluid surface <math>h(x,t)</math> for the Dam Break problem]]
 +
|}
  
 +
== Shocks ==
  
Another equation is needed. Consider conservation of mass along a vertical cross section.
+
For a unique solution two exist there must be a single <math>C_+</math> and <math>C_-</math>
 +
characteristic through each point. When two characteristics of the same kind meet we
 +
have a shock forming.  
  
 +
=== Accelerating Piston ===
  
<math>\frac{d}{dt}\int_{x_1}^{x_2} \rho h(x ,t) dx = -[\rho u(\vec{x} ,t) h(x ,t)]_{x_1}^{x_2}</math>
+
We now consider the problem of water initially at rest occupying the
 +
half space <math>x>0</math> which is initially at rest. At <math>t=0</math>
 +
the piston at <math>x=0</math> begins to move to the right with constant
 +
acceleration <math>a</math> so that the position of the piston is given by
 +
<math>\frac{1}{2}at^2</math>.
  
 +
We assume that the <math>C_-</math> characteristics which originate in the
 +
water at <math>t=0</math> fill the fluid. On these characteristics
 +
<center>
 +
<math>
 +
R_- = u - 2 c = -2c_0 \,
 +
</math>
 +
</center>
 +
and this condition must hold throughout the fluid. 
 +
On the <math>C_+</math> characteristics we know that
 +
<math> R_+ = u + 2 c </math> must be a constant and hence on the
 +
<math>C_+</math> characteristics <math>u</math> and <math>c</math>
 +
must be constant and hence the <math>C_+</math> characteristics must
 +
be straight lines.  Note that this does not mean that the
 +
<math>C_+</math> characteristics have the same slope and there is no
 +
requirement that the <math>C_-</math> characteristics are straight lines.
  
Assuming quantities are smooth and <math>x_1, x_2</math> are arbitrary we arrive at
+
The <math>C_+</math> characteristic originate from the fluid
 +
or from the front of the piston. We consider those which originate from
 +
the piston.  The  <math>C_+</math> characteristic which originates from
 +
the piston at <math>t=t_0</math> must satisfy
 +
<center>
 +
<math>
 +
u+2c = a t_0 + 2c_{\text{plate}} \,
 +
</math>
 +
</center>
 +
where <math> a t_0</math> is the velocity of the piston at time <math>t=t_0</math>
 +
and <math>c_{\text{plate}}</math> is the speed (related to height) at the plate.
 +
We know that <math> R_- = u - 2 c =-2c_0</math> through out the fluid, so that if
 +
we solve this at the plate (where <math>u=at_0</math> and <math>c=c_{\text{plate}}</math>)
 +
then we get
 +
<center><math>
 +
c_{\text{plate}} = at_0/2 + c_0\,
 +
</math></center>
  
 +
On the <math>C_+</math> characteristics <math>u</math> and <math>c</math>
 +
are constant and therefore
 +
<center>
 +
<math>
 +
\frac{\mathrm{d}X_+}{\mathrm{d}t} = u+c = at_0 + \left( \frac{1}{2}at_0 + c_0 \right)
 +
</math>
 +
</center>
 +
Hence
 +
<center>
 +
<math>
 +
X_+(t,t_0) = \left( \frac{3}{2} a t_0 + c_0 \right) t - c_0 t_0 -a t_0^2
 +
</math>
 +
</center>
 +
using the condition <math>X_+(t_0,t_0) = \frac{1}{2} a t_0^2</math> (the initial value which
 +
comes from the position of the piston at <math>t=t_0</math>).
 +
The slope of these lines increases and eventually meet to form a shock.
 +
We find this point of intersection by considering neighboring characteristics
 +
and determining when they first intersect.
 +
<center>
 +
<math>
 +
X_+(t,t_0 + \Delta t) = X_+(t,t_0)  + \Delta t \frac{\partial X_+}{\partial t_0} (t,t_0) = X_+(t,t_0)
 +
</math>
 +
</center>
 +
It follows that neighbouring characteristics will meet when
 +
<center>
 +
<math>
 +
\frac{\partial X_+}{\partial t_0} (t,t_0) = 0
 +
</math>
 +
</center>
 +
which implies that
 +
<center>
 +
<math>
 +
t = \frac{2c_0}{3a} + \frac{4}{3}t_0
 +
</math>
 +
</center>
 +
The first time that a shock forms is the minimum value of this equation.
 +
For this piston example, this occurs when <math>t_0 = 0</math> and the value
 +
of <math>t</math> is <math>t = 2c_0/(3a)</math>. At this point
 +
a shock is formed and we can no longer find a unique solution by following the
 +
characteristics.
  
<math>\frac{\partial h(x ,t)}{\partial t} + \frac{\partial}{\partial x}[u(\vec{x} ,t)h(x ,t)] = 0 \qquad  (2)</math>
 
  
 +
{| class="wikitable"
 +
|-
 +
! Characteristics
 +
! Surface elevation
 +
|-
 +
| [[Image:Accelerating_piston.jpg|thumb|right|500px| <math>C_{+}</math> characteristics for the
 +
accelerating piston, red undisturbed, blue from the piston and the green line shows the transition.]]
 +
| [[Image:Accelerating_piston2.gif|thumb|right|500px|Evolution of the fluid surface <math>h(x,t)</math> for the
 +
accelerating piston.]]
 +
|}
  
Eqns. (1) & (2) are called the non-linear shallow water equations. They determine the horizontal water velocity and the local water depth.
+
=== Piston Moving with Constant Velocity ===
  
 +
This example is also known as the Moving Wall Problem, and is connected to Shallow Water Bores. 
  
Rewrite them in terms of the local wave speed <math>c(x, t) = \sqrt{gh(x, t)}</math> as follows:
+
We consider the case of a piston, with positive constant velocity <math>V</math> (which is initially at <math>x=0</math>), advancing into a semi-infinite expanse of
 +
fluid that is initially at rest with depth <math>h_0</math>.
  
 +
The <math>C_+</math> characteristics which originate in the fluid
 +
at <math>t=0</math> have slope
 +
<center>
 +
<math>\frac{\mathrm{d} X_+}{\mathrm{d}t} = \sqrt{gh_0}</math>
 +
</center>
 +
and the <math>C_+</math> characteristic which originate at the piston at
 +
<math>t=0</math> must satisfy
 +
<center>
 +
<math>\frac{\mathrm{d} X_+}{\mathrm{d}t} = \sqrt{gh_0} + \frac{3}{2} V </math>
 +
</center>
 +
so that these two characteristics will intersect at <math>t=0</math>.
 +
Therefore a shock forms immediately and we can track this by determining the
 +
speed of the shock
  
<math>2\frac{\partial c(x ,t)}{\partial t}+ 2u(\vec{x} ,t)\frac{\partial c(x ,t)}{\partial x} + c(x, t)\frac{\partial u(\vec{x} ,t)}{\partial x} = 0 \qquad (3)</math>
+
=== Speed of the shock ===
  
   
+
We need the conservation equations in integral form to determine the speed
<math>\frac{\partial u(\vec{x} ,t)}{\partial t}+ u(\vec{x} ,t)\frac{\partial u(\vec{x} ,t)}{\partial x} + 2c(x, t)\frac{\partial c(x ,t)}{\partial x} = 0 \qquad (4)</math>
+
of the shock. Conservation of mass, written as an integral is
 +
<center>
 +
<math>
 +
\partial_t \int_{x_1}^{x_2} \rho h \mathrm{d}x
 +
+ \left. \rho u h \right|_{x_2}^{x_1} =0
 +
</math>
 +
</center>
 +
If the shock is located at <math>s(t)</math>
 +
which we assume is located between <math>x_1</math>
 +
and <math>x_2</math>, then
 +
<center>
 +
<math>
 +
\partial_t \int_{x_1}^{x_2} h \mathrm{d}x
 +
= \partial_t \left( \int_{x_1}^{s(t)} +  
 +
\int_{s(t)}^{x_2} \right) h \mathrm{d}x
 +
= \left( \int_{x_1}^{s(t)} +
 +
\int_{s(t)}^{x_2} \right) \partial_t h \mathrm{d}x + h^{+} \partial_t s(t) - h^{-}\partial_t s(t),
 +
</math>
 +
</center>
 +
where <math>h^+</math> is the height on the right (positive) side of
 +
the jump and <math>h^-</math> is the height on the left (negative) side.
 +
If we take the limit as <math>x_1\to x_2</math> we then obtain the following
 +
identity
 +
<center>
 +
<math>
 +
h^{+}\partial_t s(t) - h^{-}\partial_t s(t) -
 +
u^{+} h^{+} + u^{-} h^{-} = 0
 +
</math>
 +
</center>
 +
where <math>u^+</math> is the height on the right (positive) side of
 +
the jump and <math>u^-</math> is the height on the left (negative) side.
  
 +
We now need to consider the equation for conservation of momentum. In integral form
 +
this is
 +
<center>
 +
<math>
 +
\partial_t \int_{x_1}^{x_2} \rho h u \mathrm{d}x
 +
= \left. \rho u^2 h \right|_{x_1}^{x_2}
 +
+ \int_0^{h(x_1)} P(x_1,z,t) \mathrm{d}z -
 +
\int_0^{h(x_2)} P(x_2,z,t) \mathrm{d}z
 +
</math>
 +
</center>
 +
where the pressure <math>P</math> is given by
 +
<center>
 +
<math>
 +
P = \rho g \left(h - z\right)
 +
</math>
 +
</center>
 +
(i.e. we have hydrostatic equilibrium).  We can apply a similar argument as before to obtain
 +
<center>
 +
<math>
 +
h^{+}u^{+}\partial_t s(t) - h^{-}u^{-}\partial_t s(t) =
 +
\left(u^{+}\right)^2 h^{+} - \left(u^{-}\right)^2 h^{-}
 +
+ \frac{1}{2} g  \left(h^{+}\right)^2 - \frac{1}{2} g  \left(h^{-}\right)^2 
 +
</math>
 +
</center>
  
Compare these equations with those of compressible gas dynamics with <math>(\gamma = 2, k = g/2)</math> of previous lectures.
+
=== Hydraulic Jump ===
  
To make further progress with solving our equations we use the Method of Characteristics. Adding and subtracting (3) from (4) gives (5).
+
For a hydraulic jump, <math>\dot{s}(t) = 0</math>, which means that we must solve
 +
<center>
 +
<math>
 +
u^{+} h^{+} - u^{-} h^{-} = 0 \,
 +
</math>
 +
</center>
 +
<center>
 +
<math>
 +
\left(u^{+}\right)^2 h^{+} - \left(u^{-}\right)^2 h^{-}
 +
+ \frac{1}{2} g  \left(h^{+}\right)^2 - \frac{1}{2} g  \left(h^{-}\right)^2  =0
 +
</math>
 +
</center>
 +
If we introduce the variables
 +
<center>
 +
<math>
 +
H = \frac{h^{+}}{h^{-}}
 +
</math>
 +
</center>
 +
and
 +
<center>
 +
<math>
 +
\mathrm{Fr} = \frac{u^{-}}{\sqrt{gh^{-}}}
 +
</math>
 +
</center>
 +
where <math>\mathrm{Fr}</math> is the ''Froude'' number
 +
which is equivalent to the Mach number for gas dynamics.
 +
Then we obtain
 +
<center>
 +
<math>
 +
H^2 -1 = 2 \mathrm{Fr}^2 \left(1 - \frac{1}{H}\right)
 +
</math>
 +
</center>
 +
This expression has the roots
 +
<center>
 +
<math>
 +
H=1, \quad H=\frac{1}{2}\left(-1\pm\sqrt{1 + 8 \mathrm{Fr}^2}\right)
 +
</math>
 +
</center>
 +
The only physically meaningful solution is the root which satisfies
 +
<math>H>1</math>.  This is only true providing <math>\mathrm{Fr} > 1</math>, which means
 +
that we can only obtain a hydraulic jump if the flow is supercritical.
  
 +
Below is a video of a hydraulic jump.  You can clearly see the point where the flow is changing from supercritical to subcritical (look for the small turbulent region in the channel)
 +
{{#ev:youtube|5etwhZ0d2GU}}
  
<math>\frac{\partial (u \pm 2c)}{\partial t}+ (u \pm c)\frac{\partial (u \pm 2c)}{\partial x} = 0 \qquad (5)</math>
+
=== Shallow Water Bore ===
 
+
We now consider  a bore, in which
 
+
the shock wave advances into still water.
Hence the functions <math>R_{\pm} (u ,c) = u \pm 2c</math>, are the Riemannian invariants.
+
We denote the fluid speed by <math>V = u^{-}</math>.
 
+
We denote the height on the wall side
 
+
by <math>h_1</math> and the height on the other side must be <math>h_0</math>, i.e.
We have:
+
<math>h^{+} = h_0</math>, <math>h^{-} = h_1</math>, <math>u^{+} = 0</math>.
 
+
This means that
on the <math>C_+</math> characteristic, given by <math>\frac{d \chi_+}{d t} = u + c = u + \sqrt{gh}</math>,
+
<center>
 
+
<math>
 
+
h_{0}\partial_t s(t) - h_{1}\partial_t s(t)
the <math>C_+</math> invariant <math>R_+ = u + 2c = u + 2\sqrt{gh}</math>, is a constant.
+
+ V h_{1}= 0
 
+
</math>
 +
</center>
 +
and
 +
<center>
 +
<math>
 +
- h_{1}V\partial_t s(t) = - \left(V\right)^2 h_{1}
 +
+ \frac{1}{2} g  \left(h_{0}\right)^2 - \frac{1}{2} g  \left(h_{1}\right)^2 
 +
</math>
 +
</center>
 +
which can be solved to obtain the shock speed and the height of the moving fluid.  
  
and on the <math>C_-</math> characteristic, given by <math>\frac{d \chi_-}{d t} = u - c = u - \sqrt{gh}</math>,
+
Below is a video of surfing on the [http://en.wikipedia.org/wiki/Severn Severn] bore, do not believe everything they
 +
say. You might also want to check out the [http://en.wikipedia.org/wiki/Pororoca Pororoca]
 +
a tidal bore on the Amazon.
  
 +
== Lecture Videos ==
  
the <math>C_-</math> invariant <math>R_- = u - 2c = u - 2\sqrt{gh}</math>, is a constant.
+
=== Part 1 ===
  
= Examples =
+
{{#ev:youtube|Yi8fytUszrQ}}
  
We consider two examples involving shocks.
+
=== Part 2 ===
 
 
 
 
== Example 1 ==
 
 
 
The dam break problem.
 
Assume the water occupies the region<math>\big\{x < 0 ; 0 < z < h_0 \big\}</math> initially held back by a dam at <math>x = 0</math>. At <math>t = 0</math>, the dam is removed (breaks). What is the height of the water <math>h(x,t)</math> for <math>t > 0?</math> Thus consider (1) and (2) subject to initial conditions
 
 
 
 
 
<math>h(x,0) = \begin{cases}
 
h_o, & x < 0 \\
 
0, & x > 0
 
\end{cases}\;,\; \; u(x ,0) = 0.
 
</math>
 
  
 +
{{#ev:youtube|_668xmJ9DAQ}}
  
On the characteristic that originates at <math>t = 0</math> for <math>x < 0</math>. <math>R_\pm = u \pm 2\sqrt{gh} = \pm 2\sqrt{gh_o} = \pm 2c_o \; , </math> where <math>c_o = \sqrt{gh_o}\;</math> is the initial (linear) wave speed.
+
=== Part 3 ===
  
 +
{{#ev:youtube|yTat11ERJMg}}
  
Therefore, if a <math>C_+</math> and a <math>C_-</math> characteristic from this region intersect, then <math>u + 2\sqrt{gh} = 2c_o , \;\; u - 2\sqrt{gh} = -2c_o  </math> and hence, <math>u = 0</math> and <math>h = h_o</math>.
+
=== Part 4 ===
  
 +
{{#ev:youtube|qG8bPJwX96k}}
  
Moreover, <math>\frac{d \chi_\pm}{d t} = u \pm \sqrt{gh} = \pm c_o</math> so these characteristics are straight lines and they must lie in the region <math>\big\{x < -c_o t \big\}</math>.
+
=== Part 5 ===
  
 +
{{#ev:youtube|38ZWW2dM1Qs}}
  
Notice that the <math>C_+</math> characteristic leaves this region and enters <math>\big\{x > -c_o t \big\}</math>. For now we will assume that these characteristics fill the domain.
+
=== Part 6 ===
  
 +
{{#ev:youtube|AZHlhA5pQBg}}
  
For <math>\big\{x > -c_o t \big\}</math>, the <math>C_-</math> characteristics are given by <math>\frac{d \chi_-}{d t} = u - \sqrt{gh}  \;\; (*)</math> and on each curve <math>R_- = u - 2\sqrt{gh}</math> is constant.
+
=== Part 7 ===
  
 +
{{#ev:youtube|VhlY5lQcTlM}}
  
However, since this region is filled with <math>C_+</math> characteristics where <math>R_+ = u + 2\sqrt{gh} = 2c_o</math>, <math>u</math> and <math>h</math> must be constant on each <math>C_-</math> characteristic, which from (*) must be a straight line.
+
[[Category:Simple Nonlinear Waves]]
  
Since the fluid occupies <math>\big\{x < 0 \big\}</math> at <math>t = 0</math>, these <math>C_-</math> characteristics must start at the
 
  
[[Category:789]]
+
[[Category:Simple Nonlinear Waves]]
 +
[[Category:Nonlinear Water-Wave Theory]]
 +
[[Category:Shallow Depth]]

Latest revision as of 04:31, 17 August 2020

Nonlinear PDE's Course
Current Topic Nonlinear Shallow Water Waves
Next Topic Introduction to KdV
Previous Topic Traffic Waves




Introduction

We assume that water is incompressible, viscous effects are negligible and that the typical wave lengths are much larger than the water depth. This allows us to assume Shallow Depth. We assume that the problem has not variation in either the [math]\displaystyle{ y }[/math] or [math]\displaystyle{ z }[/math] direction. The fluid is governed by two parameters, [math]\displaystyle{ u(x,t) }[/math], the velocity of the water, and [math]\displaystyle{ h(x,t) }[/math] the water depth (note that this is not the still water depth since the problem is nonlinear).

The theory we present here is discussed in Stoker 1957, Billingham and King 2000 and Johnson 1997.

Equations of Motion

The equation for the conservation of mass can derived by considering a a region [math]\displaystyle{ [x,x+\Delta x] }[/math] Conservation of mass then implies that

[math]\displaystyle{ \partial_t \int_x^{x + \Delta x} \rho h(s,t) \mathrm{d}s = \rho h(x,t)u(x,t) - \rho h(x+\Delta x,t)u(x+\Delta x,t) }[/math]

If we take the limit as [math]\displaystyle{ \Delta x \to 0 }[/math] we obtain

[math]\displaystyle{ \partial_t h(x ,t) + \partial_x (h(x ,t)u(x ,t)) = 0 }[/math]

A second equation comes from conservation of momentum. In integral form this is

[math]\displaystyle{ \partial_t \int_{x}^{x + \Delta x} \rho h u \mathrm{d}x = \left. \rho u^2 h \right|_{x}^{x + \Delta x} + \int_0^{h(x)} P(x,z,t) \mathrm{d}z - \int_0^{h(x + \Delta x)} P(x+\Delta x,z,t) \mathrm{d}z }[/math]

where [math]\displaystyle{ \rho \, }[/math] denotes density, and the pressure [math]\displaystyle{ P \, }[/math] is given by

[math]\displaystyle{ P = \rho g \left(h - z\right) }[/math]

(i.e. we have hydrostatic equilibrium). This then gives us

[math]\displaystyle{ \partial_t \int_{x}^{x + \Delta x} \rho h u \mathrm{d}x = -\left. \rho u^2 h \right|_{x}^{x + \Delta x} + \frac{1}{2}\rho g {h(x)}^2 - \frac{1}{2}\rho g {h(x + \Delta x)}^2 }[/math]

If we then take the limit as [math]\displaystyle{ \Delta x \to 0 }[/math] we obtain

[math]\displaystyle{ \partial_t \left( h u \right) + \partial_x \left(u^2 h + \frac{1}{2} gh^2\right) =0 }[/math]

We can simplify this using the equation derived from conservation of mass to to obtain

[math]\displaystyle{ \partial_t u + u \partial_x u + g \partial_x h = 0 }[/math]

The equations

[math]\displaystyle{ \partial_t h + u \partial_x h + h \partial_x u = 0 }[/math]

and

[math]\displaystyle{ \partial_t u + u \partial_x u + g \partial_x h = 0 }[/math]

are called the nonlinear shallow water equations. They determine the horizontal water velocity and the local water depth.

We can rewrite them in terms of the local wave speed [math]\displaystyle{ c(x, t) = \sqrt{gh(x, t)} }[/math] as follows:

[math]\displaystyle{ 2\partial_t c + 2u\partial_x c + c\partial_x u = 0 }[/math]

[math]\displaystyle{ \partial_t u + u\partial_x u + 2c \partial_x c = 0 }[/math]

These equation are almost identical to those of compressible gas dynamics. Much of our understanding of the equations for water have been found by researchers studying compressible gas dynamics.

Linearized Equations

We can linearize these equations by assuming that [math]\displaystyle{ u }[/math] is small and that [math]\displaystyle{ h=h_0 + \zeta }[/math] where [math]\displaystyle{ h_0 }[/math] is the average water depth and [math]\displaystyle{ \zeta }[/math] is also assumed small. This gives us

[math]\displaystyle{ \partial_t \zeta + h_0\partial_x u = 0 }[/math]

and

[math]\displaystyle{ \partial_t u + g \partial_x \zeta = 0 }[/math]

These linear shallow water equations which can be derived from the linear equations for water of finite depth and taking the limit of small depth (see Shallow Depth).

Characteristics

The equations possess characteristics. Adding and subtracting the two equations above we obtain

[math]\displaystyle{ \frac{\partial (u \pm 2c)}{\partial t}+ (u \pm c)\frac{\partial (u \pm 2c)}{\partial x} = 0 }[/math]

This means that on the [math]\displaystyle{ \;C_+ }[/math] characteristic, given by

[math]\displaystyle{ \frac{\mathrm{d} X_+}{\mathrm{d} t} = u + c = u + \sqrt{gh} }[/math]

the [math]\displaystyle{ \;C_+ }[/math] invariant

[math]\displaystyle{ R_+ = u + 2c = u + 2\sqrt{gh} }[/math]

is a constant, and on the [math]\displaystyle{ \;C_- }[/math] characteristic, given by

[math]\displaystyle{ \frac{\mathrm{d} X_-}{\mathrm{d} t} = u - c = u - \sqrt{gh} }[/math]

the [math]\displaystyle{ \;C_- }[/math] invariant

[math]\displaystyle{ R_- = u - 2c = u - 2\sqrt{gh} }[/math]

is a constant.

The functions [math]\displaystyle{ R_{\pm} (u ,c) = u \pm 2c }[/math], are called the Riemannian invariants.

Simple Waves

The problem as formulated can be solved by advancing the solution along the characteristics, but this will in general be quite difficult analytically. However, there is a special class of problems, called Simple Waves in which the solution only changes on one characteristic. They are best illustrated through some examples. Note that the characteristic can meet forming a shock, which is called a bore or a hydraulic jump when it occurs on the surface of the water.

The dam break problem

Assume the water occupies the region [math]\displaystyle{ {x \lt 0 ; 0 \lt z \lt h_0 } }[/math] initially held back by a dam at [math]\displaystyle{ x = 0 }[/math]. At [math]\displaystyle{ t = 0 }[/math], the dam is removed (breaks). What is the height of the water [math]\displaystyle{ h(x,t) \, }[/math] for [math]\displaystyle{ t \gt 0? \, }[/math] The initial condition is therefore

[math]\displaystyle{ h(x,0) = \begin{cases} h_0, & x \lt 0 \\ 0, & x \gt 0 \end{cases} }[/math]

[math]\displaystyle{ u(x ,0) = 0. \, }[/math]

On the characteristic that originates at [math]\displaystyle{ t = 0 }[/math] for [math]\displaystyle{ x \lt 0 }[/math],

[math]\displaystyle{ R_\pm = u \pm 2\sqrt{gh} = \pm 2\sqrt{gh_0} = \pm 2c_0 }[/math]

where [math]\displaystyle{ c_0 = \sqrt{gh_0} }[/math] is the initial (linear) wave speed.

Therefore, if a [math]\displaystyle{ C_+ }[/math] and a [math]\displaystyle{ C_- }[/math] characteristic from this region intersect, then

[math]\displaystyle{ u + 2\sqrt{gh} = 2c_0 , \;\mathrm{and}\; u - 2\sqrt{gh} = -2c_0 }[/math]

and hence, [math]\displaystyle{ u = 0 }[/math] and [math]\displaystyle{ h = h_0 }[/math]. Moreover,

[math]\displaystyle{ \frac{\mathrm{d} X_\pm}{\mathrm{d} t} = u \pm \sqrt{gh} = \pm c_0 }[/math]

so these characteristics are straight lines in the region [math]\displaystyle{ \big\{x \lt -c_0 t \big\} }[/math] (the undisturbed region).

The [math]\displaystyle{ \;C_+ }[/math] characteristic leave the region a[math]\displaystyle{ \big\{x \lt -c_0 t \big\} }[/math] and enter [math]\displaystyle{ \big\{x \gt -c_0 t \big\} }[/math]. For now we will assume that these characteristics fill the domain (and show that this is true shortly). For [math]\displaystyle{ \big\{x \gt -c_0 t \big\} }[/math], the [math]\displaystyle{ C_- }[/math] characteristics are given by

[math]\displaystyle{ \frac{\mathrm{d} X_-}{\mathrm{d} t} = u - \sqrt{gh} }[/math]

and on each of the [math]\displaystyle{ C_- }[/math] characteristics [math]\displaystyle{ R_- = u - 2\sqrt{gh} }[/math] is constant. However, since this region is filled with [math]\displaystyle{ C_+ }[/math] characteristics where [math]\displaystyle{ R_+ = u + 2\sqrt{gh} = 2c_0 }[/math], [math]\displaystyle{ u }[/math] and [math]\displaystyle{ h }[/math] must be constant on each [math]\displaystyle{ C_- }[/math] characteristic. This also means that the [math]\displaystyle{ C_- }[/math] characteristics must be straight lines.

Since the fluid occupies [math]\displaystyle{ \big\{x \lt 0 \big\} }[/math] at [math]\displaystyle{ t = 0 }[/math], these [math]\displaystyle{ C_- }[/math] characteristics must start at the origin, with

[math]\displaystyle{ X_-(t) = \left(u - \sqrt{gh}\right)t }[/math]

which in turn implies that

[math]\displaystyle{ u - \sqrt{gh} = \frac{x}{t} }[/math]

We also have [math]\displaystyle{ R_+ = u + 2\sqrt{gh} = 2c_0 }[/math] from the [math]\displaystyle{ C_+ }[/math] characteristics. We can solve these equations at each point in [math]\displaystyle{ \big\{x \gt -c_0 t \big\} }[/math]. Solving for [math]\displaystyle{ u }[/math] and [math]\displaystyle{ h }[/math] gives

[math]\displaystyle{ h(x, t) = \begin{cases} \frac{h_0}{9}\left(2 - \frac{x}{c_0 t}\right)^2, \quad -c_0 t \lt x\lt 2 c_0 t,\\ h_0,\quad x \lt -c_0 t, \end{cases} }[/math]

[math]\displaystyle{ u(x, t) = \begin{cases} \frac{2}{3} \left (c_0 + \frac{x}{t} \right ), \quad -c_0 t \lt x\lt 2 c_0 t,\\ 0,\quad x \lt -c_0 t. \end{cases} }[/math]

Where we have assumed that, since [math]\displaystyle{ h = 0 }[/math] for [math]\displaystyle{ x = 2c_0 t, }[/math] the [math]\displaystyle{ C_+ }[/math] characteristic only exist in the region [math]\displaystyle{ \big\{x \lt 2c_0 t \big\} }[/math], We will verify this by explicitly calculating them.

It remains to determine the [math]\displaystyle{ C_+ }[/math] characteristic, which originated in [math]\displaystyle{ \big\{x \lt 0 \big\} }[/math], and show they will fill the domain [math]\displaystyle{ \big\{x \lt 2c_0 t \big\} }[/math]. For [math]\displaystyle{ \big\{x \lt -c_0 t \big\} }[/math], the [math]\displaystyle{ \;C_+ }[/math] characteristics are straight lines with slope [math]\displaystyle{ c_0 }[/math] and are given by

[math]\displaystyle{ X_+ (t) = -x_0 + c_0 t, \quad \left(x_0 \gt 0,\;\; t \lt \frac{x_0}{2c_0}\right) }[/math]

When [math]\displaystyle{ t = \frac{x_0}{2c_0},\;\;\ X_{+} (t) = -c_0 t }[/math] so that for

[math]\displaystyle{ t \gt \frac{x_0}{2c_0}, \quad \frac{\mathrm{d} X_{+} (t)}{\mathrm{d} t} = u + \sqrt{gh} }[/math]

and substituting the solution we found for [math]\displaystyle{ h }[/math] and [math]\displaystyle{ u }[/math]

[math]\displaystyle{ \frac{\mathrm{d}X_{+} (t)}{\mathrm{d} t} = \frac{4}{3}c_0 + \frac{X_{+} (t)}{3t} }[/math]

Solving this ODE subject to [math]\displaystyle{ X_+ \left(\frac{x_0}{2c_0}\right) = -\frac{x_0}{2} }[/math] gives

[math]\displaystyle{ X_+ (t) = 2c_0 t - 3\left(\frac{x_0}{2}\right)^{2/3}(c_0 t)^{1/3},\;\; }[/math]

the equation for a characteristic curve. The curves indeed fill the domain [math]\displaystyle{ \big\{x \lt 2c_0 t \big\} }[/math] and all satisfy [math]\displaystyle{ \big\{X_+ (t) \lt 2c_0 t \big\} }[/math]. To summarize, the [math]\displaystyle{ C^{+} }[/math] characteristics are given by

[math]\displaystyle{ X_+ (t) = \begin{cases} 2c_0 t - 3\left(\frac{x_0}{2}\right)^{2/3}(c_0 t)^{1/3},\quad t\gt x_0/2 c_0\\ -x_0 + c_0 t, \quad 0\ \lt t \lt x_0/2 c_0 \end{cases} }[/math]

Characteristics Surface elevation
Characteristics for the dam break problem, blue for [math]\displaystyle{ C_{+} }[/math] and red for [math]\displaystyle{ C_{-} }[/math]. The solid red lines show the curves [math]\displaystyle{ x=-c_0 t }[/math] and [math]\displaystyle{ x=2c_0 t }[/math] (note we have assumed here that [math]\displaystyle{ c_0 =1 }[/math]
Evolution of the fluid surface [math]\displaystyle{ h(x,t) }[/math] for the Dam Break problem

Shocks

For a unique solution two exist there must be a single [math]\displaystyle{ C_+ }[/math] and [math]\displaystyle{ C_- }[/math] characteristic through each point. When two characteristics of the same kind meet we have a shock forming.

Accelerating Piston

We now consider the problem of water initially at rest occupying the half space [math]\displaystyle{ x\gt 0 }[/math] which is initially at rest. At [math]\displaystyle{ t=0 }[/math] the piston at [math]\displaystyle{ x=0 }[/math] begins to move to the right with constant acceleration [math]\displaystyle{ a }[/math] so that the position of the piston is given by [math]\displaystyle{ \frac{1}{2}at^2 }[/math].

We assume that the [math]\displaystyle{ C_- }[/math] characteristics which originate in the water at [math]\displaystyle{ t=0 }[/math] fill the fluid. On these characteristics

[math]\displaystyle{ R_- = u - 2 c = -2c_0 \, }[/math]

and this condition must hold throughout the fluid. On the [math]\displaystyle{ C_+ }[/math] characteristics we know that [math]\displaystyle{ R_+ = u + 2 c }[/math] must be a constant and hence on the [math]\displaystyle{ C_+ }[/math] characteristics [math]\displaystyle{ u }[/math] and [math]\displaystyle{ c }[/math] must be constant and hence the [math]\displaystyle{ C_+ }[/math] characteristics must be straight lines. Note that this does not mean that the [math]\displaystyle{ C_+ }[/math] characteristics have the same slope and there is no requirement that the [math]\displaystyle{ C_- }[/math] characteristics are straight lines.

The [math]\displaystyle{ C_+ }[/math] characteristic originate from the fluid or from the front of the piston. We consider those which originate from the piston. The [math]\displaystyle{ C_+ }[/math] characteristic which originates from the piston at [math]\displaystyle{ t=t_0 }[/math] must satisfy

[math]\displaystyle{ u+2c = a t_0 + 2c_{\text{plate}} \, }[/math]

where [math]\displaystyle{ a t_0 }[/math] is the velocity of the piston at time [math]\displaystyle{ t=t_0 }[/math] and [math]\displaystyle{ c_{\text{plate}} }[/math] is the speed (related to height) at the plate. We know that [math]\displaystyle{ R_- = u - 2 c =-2c_0 }[/math] through out the fluid, so that if we solve this at the plate (where [math]\displaystyle{ u=at_0 }[/math] and [math]\displaystyle{ c=c_{\text{plate}} }[/math]) then we get

[math]\displaystyle{ c_{\text{plate}} = at_0/2 + c_0\, }[/math]

On the [math]\displaystyle{ C_+ }[/math] characteristics [math]\displaystyle{ u }[/math] and [math]\displaystyle{ c }[/math] are constant and therefore

[math]\displaystyle{ \frac{\mathrm{d}X_+}{\mathrm{d}t} = u+c = at_0 + \left( \frac{1}{2}at_0 + c_0 \right) }[/math]

Hence

[math]\displaystyle{ X_+(t,t_0) = \left( \frac{3}{2} a t_0 + c_0 \right) t - c_0 t_0 -a t_0^2 }[/math]

using the condition [math]\displaystyle{ X_+(t_0,t_0) = \frac{1}{2} a t_0^2 }[/math] (the initial value which comes from the position of the piston at [math]\displaystyle{ t=t_0 }[/math]). The slope of these lines increases and eventually meet to form a shock. We find this point of intersection by considering neighboring characteristics and determining when they first intersect.

[math]\displaystyle{ X_+(t,t_0 + \Delta t) = X_+(t,t_0) + \Delta t \frac{\partial X_+}{\partial t_0} (t,t_0) = X_+(t,t_0) }[/math]

It follows that neighbouring characteristics will meet when

[math]\displaystyle{ \frac{\partial X_+}{\partial t_0} (t,t_0) = 0 }[/math]

which implies that

[math]\displaystyle{ t = \frac{2c_0}{3a} + \frac{4}{3}t_0 }[/math]

The first time that a shock forms is the minimum value of this equation. For this piston example, this occurs when [math]\displaystyle{ t_0 = 0 }[/math] and the value of [math]\displaystyle{ t }[/math] is [math]\displaystyle{ t = 2c_0/(3a) }[/math]. At this point a shock is formed and we can no longer find a unique solution by following the characteristics.


Characteristics Surface elevation
[math]\displaystyle{ C_{+} }[/math] characteristics for the accelerating piston, red undisturbed, blue from the piston and the green line shows the transition.
Evolution of the fluid surface [math]\displaystyle{ h(x,t) }[/math] for the accelerating piston.

Piston Moving with Constant Velocity

This example is also known as the Moving Wall Problem, and is connected to Shallow Water Bores.

We consider the case of a piston, with positive constant velocity [math]\displaystyle{ V }[/math] (which is initially at [math]\displaystyle{ x=0 }[/math]), advancing into a semi-infinite expanse of fluid that is initially at rest with depth [math]\displaystyle{ h_0 }[/math].

The [math]\displaystyle{ C_+ }[/math] characteristics which originate in the fluid at [math]\displaystyle{ t=0 }[/math] have slope

[math]\displaystyle{ \frac{\mathrm{d} X_+}{\mathrm{d}t} = \sqrt{gh_0} }[/math]

and the [math]\displaystyle{ C_+ }[/math] characteristic which originate at the piston at [math]\displaystyle{ t=0 }[/math] must satisfy

[math]\displaystyle{ \frac{\mathrm{d} X_+}{\mathrm{d}t} = \sqrt{gh_0} + \frac{3}{2} V }[/math]

so that these two characteristics will intersect at [math]\displaystyle{ t=0 }[/math]. Therefore a shock forms immediately and we can track this by determining the speed of the shock

Speed of the shock

We need the conservation equations in integral form to determine the speed of the shock. Conservation of mass, written as an integral is

[math]\displaystyle{ \partial_t \int_{x_1}^{x_2} \rho h \mathrm{d}x + \left. \rho u h \right|_{x_2}^{x_1} =0 }[/math]

If the shock is located at [math]\displaystyle{ s(t) }[/math] which we assume is located between [math]\displaystyle{ x_1 }[/math] and [math]\displaystyle{ x_2 }[/math], then

[math]\displaystyle{ \partial_t \int_{x_1}^{x_2} h \mathrm{d}x = \partial_t \left( \int_{x_1}^{s(t)} + \int_{s(t)}^{x_2} \right) h \mathrm{d}x = \left( \int_{x_1}^{s(t)} + \int_{s(t)}^{x_2} \right) \partial_t h \mathrm{d}x + h^{+} \partial_t s(t) - h^{-}\partial_t s(t), }[/math]

where [math]\displaystyle{ h^+ }[/math] is the height on the right (positive) side of the jump and [math]\displaystyle{ h^- }[/math] is the height on the left (negative) side. If we take the limit as [math]\displaystyle{ x_1\to x_2 }[/math] we then obtain the following identity

[math]\displaystyle{ h^{+}\partial_t s(t) - h^{-}\partial_t s(t) - u^{+} h^{+} + u^{-} h^{-} = 0 }[/math]

where [math]\displaystyle{ u^+ }[/math] is the height on the right (positive) side of the jump and [math]\displaystyle{ u^- }[/math] is the height on the left (negative) side.

We now need to consider the equation for conservation of momentum. In integral form this is

[math]\displaystyle{ \partial_t \int_{x_1}^{x_2} \rho h u \mathrm{d}x = \left. \rho u^2 h \right|_{x_1}^{x_2} + \int_0^{h(x_1)} P(x_1,z,t) \mathrm{d}z - \int_0^{h(x_2)} P(x_2,z,t) \mathrm{d}z }[/math]

where the pressure [math]\displaystyle{ P }[/math] is given by

[math]\displaystyle{ P = \rho g \left(h - z\right) }[/math]

(i.e. we have hydrostatic equilibrium). We can apply a similar argument as before to obtain

[math]\displaystyle{ h^{+}u^{+}\partial_t s(t) - h^{-}u^{-}\partial_t s(t) = \left(u^{+}\right)^2 h^{+} - \left(u^{-}\right)^2 h^{-} + \frac{1}{2} g \left(h^{+}\right)^2 - \frac{1}{2} g \left(h^{-}\right)^2 }[/math]

Hydraulic Jump

For a hydraulic jump, [math]\displaystyle{ \dot{s}(t) = 0 }[/math], which means that we must solve

[math]\displaystyle{ u^{+} h^{+} - u^{-} h^{-} = 0 \, }[/math]

[math]\displaystyle{ \left(u^{+}\right)^2 h^{+} - \left(u^{-}\right)^2 h^{-} + \frac{1}{2} g \left(h^{+}\right)^2 - \frac{1}{2} g \left(h^{-}\right)^2 =0 }[/math]

If we introduce the variables

[math]\displaystyle{ H = \frac{h^{+}}{h^{-}} }[/math]

and

[math]\displaystyle{ \mathrm{Fr} = \frac{u^{-}}{\sqrt{gh^{-}}} }[/math]

where [math]\displaystyle{ \mathrm{Fr} }[/math] is the Froude number which is equivalent to the Mach number for gas dynamics. Then we obtain

[math]\displaystyle{ H^2 -1 = 2 \mathrm{Fr}^2 \left(1 - \frac{1}{H}\right) }[/math]

This expression has the roots

[math]\displaystyle{ H=1, \quad H=\frac{1}{2}\left(-1\pm\sqrt{1 + 8 \mathrm{Fr}^2}\right) }[/math]

The only physically meaningful solution is the root which satisfies [math]\displaystyle{ H\gt 1 }[/math]. This is only true providing [math]\displaystyle{ \mathrm{Fr} \gt 1 }[/math], which means that we can only obtain a hydraulic jump if the flow is supercritical.

Below is a video of a hydraulic jump. You can clearly see the point where the flow is changing from supercritical to subcritical (look for the small turbulent region in the channel)

Shallow Water Bore

We now consider a bore, in which the shock wave advances into still water. We denote the fluid speed by [math]\displaystyle{ V = u^{-} }[/math]. We denote the height on the wall side by [math]\displaystyle{ h_1 }[/math] and the height on the other side must be [math]\displaystyle{ h_0 }[/math], i.e. [math]\displaystyle{ h^{+} = h_0 }[/math], [math]\displaystyle{ h^{-} = h_1 }[/math], [math]\displaystyle{ u^{+} = 0 }[/math]. This means that

[math]\displaystyle{ h_{0}\partial_t s(t) - h_{1}\partial_t s(t) + V h_{1}= 0 }[/math]

and

[math]\displaystyle{ - h_{1}V\partial_t s(t) = - \left(V\right)^2 h_{1} + \frac{1}{2} g \left(h_{0}\right)^2 - \frac{1}{2} g \left(h_{1}\right)^2 }[/math]

which can be solved to obtain the shock speed and the height of the moving fluid.

Below is a video of surfing on the Severn bore, do not believe everything they say. You might also want to check out the Pororoca a tidal bore on the Amazon.

Lecture Videos

Part 1

Part 2

Part 3

Part 4

Part 5

Part 6

Part 7