Difference between revisions of "Conservation Laws and Boundary Conditions"

From WikiWaves
Jump to navigationJump to search
Line 89: Line 89:
 
[[Image:Free_surface.jpg|right|thumb|500px|Figure]]
 
[[Image:Free_surface.jpg|right|thumb|500px|Figure]]
  
A very important result is the boundary condition at the free surface of the fluid and air. There are two conditions which relate the free surface displacement <math>\zeta(x,y,t)</math> and the velocity potential <math>\Phi(x,y,z)</math> at the free surface. The dynamic condition is derived from the Bernoulli's equation and the kinematic condition is derived from the equations linking the fact that the velocity vector at the surface is given by the gradient of the potential. We will present two methods to derive these equations.  
+
A very important result is the boundary condition at the free surface of the fluid and air. There are two conditions which relate the free surface displacement <math>\zeta(x,y,t)</math> and the velocity potential <math>\Phi(x,y,z,t)</math> at the free surface. The dynamic condition is derived from the Bernoulli's equation and the kinematic condition is derived from the equations linking the fact that the velocity vector at the surface is given by the gradient of the potential. We will present two methods to derive these equations.  
  
 
== Method I ==
 
== Method I ==
Line 96: Line 96:
 
On <math> z=\zeta; \ P=P_a \equiv \mbox{Atmospheric Pressure} </math>.
 
On <math> z=\zeta; \ P=P_a \equiv \mbox{Atmospheric Pressure} </math>.
 
This allows us to rewrite Bernoulli's equation as
 
This allows us to rewrite Bernoulli's equation as
<center><math> \frac{P_a}{\rho}=-\frac{\partial\Phi}{\partial t}-\frac{1}{2}\nabla\Phi\cdot\nabla\Phi-g\zeta+\mathbb{C} \qquad \mbox{on} \ Z=\zeta(x,y,t) </math></center>
+
<center><math> \frac{P_a}{\rho}=-\frac{\partial\Phi}{\partial t}-\frac{1}{2}\nabla\Phi\cdot\nabla\Phi-g\zeta+\mathbb{C} \qquad \mbox{on} \ z=\zeta(x,y,t) </math></center>
 
We will simplify this equation by showing that we are free to set the pressure to any value.   
 
We will simplify this equation by showing that we are free to set the pressure to any value.   
  
Line 105: Line 105:
 
is always zero when tracing a fluid particle on the free surface. So the [http://en.wikipedia.org/wiki/Total_derivative substantial or total derivative] of <math>\tilde{f}</math> must vanish, thus
 
is always zero when tracing a fluid particle on the free surface. So the [http://en.wikipedia.org/wiki/Total_derivative substantial or total derivative] of <math>\tilde{f}</math> must vanish, thus
  
<center><math> \frac{D\tilde{f}}{Dt}=0=\left ( \frac{\partial}{\partial t} + \vec V \cdot \nabla \right ) \tilde{f}=0, \qquad \mbox{on} \ z=\zeta </math></center>
+
<center><math> \frac{D\tilde{f}}{Dt}=0=\left ( \frac{\partial}{\partial t} + \mathbf{v} \cdot \nabla \right ) \tilde{f}=0, \qquad \mbox{on} \ z=\zeta </math></center>
  
 
Expanding we obtain:
 
Expanding we obtain:
<center><math> \left (\frac{\partial}{\partial t} + \vec V \cdot \nabla \right ) (z-\zeta) =0, \qquad \mbox{on} \ z=\zeta </math></center>
+
<center><math> \left (\frac{\partial}{\partial t} + \mathbf{v} \cdot \nabla \right ) (z-\zeta) =0, \qquad \mbox{on} \ z=\zeta </math></center>
 
which in turn implies that  
 
which in turn implies that  
 
<center><math> \frac{\partial\zeta}{\partial t}+\frac{\partial\Phi}{\partial x} \frac{\partial\zeta}{\partial x}+\frac{\partial\Phi}{\partial y}\frac{\partial\zeta}{\partial y}=\frac{\partial\Phi}{\partial z}, \ z=\zeta </math></center>
 
<center><math> \frac{\partial\zeta}{\partial t}+\frac{\partial\Phi}{\partial x} \frac{\partial\zeta}{\partial x}+\frac{\partial\Phi}{\partial y}\frac{\partial\zeta}{\partial y}=\frac{\partial\Phi}{\partial z}, \ z=\zeta </math></center>
Line 123: Line 123:
 
We need to use the following theorems often called [http://en.wikipedia.org/wiki/Gauss_theorem Gauss theorem] although more properly known as the divergence theorem.
 
We need to use the following theorems often called [http://en.wikipedia.org/wiki/Gauss_theorem Gauss theorem] although more properly known as the divergence theorem.
 
We begin with the vector version. If
 
We begin with the vector version. If
<math> \vec n </math> is the unit normal vector pointing inside the volume <math> V </math> and
+
<math> \mathbf{n} </math> is the unit normal vector pointing inside the volume <math> V </math> and
 
<math> f(\bar{x})</math> is an arbitrary sufficiently differentiable scalar function, then
 
<math> f(\bar{x})</math> is an arbitrary sufficiently differentiable scalar function, then
 
<center>
 
<center>
<math> \iiint_{V} \nabla f dv = -\iint_{S} f_{s} \vec n ds </math>
+
<math> \iiint_{V} \nabla f dv = -\iint_{S} f_{s} \mathbf{n} ds </math>
 
</center>
 
</center>
  
Line 135: Line 135:
  
 
The scalar version is as follows where  
 
The scalar version is as follows where  
<math> \vec{V}</math> is an arbitrary sufficiently differentiable vector function
+
<math> \mathbf{v}</math> is an arbitrary sufficiently differentiable vector function
 
<center>
 
<center>
<math> \iiint_{\bar{V}} \nabla \cdot \vec V = - \iint_{s} \vec V \cdot \vec n ds </math></center>
+
<math> \iiint_{\bar{V}} \nabla \cdot \mathbf{v} = - \iint_{s} \mathbf{v} \cdot \vec n ds </math></center>
 
The scalar identity is often used to prove mass conservation principle.
 
The scalar identity is often used to prove mass conservation principle.
  

Revision as of 08:45, 16 February 2009

Wave and Wave Body Interactions
Current Chapter Conservation Laws and Boundary Conditions
Next Chapter Linear and Second-Order Wave Theory
Previous Chapter


We begin by deriving the equations of motion used to model ocean waves. The equations of motion of a general fluid are given by the celebrated Navier Stokes equations. However, for the large scale processes that occur in ocean waves many simplifications are possible.

Coordinate System

Coordinate System

We begin by defining the coordinate system.

[math]\displaystyle{ \begin{matrix} &(x,y,z) &: &\mbox{Coordinate system} \\ &\mathbf{x} &: &\mbox{Fixed Eulerian Vector} \\ & \mathbf{v} &: &\mbox{Flow Velocity Vector at} \ \mathbf{x} \\ &\zeta &: &\mbox{Free Surface Elevation} \\ &\mathbf{g} &: &\mbox{Acceleration due to gravity} \end{matrix} }[/math]

At the moment we have not yet defined the region of space which is occupied by the fluid. However, the free surface plays a very important role in the propagation of ocean waves. The most important assumption we make is that the fluid is an ideal fluid. This means that there are no shear stresses due to viscosity and that the flow is irrotational. This means that

[math]\displaystyle{ \nabla \times \mathbf{v} = 0 }[/math]

We now introduce the very important concept of the velocity potential. Essentially this allows us to express the solution as a function of a scalar (a function which has a single value as opposed to a vector function which has multiple values) rather than a vector through out the fluid domain. There is an important theorem in vector calculus [1] that if [math]\displaystyle{ \nabla \times \mathbf{v} = 0 }[/math] then we can express the irrotational vector as the gradiant of a scalar function, i.e.

[math]\displaystyle{ \mathbf{v} = \nabla \Phi }[/math]

where [math]\displaystyle{ \Phi(\mathbf{x},t) }[/math] is called the velocity potential.

It turns out that the potential flow model of surface wave propagation and wave-body interactions is very accurate for the kind of length and time scales which are important in the ocean. It is important to realise, however, that we have made considerable simplifications and that certain processes, most notably wave breaking, are in no way covered by this theory. In fact, the process of wave breaking is extremely complicated and is much less well understood that the potential flow model.

Conservation of mass

The key equation we will solve to understand ocean waves is Laplace's equation which is derived very simply from the expression for the velocity potential. We assume that the fluid is incompressible so that conservation of mass gives us the following condition

[math]\displaystyle{ \nabla \cdot \mathbf{v} = 0 }[/math]

This condition in turn implies, using the definition of the velocity potential that

[math]\displaystyle{ \nabla \cdot \nabla \Phi = 0 \Rightarrow \nabla^2 \Phi = 0 }[/math]

or

[math]\displaystyle{ \frac{\partial^2 \Phi}{\partial x^2} + \frac{\partial^2\Phi}{\partial y^2} + \frac{\partial^2\Phi}{\partial z^2} = 0, }[/math]

which is Laplace's equation.

Conservation of linear momentum

We begin with Euler's equation in the absence of viscosity

[math]\displaystyle{ \frac{\partial \mathbf{v}{\partial t}} + (\mathbf{v}\cdot \nabla)\mathbf{v}= - \frac1{\rho} \nabla P + \mathbf{g} }[/math]

where [math]\displaystyle{ P(\mathbf{v}, t) }[/math] is the fluid Pressure at [math]\displaystyle{ (\mathbf{v}, t) }[/math] and [math]\displaystyle{ \mathbf{g}= - \mathbf{k} g }[/math] is the acceleration due to gravity where [math]\displaystyle{ \mathbf{k} }[/math] is the unit vector pointing in the positive [math]\displaystyle{ z }[/math]-direction (so we are now setting the [math]\displaystyle{ z }[/math] coordinate to point in the vertical direction). Finally [math]\displaystyle{ \rho }[/math] is the water density.

We then use the following vector identity

[math]\displaystyle{ (\mathbf{v} \cdot \nabla) \mathbf{v} = \frac 1{2} \nabla (\mathbf{v} \cdot \mathbf{v}) - \mathbf{v}\times ( \nabla \times \mathbf{v}) }[/math]

and since we have irrotational flow (i.e. [math]\displaystyle{ \nabla \times \mathbf{v}= 0 }[/math]) Euler's equation becomes

[math]\displaystyle{ \frac{\partial \mathbf{v}}{\partial t} + \frac 1{2} \nabla (\mathbf{v} \cdot \mathbf{v}) = - \frac 1{\rho} \nabla P - \nabla (g z) }[/math]

where we have used [math]\displaystyle{ \nabla z = \mathbf{k} }[/math]. We now substitute [math]\displaystyle{ \mathbf{v}= \nabla \Phi }[/math] and we obtain

[math]\displaystyle{ \nabla (\frac{\partial \Phi}{\partial t} + \frac{1}{2} \nabla \Phi \cdot \nabla \Phi + \frac {P}{\rho} + g z ) = 0. }[/math]

We now observe that if

[math]\displaystyle{ \nabla F( \mathbf{x}, t) =0 \quad \Longrightarrow \quad F (\mathbf{x}, t) = C }[/math]

where [math]\displaystyle{ C }[/math] is an arbitrary constant.

Bernoulli's equation

Bernoulli's equation follows from the equation above.

[math]\displaystyle{ \frac{\partial \Phi}{\partial t} + \frac 1{2} \nabla \Phi \cdot \nabla \Phi + \frac {P}{\rho} + g z = C }[/math]

or

[math]\displaystyle{ \frac{P}{\rho} = - \frac{\partial\Phi}{\partial t}-\frac{1}{2}\nabla\Phi \cdot \nabla \Phi - g z + C }[/math]

The value of the constant [math]\displaystyle{ C }[/math] is immaterial (it can be thought of as defining the reference pressure. It is also worth noting that the angular momentum conservation principle is contained in [math]\displaystyle{ \nabla \times \mathbf{v} = 0. }[/math] In particular, if the particles are modelled as spheres, this equation implies no angular velocity at all times.

Derivation of Nonlinear Free-surface Condition

Figure

A very important result is the boundary condition at the free surface of the fluid and air. There are two conditions which relate the free surface displacement [math]\displaystyle{ \zeta(x,y,t) }[/math] and the velocity potential [math]\displaystyle{ \Phi(x,y,z,t) }[/math] at the free surface. The dynamic condition is derived from the Bernoulli's equation and the kinematic condition is derived from the equations linking the fact that the velocity vector at the surface is given by the gradient of the potential. We will present two methods to derive these equations.

Method I

We derive the dynamic condition directly from Bernoulli's equation. On [math]\displaystyle{ z=\zeta; \ P=P_a \equiv \mbox{Atmospheric Pressure} }[/math]. This allows us to rewrite Bernoulli's equation as

[math]\displaystyle{ \frac{P_a}{\rho}=-\frac{\partial\Phi}{\partial t}-\frac{1}{2}\nabla\Phi\cdot\nabla\Phi-g\zeta+\mathbb{C} \qquad \mbox{on} \ z=\zeta(x,y,t) }[/math]

We will simplify this equation by showing that we are free to set the pressure to any value.

The kinematic condition is derived as follows. On [math]\displaystyle{ z=\zeta }[/math] The mathematical function

[math]\displaystyle{ z-\zeta(x,y,t)\equiv\tilde{f}(x,y,z,t) }[/math]

is always zero when tracing a fluid particle on the free surface. So the substantial or total derivative of [math]\displaystyle{ \tilde{f} }[/math] must vanish, thus

[math]\displaystyle{ \frac{D\tilde{f}}{Dt}=0=\left ( \frac{\partial}{\partial t} + \mathbf{v} \cdot \nabla \right ) \tilde{f}=0, \qquad \mbox{on} \ z=\zeta }[/math]

Expanding we obtain:

[math]\displaystyle{ \left (\frac{\partial}{\partial t} + \mathbf{v} \cdot \nabla \right ) (z-\zeta) =0, \qquad \mbox{on} \ z=\zeta }[/math]

which in turn implies that

[math]\displaystyle{ \frac{\partial\zeta}{\partial t}+\frac{\partial\Phi}{\partial x} \frac{\partial\zeta}{\partial x}+\frac{\partial\Phi}{\partial y}\frac{\partial\zeta}{\partial y}=\frac{\partial\Phi}{\partial z}, \ z=\zeta }[/math]

which is the Kinematic free-surface condition.

We have already derived the dynamic condtion from Bernoulli's equation

[math]\displaystyle{ \frac{\partial\Phi}{\partial t} + \frac{1}{2} \nabla \Phi \cdot \nabla \Phi + g \zeta = \mathbb{C} - \frac{P_a}{\rho}, \ z=\zeta }[/math]

Constants in Bernoulli's equation may be set equal to zero when we are eventually interested in integrating pressures over closed or open boundaries (floating or submerged bodies) to obtain forces & moments. This follows from a simple application of one of the two Gauss vector theorems.

Gauss theorem

We need to use the following theorems often called Gauss theorem although more properly known as the divergence theorem. We begin with the vector version. If [math]\displaystyle{ \mathbf{n} }[/math] is the unit normal vector pointing inside the volume [math]\displaystyle{ V }[/math] and [math]\displaystyle{ f(\bar{x}) }[/math] is an arbitrary sufficiently differentiable scalar function, then

[math]\displaystyle{ \iiint_{V} \nabla f dv = -\iint_{S} f_{s} \mathbf{n} ds }[/math]

Note the three scalar identities that follow:

[math]\displaystyle{ \iiint_{{V}} \frac{\partial f}{\partial x} dv = - \iint_{S} f n_1 ds }[/math]


[math]\displaystyle{ \iiint_{{V}} \frac{\partial f}{\partial y} dv = - \iint_{S} f n_2 ds }[/math]


[math]\displaystyle{ \iiint_{{V}} \frac{\partial f}{\partial z} dv = - \iint_{S} f n_3 ds }[/math]

The scalar version is as follows where [math]\displaystyle{ \mathbf{v} }[/math] is an arbitrary sufficiently differentiable vector function

[math]\displaystyle{ \iiint_{\bar{V}} \nabla \cdot \mathbf{v} = - \iint_{s} \mathbf{v} \cdot \vec n ds }[/math]

The scalar identity is often used to prove mass conservation principle.

Definition of force and moment in terms of fluid pressure.

Force coordinates

The force [math]\displaystyle{ \vec{F} }[/math] is given by

[math]\displaystyle{ \vec{F} = \iint_{S} P\vec{n}ds }[/math]

where [math]\displaystyle{ P }[/math] is the pressure and the moment [math]\displaystyle{ \vec{M} }[/math] is given by

[math]\displaystyle{ \vec{F} = \iint_{S} P(\vec{x}\times\vec{n})ds }[/math]

It follows from the Gauss theorem that if [math]\displaystyle{ \rho = C }[/math] the force and moment over a closed boundary S vanish identically. Hence without loss of generality in the context of wave body interactions we will set [math]\displaystyle{ C=0 }[/math]. It follows that the dynamic free surface condition takes the form

[math]\displaystyle{ \zeta (x,y,t) = - \frac{1}{g} \left \{ \frac{\partial\Phi}{\partial t} + \frac{1}{2} \nabla\Phi \cdot \nabla\Phi \right \}, \qquad z=\zeta }[/math]

Method II

When tracing a fluid particle on the free surface the hydrodynamic pressure given by Bernoulli (after the constant [math]\displaystyle{ C }[/math] has been set equal to zero) must vanish as we follow the particle:

[math]\displaystyle{ \frac{D}{Dt} \left \{ \frac{\partial\Phi}{\partial t} + \frac{1}{2} \nabla\Phi \cdot \nabla\Phi+gz \right \} =0, \qquad z=\zeta }[/math]

or

[math]\displaystyle{ \left ( \frac{\partial}{\partial t} + \vec V \cdot \nabla \right ) \left ( \frac{\partial\Phi}{\partial t} + \frac{1}{2} \nabla\Phi \cdot \nabla\Phi +gz \right ) =0, \qquad z=\zeta }[/math]

This condition also follows upon elimination of [math]\displaystyle{ \zeta }[/math] from the kinematic & dynamic conditions derived under method I.


This article is based on the MIT open course notes and the original article can be found here