<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.wikiwaves.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Len</id>
	<title>WikiWaves - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.wikiwaves.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Len"/>
	<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php/Special:Contributions/Len"/>
	<updated>2026-04-17T21:30:08Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Linear_Wave-Body_Interaction&amp;diff=6331</id>
		<title>Linear Wave-Body Interaction</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Linear_Wave-Body_Interaction&amp;diff=6331"/>
		<updated>2008-04-07T16:48:46Z</updated>

		<summary type="html">&lt;p&gt;Len: typo fix&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction =&lt;br /&gt;
&lt;br /&gt;
We derive here the equations of motion for a floating body in [[Linear Plane Progressive Regular Waves]] in two dimensions.&lt;br /&gt;
&lt;br /&gt;
= Linear wave-body interactions = &lt;br /&gt;
&lt;br /&gt;
[[Image:Rigid_body.jpg|thumb|right|600px|Rigid body motions]]&lt;br /&gt;
&lt;br /&gt;
Consider a [[Linear Plane Progressive Regular Waves|Linear Plane Progressive Regular Wave]] interacting with a floating body in two dimensions (the main concepts survive almost with no change in the more practical three-dimensional problem). We begin by defining the following,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \zeta(t): \quad \mbox{ambient wave elevation. Regular or random with definitions to be given below}. \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \xi_1(t): \quad \mbox{Body surge displacement} \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \xi_3(t): \quad \mbox{Body heave displacement} \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \xi_4(t): \quad \mbox{Body roll displacement} \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the surge, heave and roll are the three [http://en.wikipedia.org/wiki/Rigid_body_dynamics rigid body] motions which are possible in two dimensions.&lt;br /&gt;
&lt;br /&gt;
= Linear theory = &lt;br /&gt;
&lt;br /&gt;
We assume that we can apply linear theory to the motions, which are an extension of the [[Linear and Second-Order Wave Theory| linear equations]] for a free-surface. We assume that&lt;br /&gt;
 &amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \left| \frac{\partial\zeta}{\partial x} \right| = O(\varepsilon) \ll 1 \, &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This is an assumption of small wave steepness which is a reasonable assumption for gravity waves in most cases, except when waves are near breaking conditions. Further more we assume &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \left| \frac{\xi_1}{A} \right| = O(\varepsilon) \ll 1 \, &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \left| \frac{\xi_3}{A} \right| = O(\varepsilon) \ll 1 \, &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \left| \xi_4 \right| = O(\varepsilon) \ll 1 \, &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
These assumptions are valid in most cases and most bodies of practical interest, unless the vessel response at resonance is highly tuned or lightly damped. This is often the case for roll when a small amplitude wave interacts with a vessel weakly damped in roll.&lt;br /&gt;
&lt;br /&gt;
= Linear Systems theory =&lt;br /&gt;
&lt;br /&gt;
[[Image:Linear_systems_theory.jpg|thumb|right|600px|Linear systems theory]]&lt;br /&gt;
&lt;br /&gt;
The vessel dynamic responses in waves may be modelled according to linear system theory. By virtue of linearity, a random seastate may be represented as the linear super position of [[Linear Plane Progressive Regular Waves]] (see [[Waves and the Concept of a Wave Spectrum]])&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \zeta(x,t) = \sum_j A_j \cos ( K_j x - \omega_j t + \epsilon_j ) \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where in deep water: &amp;lt;math&amp;gt; K_j = \frac{\omega_j^2}{g} \,&amp;lt;/math&amp;gt;. Note that the sum here can be replace by an integral in many formulations. According to the theory of St. Denis and Pierson, the phases &amp;lt;math&amp;gt; \epsilon\, &amp;lt;/math&amp;gt;, are random and uniformly distributed between &amp;lt;math&amp;gt; ( - \pi, \pi ] \, &amp;lt;/math&amp;gt;. For now we assume them known constants:&lt;br /&gt;
&lt;br /&gt;
At &amp;lt;math&amp;gt; X=0\,&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \zeta(t) = \sum_j A_j \cos ( \omega_j t - \epsilon_j ) \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; = \mathfrak{Re} \sum_j A_j e^{i\omega_j t - i \epsilon_j} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The corresponding vessel responses follow from linearity in the form:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \xi_K (t) = \mathfrak{Re} \sum_j \Pi_K (\omega_j) e^{i\omega_j t - i\epsilon_j}, &lt;br /&gt;
&lt;br /&gt;
\qquad K = 1, 3, 4 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt; \Pi_K (\omega) \, &amp;lt;/math&amp;gt; is the complex RAO ([[Response Amplitude Operator]]) for mode &amp;lt;math&amp;gt; K\,&amp;lt;/math&amp;gt;. It is the object of linear seakeeping theory to derive equations for &amp;lt;math&amp;gt;\Pi\omega)\,&amp;lt;/math&amp;gt; the frequency domain. The treatment in the stochastic case is then a simple exercise in linear systems.&lt;br /&gt;
&lt;br /&gt;
= Calculation of the RAO =&lt;br /&gt;
&lt;br /&gt;
The equations of motion for &amp;lt;math&amp;gt; \xi_K(t)\,&amp;lt;/math&amp;gt; follow from Newton&#039;s law applied to each mode in two dimensions. The same principles apply with very minor changes in three dimensions&lt;br /&gt;
&lt;br /&gt;
We begin by considering the equation in surge. &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathbf{M} \frac{d^2\xi_1}{dt^2} = F_{1\omega} ( \xi_1, \dot\xi_1, \ddot\xi_1, t) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt; \frac{d\xi_1}{dt} = \dot\xi_1 \, &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; F_{1\omega} \, &amp;lt;/math&amp;gt; is the force on the body due to the fluid pressures, by virtue of linearity, &amp;lt;math&amp;gt; F_{1\omega} \,&amp;lt;/math&amp;gt; will be assumed to be a linear functional of &amp;lt;math&amp;gt; \xi_1, \dot\xi_1, \ddot\xi_1 \, &amp;lt;/math&amp;gt;. [[Memory effects]] exist when surface waves are generated on the free surface, so &amp;lt;math&amp;gt; F_{1\omega} \,&amp;lt;/math&amp;gt; depends in principle on the entire history of the vessel displacement. We adopt here the [[Frequency Domain Problem|frequency domain]] formulation where the vessel motion has been going on over an infinite time interval, &amp;lt;math&amp;gt; (-\infty, t)\,&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt; e^{i\omega t}\,&amp;lt;/math&amp;gt; dependence.&lt;br /&gt;
&lt;br /&gt;
We will therefore set:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \xi_K(t) = \mathfrak{Re} \left\{ \Pi_K e^{i\omega t} \right\}, \qquad K=1,3,4 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
In this case we can linearize the water induced force on the body as follows:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F_{1\omega}(t) = X_1(t) - A_{11} \ddot \xi_1 - A_{13} \ddot \xi_3 - A_{14} \ddot \xi_4 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; - B_{11} \dot \xi_1 - B_{13} \dot \xi_3 - B_{14} \dot \xi_4 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; - C_{11} \xi_1 - C_{13} \xi_3 - C_{14} \xi_4 \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; = X_1(t) - \sum_j \left[ A_{1j} \ddot \xi_j + B_{1j} \dot \xi_j + C_{1j} \xi_j \right] &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The same expansion applies for other modes, namely Heave (&amp;lt;math&amp;gt; K = 3 \, &amp;lt;/math&amp;gt;) and Roll (&amp;lt;math&amp;gt; K=4 \, &amp;lt;/math&amp;gt;). In sum:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F_{K\omega} (t) = X_K - \sum_j \left[ A_{Kj} \ddot \xi_j + B_{Kj} \dot \xi_j + C_{Kj} \xi_j \right], \qquad K = 1,3,4 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The added-mass matrix &amp;lt;math&amp;gt; A_{Kj} \,&amp;lt;/math&amp;gt; represents the added inertia due to the acceleration of the body in water with acceleration &amp;lt;math&amp;gt;\ddot\xi_j\,&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
* The damping matrix &amp;lt;math&amp;gt; B_{Kj}\,&amp;lt;/math&amp;gt; governs the energy dissipation into the fluid domain in the form of surface waves.&lt;br /&gt;
&lt;br /&gt;
* The hydrostatic restoring matrix &amp;lt;math&amp;gt; C_{Kj} \, &amp;lt;/math&amp;gt; represents the system stifness due to the hydrostatic restoring forces and moments.&lt;br /&gt;
&lt;br /&gt;
For harmonic motions, the matrices &amp;lt;math&amp;gt; A_{Kj} \, &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; B_{Kj} \, &amp;lt;/math&amp;gt; are functions of &amp;lt;math&amp;gt; \omega\,&amp;lt;/math&amp;gt;, so we write &amp;lt;math&amp;gt; A_{Kj} (\omega), \ B_{Kj} (\omega)\, &amp;lt;/math&amp;gt;. This functional form will be discussed below. The hydrostatic matrix &amp;lt;math&amp;gt; C_{Kj} \, &amp;lt;/math&amp;gt; is independent of &amp;lt;math&amp;gt;\omega\,&amp;lt;/math&amp;gt; and many of its elements are identically equal to zero. Collecting terms in the left-hand side and denoting by &amp;lt;math&amp;gt; M_{Kj}\,&amp;lt;/math&amp;gt; the body inertia matrix:&lt;br /&gt;
&lt;br /&gt;
== Surge ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \sum_j \left[ -\omega^2 \left( M_{1j} + A_{1j} \right) + i\omega B_{1j} + C_{1j} \right] \Pi_j = \mathbf{X}_1 (\omega), \quad j=1,3,4 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Heave ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \sum_j \left[ -\omega^2 \left( M_{3j} + A_{3j} \right) + i\omega B_{3j} + C_{3j} \right] \Pi_j = \mathbf{X}_3 (\omega), \quad j=1,3,4 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Roll ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \sum_j \left[ -\omega^2 \left( I_G + A_{4j} \right) + i\omega B_{4j} + C_{4j} \right] \Pi_j = \mathbf{X}_4 (\omega)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The extension of these equations to six degrees of freedom is straightforward. However before discussing the general case we will study specific properties of the 2D Problem for the sake of clarity.&lt;br /&gt;
&lt;br /&gt;
= Symmetric body =&lt;br /&gt;
&lt;br /&gt;
Consider a body symmetric about the &amp;lt;math&amp;gt; X = 0\,&amp;lt;/math&amp;gt; axis.&lt;br /&gt;
&lt;br /&gt;
[[Image:Symmetric.jpg|thumb|right|600px|Symmetric body]]&lt;br /&gt;
&lt;br /&gt;
For a body symmetric port/starboard:&lt;br /&gt;
&lt;br /&gt;
* Verify that Heave is decoupled from Surge and Roll. In other words the Surge and Roll motions do not influence Heave and vice versa:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \left[ -\omega^2 \left( M + A_{33} \right) + i\omega B_{33} + C_{33} \right] \Pi_3 = A &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The only nonzero hydrostatic coefficients are &amp;lt;math&amp;gt; C_{33} \, &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; C_{44} \, &amp;lt;/math&amp;gt;. Verify that this is the case even for non-symmetric sections.&lt;br /&gt;
&lt;br /&gt;
* Surge and Roll are coupled for symmetric and non-symmetric bodies. The coupled equation of motion becomes:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Surge-Roll&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \sum_{j=1,4} \left[ -\omega^2 \left( M_{ij} + A_{ij} \right) + i\omega B_{ij} + C_{ij} \right] \Pi_j = \mathbf{X}_i, \quad i,j = 1,4 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* When Newton&#039;s law is expressed about the center of gravity:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; M_{14} = M_{41} = 0, \ M_{11} = M, \ M_{44} = I_G &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt; I_G\,&amp;lt;/math&amp;gt; is the body moment of inertia about the center of gravity. If the equations are to be expressed about the origin of the coordinate system, then the formulation must start with respect to &amp;lt;math&amp;gt; G\,&amp;lt;/math&amp;gt; and expressions derived w.r.t. &amp;lt;math&amp;gt; O \,&amp;lt;/math&amp;gt;, via a coordinate transformation.&lt;br /&gt;
&lt;br /&gt;
* The exciting forces &amp;lt;math&amp;gt; \mathbf{X}_1, \mathbf{X}_3 \,&amp;lt;/math&amp;gt; are defined in an obvious manner along the X- and Z-axis. The Roll moment &amp;lt;math&amp;gt; \mathbf{X}_4 \, &amp;lt;/math&amp;gt; is defined initially about &amp;lt;math&amp;gt; G\,&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Need to derive definitions for the coefficients that enter the Heave &amp;amp; Surge-Roll equations of motion:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; M = \rho \forall, \qquad \forall = \ &amp;lt;/math&amp;gt; volume of water displaced by body (archimedian principle of buoyancy) &amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; C_{33} = \rho g A_\omega = \rho g B, &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A_\omega = &amp;lt;/math&amp;gt; body waterplane area  = &amp;lt;math&amp;gt;B&amp;lt;/math&amp;gt;  (Beam in two dimensions)&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \left( C_{44} \right)_G = \rho g \frac{B^3}{12} = \ &amp;lt;/math&amp;gt; Roll restoring moment due to a small angular displacement &amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt; about the center of gravity. Verify for all wall and non-wall sided sections &amp;lt;/center&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; C_{44} \equiv \left( C_{44} \right)+G \ne \left( C_{44} \right)_O; \quad &amp;lt;/math&amp;gt; Derive an expression for &amp;lt;math&amp;gt; \ \left( C_{44} \right)_O \ &amp;lt;/math&amp;gt; in terms of &amp;lt;math&amp;gt; \ \left( C_{44} \right)_G. &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
This article is based on the MIT open course notes and the original article can be found&lt;br /&gt;
[http://ocw.mit.edu/NR/rdonlyres/Mechanical-Engineering/2-24Spring-2002/666E84F4-5679-47FD-BD7B-9D39877DE5A1/0/lecture9.pdf here]&lt;br /&gt;
&lt;br /&gt;
[[Ocean Wave Interaction with Ships and Offshore Energy Systems]]&lt;/div&gt;</summary>
		<author><name>Len</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Conservation_Laws_and_Boundary_Conditions&amp;diff=6330</id>
		<title>Conservation Laws and Boundary Conditions</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Conservation_Laws_and_Boundary_Conditions&amp;diff=6330"/>
		<updated>2008-04-07T13:34:14Z</updated>

		<summary type="html">&lt;p&gt;Len: typo fix&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We begin by derving the equations of motion used to model ocean waves. The equations of motion of a general fluid are given by the celebrated &lt;br /&gt;
[http://en.wikipedia.org/wiki/Navier_Stokes Navier Stokes equations]. However, for the large scale processes that occur in ocean waves many simplifications are possible. &lt;br /&gt;
&lt;br /&gt;
= Non-Linear Free-surface Condition =&lt;br /&gt;
&lt;br /&gt;
[[Image:Non_linear_free_surface.jpg|center|frame|Co-ordinate System]]&lt;br /&gt;
&lt;br /&gt;
We begin by defining the coordinate system. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&amp;amp;(X,Y,Z) &amp;amp;: &amp;amp;\mbox{Earth Fixed Coordinate System} \\&lt;br /&gt;
&amp;amp;\vec X         &amp;amp;: &amp;amp;\mbox{Fixed Eulerian Vector} \\&lt;br /&gt;
&amp;amp;\vec V         &amp;amp;: &amp;amp;\mbox{Flow Velocity Vector at} \  \vec X \\&lt;br /&gt;
&amp;amp;\zeta          &amp;amp;: &amp;amp;\mbox{Free Surface Elevation}&lt;br /&gt;
\end{matrix} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
The most important assumption we make is that the fluid is an [http://en.wikipedia.org/wiki/Viscosity ideal fluid]. This means that there are no shear stresses due to viscosity and that the flow is [http://en.wikipedia.org/wiki/Irrotational irrotational]. This means that&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\nabla \times \vec V = 0&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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 [http://en.wikipedia.org/wiki/Irrotational_vector_field] that if &amp;lt;math&amp;gt;\nabla \times \vec V = 0&amp;lt;/math&amp;gt; then we can express the irrotational vector as the gradiant of a scalar function, i.e. &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\vec V = \nabla \Phi&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\Phi(\vec{X},t)&amp;lt;/math&amp;gt; is called the [http://en.wikipedia.org/wiki/Velocity_potential velocity potential]. &lt;br /&gt;
&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
== Conservation of mass ==&lt;br /&gt;
&lt;br /&gt;
The key equation we will solve to understand ocean waves is [http://en.wikipedia.org/wiki/Laplaces_equation Laplace&#039;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&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \nabla \cdot \vec V = 0 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This condition in turn implies, using the definition of the velocity potential that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \nabla \cdot \nabla \Phi = 0 \Rightarrow \nabla^2 \Phi = 0 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; or&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\partial^2 \Phi}{\partial X^2} + \frac{\partial^2\Phi}{\partial Y^2} + \frac{\partial^2\Phi}{\partial Z^2} = 0, \quad \mbox{Laplace Equation} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Conservation of linear momentum ==&lt;br /&gt;
&lt;br /&gt;
We begin with [http://en.wikipedia.org/wiki/Euler_equations Euler&#039;s equation] in the absence of viscosity&lt;br /&gt;
&amp;lt;center&amp;gt; &amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\partial \vec V}{\partial t} + (\vec V \cdot \nabla) \vec V = - \frac1{\rho} \nabla P + \vec g &lt;br /&gt;
&amp;lt;/math&amp;gt; &amp;lt;/center&amp;gt; &lt;br /&gt;
where&lt;br /&gt;
&amp;lt;math&amp;gt; P(\vec X, t) &amp;lt;/math&amp;gt; is the fluid Pressure at &amp;lt;math&amp;gt;(\vec X, t)&amp;lt;/math&amp;gt; and &lt;br /&gt;
&amp;lt;math&amp;gt; \vec g = - \vec k g &amp;lt;/math&amp;gt; is the acceleration due to gravity where &lt;br /&gt;
&amp;lt;math&amp;gt; \vec k &amp;lt;/math&amp;gt; is the unit vector pointing in the positive z-direction (so we are now setting the &amp;lt;math&amp;gt;z&amp;lt;/math&amp;gt; coordinate to point in the vertical direction. Finally &amp;lt;math&amp;gt; \rho &amp;lt;/math&amp;gt; is the water density.&lt;br /&gt;
&lt;br /&gt;
We then use the folliwng vector identity&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; (\vec V \cdot \nabla) \vec V = \frac 1{2} \nabla (\vec V \cdot \vec V) - \vec V \times ( \nabla \times \vec V) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and since we have irrotational flow (i.e. &amp;lt;math&amp;gt; \nabla \times \vec V = 0 &amp;lt;/math&amp;gt;) Euler&#039;s equation becomes&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\partial \vec V}{\partial t} + \frac 1{2} \nabla (\vec V \cdot \vec V) = - \frac 1{\rho} \nabla P - \nabla (g Z) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
where we have used &amp;lt;math&amp;gt; \nabla Z = \vec K &amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
We now substitute &amp;lt;math&amp;gt; \vec V = \nabla \Phi &amp;lt;/math&amp;gt; and we obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \nabla (\frac{\partial \Phi}{\partial t} + \frac 1{2} \nabla \Phi \cdot \nabla \Phi + \frac {P}{e} + g Z ) = 0 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
We now observe that if&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \nabla F( \vec X, t) =0 \quad \Longrightarrow \quad F (\vec X, t) = C &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt; C &amp;lt;/math&amp;gt; is an arbitrary constant. &lt;br /&gt;
&lt;br /&gt;
=== Bernoulli&#039;s equation ===&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Bernoulli%27s_equation Bernoulli&#039;s equation] follows &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\partial \Phi}{\partial t} + \frac 1{2} \nabla \Phi \cdot \nabla \Phi + \frac {P}{\rho} + g Z = C &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
or &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{P}{\rho} = - \frac{\partial\Phi}{\partial t}-\frac{1}{2}\nabla\Phi \cdot \nabla \Phi - g Z + C &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The value of the constant &amp;lt;math&amp;gt; C &amp;lt;/math&amp;gt; is immaterial. &lt;br /&gt;
It is also woth noting that the &lt;br /&gt;
angular momentum conservation principle is contained in&lt;br /&gt;
&amp;lt;math&amp;gt; \nabla \times \vec V = 0 &amp;lt;/math&amp;gt;&lt;br /&gt;
In particualr, if the particles are modelled as spheres, this equation implies no angular velocity at all times.&lt;br /&gt;
&lt;br /&gt;
= Derivation of Nonlinear Free-surface Condition =&lt;br /&gt;
&lt;br /&gt;
[[Image:Free_surface.jpg|center|Figure]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A very important result is the boundary condition at the free surface of the fluid and air. There are two condions which relate the free surface displacement &amp;lt;math&amp;gt;\zeta(X,Y,t)&amp;lt;/math&amp;gt; and the velocity potential &amp;lt;math&amp;gt;\Phi(X,Y,Z)&amp;lt;/math&amp;gt; at the free surface. The dynamic condition is derived from the Bernouilli 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. &lt;br /&gt;
&lt;br /&gt;
== Method I ==&lt;br /&gt;
&lt;br /&gt;
We derive the dynamic condition directly from Bernouilli&#039;s equation.&lt;br /&gt;
On &amp;lt;math&amp;gt; Z=\zeta; \ P=P_a \equiv \mbox{Atmospheric Pressure} &amp;lt;/math&amp;gt;.&lt;br /&gt;
This allows us to rewrite Bernoulli&#039;s equation as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \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) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We will simplify this equation by showing that we are free to set the pressure to any value.  &lt;br /&gt;
&lt;br /&gt;
The kinematic condition is derived as follows. &lt;br /&gt;
On &amp;lt;math&amp;gt;Z=\zeta&amp;lt;/math&amp;gt; The mathematical function&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;Z-\zeta(X,Y,t)\equiv\tilde{f}(X,Y,Z,t)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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 &amp;lt;math&amp;gt;\tilde{f}&amp;lt;/math&amp;gt; must vanish, thus&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{D\tilde{f}}{Dt}=0=\left ( \frac{\partial}{\partial t} + \vec V \cdot \nabla \right ) \tilde{f}=0, \qquad \mbox{on} \ Z=\zeta &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Expanding we obtain:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \left (\frac{\partial}{\partial t} + \vec V \cdot \nabla \right ) (Z-\zeta) =0, \qquad \mbox{on} \ Z=\zeta &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which in turn implies that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \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 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which is the Kinematic free-surface condition.&lt;br /&gt;
&lt;br /&gt;
We have already derived the dynamic condtion from Bernoulli&#039;s equation &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; \frac{\partial\Phi}{\partial t} + \frac{1}{2} \nabla \Phi \cdot \nabla \Phi + g \zeta = \mathbb{C} - \frac{P_a}{\rho}, \ Z=\zeta  &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Constants in Bernoulli&#039;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 &amp;amp; moments. This follows from a simple application of one of the two gauss vector theorems &lt;br /&gt;
&lt;br /&gt;
=== Gauss theorem ===&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
We begin with the vector version. If&lt;br /&gt;
&amp;lt;math&amp;gt; \vec n &amp;lt;/math&amp;gt; is the unit normal vector pointing inside the volume &amp;lt;math&amp;gt; V &amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt; f(\bar{X})&amp;lt;/math&amp;gt; is an arbitrary sufficiently differentiable scalar function, then&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; \iiint_{V} \nabla f dv = -\iint_{S} f_{s} \vec n ds &amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the three scalar identities that follow:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iiint_{{V}} \frac{\partial f}{\partial x} dv = - \iint_{S} f n_1 ds &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iiint_{{V}} \frac{\partial f}{\partial y} dv = - \iint_{S} f n_2 ds &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iiint_{{V}} \frac{\partial f}{\partial z} dv = - \iint_{S} f n_3 ds &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The scalar version is as follows where &lt;br /&gt;
&amp;lt;math&amp;gt; \vec{V}&amp;lt;/math&amp;gt; is an arbitrary sufficiently differentiable vector function&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; \iiint_{\bar{V}} \nabla \cdot \vec V = - \iint_{s} \vec V \cdot \vec n ds &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The scalar identity ofter used to prove mass conservation principle.&lt;br /&gt;
&lt;br /&gt;
=== Definition of force and moment in terms of fluid pressure. ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Force_coordinates.jpg|right|frame|Force coordinates]]&lt;br /&gt;
&lt;br /&gt;
The force &amp;lt;math&amp;gt;\vec{F}&amp;lt;/math&amp;gt; is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\vec{F} = \iint_{S} P\vec{n}ds&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;P&amp;lt;/math&amp;gt; is the pressure and the moment &amp;lt;math&amp;gt;\vec{M}&amp;lt;/math&amp;gt; is given by&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\vec{F} = \iint_{S} P(\vec{x}\times\vec{n})ds&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It follows from the Gauss theorem that if &amp;lt;math&amp;gt; \rho = C &amp;lt;/math&amp;gt; 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 &amp;lt;math&amp;gt; C=0 &amp;lt;/math&amp;gt;. It follows that the dynamic free surface condition takes the form&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \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 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Method II ==&lt;br /&gt;
&lt;br /&gt;
When tracing a fluid particle on the free surface the hydrodynamic pressure given by Bernoulli (after the constant &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; has been set equal to zero) must vanish as we follow the particle:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{D}{Dt} \left \{ \frac{\partial\Phi}{\partial t} + \frac{1}{2} \nabla\Phi \cdot \nabla\Phi+gZ \right \} =0, \qquad Z=\zeta &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \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 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This condition also follows upon elimination of &amp;lt;math&amp;gt;\zeta&amp;lt;/math&amp;gt; from the kinematic &amp;amp; dynamic conditions derived under method I.&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
This article is based on the MIT open course notes and the original article can be found&lt;br /&gt;
[http://ocw.mit.edu/NR/rdonlyres/Mechanical-Engineering/2-24Spring-2002/1814747D-3A05-45A1-BDE5-2CEF40DEA25F/0/lecture1.pdf here]&lt;br /&gt;
&lt;br /&gt;
[[Ocean Wave Interaction with Ships and Offshore Energy Systems]]&lt;/div&gt;</summary>
		<author><name>Len</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Conservation_Laws_and_Boundary_Conditions&amp;diff=6329</id>
		<title>Conservation Laws and Boundary Conditions</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Conservation_Laws_and_Boundary_Conditions&amp;diff=6329"/>
		<updated>2008-04-07T13:33:01Z</updated>

		<summary type="html">&lt;p&gt;Len: typo fix&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We begin by derving the equations of motion used to model ocean waves. The equations of motion of a general fluid are given by the celebrated &lt;br /&gt;
[http://en.wikipedia.org/wiki/Navier_Stokes Navier Stokes equations]. However, for the large scale processes that occur in ocean waves many simplifications are possible. &lt;br /&gt;
&lt;br /&gt;
= Non-Linear Free-surface Condition =&lt;br /&gt;
&lt;br /&gt;
[[Image:Non_linear_free_surface.jpg|center|frame|Co-ordinate System]]&lt;br /&gt;
&lt;br /&gt;
We begin by defining the coordinate system. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&amp;amp;(X,Y,Z) &amp;amp;: &amp;amp;\mbox{Earth Fixed Coordinate System} \\&lt;br /&gt;
&amp;amp;\vec X         &amp;amp;: &amp;amp;\mbox{Fixed Eulerian Vector} \\&lt;br /&gt;
&amp;amp;\vec V         &amp;amp;: &amp;amp;\mbox{Flow Velocity Vector at} \  \vec X \\&lt;br /&gt;
&amp;amp;\zeta          &amp;amp;: &amp;amp;\mbox{Free Surface Elevation}&lt;br /&gt;
\end{matrix} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
The most important assumption we make is that the fluid is an [http://en.wikipedia.org/wiki/Viscosity ideal fluid]. This means that there are no shear stresses due to viscosity and that the flow is [http://en.wikipedia.org/wiki/Irrotational irrotational]. This means that&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\nabla \times \vec V = 0&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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 [http://en.wikipedia.org/wiki/Irrotational_vector_field] that if &amp;lt;math&amp;gt;\nabla \times \vec V = 0&amp;lt;/math&amp;gt; then we can express the irrotational vector as the gradiant of a scalar function, i.e. &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\vec V = \nabla \Phi&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\Phi(\vec{X},t)&amp;lt;/math&amp;gt; is called the [http://en.wikipedia.org/wiki/Velocity_potential velocity potential]. &lt;br /&gt;
&lt;br /&gt;
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 theorey. In fact, the process of wave breaking is extremely complicated and is much less well understood that the potential flow model. &lt;br /&gt;
&lt;br /&gt;
== Conservation of mass ==&lt;br /&gt;
&lt;br /&gt;
The key equation we will solve to understand ocean waves is [http://en.wikipedia.org/wiki/Laplaces_equation Laplace&#039;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&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \nabla \cdot \vec V = 0 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This condition in turn implies, using the definition of the velocity potential that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \nabla \cdot \nabla \Phi = 0 \Rightarrow \nabla^2 \Phi = 0 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; or&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\partial^2 \Phi}{\partial X^2} + \frac{\partial^2\Phi}{\partial Y^2} + \frac{\partial^2\Phi}{\partial Z^2} = 0, \quad \mbox{Laplace Equation} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Conservation of linear momentum ==&lt;br /&gt;
&lt;br /&gt;
We begin with [http://en.wikipedia.org/wiki/Euler_equations Euler&#039;s equation] in the absence of viscosity&lt;br /&gt;
&amp;lt;center&amp;gt; &amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\partial \vec V}{\partial t} + (\vec V \cdot \nabla) \vec V = - \frac1{\rho} \nabla P + \vec g &lt;br /&gt;
&amp;lt;/math&amp;gt; &amp;lt;/center&amp;gt; &lt;br /&gt;
where&lt;br /&gt;
&amp;lt;math&amp;gt; P(\vec X, t) &amp;lt;/math&amp;gt; is the fluid Pressure at &amp;lt;math&amp;gt;(\vec X, t)&amp;lt;/math&amp;gt; and &lt;br /&gt;
&amp;lt;math&amp;gt; \vec g = - \vec k g &amp;lt;/math&amp;gt; is the acceleration due to gravity where &lt;br /&gt;
&amp;lt;math&amp;gt; \vec k &amp;lt;/math&amp;gt; is the unit vector pointing in the positive z-direction (so we are now setting the &amp;lt;math&amp;gt;z&amp;lt;/math&amp;gt; coordinate to point in the vertical direction. Finally &amp;lt;math&amp;gt; \rho &amp;lt;/math&amp;gt; is the water density.&lt;br /&gt;
&lt;br /&gt;
We then use the folliwng vector identity&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; (\vec V \cdot \nabla) \vec V = \frac 1{2} \nabla (\vec V \cdot \vec V) - \vec V \times ( \nabla \times \vec V) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and since we have irrotational flow (i.e. &amp;lt;math&amp;gt; \nabla \times \vec V = 0 &amp;lt;/math&amp;gt;) Euler&#039;s equation becomes&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\partial \vec V}{\partial t} + \frac 1{2} \nabla (\vec V \cdot \vec V) = - \frac 1{\rho} \nabla P - \nabla (g Z) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
where we have used &amp;lt;math&amp;gt; \nabla Z = \vec K &amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
We now substitute &amp;lt;math&amp;gt; \vec V = \nabla \Phi &amp;lt;/math&amp;gt; and we obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \nabla (\frac{\partial \Phi}{\partial t} + \frac 1{2} \nabla \Phi \cdot \nabla \Phi + \frac {P}{e} + g Z ) = 0 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
We now observe that if&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \nabla F( \vec X, t) =0 \quad \Longrightarrow \quad F (\vec X, t) = C &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt; C &amp;lt;/math&amp;gt; is an arbitrary constant. &lt;br /&gt;
&lt;br /&gt;
=== Bernoulli&#039;s equation ===&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Bernoulli%27s_equation Bernoulli&#039;s equation] follows &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\partial \Phi}{\partial t} + \frac 1{2} \nabla \Phi \cdot \nabla \Phi + \frac {P}{\rho} + g Z = C &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
or &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{P}{\rho} = - \frac{\partial\Phi}{\partial t}-\frac{1}{2}\nabla\Phi \cdot \nabla \Phi - g Z + C &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The value of the constant &amp;lt;math&amp;gt; C &amp;lt;/math&amp;gt; is immaterial. &lt;br /&gt;
It is also woth noting that the &lt;br /&gt;
angular momentum conservation principle is contained in&lt;br /&gt;
&amp;lt;math&amp;gt; \nabla \times \vec V = 0 &amp;lt;/math&amp;gt;&lt;br /&gt;
In particualr, if the particles are modelled as spheres, this equation implies no angular velocity at all times.&lt;br /&gt;
&lt;br /&gt;
= Derivation of Nonlinear Free-surface Condition =&lt;br /&gt;
&lt;br /&gt;
[[Image:Free_surface.jpg|center|Figure]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A very important result is the boundary condition at the free surface of the fluid and air. There are two condions which relate the free surface displacement &amp;lt;math&amp;gt;\zeta(X,Y,t)&amp;lt;/math&amp;gt; and the velocity potential &amp;lt;math&amp;gt;\Phi(X,Y,Z)&amp;lt;/math&amp;gt; at the free surface. The dynamic condition is derived from the Bernouilli 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. &lt;br /&gt;
&lt;br /&gt;
== Method I ==&lt;br /&gt;
&lt;br /&gt;
We derive the dynamic condition directly from Bernouilli&#039;s equation.&lt;br /&gt;
On &amp;lt;math&amp;gt; Z=\zeta; \ P=P_a \equiv \mbox{Atmospheric Pressure} &amp;lt;/math&amp;gt;.&lt;br /&gt;
This allows us to rewrite Bernoulli&#039;s equation as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \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) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We will simplify this equation by showing that we are free to set the pressure to any value.  &lt;br /&gt;
&lt;br /&gt;
The kinematic condition is derived as follows. &lt;br /&gt;
On &amp;lt;math&amp;gt;Z=\zeta&amp;lt;/math&amp;gt; The mathematical function&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;Z-\zeta(X,Y,t)\equiv\tilde{f}(X,Y,Z,t)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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 &amp;lt;math&amp;gt;\tilde{f}&amp;lt;/math&amp;gt; must vanish, thus&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{D\tilde{f}}{Dt}=0=\left ( \frac{\partial}{\partial t} + \vec V \cdot \nabla \right ) \tilde{f}=0, \qquad \mbox{on} \ Z=\zeta &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Expanding we obtain:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \left (\frac{\partial}{\partial t} + \vec V \cdot \nabla \right ) (Z-\zeta) =0, \qquad \mbox{on} \ Z=\zeta &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which in turn implies that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \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 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which is the Kinematic free-surface condition.&lt;br /&gt;
&lt;br /&gt;
We have already derived the dynamic condtion from Bernoulli&#039;s equation &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; \frac{\partial\Phi}{\partial t} + \frac{1}{2} \nabla \Phi \cdot \nabla \Phi + g \zeta = \mathbb{C} - \frac{P_a}{\rho}, \ Z=\zeta  &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Constants in Bernoulli&#039;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 &amp;amp; moments. This follows from a simple application of one of the two gauss vector theorems &lt;br /&gt;
&lt;br /&gt;
=== Gauss theorem ===&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
We begin with the vector version. If&lt;br /&gt;
&amp;lt;math&amp;gt; \vec n &amp;lt;/math&amp;gt; is the unit normal vector pointing inside the volume &amp;lt;math&amp;gt; V &amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt; f(\bar{X})&amp;lt;/math&amp;gt; is an arbitrary sufficiently differentiable scalar function, then&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; \iiint_{V} \nabla f dv = -\iint_{S} f_{s} \vec n ds &amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the three scalar identities that follow:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iiint_{{V}} \frac{\partial f}{\partial x} dv = - \iint_{S} f n_1 ds &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iiint_{{V}} \frac{\partial f}{\partial y} dv = - \iint_{S} f n_2 ds &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iiint_{{V}} \frac{\partial f}{\partial z} dv = - \iint_{S} f n_3 ds &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The scalar version is as follows where &lt;br /&gt;
&amp;lt;math&amp;gt; \vec{V}&amp;lt;/math&amp;gt; is an arbitrary sufficiently differentiable vector function&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; \iiint_{\bar{V}} \nabla \cdot \vec V = - \iint_{s} \vec V \cdot \vec n ds &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The scalar identity ofter used to prove mass conservation principle.&lt;br /&gt;
&lt;br /&gt;
=== Definition of force and moment in terms of fluid pressure. ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Force_coordinates.jpg|right|frame|Force coordinates]]&lt;br /&gt;
&lt;br /&gt;
The force &amp;lt;math&amp;gt;\vec{F}&amp;lt;/math&amp;gt; is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\vec{F} = \iint_{S} P\vec{n}ds&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;P&amp;lt;/math&amp;gt; is the pressure and the moment &amp;lt;math&amp;gt;\vec{M}&amp;lt;/math&amp;gt; is given by&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\vec{F} = \iint_{S} P(\vec{x}\times\vec{n})ds&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It follows from the Gauss theorem that if &amp;lt;math&amp;gt; \rho = C &amp;lt;/math&amp;gt; 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 &amp;lt;math&amp;gt; C=0 &amp;lt;/math&amp;gt;. It follows that the dynamic free surface condition takes the form&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \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 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Method II ==&lt;br /&gt;
&lt;br /&gt;
When tracing a fluid particle on the free surface the hydrodynamic pressure given by Bernoulli (after the constant &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; has been set equal to zero) must vanish as we follow the particle:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{D}{Dt} \left \{ \frac{\partial\Phi}{\partial t} + \frac{1}{2} \nabla\Phi \cdot \nabla\Phi+gZ \right \} =0, \qquad Z=\zeta &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \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 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This condition also follows upon elimination of &amp;lt;math&amp;gt;\zeta&amp;lt;/math&amp;gt; from the kinematic &amp;amp; dynamic conditions derived under method I.&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
This article is based on the MIT open course notes and the original article can be found&lt;br /&gt;
[http://ocw.mit.edu/NR/rdonlyres/Mechanical-Engineering/2-24Spring-2002/1814747D-3A05-45A1-BDE5-2CEF40DEA25F/0/lecture1.pdf here]&lt;br /&gt;
&lt;br /&gt;
[[Ocean Wave Interaction with Ships and Offshore Energy Systems]]&lt;/div&gt;</summary>
		<author><name>Len</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Conservation_Laws_and_Boundary_Conditions&amp;diff=6328</id>
		<title>Conservation Laws and Boundary Conditions</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Conservation_Laws_and_Boundary_Conditions&amp;diff=6328"/>
		<updated>2008-04-07T13:22:30Z</updated>

		<summary type="html">&lt;p&gt;Len: typo fix&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We begin by derving the equations of motion used to model ocean waves. The equations of motion of a general fluid are given by the celebrated &lt;br /&gt;
[http://en.wikipedia.org/wiki/Navier_Stokes Navier Stokes equations]. However, for the large scale processes that occur in ocean waves many simplifications are possible. &lt;br /&gt;
&lt;br /&gt;
= Non-Linear Free-surface Condition =&lt;br /&gt;
&lt;br /&gt;
[[Image:Non_linear_free_surface.jpg|center|frame|Co-ordinate System]]&lt;br /&gt;
&lt;br /&gt;
We begin by defining the coordinate system. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&amp;amp;(X,Y,Z) &amp;amp;: &amp;amp;\mbox{Earth Fixed Coordinate System} \\&lt;br /&gt;
&amp;amp;\vec X         &amp;amp;: &amp;amp;\mbox{Fixed Eulerian Vector} \\&lt;br /&gt;
&amp;amp;\vec V         &amp;amp;: &amp;amp;\mbox{Flow Velocity Vector at} \  \vec X \\&lt;br /&gt;
&amp;amp;\zeta          &amp;amp;: &amp;amp;\mbox{Free Surface Elevation}&lt;br /&gt;
\end{matrix} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
The most important assumption we make is that the fluid is an [http://en.wikipedia.org/wiki/Viscosity ideal fluid]. This means that there are no shear stresses due to viscosity and that the flow is [http://en.wikipedia.org/wiki/Irrotational irrotational]. This means that&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\nabla \times \vec V = 0&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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 [http://en.wikipedia.org/wiki/Irrotational_vector_field] that if &amp;lt;math&amp;gt;\nabla \times \vec V = 0&amp;lt;/math&amp;gt; then we can express the irrotational vector as the gradiant of a scalar function, i.e. &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\vec V = \nabla \Phi&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\Phi(\vec{X},t)&amp;lt;/math&amp;gt; is called the [http://en.wikipedia.org/wiki/Velocity_potential velocity potential]. &lt;br /&gt;
&lt;br /&gt;
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 considerably simplifications and that certain processes, most notably wave breaking are in no way covered by this theorey. In fact, the process of wave breaking is extremely complicated and is much less well understood that the potential flow model. &lt;br /&gt;
&lt;br /&gt;
== Conservation of mass ==&lt;br /&gt;
&lt;br /&gt;
The key equation we will solve to understand ocean waves is [http://en.wikipedia.org/wiki/Laplaces_equation Laplace&#039;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&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \nabla \cdot \vec V = 0 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This condition in turn implies, using the definition of the velocity potential that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \nabla \cdot \nabla \Phi = 0 \Rightarrow \nabla^2 \Phi = 0 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; or&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\partial^2 \Phi}{\partial X^2} + \frac{\partial^2\Phi}{\partial Y^2} + \frac{\partial^2\Phi}{\partial Z^2} = 0, \quad \mbox{Laplace Equation} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Conservation of linear momentum ==&lt;br /&gt;
&lt;br /&gt;
We begin with [http://en.wikipedia.org/wiki/Euler_equations Euler&#039;s equation] in the absence of viscosity&lt;br /&gt;
&amp;lt;center&amp;gt; &amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\partial \vec V}{\partial t} + (\vec V \cdot \nabla) \vec V = - \frac1{\rho} \nabla P + \vec g &lt;br /&gt;
&amp;lt;/math&amp;gt; &amp;lt;/center&amp;gt; &lt;br /&gt;
where&lt;br /&gt;
&amp;lt;math&amp;gt; P(\vec X, t) &amp;lt;/math&amp;gt; is the fluid Pressure at &amp;lt;math&amp;gt;(\vec X, t)&amp;lt;/math&amp;gt; and &lt;br /&gt;
&amp;lt;math&amp;gt; \vec g = - \vec k g &amp;lt;/math&amp;gt; is the acceleration due to gravity where &lt;br /&gt;
&amp;lt;math&amp;gt; \vec k &amp;lt;/math&amp;gt; is the unit vector pointing in the positive z-direction (so we are now setting the &amp;lt;math&amp;gt;z&amp;lt;/math&amp;gt; coordinate to point in the vertical direction. Finally &amp;lt;math&amp;gt; \rho &amp;lt;/math&amp;gt; is the water density.&lt;br /&gt;
&lt;br /&gt;
We then use the folliwng vector identity&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; (\vec V \cdot \nabla) \vec V = \frac 1{2} \nabla (\vec V \cdot \vec V) - \vec V \times ( \nabla \times \vec V) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and since we have irrotational flow (i.e. &amp;lt;math&amp;gt; \nabla \times \vec V = 0 &amp;lt;/math&amp;gt;) Euler&#039;s equation becomes&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\partial \vec V}{\partial t} + \frac 1{2} \nabla (\vec V \cdot \vec V) = - \frac 1{\rho} \nabla P - \nabla (g Z) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
where we have used &amp;lt;math&amp;gt; \nabla Z = \vec K &amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
We now substitute &amp;lt;math&amp;gt; \vec V = \nabla \Phi &amp;lt;/math&amp;gt; and we obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \nabla (\frac{\partial \Phi}{\partial t} + \frac 1{2} \nabla \Phi \cdot \nabla \Phi + \frac {P}{e} + g Z ) = 0 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
We now observe that if&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \nabla F( \vec X, t) =0 \quad \Longrightarrow \quad F (\vec X, t) = C &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt; C &amp;lt;/math&amp;gt; is an arbitrary constant. &lt;br /&gt;
&lt;br /&gt;
=== Bernoulli&#039;s equation ===&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Bernoulli%27s_equation Bernoulli&#039;s equation] follows &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\partial \Phi}{\partial t} + \frac 1{2} \nabla \Phi \cdot \nabla \Phi + \frac {P}{\rho} + g Z = C &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
or &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{P}{\rho} = - \frac{\partial\Phi}{\partial t}-\frac{1}{2}\nabla\Phi \cdot \nabla \Phi - g Z + C &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The value of the constant &amp;lt;math&amp;gt; C &amp;lt;/math&amp;gt; is immaterial. &lt;br /&gt;
It is also woth noting that the &lt;br /&gt;
angular momentum conservation principle is contained in&lt;br /&gt;
&amp;lt;math&amp;gt; \nabla \times \vec V = 0 &amp;lt;/math&amp;gt;&lt;br /&gt;
In particualr, if the particles are modelled as spheres, this equation implies no angular velocity at all times.&lt;br /&gt;
&lt;br /&gt;
= Derivation of Nonlinear Free-surface Condition =&lt;br /&gt;
&lt;br /&gt;
[[Image:Free_surface.jpg|center|Figure]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A very important result is the boundary condition at the free surface of the fluid and air. There are two condions which relate the free surface displacement &amp;lt;math&amp;gt;\zeta(X,Y,t)&amp;lt;/math&amp;gt; and the velocity potential &amp;lt;math&amp;gt;\Phi(X,Y,Z)&amp;lt;/math&amp;gt; at the free surface. The dynamic condition is derived from the Bernouilli 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. &lt;br /&gt;
&lt;br /&gt;
== Method I ==&lt;br /&gt;
&lt;br /&gt;
We derive the dynamic condition directly from Bernouilli&#039;s equation.&lt;br /&gt;
On &amp;lt;math&amp;gt; Z=\zeta; \ P=P_a \equiv \mbox{Atmospheric Pressure} &amp;lt;/math&amp;gt;.&lt;br /&gt;
This allows us to rewrite Bernoulli&#039;s equation as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \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) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We will simplify this equation by showing that we are free to set the pressure to any value.  &lt;br /&gt;
&lt;br /&gt;
The kinematic condition is derived as follows. &lt;br /&gt;
On &amp;lt;math&amp;gt;Z=\zeta&amp;lt;/math&amp;gt; The mathematical function&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;Z-\zeta(X,Y,t)\equiv\tilde{f}(X,Y,Z,t)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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 &amp;lt;math&amp;gt;\tilde{f}&amp;lt;/math&amp;gt; must vanish, thus&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{D\tilde{f}}{Dt}=0=\left ( \frac{\partial}{\partial t} + \vec V \cdot \nabla \right ) \tilde{f}=0, \qquad \mbox{on} \ Z=\zeta &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Expanding we obtain:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \left (\frac{\partial}{\partial t} + \vec V \cdot \nabla \right ) (Z-\zeta) =0, \qquad \mbox{on} \ Z=\zeta &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which in turn implies that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \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 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which is the Kinematic free-surface condition.&lt;br /&gt;
&lt;br /&gt;
We have already derived the dynamic condtion from Bernoulli&#039;s equation &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; \frac{\partial\Phi}{\partial t} + \frac{1}{2} \nabla \Phi \cdot \nabla \Phi + g \zeta = \mathbb{C} - \frac{P_a}{\rho}, \ Z=\zeta  &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Constants in Bernoulli&#039;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 &amp;amp; moments. This follows from a simple application of one of the two gauss vector theorems &lt;br /&gt;
&lt;br /&gt;
=== Gauss theorem ===&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
We begin with the vector version. If&lt;br /&gt;
&amp;lt;math&amp;gt; \vec n &amp;lt;/math&amp;gt; is the unit normal vector pointing inside the volume &amp;lt;math&amp;gt; V &amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt; f(\bar{X})&amp;lt;/math&amp;gt; is an arbitrary sufficiently differentiable scalar function, then&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; \iiint_{V} \nabla f dv = -\iint_{S} f_{s} \vec n ds &amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the three scalar identities that follow:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iiint_{{V}} \frac{\partial f}{\partial x} dv = - \iint_{S} f n_1 ds &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iiint_{{V}} \frac{\partial f}{\partial y} dv = - \iint_{S} f n_2 ds &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iiint_{{V}} \frac{\partial f}{\partial z} dv = - \iint_{S} f n_3 ds &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The scalar version is as follows where &lt;br /&gt;
&amp;lt;math&amp;gt; \vec{V}&amp;lt;/math&amp;gt; is an arbitrary sufficiently differentiable vector function&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; \iiint_{\bar{V}} \nabla \cdot \vec V = - \iint_{s} \vec V \cdot \vec n ds &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The scalar identity ofter used to prove mass conservation principle.&lt;br /&gt;
&lt;br /&gt;
=== Definition of force and moment in terms of fluid pressure. ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Force_coordinates.jpg|right|frame|Force coordinates]]&lt;br /&gt;
&lt;br /&gt;
The force &amp;lt;math&amp;gt;\vec{F}&amp;lt;/math&amp;gt; is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\vec{F} = \iint_{S} P\vec{n}ds&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;P&amp;lt;/math&amp;gt; is the pressure and the moment &amp;lt;math&amp;gt;\vec{M}&amp;lt;/math&amp;gt; is given by&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\vec{F} = \iint_{S} P(\vec{x}\times\vec{n})ds&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It follows from the Gauss theorem that if &amp;lt;math&amp;gt; \rho = C &amp;lt;/math&amp;gt; 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 &amp;lt;math&amp;gt; C=0 &amp;lt;/math&amp;gt;. It follows that the dynamic free surface condition takes the form&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \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 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Method II ==&lt;br /&gt;
&lt;br /&gt;
When tracing a fluid particle on the free surface the hydrodynamic pressure given by Bernoulli (after the constant &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; has been set equal to zero) must vanish as we follow the particle:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{D}{Dt} \left \{ \frac{\partial\Phi}{\partial t} + \frac{1}{2} \nabla\Phi \cdot \nabla\Phi+gZ \right \} =0, \qquad Z=\zeta &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \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 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This condition also follows upon elimination of &amp;lt;math&amp;gt;\zeta&amp;lt;/math&amp;gt; from the kinematic &amp;amp; dynamic conditions derived under method I.&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
This article is based on the MIT open course notes and the original article can be found&lt;br /&gt;
[http://ocw.mit.edu/NR/rdonlyres/Mechanical-Engineering/2-24Spring-2002/1814747D-3A05-45A1-BDE5-2CEF40DEA25F/0/lecture1.pdf here]&lt;br /&gt;
&lt;br /&gt;
[[Ocean Wave Interaction with Ships and Offshore Energy Systems]]&lt;/div&gt;</summary>
		<author><name>Len</name></author>
	</entry>
</feed>