<?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=Adi+Kurniawan</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=Adi+Kurniawan"/>
	<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php/Special:Contributions/Adi_Kurniawan"/>
	<updated>2026-04-17T18:49:54Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Standard_Notation&amp;diff=13542</id>
		<title>Standard Notation</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Standard_Notation&amp;diff=13542"/>
		<updated>2012-07-26T19:59:12Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: /* Greek letters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a list of standard notation with definitions. If you find notation which does not appear here or non-standard notation please&lt;br /&gt;
feel free to highlight this, or better still try and fix it.  The material on these webpages was taken from a variety of sources and we&lt;br /&gt;
know the notation is currently not always consistent between pages.&lt;br /&gt;
&lt;br /&gt;
== Latin Letters ==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the wave amplitude&lt;br /&gt;
* &amp;lt;math&amp;gt; c \,(=\omega / k)  &amp;lt;/math&amp;gt;  or sometime &amp;lt;math&amp;gt;c_p&amp;lt;/math&amp;gt; is the wave phase velocity&lt;br /&gt;
* &amp;lt;math&amp;gt; c_g = \frac{\mathrm{d} \omega}{\mathrm{d} k} &amp;lt;/math&amp;gt; is the wave group velocity&lt;br /&gt;
* &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; is a water depth parameter&lt;br /&gt;
* &amp;lt;math&amp;gt;D&amp;lt;/math&amp;gt; is the modulus of rigidity for a plate&lt;br /&gt;
* &amp;lt;math&amp;gt;e^{i\omega t}&amp;lt;/math&amp;gt; is the time dependence in frequency domain&lt;br /&gt;
* &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is the Young&#039;s modulus&lt;br /&gt;
* &amp;lt;math&amp;gt; \mathcal{E}(t) &amp;lt;/math&amp;gt; is the energy density&lt;br /&gt;
* &amp;lt;math&amp;gt;g&amp;lt;/math&amp;gt; is the acceleration due to gravity &lt;br /&gt;
* &amp;lt;math&amp;gt;h&amp;lt;/math&amp;gt; is the water depth (with the bottom at &amp;lt;math&amp;gt;z=-h&amp;lt;/math&amp;gt;)&lt;br /&gt;
* &amp;lt;math&amp;gt;\mathbf{i}&amp;lt;/math&amp;gt; is the unit vector in the &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; direction&lt;br /&gt;
* &amp;lt;math&amp;gt;\mathrm{Im}&amp;lt;/math&amp;gt; is the imaginary part of a complex argument&lt;br /&gt;
* &amp;lt;math&amp;gt;\mathbf{j}&amp;lt;/math&amp;gt; is the unit vector in the &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt; direction&lt;br /&gt;
* &amp;lt;math&amp;gt;\mathbf{k}&amp;lt;/math&amp;gt; is the unit vector in the &amp;lt;math&amp;gt;z&amp;lt;/math&amp;gt; direction&lt;br /&gt;
* &amp;lt;math&amp;gt; k &amp;lt;/math&amp;gt; is the wave number &lt;br /&gt;
* &amp;lt;math&amp;gt;k_n&amp;lt;/math&amp;gt; are the roots of the dispersion eqution&lt;br /&gt;
* &amp;lt;math&amp;gt;\mathcal{L}&amp;lt;/math&amp;gt; is the linear operator at the body surface&lt;br /&gt;
* &amp;lt;math&amp;gt;\mathcal{M}&amp;lt;/math&amp;gt; is the momentum&lt;br /&gt;
* &amp;lt;math&amp;gt;\mathbf{n}&amp;lt;/math&amp;gt; is the outward normal &lt;br /&gt;
* &amp;lt;math&amp;gt;\frac{\partial\phi}{\partial n}&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;\nabla\phi\cdot\mathbf{n}&amp;lt;/math&amp;gt; &lt;br /&gt;
* &amp;lt;math&amp;gt;P&amp;lt;/math&amp;gt; is the pressure (&amp;lt;math&amp;gt;P_1&amp;lt;/math&amp;gt;,  &amp;lt;math&amp;gt;P_2&amp;lt;/math&amp;gt; etc are the first, second order pressures)&lt;br /&gt;
* &amp;lt;math&amp;gt;\mathcal{P}(t)&amp;lt;/math&amp;gt; the energy flux is the rate of change of energy density &amp;lt;math&amp;gt; \mathcal{E}(t) &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\mathbf{r}&amp;lt;/math&amp;gt; vector in the horizontal directions only &amp;lt;math&amp;gt;(x,y)&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt; is the radius of a cylinder&lt;br /&gt;
* &amp;lt;math&amp;gt;\mathrm{Re}&amp;lt;/math&amp;gt; is the real part of a complex argument&lt;br /&gt;
* &amp;lt;math&amp;gt;S_F&amp;lt;/math&amp;gt; is the free surface&lt;br /&gt;
* &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt; is the time &lt;br /&gt;
* &amp;lt;math&amp;gt; T \,(= 2\pi / \omega)&amp;lt;/math&amp;gt; is the wave period&lt;br /&gt;
* &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; is the forward speed&lt;br /&gt;
* &amp;lt;math&amp;gt;U_n&amp;lt;/math&amp;gt; is the normal derivative of the moving surface of a volume&lt;br /&gt;
* &amp;lt;math&amp;gt; V_n = \mathbf{n} \cdot \nabla \Phi &amp;lt;/math&amp;gt; is the flow in the normal direction for potential &amp;lt;math&amp;gt;\Phi&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\mathbf{v}&amp;lt;/math&amp;gt; is the flow velocity vector at &amp;lt;math&amp;gt;\mathbf{x}&amp;lt;/math&amp;gt; &lt;br /&gt;
* &amp;lt;math&amp;gt;\mathbf{x}&amp;lt;/math&amp;gt; is the fixed Eulerian vector &amp;lt;math&amp;gt;(x,y,z)&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt; are in the horizontal plane with &amp;lt;math&amp;gt;z&amp;lt;/math&amp;gt; pointing vertically upward and the free surface is at &amp;lt;math&amp;gt;z=0&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\bar{x}&amp;lt;/math&amp;gt; is the &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; coordinate in a moving frame.&lt;br /&gt;
* &amp;lt;math&amp;gt;X_n(x)&amp;lt;/math&amp;gt; is an eigenfunction arising from separation of variables in the &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; direction.&lt;br /&gt;
* &amp;lt;math&amp;gt;Z(z)&amp;lt;/math&amp;gt; is an eigenfunction arising from separation of variables in the &amp;lt;math&amp;gt;z&amp;lt;/math&amp;gt; direction.&lt;br /&gt;
&lt;br /&gt;
== Greek letters ==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; is free surface constant &amp;lt;math&amp;gt;\alpha = \omega^2/g&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\mathcal{E}&amp;lt;/math&amp;gt; is the energy&lt;br /&gt;
* &amp;lt;math&amp;gt;\zeta&amp;lt;/math&amp;gt; is the displacement of the surface&lt;br /&gt;
* &amp;lt;math&amp;gt;\xi&amp;lt;/math&amp;gt; any other displacement, most usually a body in the fluid&lt;br /&gt;
* &amp;lt;math&amp;gt;\eta&amp;lt;/math&amp;gt; any other displacement, most usually a body in the fluid&lt;br /&gt;
* &amp;lt;math&amp;gt; \lambda \,(= 2\pi/k) &amp;lt;/math&amp;gt; is the wave length &lt;br /&gt;
* &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; is the fluid density (sometimes also string density).&lt;br /&gt;
* &amp;lt;math&amp;gt;\rho_i&amp;lt;/math&amp;gt; is the plate density&lt;br /&gt;
* &amp;lt;math&amp;gt;\phi\,&amp;lt;/math&amp;gt; is the  velocity potential in the frequency domain&lt;br /&gt;
* &amp;lt;math&amp;gt;\phi^{\mathrm{I}}\,&amp;lt;/math&amp;gt; is the  incident potential&lt;br /&gt;
* &amp;lt;math&amp;gt;\phi^{\mathrm{D}}\,&amp;lt;/math&amp;gt; is the  diffracted potential&lt;br /&gt;
* &amp;lt;math&amp;gt;\phi^{\mathrm{S}}\,&amp;lt;/math&amp;gt; is the  scattered potential (&amp;lt;math&amp;gt;\phi^{\mathrm{S}}&lt;br /&gt;
 = \phi^{\mathrm{I}}+\phi^{\mathrm{D}}\,&amp;lt;/math&amp;gt;)&lt;br /&gt;
* &amp;lt;math&amp;gt;\phi_{m}^{\mathrm{R}}\,&amp;lt;/math&amp;gt; is the  radiated potential (for the &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; mode&lt;br /&gt;
* &amp;lt;math&amp;gt;\Phi\,&amp;lt;/math&amp;gt; is the  velocity potential in the time domain&lt;br /&gt;
* &amp;lt;math&amp;gt;\bar{\Phi}\,&amp;lt;/math&amp;gt; is the  velocity potential in the time domain for a moving coordinate system&lt;br /&gt;
* &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is the wave/angular frequency &lt;br /&gt;
* &amp;lt;math&amp;gt;\Omega\,&amp;lt;/math&amp;gt; is the fluid region &lt;br /&gt;
* &amp;lt;math&amp;gt;\partial \Omega&amp;lt;/math&amp;gt; is the boundary of fluid region, &amp;lt;math&amp;gt;\partial\Omega_F&amp;lt;/math&amp;gt; is the free surface, &amp;lt;math&amp;gt;\partial\Omega_B&amp;lt;/math&amp;gt; is the body surface.&lt;br /&gt;
&lt;br /&gt;
== Other notation, style etc. ==&lt;br /&gt;
&lt;br /&gt;
* We prefer &amp;lt;math&amp;gt;\partial_x\phi&amp;lt;/math&amp;gt; etc. for all derivatives or &amp;lt;math&amp;gt;\frac{\partial\phi}{\partial x}&amp;lt;/math&amp;gt;. Try to avoid &amp;lt;math&amp;gt;\phi_x\,&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\phi^{\prime}&amp;lt;/math&amp;gt;&lt;br /&gt;
* We prefer &amp;lt;math&amp;gt;\mathrm{d}x\,\!&amp;lt;/math&amp;gt; etc. for differentials. Avoid &amp;lt;math&amp;gt;dx\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\mathrm{Re}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\mathrm{Im}\,\!&amp;lt;/math&amp;gt; for the real and imaginary parts. &lt;br /&gt;
* We use two equals signs for the first heading (rather than a single) following [http://www.wikipedia.org wikipedia] style, then three etc. &lt;br /&gt;
&lt;br /&gt;
[[Category:Administration]]&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Solution_of_Wave-Body_Flows,_Green%27s_Theorem&amp;diff=13541</id>
		<title>Solution of Wave-Body Flows, Green&#039;s Theorem</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Solution_of_Wave-Body_Flows,_Green%27s_Theorem&amp;diff=13541"/>
		<updated>2012-07-26T19:55:16Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: /* Boundary-value problem */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Ocean Wave Interaction with Ships and Offshore Structures&lt;br /&gt;
 | chapter title = Solution of Wave-Body Flows, Green&#039;s Theorem&lt;br /&gt;
 | next chapter = [[Rankine Intergral Equations For Ship Flows]]&lt;br /&gt;
 | previous chapter = [[Seakeeping In Random Waves]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{incomplete pages}}&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
Two types of wave body interaction problems are encountered frequently in applications and solved by the methods described in this section: zero-speed linear wave body interactions in the frequency domain in 2D and 3D, forward-speed seakeeping problems in the frequency or time domain in three dimensions (linear and nonlinear).&lt;br /&gt;
&lt;br /&gt;
A consensus has been reached over the past two decades that the most efficient and robust solution methods are based on Green&#039;s Theorem using either a wave-source potential or the Rankine source as the Green function. The numerical solution of the resulting integral equations in practice is in almost all cases carried out by panel methods.&lt;br /&gt;
&lt;br /&gt;
==Frequency-domain radiation-diffraction. U = 0==&lt;br /&gt;
&lt;br /&gt;
===Boundary-value problem===&lt;br /&gt;
&lt;br /&gt;
Green&#039;s Theorem generates a boundary integral equation for the complex potential &amp;lt;math&amp;gt;\phi\,&amp;lt;/math&amp;gt; over the body boundary &amp;lt;math&amp;gt;S_B\,&amp;lt;/math&amp;gt; for the proper choice of the Green function:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iint_S \left( \phi_1 \frac{\partial\phi_2}{\partial n} - \phi_2 \frac{\partial\phi_1}{\partial n} \right) \mathrm{d}S = 0 \, &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For any &amp;lt;math&amp;gt;\phi_1, \ \phi_2\,&amp;lt;/math&amp;gt; that solve the Laplace equation in a closed volume &amp;lt;math&amp;gt;V\,&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Define the volume &amp;lt;math&amp;gt;V\,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;S\,&amp;lt;/math&amp;gt; as follows:&lt;br /&gt;
&lt;br /&gt;
The fluid volume &amp;lt;math&amp;gt;V\,&amp;lt;/math&amp;gt; is enclosed by the union of several surfaces&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; S \equiv S_B + S_F + S_\infty + S_H + S_E &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; S_B \, &amp;lt;/math&amp;gt;: mean position of body surface &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; S_F \, &amp;lt;/math&amp;gt;: mean position of the free surface &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; S_\infty \, &amp;lt;/math&amp;gt;: Bounding cylindrical surface with radius &amp;lt;math&amp;gt; R = \left( x^2 +y^2 \right)^{1/2} \, &amp;lt;/math&amp;gt;. Will be allowed to expand after the statement of Green&#039;s Theorem &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; S_H \, &amp;lt;/math&amp;gt;: Seafloor (assumed flat) of a surface which will be allowed to approach &amp;lt;math&amp;gt; Z=-\infty\,&amp;lt;/math&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; S_E \, &amp;lt;/math&amp;gt;: Spherical surface with radius &amp;lt;math&amp;gt; V = \epsilon \ , &amp;lt;/math&amp;gt; centered at point &amp;lt;math&amp;gt; \vec\xi \, &amp;lt;/math&amp;gt; in the fluid domain &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; \vec{n}\,&amp;lt;/math&amp;gt;: Unit normal vector on &amp;lt;math&amp;gt;S\,&amp;lt;/math&amp;gt;, at point &amp;lt;math&amp;gt;\vec{x}\,&amp;lt;/math&amp;gt; on &amp;lt;math&amp;gt;S\,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Define two velocity potentials &amp;lt;math&amp;gt;\phi_i(\vec{x})\,&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \phi_1(\vec{x}) = \phi(\vec{x}) \equiv \,&amp;lt;/math&amp;gt; Unknown complex radiation or diffraction potential &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; \phi_2(\vec{x}) = G(\vec{x};\vec{\xi}) \equiv \,&amp;lt;/math&amp;gt; Green function value at point &amp;lt;math&amp;gt;\vec{x}\,&amp;lt;/math&amp;gt; due to a singularity centered at point &amp;lt;math&amp;gt;\vec{\xi}\,&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Two types of Green functions will be used:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Rankine source&amp;lt;/u&amp;gt;: &amp;lt;math&amp;gt; \nabla_x^2 G = 0 \, &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; G(\vec{x};\vec{\xi}) = - \frac{1}{4\pi} \left|\vec{x}-\vec{\xi}\right|^{-1} = - \frac{1}{4\pi r} \, &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; = - \frac{1}{4\pi} \left\{ (x-\xi)^2 + (Y-n)^2 + (Z-\zeta)^2 \right\}^{-1/2} \, &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the flux of fluid emitted from &amp;lt;math&amp;gt;\vec{\xi}\,&amp;lt;/math&amp;gt; is equal to &amp;lt;math&amp;gt;1\,&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This Rankine source and its gradient with respect to &amp;lt;math&amp;gt;\vec\xi\,&amp;lt;/math&amp;gt; (dipoles) is the Green function that will be used in the ship seakeeping problem.&lt;br /&gt;
&lt;br /&gt;
===Havelock&#039;s wave source potential===&lt;br /&gt;
&lt;br /&gt;
...Also known as the &amp;lt;math&amp;gt;U=0\,&amp;lt;/math&amp;gt; wave Green function in the frequency domain.&lt;br /&gt;
&lt;br /&gt;
Satisfies the free surface condition and near &amp;lt;math&amp;gt;\vec\xi=0\,&amp;lt;/math&amp;gt; behaves like a Rankine source:&lt;br /&gt;
&lt;br /&gt;
The following choice for &amp;lt;math&amp;gt;G(\vec{X};\vec{\xi})\,&amp;lt;/math&amp;gt; satisfies the Laplace equation and the free-surface condition:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F(\vec{X},\vec{\xi}) = - \frac{1}{4\pi} \left( \frac{1}{r} + \frac{1}{r_1} \right) - \frac{K}{2\pi} \int_0^\infty \frac{\mathrm{d}u}{u-K} e^{u(Z+\zeta)} J_0(uR) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; K = \frac{\omega^2}{g} \, &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; R^2 = (X-\xi)^2 + (Y-n)^2 \, &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; J_0(uR) = \mbox{Bessel Function of order zero} \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mbox{Contour indented above pole} n = K \, &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Verify that with respect to the argument &amp;lt;math&amp;gt;\vec{X}\,&amp;lt;/math&amp;gt;, the velocity potential &amp;lt;math&amp;gt; \phi_2(\vec{X}) \equiv G(\vec{X};\vec{\xi})\,&amp;lt;/math&amp;gt; satisfies the free surface condition:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\partial\phi_2}{\partial Z} - K \phi_2 = 0, \quad Z=0 &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; \phi_2 \sim - \frac{1}{4\pi} r^{-1}, \quad \vec{X} \to \vec{\xi} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As &amp;lt;math&amp;gt; KR\to\infty\,&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; G \sim - \frac{i}{2} K e^{K(Z+\zeta)} H_0^{(2)}(KR) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt; H_0^{(2)} (KR)\,&amp;lt;/math&amp;gt; is the Hankel function of the second kind and order zero.&lt;br /&gt;
&lt;br /&gt;
At &amp;lt;math&amp;gt; KR\to\infty\,&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; H_0^{(2)}(KR) \sim \sqrt{\frac{2}{\pi K R}} e^{-i \left( KR-\frac{\pi}{4} \right)} + O \left( \frac{1}{R} \right) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore the real velocity potential&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathbb{G} = \mathrm{Re} \left\{ G e^{i\omega t} \right\} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Represents outgoing ring waves of the form &amp;lt;math&amp;gt;\propto e^{i(\omega T -KR)}\,&amp;lt;/math&amp;gt; hence satisfying the radiation condition.&lt;br /&gt;
&lt;br /&gt;
A similar far-field radiation condition is satisfied by the velocity potential &amp;lt;math&amp;gt; \phi_1(\vec{X})\equiv\phi(\vec{X})\,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \phi_1 \sim \frac{\mathbb{A}(\theta)}{(KR)^{1/2}} e^{KZ-iKR} + O\left(\frac{1}{R}\right) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It follows that on &amp;lt;math&amp;gt;S_\infty\,&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\partial\phi_1}{\partial n} = \frac{\partial\phi_1}{\partial R} = - i K \phi_1 \, &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\partial\phi_2}{\partial n} = \frac{\partial\phi_2}{\partial R} = - i K \phi_2 \, &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \phi_1 \frac{\partial\phi_2}{\partial n} - \phi_2 \frac{\partial\phi_1}{\partial n} = - i K \left( \phi_1 \phi_2 - \phi_2 \phi_1 \right) = 0 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with errors that decay like &amp;lt;math&amp;gt;R^{-3/2}\,&amp;lt;/math&amp;gt;, hence faster than &amp;lt;math&amp;gt;R\,&amp;lt;/math&amp;gt;, which is the rate at which the surface &amp;lt;math&amp;gt; S_\infty\,&amp;lt;/math&amp;gt; grows as &amp;lt;math&amp;gt;R\to\infty\,&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
On &amp;lt;math&amp;gt;S_F(Z=0)\,&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\partial\phi_1}{\partial n} = \frac{\partial\phi_1}{\partial Z}, \quad \frac{\partial\phi_2}{\partial n} = \frac{\partial\phi_2}{\partial Z} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \phi_1 \frac{\partial\phi_2}{\partial n} - \phi_2 \frac{\partial\phi_1}{\partial n} = \phi_1 \frac{\partial\phi_2}{\partial Z} - \phi_2\frac{\partial\phi_1}{\partial Z} = Y \left( \phi_1\phi_2 - \phi_2\phi_1\right) = 0 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It follows that upon application of Green&#039;s Theorem on the unknown potential &amp;lt;math&amp;gt; \phi_1 \equiv \phi\,&amp;lt;/math&amp;gt; and the wave Green function &amp;lt;math&amp;gt; \phi_2 \equiv G\,&amp;lt;/math&amp;gt; only the integrals over &amp;lt;math&amp;gt; S_B\,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;S_\epsilon\,&amp;lt;/math&amp;gt; survive.&lt;br /&gt;
&lt;br /&gt;
Over &amp;lt;math&amp;gt; S_H\,&amp;lt;/math&amp;gt;, either &amp;lt;math&amp;gt; \frac{\partial\phi_1}{\partial n} = \frac{\partial \phi_2}{\partial n} = 0 \,&amp;lt;/math&amp;gt; by virtue of the boundary condition if the water depth is finite or &amp;lt;math&amp;gt;\frac{\partial\phi_1}{\partial Z} \to 0, \ \frac{\partial\phi_2}{\partial Z}\to 0 \,&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt; Z\to - \infty\,&amp;lt;/math&amp;gt; by virtue of the vanishing of the respective flow velocities at large depths.&lt;br /&gt;
&lt;br /&gt;
There remains to interpret and evaluate the integral over &amp;lt;math&amp;gt; S_\epsilon\,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;S_B\,&amp;lt;/math&amp;gt;. Start with &amp;lt;math&amp;gt; S_\epsilon\,&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; I_\epsilon = \iint_{S_\epsilon} \left( \phi_1 \frac{\partial\phi_2}{\partial n} - \phi_2 \frac{\partial\phi_1}{\partial n} \right) \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; I_\epsilon = \iint_{S_\epsilon} \left( \phi \frac{\partial G}{\partial n} - G \frac{\partial\phi}{\partial n} \right) \mathrm{d}S_X &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the integral over &amp;lt;math&amp;gt; S_\epsilon\,&amp;lt;/math&amp;gt; is over the &amp;lt;math&amp;gt; \vec{X}\,&amp;lt;/math&amp;gt; variable with &amp;lt;math&amp;gt; \vec{\xi}\,&amp;lt;/math&amp;gt; being the fixed point where the source is centered.&lt;br /&gt;
&lt;br /&gt;
Near &amp;lt;math&amp;gt;\vec{\xi}\,&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; G \sim - \frac{1}{4\pi r}, \quad \frac{\partial G}{\partial n} = - \frac{\partial G}{\partial r} \sim \frac{1}{4\pi r^2} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \phi \to \phi(\vec{\xi}) = \phi(\vec{X}) \ \mbox{as} \ \epsilon \to 0, \vec{X} \to \vec{\xi} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the limit as &amp;lt;math&amp;gt; r\to 0 \,&amp;lt;/math&amp;gt; the integrand over the sphere &amp;lt;math&amp;gt;S_\epsilon\,&amp;lt;/math&amp;gt; becomes spherically symmetric and with vanishing errors&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; I_\epsilon \to 4 \pi r^2 \left[ \phi(\vec{\xi}) \frac{1}{4 \pi r^2} + G \frac{\partial\phi}{\partial r} \right] = \phi(\vec{\xi}) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In summary:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \phi(\vec{\xi}) + \iint_{S_B} \left[ \phi(\vec{X}) \frac{\partial G(\vec{X};\vec{\xi})}{\partial n_X} - G(\vec{X}; \vec{\xi}) \frac{\partial\phi}{\partial n_X} \right] \mathrm{d} S_n = 0 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
on &amp;lt;math&amp;gt; S_B: \quad \frac{\partial\phi}{\partial n_X} = V(X) = \,&amp;lt;/math&amp;gt; known from the boundary condition of the radiation and diffraction problems.&lt;br /&gt;
&lt;br /&gt;
It follows that a relationship is obtained between the value of &amp;lt;math&amp;gt; \phi(\vec{\xi})\,&amp;lt;/math&amp;gt; at some point in the fluid domain and its values &amp;lt;math&amp;gt; \phi_(\vec{X})\,&amp;lt;/math&amp;gt; and normal derivatives over the body boundary:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \phi(\vec{\xi}) + \iint_{S_B} \phi(\vec{X}) \frac{\partial G ( \vec{X}; \vec{\xi} )} {\partial n_X} \mathrm{d} S_X = \iint_{S_B} G (\vec{X};\vec{\xi}) V(\vec{X}) \mathrm{d} S_X &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Stated differently, knowledge of &amp;lt;math&amp;gt; \phi\,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; \frac{\partial\phi}{\partial n}\,&amp;lt;/math&amp;gt; over the body boundary allows the determination of &amp;lt;math&amp;gt; \phi\,&amp;lt;/math&amp;gt; and upon differentiation of &amp;lt;math&amp;gt;\nabla\phi\,&amp;lt;/math&amp;gt; in the fluid domain.&lt;br /&gt;
&lt;br /&gt;
In order to determine &amp;lt;math&amp;gt; \phi(\vec{X})\,&amp;lt;/math&amp;gt; on the body boundary &amp;lt;math&amp;gt; S_B\,&amp;lt;/math&amp;gt;, simply allow &amp;lt;math&amp;gt;\vec{\xi}\to S_B\,&amp;lt;/math&amp;gt; in which case the sphere &amp;lt;math&amp;gt; S_\epsilon\,&amp;lt;/math&amp;gt; becomes a &amp;lt;math&amp;gt;\frac{1}{2}\,&amp;lt;/math&amp;gt; sphere as &amp;lt;math&amp;gt; \epsilon\to 0 \, &amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
Note that &amp;lt;math&amp;gt; \vec{\xi}\,&amp;lt;/math&amp;gt; is a fixed point where the point source is centered and &amp;lt;math&amp;gt; \vec{X}\,&amp;lt;/math&amp;gt; is a dummy integration variable moving over the body boundary &amp;lt;math&amp;gt;S_B\,&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The reduction of Green&#039;s Theorem derived above survives almost identically with a factor of &amp;lt;math&amp;gt;\frac{1}{2}\,&amp;lt;/math&amp;gt; now multiplying the &amp;lt;math&amp;gt;I_\epsilon\,&amp;lt;/math&amp;gt; integral since only &amp;lt;math&amp;gt; \frac{1}{2}\,&amp;lt;/math&amp;gt; of the &amp;lt;math&amp;gt;S_\epsilon\,&amp;lt;/math&amp;gt; surface lies in the fluid domain in the limit as &amp;lt;math&amp;gt;\epsilon\to 0 \, &amp;lt;/math&amp;gt; and for a body surface which is smooth. It follows that:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{1}{2} \phi(\vec{\xi}) + \iint_{S_B}\phi(\vec{X}) \frac{\partial G (\vec{X}; \vec{\xi})}{\partial n_X} \mathrm{d} S_X = \iint_{S_B} G(\vec{X}; \vec{\xi}) V(\vec{X}) \mathrm{d} S_X &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where now both &amp;lt;math&amp;gt;\vec{X}\,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\vec{\xi}\,&amp;lt;/math&amp;gt; lie no the body surface. This becomes an integral equation for &amp;lt;math&amp;gt;\phi(\vec{X})\,&amp;lt;/math&amp;gt; over a surface &amp;lt;math&amp;gt; S_B\,&amp;lt;/math&amp;gt; of boundary extent. Its solution is carried out with panel methods described below.&lt;br /&gt;
&lt;br /&gt;
The interpretation of the derivative under the integral sign is as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\partial G}{\partial n_X} \equiv \vec{n}_X \cdot \nabla_X G(\vec{X};\vec{\xi}) \equiv \left( n_1 \frac{\partial}{\partial X} + n_2 \frac{\partial}{\partial Y} + n_3 \frac{\partial}{\partial Z} \right) G (\vec{X}; \vec{\xi}) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where derivatives are taken with respect to the first argument for a point source centered at point &amp;lt;math&amp;gt; \vec{\xi}\,&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Infinite domain potential flow solutions==&lt;br /&gt;
&lt;br /&gt;
In the absence of the free surface, the derivation of the Green integral equation remains almost unchanged using &amp;lt;math&amp;gt;G\,&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \phi_2(\vec{X}) = - \frac{1}{4\pi} \left| \vec{X} - \vec{\xi} \right|^{-1} \equiv G(\vec{X}; \vec{\xi}) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Rankine source as the Green function and using the property that as &amp;lt;math&amp;gt; R\to \infty\,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For closed boundaries &amp;lt;math&amp;gt;S_B\,&amp;lt;/math&amp;gt; with no shed wakes responsible for lifting effects the resulting integral equation for &amp;lt;math&amp;gt;\phi(\vec{X})\,&amp;lt;/math&amp;gt; over the body boundary becomes:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{1}{2} \phi(\vec{\xi}) + \iint_{S_B} \phi(\vec{X}) \frac{\partial G(\vec{X};\vec{\xi})}{\partial n_X} \mathrm{d} S_X = \iint_{S_B} G(\vec{X};\vec{\xi}) V(\vec{X}) \mathrm{d} S_X &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; V(\vec{X}) = \frac{\partial\phi}{\partial n}, \quad \mbox{on} \ S_B \, &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
Uniform flow past &amp;lt;math&amp;gt; S_B\,&amp;lt;/math&amp;gt;:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \Phi = U X + \phi, \ \frac{\partial\Phi}{\partial n} = 0, \ \mbox{on} \ S_B \, &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \Longrightarrow \frac{\partial\phi}{\partial n} = -\frac{\partial}{\partial n} \left(U X\right) = - n_1 U \equiv V(\vec{X}) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So the RHS of the Green equation becomes:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; RHS = \iint_{S_B} G(\vec{X};\vec{\xi}) \left(-Un_1\right) \mathrm{d} S_X \, &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Ocean Wave Interaction with Ships and Offshore Energy Systems]]&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Memory_Effect_Function&amp;diff=13037</id>
		<title>Memory Effect Function</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Memory_Effect_Function&amp;diff=13037"/>
		<updated>2010-11-11T19:26:32Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: /* Integro-differential equation method */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{incomplete pages}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Frequency-domain equation of motion==&lt;br /&gt;
&lt;br /&gt;
The radiation force coefficients also play a significant role in determining the motion of a floating structure possibly subject to mooring and applied forces. To obtain the correct equation of motion in the frequency domain it is important to adopt the approach similar to that taken by [[McIver 2005]], i.e. keep the initial condition terms in the Fourier transform operations. Therefore, if the Fourier transform of the velocity is &amp;lt;math&amp;gt;v_{\mu}(\omega)&amp;lt;/math&amp;gt; then the Fourier transform of the acceleration is given by&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
\int_{0}^{\infty}\ddot{X}_{\mu}(t)e^{i\omega t}\mathrm{d}t=-i\omega v_{\mu}(\omega) - V_{\mu}(0)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
the time-derivative of the potential obeys a similar relation &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
\int_{0}^{\infty}\frac{\partial\Phi}{\partial t}e^{i\omega t}\mathrm{d}t=-i\omega \phi_{\mu}(\omega) - \Phi(\mathbf{x},0).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore, the ini\partial conditions of the structure &amp;lt;math&amp;gt;(X_{\mu}(0),V_{\mu}(0))&amp;lt;/math&amp;gt; and of the potential &amp;lt;math&amp;gt;\Phi(\mathbf{x},0)&amp;lt;/math&amp;gt; will be present in the Fourier transform of the equation motion which will be referred to as the frequency-domain equation of motion. If the frequency domain potential is decomposed in the same manner as before then the Fourier transform of the equation of motion for the structure is &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
M\left[-V_{\mu}(0)-i\omega v_{\mu}(\omega)\right]&lt;br /&gt;
=-\rho\iint_{\Gamma}(-\Phi(\mathbf{x},0))n_{\mu}\mathrm{d}S+F^{S}_{\mu}(\omega)+&lt;br /&gt;
i\omega \sum_{\nu} (f_{\mu\nu}(\omega)+i\gamma_{\mu\nu}/\omega)v_{\nu}(\omega)-&lt;br /&gt;
\sum_{\nu} c_{\mu\nu}\frac{v(\omega)+X(0)}{-i\omega}+f^{A}_{\mu}(\omega)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
for &amp;lt;math&amp;gt;\mu=1,\ldots,6&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;f^{A}_{\mu}(\omega)&amp;lt;/math&amp;gt; is the Fourier transform of the applied force &amp;lt;math&amp;gt;F_{\mu}(t)&amp;lt;/math&amp;gt; in equation~(\ref{linearisedmotion}). Although it is assumed that &amp;lt;math&amp;gt;\Phi(\mathbf{x},t)=0&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;t&amp;lt;0&amp;lt;/math&amp;gt;, for a non-zero initial velocity &amp;lt;math&amp;gt;\lim_{t^{+}\rightarrow 0}\Phi(\mathbf{x},t)\neq 0&amp;lt;/math&amp;gt; because of the impulsive pressure on the free-surface resulting from the initial motion of the pressure. Therefore, the first term on the right-hand side of the above equation is not identically zero, rather is given by&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\rho\iint_{\Gamma}(-\Phi(\mathbf{x},0))n_{\mu}\mathrm{d}S=a(\infty)V(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;  &lt;br /&gt;
[[Mei 1983]]   &lt;br /&gt;
where &amp;lt;math&amp;gt;a(\infty)=\lim_{\omega\rightarrow\infty}a(\omega)&amp;lt;/math&amp;gt; is the infinite frequency added mass.&lt;br /&gt;
&lt;br /&gt;
The frequency-domain equation is usually re-expressed in the following form&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\sum_{\nu} \{c_{\mu\nu}-\omega^{2}\left[M_{\mu\mu}\delta_{\mu\nu}+a_{\mu\nu}(\omega)+i(b_{\mu\nu}+\gamma_{\mu\nu})/\omega\right]\}v_{\nu}(\omega) &lt;br /&gt;
= -i\omega\left[ F_{\mu}^{S}(\omega)+f_{\mu}(\omega)+(M_{\mu\mu}+a_{\mu\mu}(\infty))V_{\mu}(0)\right]-\sum_{\nu}c_{\mu\nu}X_{\nu}(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
for  &amp;lt;math&amp;gt;\mu=1,\ldots,6&amp;lt;/math&amp;gt;. If it is assumed that the structure can only move in one mode of motion and that there is no incident wave or applied force then the complex velocity will be given by&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
v_{\mu}(\omega)=\frac{-i\omega(M_{\mu\mu}+a_{\mu\mu}(\infty))V_{\mu}(0)-c_{\mu\mu}X_{\mu}(0)}{c_{\mu\mu}-\omega^{2}\left[M_{\mu\mu}+a_{\mu\mu}(\omega)+i(b_{\mu\mu}+\gamma_{\mu\mu})/\omega\right]}.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
As described by [[McIver 2006]], the zero of the denominator gives the location of the pole referred to as the motion resonance. The complex force coefficient &amp;lt;math&amp;gt;f_{\mu\nu}(\omega)&amp;lt;/math&amp;gt; will also possess a pole, however this resonance is annulled by the frequency-dependence of the complex velocity (see [[McIver 2006]]) and so the motion, in the absence of incident waves, is dominated by the motion resonance term. Solving for &amp;lt;math&amp;gt;v(\omega)&amp;lt;/math&amp;gt; then the time-domain velocity can be recovered using the inverse transform&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
V(t)=\frac{1}{\pi} Re \int^{\infty}_{0}v(\omega)e^{-i\omega t} \mathrm{d}t.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Integro-differential equation method==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The widespread availability of numerical and analytical methods for determining hydrodynamic  coefficients in the frequency domain facilitated the development of a solution method for the motion of a floating body in the time domain. The principles of this method are described by \citeasnoun{ccmei}~in~\S7.11 based on work by \citeasnoun{cummins} and \citeasnoun{wehausen1971} among others. The method requires the consideration of the fluid response to a displacement given impulsively to a structure denoted by &amp;lt;math&amp;gt;\delta(t-\tau)V_{\alpha}(\tau)&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;\dot{X_{\alpha}}=V_{\alpha}&amp;lt;/math&amp;gt;. The resultant impulse response functions for the velocity potential and the hydrodynamic force are written as the sum of an infinite frequency component and a time-dependent component using the Cummins&#039; decomposition. To obtain the fluid response to a general continuous velocity function &amp;lt;math&amp;gt;V_{\alpha}(t)&amp;lt;/math&amp;gt; an integral of the impulse response over the range &amp;lt;math&amp;gt;-\infty&amp;lt;\tau&amp;lt;\infty&amp;lt;/math&amp;gt; must be calculated. The hydrodynamic force on the structure due to the forced motion of the structure is then shown to be&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;(11)&lt;br /&gt;
&lt;br /&gt;
\mathcal{F}_{\beta}^{R}(t)=-m_{\beta\alpha}(\infty)\ddot{X_{\alpha}}-\int^{t}_{-\infty}L_{\beta\alpha}(t-\tau)\ddot{X}_{\alpha}(\tau)\,\mathrm{d}\tau&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;m_{\beta\alpha}(\infty)&amp;lt;/math&amp;gt; is an infinite frequency added mass coefficient and &amp;lt;math&amp;gt;L_{\beta\alpha}(t-\tau)&amp;lt;/math&amp;gt; is referred to as the impulse response function. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By considering the velocity of the body to be time-harmonic, i.e.  &amp;lt;math&amp;gt;V_{\alpha}(t)=Re\{ v_{\alpha} e^{-i\omega t} \}&amp;lt;/math&amp;gt;, the impulse response function &amp;lt;math&amp;gt;L_{\beta\alpha}&amp;lt;/math&amp;gt; can be related to the added mass and damping coefficients by comparing the force expression~(11) to (5). The comparison yields the following relations&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
&lt;br /&gt;
a_{\alpha\beta}-m_{\alpha\beta}(\infty)&amp;amp;=\int^{\infty}_{0}L_{\alpha\beta}(\tau)\cos\omega\tau\, \mathrm{d}\tau \\&lt;br /&gt;
&lt;br /&gt;
b_{\alpha\beta}&amp;amp;=\omega\int^{\infty}_{0}L_{\alpha\beta}(\tau)\sin\omega\tau\, \mathrm{d}\tau &lt;br /&gt;
&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and so if the added mass or damping coefficients are known for all frequencies &amp;lt;math&amp;gt;0\leq\omega\leq\infty&amp;lt;/math&amp;gt;, the impulse response or memory function &amp;lt;math&amp;gt;L_{\alpha\beta}(t)&amp;lt;/math&amp;gt; can be found by inverse cosine or sine transform. Therefore, it is be possible to determine the radiation force due to a non-harmonic forcing by using frequency-domain information. The exciting force can also be determined in a similar manner; to obtain it the incident wave-form and the radiation impulse response function are required. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By expressing the total hydrodynamic force in terms of the radiation force~(11) and the exciting force, the equation of motion~(\ref{linearisedmotion}) for transient motions of a floating structure becomes&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
\left[M_{\alpha\beta}+m_{\alpha\beta}(\infty)\right]\ddot{X}_{\beta} + \int^{t}_{-\infty}L_{\beta\alpha}(t-\tau)\ddot{X}_{\alpha}(\tau)\,\mathrm{d}\tau +  c_{\alpha\beta}X_{\beta}=\mathcal{F}^{D}_{\alpha}+F_{\mu}(t), &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
for &amp;lt;math&amp;gt;\alpha=1,\ldots,6&amp;lt;/math&amp;gt;, where repeated indices implies summation. This set of integro-differential equations is to be solved  given the position and velocity of the body. It is assumed that the impulse response function and infinite frequency added mass are known from Fourier transforms of the frequency domain hydrodynamic coefficients. &lt;br /&gt;
&lt;br /&gt;
Thus,  it is possible, in principle, to calculate the transient response of a floating structure from the frequency-domain responses. Numerically, an accurate calculation of transient response requires that the hydrodynamic coefficients be computed at a large number of discrete values of the frequency &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; on the interval &amp;lt;math&amp;gt;[0,\infty)&amp;lt;/math&amp;gt;. This time-domain solution method has been in use since the work by Cummins and Wehausen. As numerical methods and computing power have improved, more complex problems can be solved to a higher degree of accuracy. A recent application of the method can be found in the investigations into latching control by~\citeasnoun{babarit2006}. The principal drawback of the application of this method is that the motion of the fluid cannot be determined from the computational results. Therefore, if the fluid response is required, for example in the investigation of trapped modes,  further computations are necessary.&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Linear_Wave-Body_Interaction&amp;diff=13019</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=13019"/>
		<updated>2010-11-06T12:11:41Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: /* Haskind relations of exciting forces */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Ocean Wave Interaction with Ships and Offshore Structures&lt;br /&gt;
 | chapter title = Linear Wave-Body Interaction&lt;br /&gt;
 | next chapter = [[Long Wavelength Approximations]]&lt;br /&gt;
 | previous chapter =  [[Ship Kelvin Wake]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{incomplete pages}}&lt;br /&gt;
&lt;br /&gt;
[[Image:Rigid_body.jpg|thumb|right|600px|Rigid body motions]]&lt;br /&gt;
&lt;br /&gt;
We consider a [[Linear Plane Progressive Regular Waves|Linear Plane Progressive Regular Wave]] in the&lt;br /&gt;
[[Frequency Domain Problem|Frequency Domain]] interacting with a floating body in two dimensions (the main concepts survive almost with no change in the more practical three-dimensional problem).&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
We derive here the equations of motion for a body in [[Linear Plane Progressive Regular Waves]] in the frequency domain in &lt;br /&gt;
two dimensions. We begin with the equations in the time domian. The simplest problems is [[Waves reflecting off a vertical wall]]&lt;br /&gt;
&lt;br /&gt;
== Equations for a Floating Body in the Time Domain ==&lt;br /&gt;
&lt;br /&gt;
We begin with the equations for a floating two-dimensional body in the time domain.&lt;br /&gt;
&lt;br /&gt;
{{equations of motion time domain without body condition}}&lt;br /&gt;
&lt;br /&gt;
{{two dimensional floating body time domain}}&lt;br /&gt;
&lt;br /&gt;
More details can be found in [[:Category:Time-Dependent Linear Water Waves|Time-Dependent Linear Water Waves]]&lt;br /&gt;
&lt;br /&gt;
== Equations for a Floating Body in the Frequency Domain ==&lt;br /&gt;
&lt;br /&gt;
The dynamic condition is the equation of motion for the structure in the [[Frequency Domain Problem|frequency domain]]&lt;br /&gt;
can be found from the time domain equations and we introduce the following notation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\xi_{\nu} = \zeta_{\nu}e^{-\mathrm{i}\omega t}\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This give us&lt;br /&gt;
{{standard linear wave scattering equations without body condition}}&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\omega^2 \sum_{\nu} M_{\mu\nu}\zeta_{\nu}=\mathrm{i}\omega\rho\iint_{\partial\Omega}\phi n_{\mu}\, \mathrm{d}S&lt;br /&gt;
- \sum_{\nu} C_{\mu\nu}\zeta_{\nu},\quad \textrm{for} \qquad \mu=1,3,5,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The equations of motion for &amp;lt;math&amp;gt; \zeta_\nu\,&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. We use the standard numbering of the modes of motion.&lt;br /&gt;
&lt;br /&gt;
== Equations for a Fixed Body in Frequency Domain ==&lt;br /&gt;
&lt;br /&gt;
The equations for a fixed body are&lt;br /&gt;
&lt;br /&gt;
{{standard linear wave scattering equations without body condition}}&lt;br /&gt;
{{frequency domain equations for a rigid body}}&lt;br /&gt;
plus the radiation conditions.  &lt;br /&gt;
&lt;br /&gt;
We decompose the potential as&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\phi = \phi^{\mathrm{I}} + \phi^{\mathrm{D}} \,,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\phi^{\mathrm{I}}&amp;lt;/math&amp;gt; is the incident potential and &amp;lt;math&amp;gt;\phi^{\mathrm{D}}&amp;lt;/math&amp;gt;&lt;br /&gt;
is the diffracted potential.  The boundary condition for the diffracted potential is&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
\Delta\phi^{\mathrm{D}}&amp;amp;=0, &amp;amp;-h&amp;lt;z&amp;lt;0,\,\,\mathbf{x} \in \Omega \\&lt;br /&gt;
\partial_n\phi^{\mathrm{D}} &amp;amp;= 0, &amp;amp;z=-h, \\&lt;br /&gt;
\partial_n \phi^{\mathrm{D}}  &amp;amp;= \alpha \phi, &amp;amp;z=0,\,\,\mathbf{x} \in \partial\Omega_{F}, &lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
plus &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
 \partial_n \phi^{\mathrm{D}}  = - \partial_n \phi^{\mathrm{I}},\,\, \mathbf{x} \in \partial\Omega_{B},&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Code to calculate the solution (using a slighly modified method) can be found in&lt;br /&gt;
[[Boundary Element Method for a Fixed Body in Finite Depth]]&lt;br /&gt;
&lt;br /&gt;
== Equations for the Radiation Potential in Frequency Domain ==&lt;br /&gt;
&lt;br /&gt;
We decompose the body motion into the rigid body modes of motion. Associated with&lt;br /&gt;
each of these modes is a potential which must be solved for.&lt;br /&gt;
The equations for the radiation potential in the frequency domain are&lt;br /&gt;
&lt;br /&gt;
{{standard linear wave scattering equations without body condition}}&lt;br /&gt;
{{frequency domain equations for the radiation modes}}&lt;br /&gt;
&lt;br /&gt;
{{sommerfeld radiation condition two dimensions for radiation}}&lt;br /&gt;
&lt;br /&gt;
Code to calculate the radiation potential can be found in &lt;br /&gt;
[[Boundary Element Method for the Radiation Potential in Finite Depth]]&lt;br /&gt;
&lt;br /&gt;
We denote the solution for each of the radiation potentials by&lt;br /&gt;
&amp;lt;math&amp;gt;\phi_\nu^{\mathrm{R}}&amp;lt;/math&amp;gt; and the total potential is written as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\phi = \phi^{\mathrm{I}} +  \phi^{\mathrm{D}} +&lt;br /&gt;
\sum_\nu \zeta_\nu \phi_\nu^{\mathrm{R}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Final System of Equations ==&lt;br /&gt;
&lt;br /&gt;
We substitute the expansion for the potential into the equations in the frequency domain and we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\omega^2 \sum_{\nu} M_{\mu\nu}\zeta_{\nu}=-\mathrm{i}\omega\rho\iint_{\partial\Omega_{B}}&lt;br /&gt;
\left(\phi^{\mathrm{I}} +  \phi^{\mathrm{D}} +&lt;br /&gt;
\sum_{\nu} \zeta_\nu \phi_{\nu}^{\mathrm{R}}\right) \mathbf{n}_{\mu}\, dS&lt;br /&gt;
- \sum_{\nu}  C_{\mu\nu}\xi_{\nu},\quad \textrm{for} \qquad \mu=1,3,5,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{added mass damping and force matrices definition}}&lt;br /&gt;
&lt;br /&gt;
Then the equations can be expressed as follows.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;  \left[-\omega^2 \left(\mathbf{M} + \mathbf{A} \right) + &lt;br /&gt;
\mathrm{i}\omega \mathbf{B} + \mathbf{C} \right] \vec{\zeta} = \mathbf{f} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\mathbf{M}&amp;lt;/math&amp;gt; is the mass matrix,  &amp;lt;math&amp;gt;\mathbf{A}&amp;lt;/math&amp;gt; is the added mass matrix,&lt;br /&gt;
&amp;lt;math&amp;gt;\mathbf{B}&amp;lt;/math&amp;gt; is the damping matrix, &amp;lt;math&amp;gt;\mathbf{C}&amp;lt;/math&amp;gt; is the hydrostatic matrix,&lt;br /&gt;
&amp;lt;math&amp;gt;\vec{\zeta}&amp;lt;/math&amp;gt; is the vector of body displacements and &amp;lt;math&amp;gt;\mathbf{f}&amp;lt;/math&amp;gt; is the force. &lt;br /&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 two dimensional problem for the sake of clarity.&lt;br /&gt;
&lt;br /&gt;
== Symmetric body ==&lt;br /&gt;
&lt;br /&gt;
For a body which is [[:Category:Symmetry in Two Dimensions|Symmetric in Two Dimensions]]&lt;br /&gt;
the Heave is decoupled from Surge and Roll. &lt;br /&gt;
In other words the Surge and Roll motions do not influence Heave and vice versa.&lt;br /&gt;
&lt;br /&gt;
== Matlab Code ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*A program to solve for pitch and heave and only for two geometries can be found here [http://www.math.auckland.ac.nz/~meylan/code/boundary_element/rigid_body_motion.m rigid_body_motion.m]&lt;br /&gt;
&lt;br /&gt;
* a program to calculate the solution for a specific geometry (with plot as output as shown) can be found here [http://www.math.auckland.ac.nz/~meylan/code/boundary_element/wave_bem_example_floating.m wave_bem_example_floating.m] &lt;br /&gt;
&lt;br /&gt;
[[Image:Wave_bem_example_floating_RT2.jpg|300px|right|thumb|The reflection (solid line) and transmission (dashed line)&lt;br /&gt;
for a dock for heave and pitch (red), heave only (blue) and pitch only (black)]]&lt;br /&gt;
&lt;br /&gt;
=== Additional code ===&lt;br /&gt;
&lt;br /&gt;
This program requires&lt;br /&gt;
* A program to calculate the geometery [http://www.math.auckland.ac.nz/~meylan/code/boundary_element/circlebody_twod.m  circlebody_twod.m]&lt;br /&gt;
* {{fixed body bem code}}&lt;br /&gt;
* {{floating body radiation code}}&lt;br /&gt;
* {{free surface dispersion equation code}}&lt;br /&gt;
* {{boundary element code}}&lt;br /&gt;
&lt;br /&gt;
== Symmetry-reciprocity relations ==&lt;br /&gt;
&lt;br /&gt;
It will be shown that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A_{ij}(\omega) = A_{ji}(\omega) \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; B_{ij}(\omega) = B_{ji}(\omega) \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Along the same lines it will be shown that the exciting force &amp;lt;math&amp;gt;\mathbf{X}_j\,&amp;lt;/math&amp;gt; can be expressed in terms of &amp;lt;math&amp;gt; \psi_j\,&amp;lt;/math&amp;gt; circumventing the solution for the diffraction potential.&lt;br /&gt;
The core result needed for the proof of the above properties is [http://en.wikipedia.org/wiki/Green&#039;s_identities Green&#039;s second identity]&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iint_S \left( \psi_1 \frac{\partial\psi_2}{\partial n} - \psi_2 \frac{\partial\psi_1}{\partial n} \right) \mathrm{d}S = 0 \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\nabla^2 \psi_i=0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{{energy_region_plates}}&lt;br /&gt;
&lt;br /&gt;
[[Image:Symmetry_boundary.jpg|thumb|right|600px|Boundary]]&lt;br /&gt;
&lt;br /&gt;
In the surface wave-body problem define the closed surfaces as shown in figure on the right.&lt;br /&gt;
Let &amp;lt;math&amp;gt; \phi_j\,&amp;lt;/math&amp;gt; be rediation or diffraction potentials. Over the boundaries &amp;lt;math&amp;gt;S^\pm\,&amp;lt;/math&amp;gt; we have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; S^+: \quad \phi_j \ \sim \ \frac{igA_j^+}{\omega} e^{Kz-iKx} \,&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; \frac{\partial\phi_j}{\partial n} = \frac{\partial \phi_j}{\partial x} \ \sim \ -iK\phi_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; S^-: \quad \phi_j \ \sim \ \frac{igA_j^-}{\omega} e^{Kz+iKx} \,&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; \frac{\partial\phi_j}{\partial n} = - \frac{\partial \phi_j}{\partial x} \ \sim \ - iK\phi_j \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On &amp;lt;math&amp;gt; S_F: \qquad \frac{\partial\phi_j}{\partial z} = K\phi_j, \qquad \frac{\partial \Phi_j}{\partial n} = \frac{\partial \phi_j}{\partial z} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On &amp;lt;math&amp;gt; S_\infty: \qquad \left| \phi_j \right|, \quad \left| \nabla \phi_j \right| \to 0 &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Applying Green&#039;s identity to any pair of the radiation potentials &amp;lt;math&amp;gt; \psi_i, \psi_j \,&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iint_{S_B} \left[ \psi_i \frac{\partial\psi_j}{\partial n} - \psi_j \frac{\partial\psi_i}{\partial n} \right] \mathrm{d}S = - \iint_{S_F} \left[ \psi_i \frac{\partial\psi_j}{\partial z} - \psi_j \frac{\partial\psi_i}{\partial z} \right] \mathrm{d}S &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; - \iint_{S_+} \left[ \psi_i \frac{\partial\psi_j}{\partial x} - \psi_j \frac{\partial\psi_i}{\partial x} \right] \mathrm{d}S&lt;br /&gt;
 + \iint_{S_-} \left[ \psi_i \frac{\partial\psi_j}{\partial x} - \psi_j \frac{\partial\psi_i}{\partial x} \right] \mathrm{d}S = 0 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It follows that:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iint_{S_B} \psi_i \frac{\partial\psi_j}{\partial n} \mathrm{d}S = \iint_{S_B} \psi_j \frac{\partial\psi_i}{\partial n} \mathrm{d}S &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; A_{ij}(\omega) = A_{ji}(\omega), \qquad B_{ij}(\omega) = B_{ji}(\omega). \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Haskind relations of exciting forces ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\begin{align}&lt;br /&gt;
\mathbf{X}_i(\omega) &amp;amp;= - i\omega\rho\iint_{S_B} (\phi_I + \phi_7) n_i \mathrm{d}S \\&lt;br /&gt;
&amp;amp;= - \rho \iint_{S_B} (\phi_I + \phi_7) \frac{\partial \phi_i}{\partial n} \mathrm{d}S &lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the radiation velocity potential &amp;lt;math&amp;gt; \phi_i \,&amp;lt;/math&amp;gt; is known to satisfy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\partial\phi_i}{\partial n} = i\omega n_i, \quad \mbox{on} \ S_B &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\partial\phi_7}{\partial n} = \frac{\partial\phi_I}{\partial n}, \quad \mbox{on} \ S_B &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Both &amp;lt;math&amp;gt; \phi_i\,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; \phi_7\,&amp;lt;/math&amp;gt; satisfy the condition of outgoing waves at infinity. By virtue of [http://en.wikipedia.org/wiki/Green&#039;s_identities Green&#039;s second identity]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iint_{S_B} \phi_7 \frac{\partial\phi_i}{\partial n} \mathrm{d}S = \iint_{S_B} \phi_i \frac{\partial\phi_7}{\partial n} \mathrm{d}S = -\iint_{S_B} \phi_i \frac{\partial\phi_I}{\partial n} \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Haskind expression for the exciting force follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathbf{X}_i(\omega) = \rho \iint_{S_B} \left[ \phi_I \frac{\partial\phi_i}{\partial n} - \phi_i \frac{\partial\phi_I}{\partial n} \right] \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The symmetry of the &amp;lt;math&amp;gt; A_{ij}(\omega), B_{ij}(\omega) \,&amp;lt;/math&amp;gt; matrices applies in 2D and 3D. The application of Green&#039;s Theorem in 3D is very similar using the far-field representation for the potential &amp;lt;math&amp;gt; \phi_j\,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \phi_j \sim \frac{A_j(\theta)}{\sqrt{R}} e^{KZ-iKR} + O\left(\frac{1}{R^{3/2}}\right) &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; \frac{\partial\phi_j}{\partial n} = \frac{\partial\phi_j}{\partial R} \sim - i K \phi_j + O\left(\frac{1}{R^{3/2}}\right) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt; R \,&amp;lt;/math&amp;gt; is a radius from the body out to infinity and the &amp;lt;math&amp;gt; R^{-\frac{1}{2}} \,&amp;lt;/math&amp;gt; decay arises from the energy conservation principle. Details of the 3D proof may be found in [[Mei 1983]] and [[Wehausen and Laitone 1960]]&lt;br /&gt;
&lt;br /&gt;
The use of the Haskind relations for the exciting forces does not require the solution of the diffraction problem. This is convenient and often more accurate.&lt;br /&gt;
&lt;br /&gt;
The Haskind relations take other forms which will not be presented here but are detailed in [[Wehausen and Laitone 1960]]. The ones that are used in practice relate the exciting forces to the damping coefficients.&lt;br /&gt;
&lt;br /&gt;
These take the form:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;2D&amp;lt;/u&amp;gt;:      &amp;lt;math&amp;gt; B_{ii} = \frac{\left| \mathbf{X}_i \right|^2}{2\rho g V_g}, \quad V_g = \frac{g}{2\omega}, &amp;lt;/math&amp;gt;       Deep water&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;3D&amp;lt;/u&amp;gt;:      &amp;lt;math&amp;gt; B_{33} = \frac{K}{4\rho g V_g} \left| \mathbf{X}_3 \right|^2 \,&amp;lt;/math&amp;gt;      --- Heave&lt;br /&gt;
&lt;br /&gt;
(Axisymmetric bodies)      &amp;lt;math&amp;gt; B_{22} = \frac{K}{8\rho g V_g} \left| \mathbf{X}_2 \right|^2 \,&amp;lt;/math&amp;gt;      --- Sway&lt;br /&gt;
&lt;br /&gt;
So knowledge of &amp;lt;math&amp;gt; \mathbf{X}_i(\omega)\,&amp;lt;/math&amp;gt; allows the direct evaluation of the diagonal damping coefficients. These expressions are useful in deriving theoretical results in wave-body interactions to be discussed later.&lt;br /&gt;
&lt;br /&gt;
The two-dimensional theory of wave-body interactions in the frequency domain extends to three dimencions very directly with little difficulty.&lt;br /&gt;
&lt;br /&gt;
The statement of the 6 d.o.f. seakeeping problem is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \sum_{j=1}^6 \left[ - \omega^2 \left( M_{ij} + A_{ij} \right) + i \omega B_{ij} + C_{ij} \right] \Pi_j = \mathbf{X}_j, \quad i=1,\cdots,6 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; M_{ij}: \mbox{Body inertia matrix including moments of inertia for rotational modes. For details refer to MH} \, &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_{ij}(\omega): \mbox{Added mass matrix} \,&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_{ij}(\omega): \mbox{Damping matrix} \, &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_{ij}: \mbox{Hydrostatic and static inertia restoring matrix. For details refer to MH} \, &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; \mathbf{X}_i(\omega): \mbox{Wave exciting forces and moments} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At zero speed the definitions of the added-mass, damping matrices and exciting forces are identical to those in two dimensions.&lt;br /&gt;
&lt;br /&gt;
The boundary value problems satisfied by the radiation potentials &amp;lt;math&amp;gt;\phi_j, \ j=1,\cdots,6 \,&amp;lt;/math&amp;gt; and the diffraction potential &amp;lt;math&amp;gt; \phi_7 \,&amp;lt;/math&amp;gt; are as follows:&lt;br /&gt;
&lt;br /&gt;
Free-surface condition:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; -\omega^2 \phi_j + g \frac{\partial\phi_j}{\partial Z} = 0, \quad z=0 \quad j=1,\cdots,7 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Body-boundary conditions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\begin{align}&lt;br /&gt;
\frac{\partial\phi_7}{\partial n} &amp;amp;= -\frac{\partial\phi_I}{\partial n}, \quad \mbox{on} \quad S_B \\&lt;br /&gt;
\phi_I &amp;amp;= \frac{i g A}{\omega} e^{Kz-iKx\cos\beta-iKy\sin\beta+i\omega t} \\&lt;br /&gt;
\frac{\partial\phi_j}{\partial n} &amp;amp;= i\omega n_j, \quad j=1,\cdots,6 \, \\&lt;br /&gt;
n_j &amp;amp;= \begin{cases}&lt;br /&gt;
   n_j, &amp;amp; j=1,2,3 \\&lt;br /&gt;
   \left( \vec{x} \times \vec{n} \right), &amp;amp; j=4,5,6&lt;br /&gt;
\end{cases} &lt;br /&gt;
\end{align}&lt;br /&gt;
&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; j=1: \ \mbox{Surge} \qquad j=2: \ \mbox{Sway} \qquad j=3: \ \mbox{Heave} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; j=4: \ \mbox{Roll} \qquad j=5: \ \mbox{Pitch} \qquad j=6: \ \mbox{Yaw} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At large distances from the body the velocity potentials satisfy the radiation condition:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \phi_j (R,\theta) \sim \frac{A_j(\theta)}{\sqrt{R}} e^{Kz-iKR} + O \left( \frac{1}{R^{3/2}} \right) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; K = \frac{\omega^2}{g}. \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This radiation condition is essential for the formulation and solution of the boundary value problems for &amp;lt;math&amp;gt;\phi_j\,&amp;lt;/math&amp;gt; using panel methods which are the standard solution technique at zero and forward speed.&lt;br /&gt;
&lt;br /&gt;
Qualitative behaviour of the forces, coefficients and motions of floating bodies&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; - \omega^2 \phi + g \phi_Z =0 \quad \begin{cases}&lt;br /&gt;
  \phi_Z=0,\quad \omega=0  \\&lt;br /&gt;
  \phi=0, \quad \omega \to \infty&lt;br /&gt;
\end{cases} &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_{33}(\omega), \sim \omega, \mbox{at low} \ \omega \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The 2D Heave added mass is singular at low frequencies. It is finite in 3D&lt;br /&gt;
&lt;br /&gt;
The 2D Heave damping coefficient is decaying to zero linearly in 2D and superlinearly in 3D. A two-dimensional section is a better wavemaker than a three-dimensional one&lt;br /&gt;
&lt;br /&gt;
A 2D section oscillating in Sway is less effective a wavemaker at low frequencies than the same section oscillating in Heave&lt;br /&gt;
&lt;br /&gt;
The zero-frequency limit of the Sway added mass is finite and similar to the infinite frequency limit of the Heave added mass.&lt;br /&gt;
&lt;br /&gt;
In long waves the Heave exciting force tends to the Heave restoring coefficient times the ambient wave amplitude the free surface behaves like a flat surface moving up and down.&lt;br /&gt;
&lt;br /&gt;
In long waves the Sway exciting force tends to zero. Proof will follow&lt;br /&gt;
&lt;br /&gt;
In short waves all forces tend to zero.&lt;br /&gt;
&lt;br /&gt;
Pitch exciting moment (same applies to Roll) tends to zero. Long waves have a small slope which is proportional to &amp;lt;math&amp;gt; KA&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt; K\,&amp;lt;/math&amp;gt; is the wave number and &amp;lt;math&amp;gt; A\,&amp;lt;/math&amp;gt; is the wave amplitude.&lt;br /&gt;
&lt;br /&gt;
Prove that to leading order for &amp;lt;math&amp;gt;KA\to 0 \,&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \left| X_S(\omega) \right| \sim KA C_{55}\,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;C_{55}\,&amp;lt;/math&amp;gt; is the Pitch (&amp;lt;math&amp;gt; C_{44} \,&amp;lt;/math&amp;gt; for Roll) hydrostatic restoring coefficient. [NB: very long waves look like a flat surface inclined at &amp;lt;math&amp;gt; KA\,&amp;lt;/math&amp;gt; ].&lt;br /&gt;
&lt;br /&gt;
== Body motions in regular waves ==&lt;br /&gt;
&lt;br /&gt;
Heave:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \Pi_3 = \frac{\mathbf{X}_3(\omega)}{-\omega^2(A_{33} + M) + i\omega B_{33} +C_{33} } &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Resonance:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \omega^2 = \frac{C_{33}}{M+A_{33}} = \frac{\rho g A \omega}{M + A_{33} (\omega)} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In principle the above equation is nonlinear for &amp;lt;math&amp;gt;\omega\,&amp;lt;/math&amp;gt;. Will be approximated below&lt;br /&gt;
&lt;br /&gt;
At resonance: &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \Pi_3 = \frac{\mathbf{X}_3(\omega^*)}{i\omega^* B_{33}(\omega^*)} \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Invoking the relation between the damping coefficient and the exicting force in 3D:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\left| \Pi_3 \right|}{A} = \frac{\left| \mathbf{X}_3(\omega) \right|}{\omega \frac{K}{4\rho g V_g} \left| \mathbf{X}_3 \right|^2}, \quad V_g=\frac{g}{2\omega} &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; =\frac{2\rho g}{\omega^3 \left|\mathbf{X}_3(\omega)\right|}, \quad \mbox{at resonance} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This counter-intuitive result shows that for a body undergoing a pure Heave oscillation, the modulus of the Heave response at resonance is inversely proportional to the modulus of the Heave exciting force.&lt;br /&gt;
&lt;br /&gt;
Viscous effects not discussed here may affect Heave response at resonance&lt;br /&gt;
&lt;br /&gt;
The behavior of the Sway response can be found in an analagous manner,&lt;br /&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 articles 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] and&lt;br /&gt;
[http://ocw.mit.edu/NR/rdonlyres/Mechanical-Engineering/2-24Spring-2002/C5323823-0180-45EA-B165-15856948A0A2/0/lecture10.pdf here]&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Linear_Wave-Body_Interaction&amp;diff=13017</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=13017"/>
		<updated>2010-11-06T12:06:11Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: /* Haskind relations of exciting forces */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Ocean Wave Interaction with Ships and Offshore Structures&lt;br /&gt;
 | chapter title = Linear Wave-Body Interaction&lt;br /&gt;
 | next chapter = [[Long Wavelength Approximations]]&lt;br /&gt;
 | previous chapter =  [[Ship Kelvin Wake]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{incomplete pages}}&lt;br /&gt;
&lt;br /&gt;
[[Image:Rigid_body.jpg|thumb|right|600px|Rigid body motions]]&lt;br /&gt;
&lt;br /&gt;
We consider a [[Linear Plane Progressive Regular Waves|Linear Plane Progressive Regular Wave]] in the&lt;br /&gt;
[[Frequency Domain Problem|Frequency Domain]] interacting with a floating body in two dimensions (the main concepts survive almost with no change in the more practical three-dimensional problem).&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
We derive here the equations of motion for a body in [[Linear Plane Progressive Regular Waves]] in the frequency domain in &lt;br /&gt;
two dimensions. We begin with the equations in the time domian. The simplest problems is [[Waves reflecting off a vertical wall]]&lt;br /&gt;
&lt;br /&gt;
== Equations for a Floating Body in the Time Domain ==&lt;br /&gt;
&lt;br /&gt;
We begin with the equations for a floating two-dimensional body in the time domain.&lt;br /&gt;
&lt;br /&gt;
{{equations of motion time domain without body condition}}&lt;br /&gt;
&lt;br /&gt;
{{two dimensional floating body time domain}}&lt;br /&gt;
&lt;br /&gt;
More details can be found in [[:Category:Time-Dependent Linear Water Waves|Time-Dependent Linear Water Waves]]&lt;br /&gt;
&lt;br /&gt;
== Equations for a Floating Body in the Frequency Domain ==&lt;br /&gt;
&lt;br /&gt;
The dynamic condition is the equation of motion for the structure in the [[Frequency Domain Problem|frequency domain]]&lt;br /&gt;
can be found from the time domain equations and we introduce the following notation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\xi_{\nu} = \zeta_{\nu}e^{-\mathrm{i}\omega t}\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This give us&lt;br /&gt;
{{standard linear wave scattering equations without body condition}}&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\omega^2 \sum_{\nu} M_{\mu\nu}\zeta_{\nu}=\mathrm{i}\omega\rho\iint_{\partial\Omega}\phi n_{\mu}\, \mathrm{d}S&lt;br /&gt;
- \sum_{\nu} C_{\mu\nu}\zeta_{\nu},\quad \textrm{for} \qquad \mu=1,3,5,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The equations of motion for &amp;lt;math&amp;gt; \zeta_\nu\,&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. We use the standard numbering of the modes of motion.&lt;br /&gt;
&lt;br /&gt;
== Equations for a Fixed Body in Frequency Domain ==&lt;br /&gt;
&lt;br /&gt;
The equations for a fixed body are&lt;br /&gt;
&lt;br /&gt;
{{standard linear wave scattering equations without body condition}}&lt;br /&gt;
{{frequency domain equations for a rigid body}}&lt;br /&gt;
plus the radiation conditions.  &lt;br /&gt;
&lt;br /&gt;
We decompose the potential as&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\phi = \phi^{\mathrm{I}} + \phi^{\mathrm{D}} \,,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\phi^{\mathrm{I}}&amp;lt;/math&amp;gt; is the incident potential and &amp;lt;math&amp;gt;\phi^{\mathrm{D}}&amp;lt;/math&amp;gt;&lt;br /&gt;
is the diffracted potential.  The boundary condition for the diffracted potential is&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
\Delta\phi^{\mathrm{D}}&amp;amp;=0, &amp;amp;-h&amp;lt;z&amp;lt;0,\,\,\mathbf{x} \in \Omega \\&lt;br /&gt;
\partial_n\phi^{\mathrm{D}} &amp;amp;= 0, &amp;amp;z=-h, \\&lt;br /&gt;
\partial_n \phi^{\mathrm{D}}  &amp;amp;= \alpha \phi, &amp;amp;z=0,\,\,\mathbf{x} \in \partial\Omega_{F}, &lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
plus &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
 \partial_n \phi^{\mathrm{D}}  = - \partial_n \phi^{\mathrm{I}},\,\, \mathbf{x} \in \partial\Omega_{B},&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Code to calculate the solution (using a slighly modified method) can be found in&lt;br /&gt;
[[Boundary Element Method for a Fixed Body in Finite Depth]]&lt;br /&gt;
&lt;br /&gt;
== Equations for the Radiation Potential in Frequency Domain ==&lt;br /&gt;
&lt;br /&gt;
We decompose the body motion into the rigid body modes of motion. Associated with&lt;br /&gt;
each of these modes is a potential which must be solved for.&lt;br /&gt;
The equations for the radiation potential in the frequency domain are&lt;br /&gt;
&lt;br /&gt;
{{standard linear wave scattering equations without body condition}}&lt;br /&gt;
{{frequency domain equations for the radiation modes}}&lt;br /&gt;
&lt;br /&gt;
{{sommerfeld radiation condition two dimensions for radiation}}&lt;br /&gt;
&lt;br /&gt;
Code to calculate the radiation potential can be found in &lt;br /&gt;
[[Boundary Element Method for the Radiation Potential in Finite Depth]]&lt;br /&gt;
&lt;br /&gt;
We denote the solution for each of the radiation potentials by&lt;br /&gt;
&amp;lt;math&amp;gt;\phi_\nu^{\mathrm{R}}&amp;lt;/math&amp;gt; and the total potential is written as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\phi = \phi^{\mathrm{I}} +  \phi^{\mathrm{D}} +&lt;br /&gt;
\sum_\nu \zeta_\nu \phi_\nu^{\mathrm{R}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Final System of Equations ==&lt;br /&gt;
&lt;br /&gt;
We substitute the expansion for the potential into the equations in the frequency domain and we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\omega^2 \sum_{\nu} M_{\mu\nu}\zeta_{\nu}=-\mathrm{i}\omega\rho\iint_{\partial\Omega_{B}}&lt;br /&gt;
\left(\phi^{\mathrm{I}} +  \phi^{\mathrm{D}} +&lt;br /&gt;
\sum_{\nu} \zeta_\nu \phi_{\nu}^{\mathrm{R}}\right) \mathbf{n}_{\mu}\, dS&lt;br /&gt;
- \sum_{\nu}  C_{\mu\nu}\xi_{\nu},\quad \textrm{for} \qquad \mu=1,3,5,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{added mass damping and force matrices definition}}&lt;br /&gt;
&lt;br /&gt;
Then the equations can be expressed as follows.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;  \left[-\omega^2 \left(\mathbf{M} + \mathbf{A} \right) + &lt;br /&gt;
\mathrm{i}\omega \mathbf{B} + \mathbf{C} \right] \vec{\zeta} = \mathbf{f} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\mathbf{M}&amp;lt;/math&amp;gt; is the mass matrix,  &amp;lt;math&amp;gt;\mathbf{A}&amp;lt;/math&amp;gt; is the added mass matrix,&lt;br /&gt;
&amp;lt;math&amp;gt;\mathbf{B}&amp;lt;/math&amp;gt; is the damping matrix, &amp;lt;math&amp;gt;\mathbf{C}&amp;lt;/math&amp;gt; is the hydrostatic matrix,&lt;br /&gt;
&amp;lt;math&amp;gt;\vec{\zeta}&amp;lt;/math&amp;gt; is the vector of body displacements and &amp;lt;math&amp;gt;\mathbf{f}&amp;lt;/math&amp;gt; is the force. &lt;br /&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 two dimensional problem for the sake of clarity.&lt;br /&gt;
&lt;br /&gt;
== Symmetric body ==&lt;br /&gt;
&lt;br /&gt;
For a body which is [[:Category:Symmetry in Two Dimensions|Symmetric in Two Dimensions]]&lt;br /&gt;
the Heave is decoupled from Surge and Roll. &lt;br /&gt;
In other words the Surge and Roll motions do not influence Heave and vice versa.&lt;br /&gt;
&lt;br /&gt;
== Matlab Code ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*A program to solve for pitch and heave and only for two geometries can be found here [http://www.math.auckland.ac.nz/~meylan/code/boundary_element/rigid_body_motion.m rigid_body_motion.m]&lt;br /&gt;
&lt;br /&gt;
* a program to calculate the solution for a specific geometry (with plot as output as shown) can be found here [http://www.math.auckland.ac.nz/~meylan/code/boundary_element/wave_bem_example_floating.m wave_bem_example_floating.m] &lt;br /&gt;
&lt;br /&gt;
[[Image:Wave_bem_example_floating_RT2.jpg|300px|right|thumb|The reflection (solid line) and transmission (dashed line)&lt;br /&gt;
for a dock for heave and pitch (red), heave only (blue) and pitch only (black)]]&lt;br /&gt;
&lt;br /&gt;
=== Additional code ===&lt;br /&gt;
&lt;br /&gt;
This program requires&lt;br /&gt;
* A program to calculate the geometery [http://www.math.auckland.ac.nz/~meylan/code/boundary_element/circlebody_twod.m  circlebody_twod.m]&lt;br /&gt;
* {{fixed body bem code}}&lt;br /&gt;
* {{floating body radiation code}}&lt;br /&gt;
* {{free surface dispersion equation code}}&lt;br /&gt;
* {{boundary element code}}&lt;br /&gt;
&lt;br /&gt;
== Symmetry-reciprocity relations ==&lt;br /&gt;
&lt;br /&gt;
It will be shown that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A_{ij}(\omega) = A_{ji}(\omega) \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; B_{ij}(\omega) = B_{ji}(\omega) \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Along the same lines it will be shown that the exciting force &amp;lt;math&amp;gt;\mathbf{X}_j\,&amp;lt;/math&amp;gt; can be expressed in terms of &amp;lt;math&amp;gt; \psi_j\,&amp;lt;/math&amp;gt; circumventing the solution for the diffraction potential.&lt;br /&gt;
The core result needed for the proof of the above properties is [http://en.wikipedia.org/wiki/Green&#039;s_identities Green&#039;s second identity]&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iint_S \left( \psi_1 \frac{\partial\psi_2}{\partial n} - \psi_2 \frac{\partial\psi_1}{\partial n} \right) \mathrm{d}S = 0 \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\nabla^2 \psi_i=0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{{energy_region_plates}}&lt;br /&gt;
&lt;br /&gt;
[[Image:Symmetry_boundary.jpg|thumb|right|600px|Boundary]]&lt;br /&gt;
&lt;br /&gt;
In the surface wave-body problem define the closed surfaces as shown in figure on the right.&lt;br /&gt;
Let &amp;lt;math&amp;gt; \phi_j\,&amp;lt;/math&amp;gt; be rediation or diffraction potentials. Over the boundaries &amp;lt;math&amp;gt;S^\pm\,&amp;lt;/math&amp;gt; we have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; S^+: \quad \phi_j \ \sim \ \frac{igA_j^+}{\omega} e^{Kz-iKx} \,&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; \frac{\partial\phi_j}{\partial n} = \frac{\partial \phi_j}{\partial x} \ \sim \ -iK\phi_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; S^-: \quad \phi_j \ \sim \ \frac{igA_j^-}{\omega} e^{Kz+iKx} \,&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; \frac{\partial\phi_j}{\partial n} = - \frac{\partial \phi_j}{\partial x} \ \sim \ - iK\phi_j \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On &amp;lt;math&amp;gt; S_F: \qquad \frac{\partial\phi_j}{\partial z} = K\phi_j, \qquad \frac{\partial \Phi_j}{\partial n} = \frac{\partial \phi_j}{\partial z} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On &amp;lt;math&amp;gt; S_\infty: \qquad \left| \phi_j \right|, \quad \left| \nabla \phi_j \right| \to 0 &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Applying Green&#039;s identity to any pair of the radiation potentials &amp;lt;math&amp;gt; \psi_i, \psi_j \,&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iint_{S_B} \left[ \psi_i \frac{\partial\psi_j}{\partial n} - \psi_j \frac{\partial\psi_i}{\partial n} \right] \mathrm{d}S = - \iint_{S_F} \left[ \psi_i \frac{\partial\psi_j}{\partial z} - \psi_j \frac{\partial\psi_i}{\partial z} \right] \mathrm{d}S &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; - \iint_{S_+} \left[ \psi_i \frac{\partial\psi_j}{\partial x} - \psi_j \frac{\partial\psi_i}{\partial x} \right] \mathrm{d}S&lt;br /&gt;
 + \iint_{S_-} \left[ \psi_i \frac{\partial\psi_j}{\partial x} - \psi_j \frac{\partial\psi_i}{\partial x} \right] \mathrm{d}S = 0 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It follows that:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iint_{S_B} \psi_i \frac{\partial\psi_j}{\partial n} \mathrm{d}S = \iint_{S_B} \psi_j \frac{\partial\psi_i}{\partial n} \mathrm{d}S &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; A_{ij}(\omega) = A_{ji}(\omega), \qquad B_{ij}(\omega) = B_{ji}(\omega). \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Haskind relations of exciting forces ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\begin{align}&lt;br /&gt;
\mathbf{X}_i(\omega) &amp;amp;= - i\omega\rho\iint_{S_B} (\phi_I + \phi_7) n_i \mathrm{d}S \\&lt;br /&gt;
&amp;amp;= - \rho \iint_{S_B} (\phi_I + \phi_7) \frac{\partial \phi_i}{\partial n} \mathrm{d}S &lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the radiation velocity potential &amp;lt;math&amp;gt; \phi_i \,&amp;lt;/math&amp;gt; is known to satisfy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\partial\phi_i}{\partial n} = i\omega n_i, \quad \mbox{on} \ S_B &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\partial\phi_7}{\partial n} = \frac{\partial\phi_I}{\partial n}, \quad \mbox{on} \ S_B &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Both &amp;lt;math&amp;gt; \phi_i\,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; \phi_7\,&amp;lt;/math&amp;gt; satisfy the condition of outgoing waves at infinity. By virtue of [http://en.wikipedia.org/wiki/Green&#039;s_identities Green&#039;s second identity]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iint_{S_B} \phi_7 \frac{\partial\phi_i}{\partial n} \mathrm{d}S = \iint_{S_B} \phi_i \frac{\partial\phi_7}{\partial n} \mathrm{d}S = -\iint_{S_B} \phi_i \frac{\partial\phi_I}{\partial n} \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Haskind expression for the exciting force follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathbf{X}_i(\omega) = \rho \iint_{S_B} \left[ \phi_I \frac{\partial\phi_i}{\partial n} - \phi_i \frac{\partial\phi_I}{\partial n} \right] \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The symmetry of the &amp;lt;math&amp;gt; A_{ij}(\omega), B_{ij}(\omega) \,&amp;lt;/math&amp;gt; matrices applies in 2D and 3D. The application of Green&#039;s Theorem in 3D is very similar using the far-field representation for the potential &amp;lt;math&amp;gt; \phi_j\,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \phi_j \sim \frac{A_j(\theta)}{\sqrt{R}} e^{KZ-iKR} + O\left(\frac{1}{R^{3/2}}\right) &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; \frac{\partial\phi_j}{\partial n} = \frac{\partial\phi_j}{\partial R} \sim - i K \phi_j + O\left(\frac{1}{R^{3/2}}\right) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt; R \,&amp;lt;/math&amp;gt; is a radius from the body out to infinity and the &amp;lt;math&amp;gt; R^{-\frac{1}{2}} \,&amp;lt;/math&amp;gt; decay arises from the energy conservation principle. Details of the 3D proof may be found in [[Mei 1983]] and [[Wehausen and Laitone 1960]]&lt;br /&gt;
&lt;br /&gt;
The use of the Haskind relations for the exciting forces does not require the solution of the diffraction problem. This is convenient and often more accurate.&lt;br /&gt;
&lt;br /&gt;
The Haskind relations take other forms which will not be presented here but are detailed in [[Wehausen and Laitone 1960]]. The ones that are used in practice relate the exciting forces to the damping coefficients.&lt;br /&gt;
&lt;br /&gt;
These take the form:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;2D&amp;lt;/u&amp;gt;:      &amp;lt;math&amp;gt; B_{ii} = \frac{\left| \mathbf{X}_i \right|^2}{2\rho g V_g}, \quad V_g = \frac{g}{2\omega}, &amp;lt;/math&amp;gt;       Deep water&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;3D&amp;lt;/u&amp;gt;:      &amp;lt;math&amp;gt; B_{33} = \frac{K}{4\rho g V_g} \left| \mathbf{X}_3 \right|^2 \,&amp;lt;/math&amp;gt;      --- Heave&lt;br /&gt;
&lt;br /&gt;
(Axisymmetric bodies)      &amp;lt;math&amp;gt; B_{22} = \frac{K}{8\rho g V_g} \left| \mathbf{X}_2 \right|^2 \,&amp;lt;/math&amp;gt;      --- Sway&lt;br /&gt;
&lt;br /&gt;
So knowledge of &amp;lt;math&amp;gt; \mathbf{X}_i(\omega)\,&amp;lt;/math&amp;gt; allows the direct evaluation of the diagonal damping coefficients. These expressions are useful in deriving theoretical results in wave-body interactions to be discussed later.&lt;br /&gt;
&lt;br /&gt;
The two-dimensional theory of wave-body interactions in the frequency domain extends to three dimencions very directly with little difficulty.&lt;br /&gt;
&lt;br /&gt;
The statement of the 6 d.o.f. seakeeping problem is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \sum_{j=1}^6 \left[ - \omega^2 \left( M_{ij} + A_{ij} \right) + i \omega B_{ij} + C_{ij} \right] \Pi_j = \mathbf{X}_j, \quad i=1,\cdots,6 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; M_{ij}: \mbox{Body inertia matrix including moments of inertia for rotational modes. For details refer to MH} \, &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_{ij}(\omega): \mbox{Added mass matrix} \,&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_{ij}(\omega): \mbox{Damping matrix} \, &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_{ij}: \mbox{Hydrostatic and static inertia restoring matrix. For details refer to MH} \, &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; \mathbf{X}_i(\omega): \mbox{Wave exciting forces and moments} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At zero speed the definitions of the added-mass, damping matrices and exciting forces are identical to those in two dimensions.&lt;br /&gt;
&lt;br /&gt;
The boundary value problems satisfied by the radiation potentials &amp;lt;math&amp;gt;\phi_j, \ j=1,\cdots,6 \,&amp;lt;/math&amp;gt; and the diffraction potential &amp;lt;math&amp;gt; \phi_7 \,&amp;lt;/math&amp;gt; are as follows:&lt;br /&gt;
&lt;br /&gt;
Free-surface condition:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; -\omega^2 \phi_j + g \frac{\partial\phi_j}{\partial Z} = 0, \quad z=0 \quad j=1,\cdots,7 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Body-boundary conditions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\partial\phi_7}{\partial n} = -\frac{\partial\phi_I}{\partial n}, \quad \mbox{on} \quad S_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; \phi_I = \frac{i g A}{\omega} e^{Kz-iKx\cos\beta-iKy\sin\beta+i\omega t} &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; \frac{\partial\phi_j}{\partial n} = i\omega n_j, \quad j=1,\cdots,6 \, &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; n_j = \begin{cases}&lt;br /&gt;
   n_j, &amp;amp; j=1,2,3 \\&lt;br /&gt;
   \left( \vec{x} \times \vec{n} \right), &amp;amp; j=4,5,6&lt;br /&gt;
\end{cases} &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; j=1: \ \mbox{Surge} \qquad j=2: \ \mbox{Sway} \qquad j=3: \ \mbox{Heave} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; j=4: \ \mbox{Roll} \qquad j=5: \ \mbox{Pitch} \qquad j=6: \ \mbox{Yaw} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At large distances from the body the velocity potentials satisfy the radiation condition:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \phi_j (R,\theta) \sim \frac{A_j(\theta)}{\sqrt{R}} e^{Kz-iKR} + O \left( \frac{1}{R^{3/2}} \right) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; K = \frac{\omega^2}{g}. \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This radiation condition is essential for the formulation and solution of the boundary value problems for &amp;lt;math&amp;gt;\phi_j\,&amp;lt;/math&amp;gt; using panel methods which are the standard solution technique at zero and forward speed.&lt;br /&gt;
&lt;br /&gt;
Qualitative behaviour of the forces, coefficients and motions of floating bodies&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; - \omega^2 \phi + g \phi_Z =0 \quad \begin{cases}&lt;br /&gt;
  \phi_Z=0,\quad \omega=0  \\&lt;br /&gt;
  \phi=0, \quad \omega \to \infty&lt;br /&gt;
\end{cases} &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_{33}(\omega), \sim \omega, \mbox{at low} \ \omega \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The 2D Heave added mass is singular at low frequencies. It is finite in 3D&lt;br /&gt;
&lt;br /&gt;
The 2D Heave damping coefficient is decaying to zero linearly in 2D and superlinearly in 3D. A two-dimensional section is a better wavemaker than a three-dimensional one&lt;br /&gt;
&lt;br /&gt;
A 2D section oscillating in Sway is less effective a wavemaker at low frequencies than the same section oscillating in Heave&lt;br /&gt;
&lt;br /&gt;
The zero-frequency limit of the Sway added mass is finite and similar to the infinite frequency limit of the Heave added mass.&lt;br /&gt;
&lt;br /&gt;
In long waves the Heave exciting force tends to the Heave restoring coefficient times the ambient wave amplitude the free surface behaves like a flat surface moving up and down.&lt;br /&gt;
&lt;br /&gt;
In long waves the Sway exciting force tends to zero. Proof will follow&lt;br /&gt;
&lt;br /&gt;
In short waves all forces tend to zero.&lt;br /&gt;
&lt;br /&gt;
Pitch exciting moment (same applies to Roll) tends to zero. Long waves have a small slope which is proportional to &amp;lt;math&amp;gt; KA&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt; K\,&amp;lt;/math&amp;gt; is the wave number and &amp;lt;math&amp;gt; A\,&amp;lt;/math&amp;gt; is the wave amplitude.&lt;br /&gt;
&lt;br /&gt;
Prove that to leading order for &amp;lt;math&amp;gt;KA\to 0 \,&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \left| X_S(\omega) \right| \sim KA C_{55}\,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;C_{55}\,&amp;lt;/math&amp;gt; is the Pitch (&amp;lt;math&amp;gt; C_{44} \,&amp;lt;/math&amp;gt; for Roll) hydrostatic restoring coefficient. [NB: very long waves look like a flat surface inclined at &amp;lt;math&amp;gt; KA\,&amp;lt;/math&amp;gt; ].&lt;br /&gt;
&lt;br /&gt;
== Body motions in regular waves ==&lt;br /&gt;
&lt;br /&gt;
Heave:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \Pi_3 = \frac{\mathbf{X}_3(\omega)}{-\omega^2(A_{33} + M) + i\omega B_{33} +C_{33} } &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Resonance:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \omega^2 = \frac{C_{33}}{M+A_{33}} = \frac{\rho g A \omega}{M + A_{33} (\omega)} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In principle the above equation is nonlinear for &amp;lt;math&amp;gt;\omega\,&amp;lt;/math&amp;gt;. Will be approximated below&lt;br /&gt;
&lt;br /&gt;
At resonance: &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \Pi_3 = \frac{\mathbf{X}_3(\omega^*)}{i\omega^* B_{33}(\omega^*)} \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Invoking the relation between the damping coefficient and the exicting force in 3D:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\left| \Pi_3 \right|}{A} = \frac{\left| \mathbf{X}_3(\omega) \right|}{\omega \frac{K}{4\rho g V_g} \left| \mathbf{X}_3 \right|^2}, \quad V_g=\frac{g}{2\omega} &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; =\frac{2\rho g}{\omega^3 \left|\mathbf{X}_3(\omega)\right|}, \quad \mbox{at resonance} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This counter-intuitive result shows that for a body undergoing a pure Heave oscillation, the modulus of the Heave response at resonance is inversely proportional to the modulus of the Heave exciting force.&lt;br /&gt;
&lt;br /&gt;
Viscous effects not discussed here may affect Heave response at resonance&lt;br /&gt;
&lt;br /&gt;
The behavior of the Sway response can be found in an analagous manner,&lt;br /&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 articles 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] and&lt;br /&gt;
[http://ocw.mit.edu/NR/rdonlyres/Mechanical-Engineering/2-24Spring-2002/C5323823-0180-45EA-B165-15856948A0A2/0/lecture10.pdf here]&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Linear_Wave-Body_Interaction&amp;diff=13015</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=13015"/>
		<updated>2010-11-06T11:41:59Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: /* Equations for a Fixed Body in Frequency Domain */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Ocean Wave Interaction with Ships and Offshore Structures&lt;br /&gt;
 | chapter title = Linear Wave-Body Interaction&lt;br /&gt;
 | next chapter = [[Long Wavelength Approximations]]&lt;br /&gt;
 | previous chapter =  [[Ship Kelvin Wake]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{incomplete pages}}&lt;br /&gt;
&lt;br /&gt;
[[Image:Rigid_body.jpg|thumb|right|600px|Rigid body motions]]&lt;br /&gt;
&lt;br /&gt;
We consider a [[Linear Plane Progressive Regular Waves|Linear Plane Progressive Regular Wave]] in the&lt;br /&gt;
[[Frequency Domain Problem|Frequency Domain]] interacting with a floating body in two dimensions (the main concepts survive almost with no change in the more practical three-dimensional problem).&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
We derive here the equations of motion for a body in [[Linear Plane Progressive Regular Waves]] in the frequency domain in &lt;br /&gt;
two dimensions. We begin with the equations in the time domian. The simplest problems is [[Waves reflecting off a vertical wall]]&lt;br /&gt;
&lt;br /&gt;
== Equations for a Floating Body in the Time Domain ==&lt;br /&gt;
&lt;br /&gt;
We begin with the equations for a floating two-dimensional body in the time domain.&lt;br /&gt;
&lt;br /&gt;
{{equations of motion time domain without body condition}}&lt;br /&gt;
&lt;br /&gt;
{{two dimensional floating body time domain}}&lt;br /&gt;
&lt;br /&gt;
More details can be found in [[:Category:Time-Dependent Linear Water Waves|Time-Dependent Linear Water Waves]]&lt;br /&gt;
&lt;br /&gt;
== Equations for a Floating Body in the Frequency Domain ==&lt;br /&gt;
&lt;br /&gt;
The dynamic condition is the equation of motion for the structure in the [[Frequency Domain Problem|frequency domain]]&lt;br /&gt;
can be found from the time domain equations and we introduce the following notation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\xi_{\nu} = \zeta_{\nu}e^{-\mathrm{i}\omega t}\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This give us&lt;br /&gt;
{{standard linear wave scattering equations without body condition}}&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\omega^2 \sum_{\nu} M_{\mu\nu}\zeta_{\nu}=\mathrm{i}\omega\rho\iint_{\partial\Omega}\phi n_{\mu}\, \mathrm{d}S&lt;br /&gt;
- \sum_{\nu} C_{\mu\nu}\zeta_{\nu},\quad \textrm{for} \qquad \mu=1,3,5,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The equations of motion for &amp;lt;math&amp;gt; \zeta_\nu\,&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. We use the standard numbering of the modes of motion.&lt;br /&gt;
&lt;br /&gt;
== Equations for a Fixed Body in Frequency Domain ==&lt;br /&gt;
&lt;br /&gt;
The equations for a fixed body are&lt;br /&gt;
&lt;br /&gt;
{{standard linear wave scattering equations without body condition}}&lt;br /&gt;
{{frequency domain equations for a rigid body}}&lt;br /&gt;
plus the radiation conditions.  &lt;br /&gt;
&lt;br /&gt;
We decompose the potential as&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\phi = \phi^{\mathrm{I}} + \phi^{\mathrm{D}} \,,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\phi^{\mathrm{I}}&amp;lt;/math&amp;gt; is the incident potential and &amp;lt;math&amp;gt;\phi^{\mathrm{D}}&amp;lt;/math&amp;gt;&lt;br /&gt;
is the diffracted potential.  The boundary condition for the diffracted potential is&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
\Delta\phi^{\mathrm{D}}&amp;amp;=0, &amp;amp;-h&amp;lt;z&amp;lt;0,\,\,\mathbf{x} \in \Omega \\&lt;br /&gt;
\partial_n\phi^{\mathrm{D}} &amp;amp;= 0, &amp;amp;z=-h, \\&lt;br /&gt;
\partial_n \phi^{\mathrm{D}}  &amp;amp;= \alpha \phi, &amp;amp;z=0,\,\,\mathbf{x} \in \partial\Omega_{F}, &lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
plus &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
 \partial_n \phi^{\mathrm{D}}  = - \partial_n \phi^{\mathrm{I}},\,\, \mathbf{x} \in \partial\Omega_{B},&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Code to calculate the solution (using a slighly modified method) can be found in&lt;br /&gt;
[[Boundary Element Method for a Fixed Body in Finite Depth]]&lt;br /&gt;
&lt;br /&gt;
== Equations for the Radiation Potential in Frequency Domain ==&lt;br /&gt;
&lt;br /&gt;
We decompose the body motion into the rigid body modes of motion. Associated with&lt;br /&gt;
each of these modes is a potential which must be solved for.&lt;br /&gt;
The equations for the radiation potential in the frequency domain are&lt;br /&gt;
&lt;br /&gt;
{{standard linear wave scattering equations without body condition}}&lt;br /&gt;
{{frequency domain equations for the radiation modes}}&lt;br /&gt;
&lt;br /&gt;
{{sommerfeld radiation condition two dimensions for radiation}}&lt;br /&gt;
&lt;br /&gt;
Code to calculate the radiation potential can be found in &lt;br /&gt;
[[Boundary Element Method for the Radiation Potential in Finite Depth]]&lt;br /&gt;
&lt;br /&gt;
We denote the solution for each of the radiation potentials by&lt;br /&gt;
&amp;lt;math&amp;gt;\phi_\nu^{\mathrm{R}}&amp;lt;/math&amp;gt; and the total potential is written as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\phi = \phi^{\mathrm{I}} +  \phi^{\mathrm{D}} +&lt;br /&gt;
\sum_\nu \zeta_\nu \phi_\nu^{\mathrm{R}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Final System of Equations ==&lt;br /&gt;
&lt;br /&gt;
We substitute the expansion for the potential into the equations in the frequency domain and we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\omega^2 \sum_{\nu} M_{\mu\nu}\zeta_{\nu}=-\mathrm{i}\omega\rho\iint_{\partial\Omega_{B}}&lt;br /&gt;
\left(\phi^{\mathrm{I}} +  \phi^{\mathrm{D}} +&lt;br /&gt;
\sum_{\nu} \zeta_\nu \phi_{\nu}^{\mathrm{R}}\right) \mathbf{n}_{\mu}\, dS&lt;br /&gt;
- \sum_{\nu}  C_{\mu\nu}\xi_{\nu},\quad \textrm{for} \qquad \mu=1,3,5,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{added mass damping and force matrices definition}}&lt;br /&gt;
&lt;br /&gt;
Then the equations can be expressed as follows.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;  \left[-\omega^2 \left(\mathbf{M} + \mathbf{A} \right) + &lt;br /&gt;
\mathrm{i}\omega \mathbf{B} + \mathbf{C} \right] \vec{\zeta} = \mathbf{f} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\mathbf{M}&amp;lt;/math&amp;gt; is the mass matrix,  &amp;lt;math&amp;gt;\mathbf{A}&amp;lt;/math&amp;gt; is the added mass matrix,&lt;br /&gt;
&amp;lt;math&amp;gt;\mathbf{B}&amp;lt;/math&amp;gt; is the damping matrix, &amp;lt;math&amp;gt;\mathbf{C}&amp;lt;/math&amp;gt; is the hydrostatic matrix,&lt;br /&gt;
&amp;lt;math&amp;gt;\vec{\zeta}&amp;lt;/math&amp;gt; is the vector of body displacements and &amp;lt;math&amp;gt;\mathbf{f}&amp;lt;/math&amp;gt; is the force. &lt;br /&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 two dimensional problem for the sake of clarity.&lt;br /&gt;
&lt;br /&gt;
== Symmetric body ==&lt;br /&gt;
&lt;br /&gt;
For a body which is [[:Category:Symmetry in Two Dimensions|Symmetric in Two Dimensions]]&lt;br /&gt;
the Heave is decoupled from Surge and Roll. &lt;br /&gt;
In other words the Surge and Roll motions do not influence Heave and vice versa.&lt;br /&gt;
&lt;br /&gt;
== Matlab Code ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*A program to solve for pitch and heave and only for two geometries can be found here [http://www.math.auckland.ac.nz/~meylan/code/boundary_element/rigid_body_motion.m rigid_body_motion.m]&lt;br /&gt;
&lt;br /&gt;
* a program to calculate the solution for a specific geometry (with plot as output as shown) can be found here [http://www.math.auckland.ac.nz/~meylan/code/boundary_element/wave_bem_example_floating.m wave_bem_example_floating.m] &lt;br /&gt;
&lt;br /&gt;
[[Image:Wave_bem_example_floating_RT2.jpg|300px|right|thumb|The reflection (solid line) and transmission (dashed line)&lt;br /&gt;
for a dock for heave and pitch (red), heave only (blue) and pitch only (black)]]&lt;br /&gt;
&lt;br /&gt;
=== Additional code ===&lt;br /&gt;
&lt;br /&gt;
This program requires&lt;br /&gt;
* A program to calculate the geometery [http://www.math.auckland.ac.nz/~meylan/code/boundary_element/circlebody_twod.m  circlebody_twod.m]&lt;br /&gt;
* {{fixed body bem code}}&lt;br /&gt;
* {{floating body radiation code}}&lt;br /&gt;
* {{free surface dispersion equation code}}&lt;br /&gt;
* {{boundary element code}}&lt;br /&gt;
&lt;br /&gt;
== Symmetry-reciprocity relations ==&lt;br /&gt;
&lt;br /&gt;
It will be shown that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A_{ij}(\omega) = A_{ji}(\omega) \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; B_{ij}(\omega) = B_{ji}(\omega) \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Along the same lines it will be shown that the exciting force &amp;lt;math&amp;gt;\mathbf{X}_j\,&amp;lt;/math&amp;gt; can be expressed in terms of &amp;lt;math&amp;gt; \psi_j\,&amp;lt;/math&amp;gt; circumventing the solution for the diffraction potential.&lt;br /&gt;
The core result needed for the proof of the above properties is [http://en.wikipedia.org/wiki/Green&#039;s_identities Green&#039;s second identity]&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iint_S \left( \psi_1 \frac{\partial\psi_2}{\partial n} - \psi_2 \frac{\partial\psi_1}{\partial n} \right) \mathrm{d}S = 0 \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\nabla^2 \psi_i=0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{{energy_region_plates}}&lt;br /&gt;
&lt;br /&gt;
[[Image:Symmetry_boundary.jpg|thumb|right|600px|Boundary]]&lt;br /&gt;
&lt;br /&gt;
In the surface wave-body problem define the closed surfaces as shown in figure on the right.&lt;br /&gt;
Let &amp;lt;math&amp;gt; \phi_j\,&amp;lt;/math&amp;gt; be rediation or diffraction potentials. Over the boundaries &amp;lt;math&amp;gt;S^\pm\,&amp;lt;/math&amp;gt; we have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; S^+: \quad \phi_j \ \sim \ \frac{igA_j^+}{\omega} e^{Kz-iKx} \,&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; \frac{\partial\phi_j}{\partial n} = \frac{\partial \phi_j}{\partial x} \ \sim \ -iK\phi_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; S^-: \quad \phi_j \ \sim \ \frac{igA_j^-}{\omega} e^{Kz+iKx} \,&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; \frac{\partial\phi_j}{\partial n} = - \frac{\partial \phi_j}{\partial x} \ \sim \ - iK\phi_j \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On &amp;lt;math&amp;gt; S_F: \qquad \frac{\partial\phi_j}{\partial z} = K\phi_j, \qquad \frac{\partial \Phi_j}{\partial n} = \frac{\partial \phi_j}{\partial z} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On &amp;lt;math&amp;gt; S_\infty: \qquad \left| \phi_j \right|, \quad \left| \nabla \phi_j \right| \to 0 &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Applying Green&#039;s identity to any pair of the radiation potentials &amp;lt;math&amp;gt; \psi_i, \psi_j \,&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iint_{S_B} \left[ \psi_i \frac{\partial\psi_j}{\partial n} - \psi_j \frac{\partial\psi_i}{\partial n} \right] \mathrm{d}S = - \iint_{S_F} \left[ \psi_i \frac{\partial\psi_j}{\partial z} - \psi_j \frac{\partial\psi_i}{\partial z} \right] \mathrm{d}S &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; - \iint_{S_+} \left[ \psi_i \frac{\partial\psi_j}{\partial x} - \psi_j \frac{\partial\psi_i}{\partial x} \right] \mathrm{d}S&lt;br /&gt;
 + \iint_{S_-} \left[ \psi_i \frac{\partial\psi_j}{\partial x} - \psi_j \frac{\partial\psi_i}{\partial x} \right] \mathrm{d}S = 0 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It follows that:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iint_{S_B} \psi_i \frac{\partial\psi_j}{\partial n} \mathrm{d}S = \iint_{S_B} \psi_j \frac{\partial\psi_i}{\partial n} \mathrm{d}S &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; A_{ij}(\omega) = A_{ji}(\omega), \qquad B_{ij}(\omega) = B_{ji}(\omega). \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Haskind relations of exciting forces ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathbf{X}_i(\omega) = - i\omega\rho\iint_{S_B} (\phi_I + \phi_7) n_i \mathrm{d}S &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; = - \rho \iint_{S_B} (\phi_I + \phi_7) \frac{\partial \phi_i}{\partial n} \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the radiation velocity potential &amp;lt;math&amp;gt; \phi_i \,&amp;lt;/math&amp;gt; is known to satisfy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\partial\phi_i}{\partial n} = i\omega n_i, \quad \mbox{on} \ S_B &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\partial\phi_7}{\partial n} = \frac{\partial\phi_I}{\partial n}, \quad \mbox{on} \ S_B &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Both &amp;lt;math&amp;gt; \phi_i\,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; \phi_7\,&amp;lt;/math&amp;gt; satisfy the condition of outgoing waves at infinity. By virtue of [http://en.wikipedia.org/wiki/Green&#039;s_identities Green&#039;s second identity]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iint_{S_B} \phi_7 \frac{\partial\phi_i}{\partial n} \mathrm{d}S = \iint_{S_B} \phi_i \frac{\partial\phi_7}{\partial n} \mathrm{d}S = -\iint_{S_B} \phi_i \frac{\partial\phi_I}{\partial n} \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Haskind expression for the exciting force follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathbf{X}_i(\omega) = \rho \iint_{S_B} \left[ \phi_I \frac{\partial\phi_i}{\partial n} - \phi_i \frac{\partial\phi_I}{\partial n} \right] \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The symmetry of the &amp;lt;math&amp;gt; A_{ij}(\omega), B_{ij}(\omega) \,&amp;lt;/math&amp;gt; matrices applies in 2D and 3D. The application of Green&#039;s Theorem in 3D is very similar using the far-field representation for the potential &amp;lt;math&amp;gt; \phi_j\,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \phi_j \sim \frac{A_j(\theta)}{\sqrt{R}} e^{KZ-iKR} + O\left(\frac{1}{R^{3/2}}\right) &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; \frac{\partial\phi_j}{\partial n} = \frac{\partial\phi_j}{\partial R} \sim - i K \phi_j + O\left(\frac{1}{R^{3/2}}\right) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt; R \,&amp;lt;/math&amp;gt; is a radius from the body out to infinity and the &amp;lt;math&amp;gt; R^{-\frac{1}{2}} \,&amp;lt;/math&amp;gt; decay arises from the energy conservation principle. Details of the 3D proof may be found in [[Mei 1983]] and [[Wehausen and Laitone 1960]]&lt;br /&gt;
&lt;br /&gt;
The use of the Haskind relations for the exciting forces does not require the solution of the diffraction problem. This is convenient and often more accurate.&lt;br /&gt;
&lt;br /&gt;
The Haskind relations take other forms which will not be presented here but are detailed in [[Wehausen and Laitone 1960]]. The ones that are used in practice relate the exciting forces to the damping coefficients.&lt;br /&gt;
&lt;br /&gt;
These take the form:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;2D&amp;lt;/u&amp;gt;:      &amp;lt;math&amp;gt; B_{ii} = \frac{\left| \mathbf{X}_i \right|^2}{2\rho g V_g}, \quad V_g = \frac{g}{2\omega}, &amp;lt;/math&amp;gt;       Deep water&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;3D&amp;lt;/u&amp;gt;:      &amp;lt;math&amp;gt; B_{33} = \frac{K}{4\rho g V_g} \left| \mathbf{X}_3 \right|^2 \,&amp;lt;/math&amp;gt;      --- Heave&lt;br /&gt;
&lt;br /&gt;
(Axisymmetric bodies)      &amp;lt;math&amp;gt; B_{22} = \frac{K}{8\rho g V_g} \left| \mathbf{X}_2 \right|^2 \,&amp;lt;/math&amp;gt;      --- Sway&lt;br /&gt;
&lt;br /&gt;
So knowledge of &amp;lt;math&amp;gt; \mathbf{X}_i(\omega)\,&amp;lt;/math&amp;gt; allows the direct evaluation of the diagonal damping coefficients. These expressions are useful in deriving theoretical results in wave-body interactions to be discussed later.&lt;br /&gt;
&lt;br /&gt;
The two-dimensional theory of wave-body interactions in the frequency domain extends to three dimencions very directly with little difficulty.&lt;br /&gt;
&lt;br /&gt;
The statement of the 6 d.o.f. seakeeping problem is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \sum_{j=1}^6 \left[ - \omega^2 \left( M_{ij} + A_{ij} \right) + i \omega B_{ij} + C_{ij} \right] \Pi_j = \mathbf{X}_j, \quad i=1,\cdots,6 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; M_{ij}(\omega): \mbox{Body inertia matrix including moments of inertia for rotational modes. For details refer to MH} \, &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_{ij}(\omega): \mbox{Added mass matrix} \,&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_{ij}(\omega): \mbox{Damping matrix} \, &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_{ij}: \mbox{Hydrostatic and static inertia restoring matrix. For details refer to MH} \, &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; \mathbf{X}_i(\omega): \mbox{Wave exciting forces and moments} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At zero speed the definitions of the added-mass, damping matrices and exciting forces are identical to those in two dimensions.&lt;br /&gt;
&lt;br /&gt;
The boundary value problems satisfied by the radiation potentials &amp;lt;math&amp;gt;\phi_j, \ j=1,\cdots,6 \,&amp;lt;/math&amp;gt; and the diffraction potential &amp;lt;math&amp;gt; \phi_7 \,&amp;lt;/math&amp;gt; are as follows:&lt;br /&gt;
&lt;br /&gt;
Free-surface condition:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; -\omega^2 \phi_j + g \frac{\partial\phi_j}{\partial Z} = 0, \quad z=0 \quad j=1,\cdots,7 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Body-boundary conditions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\partial\phi_7}{\partial n} = -\frac{\partial\phi_I}{\partial n}, \quad \mbox{on} \quad S_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; \phi_I = \frac{i g A}{\omega} e^{KZ-iKX\cos\beta-iKY\sin\beta+i\omega t} &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; \frac{\partial\phi_j}{\partial n} = i\omega n_j, \quad j=1,\cdots,6 \, &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; n_j = \begin{Bmatrix}&lt;br /&gt;
  &amp;amp; n_j, \qquad &amp;amp; j=1,2,3 \\&lt;br /&gt;
  &amp;amp; \left( \vec{X} \times \vec{n} \right)_{j+3}, \quad j=4,5,6&lt;br /&gt;
\end{Bmatrix} &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; i=1: \ \mbox{Surge} \qquad i=2: \ \mbox{Sway} \qquad i=3: \ \mbox{Heave} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; i=4: \ \mbox{Roll} \qquad i=5: \ \mbox{Pitch} \qquad i=6: \ \mbox{Yaw} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At large distances from the body the velocity potentials satisfy the radiation condition:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \phi_j (R,\theta) \sim \frac{A_j(\theta)}{\sqrt{R}} e^{KZ-iKR} + O \left( \frac{1}{R^{3/2}} \right) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; K = \frac{\omega^2}{g}. \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This radiation condition is essential for the formulation and solution of the boundary value problems for &amp;lt;math&amp;gt;\phi_j\,&amp;lt;/math&amp;gt; using panel methods which are the standard solution technique at zero and forward speed.&lt;br /&gt;
&lt;br /&gt;
Qualitative behaviour of the forces, coefficients and motions of floating bodies&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; - \omega^2 \phi + g \phi_Z =0 \quad \begin{cases}&lt;br /&gt;
  \phi_Z=0,\quad \omega=0  \\&lt;br /&gt;
  \phi=0, \quad \omega \to \infty&lt;br /&gt;
\end{cases} &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_{33}(\omega), \sim \omega, \mbox{at low} \ \omega \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The 2D Heave added mass is singular at low frequencies. It is finite in 3D&lt;br /&gt;
&lt;br /&gt;
The 2D Heave damping coefficient is decaying to zero linearly in 2D and superlinearly in 3D. A two-dimensional section is a better wavemaker than a three-dimensional one&lt;br /&gt;
&lt;br /&gt;
A 2D section oscillating in Sway is less effective a wavemaker at low frequencies than the same section oscillating in Heave&lt;br /&gt;
&lt;br /&gt;
The zero-frequency limit of the Sway added mass is finite and similar to the infinite frequency limit of the Heave added mass.&lt;br /&gt;
&lt;br /&gt;
In long waves the Heave exciting force tends to the Heave restoring coefficient times the ambient wave amplitude the free surface behaves like a flat surface moving up and down.&lt;br /&gt;
&lt;br /&gt;
In long waves the Sway exciting force tends to zero. Proof will follow&lt;br /&gt;
&lt;br /&gt;
In short waves all forces tend to zero.&lt;br /&gt;
&lt;br /&gt;
Pitch exciting moment (same applies to Roll) tends to zero. Long waves have a small slope which is proportional to &amp;lt;math&amp;gt; KA&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt; K\,&amp;lt;/math&amp;gt; is the wave number and &amp;lt;math&amp;gt; A\,&amp;lt;/math&amp;gt; is the wave amplitude.&lt;br /&gt;
&lt;br /&gt;
Prove that to leading order for &amp;lt;math&amp;gt;KA\to 0 \,&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \left| X_S(\omega) \right| \sim KA C_{55}\,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;C_{55}\,&amp;lt;/math&amp;gt; is the Pitch (&amp;lt;math&amp;gt; C_{44} \,&amp;lt;/math&amp;gt; for Roll) hydrostatic restoring coefficient. [NB: very long waves look like a flat surface inclined at &amp;lt;math&amp;gt; KA\,&amp;lt;/math&amp;gt; ].&lt;br /&gt;
&lt;br /&gt;
== Body motions in regular waves ==&lt;br /&gt;
&lt;br /&gt;
Heave:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \Pi_3 = \frac{\mathbf{X}_3(\omega)}{-\omega^2(A_{33} + M) + i\omega B_{33} +C_{33} } &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Resonance:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \omega^2 = \frac{C_{33}}{M+A_{33}} = \frac{\rho g A \omega}{M + A_{33} (\omega)} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In principle the above equation is nonlinear for &amp;lt;math&amp;gt;\omega\,&amp;lt;/math&amp;gt;. Will be approximated below&lt;br /&gt;
&lt;br /&gt;
At resonance: &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \Pi_3 = \frac{\mathbf{X}_3(\omega^*)}{i\omega^* B_{33}(\omega^*)} \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Invoking the relation between the damping coefficient and the exicting force in 3D:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\left| \Pi_3 \right|}{A} = \frac{\left| \mathbf{X}_3(\omega) \right|}{\omega \frac{K}{4\rho g V_g} \left| \mathbf{X}_3 \right|^2}, \quad V_g=\frac{g}{2\omega} &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; =\frac{2\rho g}{\omega^3 \left|\mathbf{X}_3(\omega)\right|}, \quad \mbox{at resonance} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This counter-intuitive result shows that for a body undergoing a pure Heave oscillation, the modulus of the Heave response at resonance is inversely proportional to the modulus of the Heave exciting force.&lt;br /&gt;
&lt;br /&gt;
Viscous effects not discussed here may affect Heave response at resonance&lt;br /&gt;
&lt;br /&gt;
The behavior of the Sway response can be found in an analagous manner,&lt;br /&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 articles 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] and&lt;br /&gt;
[http://ocw.mit.edu/NR/rdonlyres/Mechanical-Engineering/2-24Spring-2002/C5323823-0180-45EA-B165-15856948A0A2/0/lecture10.pdf here]&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Linear_Wave-Body_Interaction&amp;diff=13013</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=13013"/>
		<updated>2010-11-06T11:39:02Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: /* Haskind relations of exciting forces */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Ocean Wave Interaction with Ships and Offshore Structures&lt;br /&gt;
 | chapter title = Linear Wave-Body Interaction&lt;br /&gt;
 | next chapter = [[Long Wavelength Approximations]]&lt;br /&gt;
 | previous chapter =  [[Ship Kelvin Wake]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{incomplete pages}}&lt;br /&gt;
&lt;br /&gt;
[[Image:Rigid_body.jpg|thumb|right|600px|Rigid body motions]]&lt;br /&gt;
&lt;br /&gt;
We consider a [[Linear Plane Progressive Regular Waves|Linear Plane Progressive Regular Wave]] in the&lt;br /&gt;
[[Frequency Domain Problem|Frequency Domain]] interacting with a floating body in two dimensions (the main concepts survive almost with no change in the more practical three-dimensional problem).&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
We derive here the equations of motion for a body in [[Linear Plane Progressive Regular Waves]] in the frequency domain in &lt;br /&gt;
two dimensions. We begin with the equations in the time domian. The simplest problems is [[Waves reflecting off a vertical wall]]&lt;br /&gt;
&lt;br /&gt;
== Equations for a Floating Body in the Time Domain ==&lt;br /&gt;
&lt;br /&gt;
We begin with the equations for a floating two-dimensional body in the time domain.&lt;br /&gt;
&lt;br /&gt;
{{equations of motion time domain without body condition}}&lt;br /&gt;
&lt;br /&gt;
{{two dimensional floating body time domain}}&lt;br /&gt;
&lt;br /&gt;
More details can be found in [[:Category:Time-Dependent Linear Water Waves|Time-Dependent Linear Water Waves]]&lt;br /&gt;
&lt;br /&gt;
== Equations for a Floating Body in the Frequency Domain ==&lt;br /&gt;
&lt;br /&gt;
The dynamic condition is the equation of motion for the structure in the [[Frequency Domain Problem|frequency domain]]&lt;br /&gt;
can be found from the time domain equations and we introduce the following notation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\xi_{\nu} = \zeta_{\nu}e^{-\mathrm{i}\omega t}\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This give us&lt;br /&gt;
{{standard linear wave scattering equations without body condition}}&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\omega^2 \sum_{\nu} M_{\mu\nu}\zeta_{\nu}=\mathrm{i}\omega\rho\iint_{\partial\Omega}\phi n_{\mu}\, \mathrm{d}S&lt;br /&gt;
- \sum_{\nu} C_{\mu\nu}\zeta_{\nu},\quad \textrm{for} \qquad \mu=1,3,5,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The equations of motion for &amp;lt;math&amp;gt; \zeta_\nu\,&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. We use the standard numbering of the modes of motion.&lt;br /&gt;
&lt;br /&gt;
== Equations for a Fixed Body in Frequency Domain ==&lt;br /&gt;
&lt;br /&gt;
The equations for a fixed body are&lt;br /&gt;
&lt;br /&gt;
{{standard linear wave scattering equations without body condition}}&lt;br /&gt;
{{frequency domain equations for a rigid body}}&lt;br /&gt;
plus the radiation conditions.  &lt;br /&gt;
&lt;br /&gt;
We decompose the potential as&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\phi = \phi^{\mathrm{I}} + \phi^{\mathrm{D}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\phi^{\mathrm{I}}&amp;lt;/math&amp;gt; is the incident potential and &amp;lt;math&amp;gt;\phi^{\mathrm{D}}&amp;lt;/math&amp;gt;&lt;br /&gt;
is the diffracted potential.  The boundary condition for the diffracted potential is&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\Delta\phi^{\mathrm{D}}=0, \, -h&amp;lt;z&amp;lt;0,\,\,\,\mathbf{x} \in \Omega&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_n\phi^{\mathrm{D}} = 0, \, z=-h,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
 \partial_n \phi^{\mathrm{D}}  = \alpha \phi,\,z=0,\,\,\mathbf{x} \in \partial\Omega_{F},&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
plus &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
 \partial_n \phi^{\mathrm{D}}  = - \partial_n \phi^{\mathrm{I}},\,\, \mathbf{x} \in \partial\Omega_{B},&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Code to calculate the solution (using a slighly modified method) can be found in&lt;br /&gt;
[[Boundary Element Method for a Fixed Body in Finite Depth]]&lt;br /&gt;
&lt;br /&gt;
== Equations for the Radiation Potential in Frequency Domain ==&lt;br /&gt;
&lt;br /&gt;
We decompose the body motion into the rigid body modes of motion. Associated with&lt;br /&gt;
each of these modes is a potential which must be solved for.&lt;br /&gt;
The equations for the radiation potential in the frequency domain are&lt;br /&gt;
&lt;br /&gt;
{{standard linear wave scattering equations without body condition}}&lt;br /&gt;
{{frequency domain equations for the radiation modes}}&lt;br /&gt;
&lt;br /&gt;
{{sommerfeld radiation condition two dimensions for radiation}}&lt;br /&gt;
&lt;br /&gt;
Code to calculate the radiation potential can be found in &lt;br /&gt;
[[Boundary Element Method for the Radiation Potential in Finite Depth]]&lt;br /&gt;
&lt;br /&gt;
We denote the solution for each of the radiation potentials by&lt;br /&gt;
&amp;lt;math&amp;gt;\phi_\nu^{\mathrm{R}}&amp;lt;/math&amp;gt; and the total potential is written as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\phi = \phi^{\mathrm{I}} +  \phi^{\mathrm{D}} +&lt;br /&gt;
\sum_\nu \zeta_\nu \phi_\nu^{\mathrm{R}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Final System of Equations ==&lt;br /&gt;
&lt;br /&gt;
We substitute the expansion for the potential into the equations in the frequency domain and we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\omega^2 \sum_{\nu} M_{\mu\nu}\zeta_{\nu}=-\mathrm{i}\omega\rho\iint_{\partial\Omega_{B}}&lt;br /&gt;
\left(\phi^{\mathrm{I}} +  \phi^{\mathrm{D}} +&lt;br /&gt;
\sum_{\nu} \zeta_\nu \phi_{\nu}^{\mathrm{R}}\right) \mathbf{n}_{\mu}\, dS&lt;br /&gt;
- \sum_{\nu}  C_{\mu\nu}\xi_{\nu},\quad \textrm{for} \qquad \mu=1,3,5,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{added mass damping and force matrices definition}}&lt;br /&gt;
&lt;br /&gt;
Then the equations can be expressed as follows.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;  \left[-\omega^2 \left(\mathbf{M} + \mathbf{A} \right) + &lt;br /&gt;
\mathrm{i}\omega \mathbf{B} + \mathbf{C} \right] \vec{\zeta} = \mathbf{f} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\mathbf{M}&amp;lt;/math&amp;gt; is the mass matrix,  &amp;lt;math&amp;gt;\mathbf{A}&amp;lt;/math&amp;gt; is the added mass matrix,&lt;br /&gt;
&amp;lt;math&amp;gt;\mathbf{B}&amp;lt;/math&amp;gt; is the damping matrix, &amp;lt;math&amp;gt;\mathbf{C}&amp;lt;/math&amp;gt; is the hydrostatic matrix,&lt;br /&gt;
&amp;lt;math&amp;gt;\vec{\zeta}&amp;lt;/math&amp;gt; is the vector of body displacements and &amp;lt;math&amp;gt;\mathbf{f}&amp;lt;/math&amp;gt; is the force. &lt;br /&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 two dimensional problem for the sake of clarity.&lt;br /&gt;
&lt;br /&gt;
== Symmetric body ==&lt;br /&gt;
&lt;br /&gt;
For a body which is [[:Category:Symmetry in Two Dimensions|Symmetric in Two Dimensions]]&lt;br /&gt;
the Heave is decoupled from Surge and Roll. &lt;br /&gt;
In other words the Surge and Roll motions do not influence Heave and vice versa.&lt;br /&gt;
&lt;br /&gt;
== Matlab Code ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*A program to solve for pitch and heave and only for two geometries can be found here [http://www.math.auckland.ac.nz/~meylan/code/boundary_element/rigid_body_motion.m rigid_body_motion.m]&lt;br /&gt;
&lt;br /&gt;
* a program to calculate the solution for a specific geometry (with plot as output as shown) can be found here [http://www.math.auckland.ac.nz/~meylan/code/boundary_element/wave_bem_example_floating.m wave_bem_example_floating.m] &lt;br /&gt;
&lt;br /&gt;
[[Image:Wave_bem_example_floating_RT2.jpg|300px|right|thumb|The reflection (solid line) and transmission (dashed line)&lt;br /&gt;
for a dock for heave and pitch (red), heave only (blue) and pitch only (black)]]&lt;br /&gt;
&lt;br /&gt;
=== Additional code ===&lt;br /&gt;
&lt;br /&gt;
This program requires&lt;br /&gt;
* A program to calculate the geometery [http://www.math.auckland.ac.nz/~meylan/code/boundary_element/circlebody_twod.m  circlebody_twod.m]&lt;br /&gt;
* {{fixed body bem code}}&lt;br /&gt;
* {{floating body radiation code}}&lt;br /&gt;
* {{free surface dispersion equation code}}&lt;br /&gt;
* {{boundary element code}}&lt;br /&gt;
&lt;br /&gt;
== Symmetry-reciprocity relations ==&lt;br /&gt;
&lt;br /&gt;
It will be shown that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A_{ij}(\omega) = A_{ji}(\omega) \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; B_{ij}(\omega) = B_{ji}(\omega) \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Along the same lines it will be shown that the exciting force &amp;lt;math&amp;gt;\mathbf{X}_j\,&amp;lt;/math&amp;gt; can be expressed in terms of &amp;lt;math&amp;gt; \psi_j\,&amp;lt;/math&amp;gt; circumventing the solution for the diffraction potential.&lt;br /&gt;
The core result needed for the proof of the above properties is [http://en.wikipedia.org/wiki/Green&#039;s_identities Green&#039;s second identity]&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iint_S \left( \psi_1 \frac{\partial\psi_2}{\partial n} - \psi_2 \frac{\partial\psi_1}{\partial n} \right) \mathrm{d}S = 0 \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\nabla^2 \psi_i=0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{{energy_region_plates}}&lt;br /&gt;
&lt;br /&gt;
[[Image:Symmetry_boundary.jpg|thumb|right|600px|Boundary]]&lt;br /&gt;
&lt;br /&gt;
In the surface wave-body problem define the closed surfaces as shown in figure on the right.&lt;br /&gt;
Let &amp;lt;math&amp;gt; \phi_j\,&amp;lt;/math&amp;gt; be rediation or diffraction potentials. Over the boundaries &amp;lt;math&amp;gt;S^\pm\,&amp;lt;/math&amp;gt; we have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; S^+: \quad \phi_j \ \sim \ \frac{igA_j^+}{\omega} e^{Kz-iKx} \,&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; \frac{\partial\phi_j}{\partial n} = \frac{\partial \phi_j}{\partial x} \ \sim \ -iK\phi_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; S^-: \quad \phi_j \ \sim \ \frac{igA_j^-}{\omega} e^{Kz+iKx} \,&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; \frac{\partial\phi_j}{\partial n} = - \frac{\partial \phi_j}{\partial x} \ \sim \ - iK\phi_j \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On &amp;lt;math&amp;gt; S_F: \qquad \frac{\partial\phi_j}{\partial z} = K\phi_j, \qquad \frac{\partial \Phi_j}{\partial n} = \frac{\partial \phi_j}{\partial z} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On &amp;lt;math&amp;gt; S_\infty: \qquad \left| \phi_j \right|, \quad \left| \nabla \phi_j \right| \to 0 &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Applying Green&#039;s identity to any pair of the radiation potentials &amp;lt;math&amp;gt; \psi_i, \psi_j \,&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iint_{S_B} \left[ \psi_i \frac{\partial\psi_j}{\partial n} - \psi_j \frac{\partial\psi_i}{\partial n} \right] \mathrm{d}S = - \iint_{S_F} \left[ \psi_i \frac{\partial\psi_j}{\partial z} - \psi_j \frac{\partial\psi_i}{\partial z} \right] \mathrm{d}S &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; - \iint_{S_+} \left[ \psi_i \frac{\partial\psi_j}{\partial x} - \psi_j \frac{\partial\psi_i}{\partial x} \right] \mathrm{d}S&lt;br /&gt;
 + \iint_{S_-} \left[ \psi_i \frac{\partial\psi_j}{\partial x} - \psi_j \frac{\partial\psi_i}{\partial x} \right] \mathrm{d}S = 0 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It follows that:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iint_{S_B} \psi_i \frac{\partial\psi_j}{\partial n} \mathrm{d}S = \iint_{S_B} \psi_j \frac{\partial\psi_i}{\partial n} \mathrm{d}S &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; A_{ij}(\omega) = A_{ji}(\omega), \qquad B_{ij}(\omega) = B_{ji}(\omega). \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Haskind relations of exciting forces ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathbf{X}_i(\omega) = - i\omega\rho\iint_{S_B} (\phi_I + \phi_7) n_i \mathrm{d}S &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; = - \rho \iint_{S_B} (\phi_I + \phi_7) \frac{\partial \phi_i}{\partial n} \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the radiation velocity potential &amp;lt;math&amp;gt; \phi_i \,&amp;lt;/math&amp;gt; is known to satisfy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\partial\phi_i}{\partial n} = i\omega n_i, \quad \mbox{on} \ S_B &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\partial\phi_7}{\partial n} = \frac{\partial\phi_I}{\partial n}, \quad \mbox{on} \ S_B &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Both &amp;lt;math&amp;gt; \phi_i\,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; \phi_7\,&amp;lt;/math&amp;gt; satisfy the condition of outgoing waves at infinity. By virtue of [http://en.wikipedia.org/wiki/Green&#039;s_identities Green&#039;s second identity]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iint_{S_B} \phi_7 \frac{\partial\phi_i}{\partial n} \mathrm{d}S = \iint_{S_B} \phi_i \frac{\partial\phi_7}{\partial n} \mathrm{d}S = -\iint_{S_B} \phi_i \frac{\partial\phi_I}{\partial n} \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Haskind expression for the exciting force follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathbf{X}_i(\omega) = \rho \iint_{S_B} \left[ \phi_I \frac{\partial\phi_i}{\partial n} - \phi_i \frac{\partial\phi_I}{\partial n} \right] \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The symmetry of the &amp;lt;math&amp;gt; A_{ij}(\omega), B_{ij}(\omega) \,&amp;lt;/math&amp;gt; matrices applies in 2D and 3D. The application of Green&#039;s Theorem in 3D is very similar using the far-field representation for the potential &amp;lt;math&amp;gt; \phi_j\,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \phi_j \sim \frac{A_j(\theta)}{\sqrt{R}} e^{KZ-iKR} + O\left(\frac{1}{R^{3/2}}\right) &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; \frac{\partial\phi_j}{\partial n} = \frac{\partial\phi_j}{\partial R} \sim - i K \phi_j + O\left(\frac{1}{R^{3/2}}\right) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt; R \,&amp;lt;/math&amp;gt; is a radius from the body out to infinity and the &amp;lt;math&amp;gt; R^{-\frac{1}{2}} \,&amp;lt;/math&amp;gt; decay arises from the energy conservation principle. Details of the 3D proof may be found in [[Mei 1983]] and [[Wehausen and Laitone 1960]]&lt;br /&gt;
&lt;br /&gt;
The use of the Haskind relations for the exciting forces does not require the solution of the diffraction problem. This is convenient and often more accurate.&lt;br /&gt;
&lt;br /&gt;
The Haskind relations take other forms which will not be presented here but are detailed in [[Wehausen and Laitone 1960]]. The ones that are used in practice relate the exciting forces to the damping coefficients.&lt;br /&gt;
&lt;br /&gt;
These take the form:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;2D&amp;lt;/u&amp;gt;:      &amp;lt;math&amp;gt; B_{ii} = \frac{\left| \mathbf{X}_i \right|^2}{2\rho g V_g}, \quad V_g = \frac{g}{2\omega}, &amp;lt;/math&amp;gt;       Deep water&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;3D&amp;lt;/u&amp;gt;:      &amp;lt;math&amp;gt; B_{33} = \frac{K}{4\rho g V_g} \left| \mathbf{X}_3 \right|^2 \,&amp;lt;/math&amp;gt;      --- Heave&lt;br /&gt;
&lt;br /&gt;
(Axisymmetric bodies)      &amp;lt;math&amp;gt; B_{22} = \frac{K}{8\rho g V_g} \left| \mathbf{X}_2 \right|^2 \,&amp;lt;/math&amp;gt;      --- Sway&lt;br /&gt;
&lt;br /&gt;
So knowledge of &amp;lt;math&amp;gt; \mathbf{X}_i(\omega)\,&amp;lt;/math&amp;gt; allows the direct evaluation of the diagonal damping coefficients. These expressions are useful in deriving theoretical results in wave-body interactions to be discussed later.&lt;br /&gt;
&lt;br /&gt;
The two-dimensional theory of wave-body interactions in the frequency domain extends to three dimencions very directly with little difficulty.&lt;br /&gt;
&lt;br /&gt;
The statement of the 6 d.o.f. seakeeping problem is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \sum_{j=1}^6 \left[ - \omega^2 \left( M_{ij} + A_{ij} \right) + i \omega B_{ij} + C_{ij} \right] \Pi_j = \mathbf{X}_j, \quad i=1,\cdots,6 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; M_{ij}(\omega): \mbox{Body inertia matrix including moments of inertia for rotational modes. For details refer to MH} \, &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_{ij}(\omega): \mbox{Added mass matrix} \,&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_{ij}(\omega): \mbox{Damping matrix} \, &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_{ij}: \mbox{Hydrostatic and static inertia restoring matrix. For details refer to MH} \, &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; \mathbf{X}_i(\omega): \mbox{Wave exciting forces and moments} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At zero speed the definitions of the added-mass, damping matrices and exciting forces are identical to those in two dimensions.&lt;br /&gt;
&lt;br /&gt;
The boundary value problems satisfied by the radiation potentials &amp;lt;math&amp;gt;\phi_j, \ j=1,\cdots,6 \,&amp;lt;/math&amp;gt; and the diffraction potential &amp;lt;math&amp;gt; \phi_7 \,&amp;lt;/math&amp;gt; are as follows:&lt;br /&gt;
&lt;br /&gt;
Free-surface condition:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; -\omega^2 \phi_j + g \frac{\partial\phi_j}{\partial Z} = 0, \quad z=0 \quad j=1,\cdots,7 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Body-boundary conditions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\partial\phi_7}{\partial n} = -\frac{\partial\phi_I}{\partial n}, \quad \mbox{on} \quad S_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; \phi_I = \frac{i g A}{\omega} e^{KZ-iKX\cos\beta-iKY\sin\beta+i\omega t} &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; \frac{\partial\phi_j}{\partial n} = i\omega n_j, \quad j=1,\cdots,6 \, &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; n_j = \begin{Bmatrix}&lt;br /&gt;
  &amp;amp; n_j, \qquad &amp;amp; j=1,2,3 \\&lt;br /&gt;
  &amp;amp; \left( \vec{X} \times \vec{n} \right)_{j+3}, \quad j=4,5,6&lt;br /&gt;
\end{Bmatrix} &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; i=1: \ \mbox{Surge} \qquad i=2: \ \mbox{Sway} \qquad i=3: \ \mbox{Heave} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; i=4: \ \mbox{Roll} \qquad i=5: \ \mbox{Pitch} \qquad i=6: \ \mbox{Yaw} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At large distances from the body the velocity potentials satisfy the radiation condition:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \phi_j (R,\theta) \sim \frac{A_j(\theta)}{\sqrt{R}} e^{KZ-iKR} + O \left( \frac{1}{R^{3/2}} \right) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; K = \frac{\omega^2}{g}. \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This radiation condition is essential for the formulation and solution of the boundary value problems for &amp;lt;math&amp;gt;\phi_j\,&amp;lt;/math&amp;gt; using panel methods which are the standard solution technique at zero and forward speed.&lt;br /&gt;
&lt;br /&gt;
Qualitative behaviour of the forces, coefficients and motions of floating bodies&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; - \omega^2 \phi + g \phi_Z =0 \quad \begin{cases}&lt;br /&gt;
  \phi_Z=0,\quad \omega=0  \\&lt;br /&gt;
  \phi=0, \quad \omega \to \infty&lt;br /&gt;
\end{cases} &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_{33}(\omega), \sim \omega, \mbox{at low} \ \omega \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The 2D Heave added mass is singular at low frequencies. It is finite in 3D&lt;br /&gt;
&lt;br /&gt;
The 2D Heave damping coefficient is decaying to zero linearly in 2D and superlinearly in 3D. A two-dimensional section is a better wavemaker than a three-dimensional one&lt;br /&gt;
&lt;br /&gt;
A 2D section oscillating in Sway is less effective a wavemaker at low frequencies than the same section oscillating in Heave&lt;br /&gt;
&lt;br /&gt;
The zero-frequency limit of the Sway added mass is finite and similar to the infinite frequency limit of the Heave added mass.&lt;br /&gt;
&lt;br /&gt;
In long waves the Heave exciting force tends to the Heave restoring coefficient times the ambient wave amplitude the free surface behaves like a flat surface moving up and down.&lt;br /&gt;
&lt;br /&gt;
In long waves the Sway exciting force tends to zero. Proof will follow&lt;br /&gt;
&lt;br /&gt;
In short waves all forces tend to zero.&lt;br /&gt;
&lt;br /&gt;
Pitch exciting moment (same applies to Roll) tends to zero. Long waves have a small slope which is proportional to &amp;lt;math&amp;gt; KA&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt; K\,&amp;lt;/math&amp;gt; is the wave number and &amp;lt;math&amp;gt; A\,&amp;lt;/math&amp;gt; is the wave amplitude.&lt;br /&gt;
&lt;br /&gt;
Prove that to leading order for &amp;lt;math&amp;gt;KA\to 0 \,&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \left| X_S(\omega) \right| \sim KA C_{55}\,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;C_{55}\,&amp;lt;/math&amp;gt; is the Pitch (&amp;lt;math&amp;gt; C_{44} \,&amp;lt;/math&amp;gt; for Roll) hydrostatic restoring coefficient. [NB: very long waves look like a flat surface inclined at &amp;lt;math&amp;gt; KA\,&amp;lt;/math&amp;gt; ].&lt;br /&gt;
&lt;br /&gt;
== Body motions in regular waves ==&lt;br /&gt;
&lt;br /&gt;
Heave:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \Pi_3 = \frac{\mathbf{X}_3(\omega)}{-\omega^2(A_{33} + M) + i\omega B_{33} +C_{33} } &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Resonance:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \omega^2 = \frac{C_{33}}{M+A_{33}} = \frac{\rho g A \omega}{M + A_{33} (\omega)} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In principle the above equation is nonlinear for &amp;lt;math&amp;gt;\omega\,&amp;lt;/math&amp;gt;. Will be approximated below&lt;br /&gt;
&lt;br /&gt;
At resonance: &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \Pi_3 = \frac{\mathbf{X}_3(\omega^*)}{i\omega^* B_{33}(\omega^*)} \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Invoking the relation between the damping coefficient and the exicting force in 3D:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\left| \Pi_3 \right|}{A} = \frac{\left| \mathbf{X}_3(\omega) \right|}{\omega \frac{K}{4\rho g V_g} \left| \mathbf{X}_3 \right|^2}, \quad V_g=\frac{g}{2\omega} &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; =\frac{2\rho g}{\omega^3 \left|\mathbf{X}_3(\omega)\right|}, \quad \mbox{at resonance} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This counter-intuitive result shows that for a body undergoing a pure Heave oscillation, the modulus of the Heave response at resonance is inversely proportional to the modulus of the Heave exciting force.&lt;br /&gt;
&lt;br /&gt;
Viscous effects not discussed here may affect Heave response at resonance&lt;br /&gt;
&lt;br /&gt;
The behavior of the Sway response can be found in an analagous manner,&lt;br /&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 articles 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] and&lt;br /&gt;
[http://ocw.mit.edu/NR/rdonlyres/Mechanical-Engineering/2-24Spring-2002/C5323823-0180-45EA-B165-15856948A0A2/0/lecture10.pdf here]&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Ship_Kelvin_Wake&amp;diff=13011</id>
		<title>Ship Kelvin Wake</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Ship_Kelvin_Wake&amp;diff=13011"/>
		<updated>2010-11-06T11:37:03Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: /* Kelvin wake */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Ocean Wave Interaction with Ships and Offshore Structures&lt;br /&gt;
 | chapter title = Ship Kelvin Wake&lt;br /&gt;
 | next chapter = [[Linear Wave-Body Interaction]]&lt;br /&gt;
 | previous chapter =  [[Wavemaker Theory]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{incomplete pages}}&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
[[Image:Wake.avon.gorge.arp.750pix.jpg|thumb|right|450px|Wake created behind a ship]]&lt;br /&gt;
&lt;br /&gt;
A ship moving over the surface of undisturbed water sets up waves emanating from the bow and stern of the ship. The waves created by the ship consist of divergent and transverse waves. The divergent wave are observed as the [http://en.wikipedia.org/wiki/Wake wake] of a ship with a series of diagonal or oblique crests moving outwardly from the point of disturbance. These wave were first studied by [http://en.wikipedia.org/wiki/Lord_Kelvin Lord Kelvin]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Translating Coordinate System ==&lt;br /&gt;
&lt;br /&gt;
We have a the standard fixed coordinate system &amp;lt;math&amp;gt;x, y, z&amp;lt;/math&amp;gt; and a moving coordinate systems&lt;br /&gt;
which is moving in the &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; direction with speed &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt;. We denote the moving coordinate&lt;br /&gt;
systems in the &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; direction by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\bar{x} = x + U t&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt; \Phi(\mathbf{x},t) \,&amp;lt;/math&amp;gt; be the velocity potential describing the potential flow &lt;br /&gt;
generated by the ship relative to the earth frame.&lt;br /&gt;
The same potential expressed relative to the ship frame is &amp;lt;math&amp;gt; \bar{\Phi}(\mathbf{\bar{x}},t) \, &amp;lt;/math&amp;gt;.&lt;br /&gt;
The relation between the two potentials is given by the identity&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \Phi(x,y,z,t) = \bar{\Phi}(\bar{x},y,z,t)&lt;br /&gt;
= \bar{\Phi}(x-Ut,y,z,t) \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where the relation between the coordinates of the two coordinate systems has been introduced.&lt;br /&gt;
Note the time dependence occurs in two places in &amp;lt;math&amp;gt; \bar{\Phi} \,&amp;lt;/math&amp;gt; and in one place in &amp;lt;math&amp;gt; \Phi \,&amp;lt;/math&amp;gt;. The governing equations are always derived relative to the earth coordinate system and time derivatives are initially taken on &amp;lt;math&amp;gt; \Phi  \, &amp;lt;/math&amp;gt;.&lt;br /&gt;
Therefore&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\mathrm{d}\Phi}{\mathrm{d}t} = \frac{\mathrm{d}}{\mathrm{d}t} \bar{\phi} ( x-Ut,y,z,t) &lt;br /&gt;
 = \frac{\partial\phi}{\partial t} - U \frac{\partial\phi}{\partial x} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
All time derivatives of the earth fixed velocity potential &amp;lt;math&amp;gt; \Phi \, &amp;lt;/math&amp;gt; which appear in the free surface condition and the Bernoulli equation can be expressed in terms of derivatives of &amp;lt;math&amp;gt; \bar{\Phi} \, &amp;lt;/math&amp;gt; using the Galilean transformation derived above.&lt;br /&gt;
&lt;br /&gt;
If the flow is steady relative to the ship fixed coordinate system&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\partial\bar{\Phi}}{\partial t} = 0 \, &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
but&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\mathrm{d}\Phi}{\mathrm{d}t} = -U \frac{\partial\bar{\Phi}}{\partial x} \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
or, the ship wake is stationary relative to the ship but not relative to an observed on the beach.&lt;br /&gt;
&lt;br /&gt;
== Kelvin wake ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Kelvin_wake.jpg|thumb|right|600px|Diagram of the Kelvin Wake]]&lt;br /&gt;
&lt;br /&gt;
Local view of Kelvin wake consists approximately of a [[Linear Plane Progressive Regular Waves| plane progressive wave group]] propagating in direction &amp;lt;math&amp;gt; \theta\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
As noted above surface wave systems of general form always consist of combinations of plane progressive waves of different frequencies and directions. The same model will apply to the ship kelvin wake.&lt;br /&gt;
Relative to the earth frame, the local plane wave in [[Infinite Depth]] takes the form&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \Phi = \frac{\mathrm{i}gA}{\omega} e^{kz-\mathrm{i}k(x\cos\theta+y\sin\theta)+ \mathrm{i}\omega t} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Relative to the ship frame&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;bar{\Phi} = \frac{igA}{\omega} e^{kz-\mathrm{i}k(x\cos\theta+y\sin\theta)-\mathrm{i}(kU\cos\theta-\omega)t} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But relative to the ship frame waves are stationary, so we must have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; kU\cos\theta = \omega \,&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{\omega}{k} = C_p = U \cos \theta \, &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This implies the following&lt;br /&gt;
* The phase velocity of the waves in the kelvin wake propagating in direction &amp;lt;math&amp;gt;\theta\,&amp;lt;/math&amp;gt; must be equal to &amp;lt;math&amp;gt; U\cos\theta\,&amp;lt;/math&amp;gt;, otherwise they cannot be stationary relative to the ship.&lt;br /&gt;
* Relative to the earth system the frequency of a local system propagating in direction &amp;lt;math&amp;gt; \theta \, &amp;lt;/math&amp;gt; is given by the relation &amp;lt;math&amp;gt; \omega = kU \cos \theta \, &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Relative to the earth system the [[Infinite Depth]] [[Dispersion Relation for a Free Surface]] states&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \omega^2 = g k \, &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
so that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \lambda(\theta) = \frac{2\pi U^2 \cos^2 \theta}{g} \, &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is the wavelength of waves in a Kelvin wake propagating in direction &amp;lt;math&amp;gt; \theta \, &amp;lt;/math&amp;gt; which&lt;br /&gt;
are stationary relative to the ship.&lt;br /&gt;
&lt;br /&gt;
== Application of the Group velocity ==&lt;br /&gt;
&lt;br /&gt;
An observer sitting on an earth fixed frame observes a local wave system propagating in direction &amp;lt;math&amp;gt; \theta\,&amp;lt;/math&amp;gt; travelling at its [[Wave Energy Density and Flux|group velocity]] &amp;lt;math&amp;gt;\frac{d\omega}{dK}\,&amp;lt;/math&amp;gt; by virtue of the Rayleigh device which states that we need to focus on the speed of the energy density (&amp;lt;math&amp;gt; \sim \, &amp;lt;/math&amp;gt; wave amplitude) rather than the speed of wave crests. So, relative to the earth fixed inclined coordinate system &amp;lt;math&amp;gt; (X&#039;, Y&#039;) \,&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{X&#039;}{t} = V_g = \frac{d\omega}{dK} \, &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; X&#039; = \frac{d\omega}{dK} t \ \Longrightarrow \ \frac{d}{dK} (K X&#039; - \omega t) = 0 &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&#039; = X \cos \theta + Y \sin \theta = x \cos\theta + y\sin\theta + Ut \cos\theta \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; KX&#039; - \omega t = K ( x\cos\theta + y\sin\theta ) + (KU\cos\theta - \omega) t \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
However &amp;lt;math&amp;gt;(KU\cos\theta - \omega) t =0&amp;lt;/math&amp;gt; so that the Rayleigh condition for the velocity of the group takes the form:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{d}{dK} [ K(\theta) (x\cos\theta + y\sin\theta) ] = 0 \, &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By virtue of the dispersion relation derived above:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; K(\theta) = \frac{g}{U^2 \cos^2 \theta} \, &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It follows from the chain rule of differentiation that Rayleigh&#039;s condition is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{d}{d\theta} \left[ \frac{g}{U^2\cos^2\theta} (x\cos\theta + y\sin\theta) ]\right] = 0 \, &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At the position of the Kelvin waves which are locally observed by an observer at the beach.&lt;br /&gt;
&lt;br /&gt;
* So the &amp;quot;visible&amp;quot; waves in the wake of a ship are &amp;lt;u&amp;gt;wave groups&amp;lt;/u&amp;gt; which must travel at the local group velocity. These conditions translate into the above equation which will be solved and discussed next. More discussion and a more mathematical derivation based on the [http://en.wikipedia.org/wiki/Principle_of_stationary_phase principle of stationary phase] can be found in [[Newman 1977]].&lt;br /&gt;
&lt;br /&gt;
== Solution of the equation for angle ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Graphical_image.jpg|thumb|right|600px|Graphical image of the equations]]&lt;br /&gt;
&lt;br /&gt;
The solution of the above equation will produce a relation between &amp;lt;math&amp;gt; \frac{y}{x} \,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; \theta\,&amp;lt;/math&amp;gt;. So local waves in a Kelvin wake can only propagate in a certain direction &amp;lt;math&amp;gt; \theta\,&amp;lt;/math&amp;gt;, given &amp;lt;math&amp;gt; \frac{y}{x} \, &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Simple algebra leads to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{y}{x} = - \frac{\cos\theta\sin\theta}{1+sin^2\theta} = \frac{y}{x}(\theta) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which implies that&lt;br /&gt;
* &amp;lt;math&amp;gt;\frac{y}{x}(\theta) \,&amp;lt;/math&amp;gt; is anti-symmetric about &amp;lt;math&amp;gt; \theta = 0 \, &amp;lt;/math&amp;gt; and each part corresponds to the Kelvin wake in the port and starboard sides of the vessel. The physics on &lt;br /&gt;
either side is identical due to symmetry.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt; \theta = 0 \,&amp;lt;/math&amp;gt;: waves propagating in the same direction as the ship. These waves can only exist at &amp;lt;math&amp;gt; Y = 0\, &amp;lt;/math&amp;gt; as seen above.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt; \theta = \frac{\pi}{2} \, &amp;lt;/math&amp;gt;: waves propagating at a &amp;lt;math&amp;gt; 90^\circ\,&amp;lt;/math&amp;gt; angle relative to the ship direction of forward translation.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt; \theta = 35^\circ 16&#039; \, &amp;lt;/math&amp;gt;: (or 35,26°) waves propagating at an angle &amp;lt;math&amp;gt; \theta = 35^\circ 16&#039; \, &amp;lt;/math&amp;gt; relative to the ship axis. These are waves seen at the caustic of the Kelvin wake.&lt;br /&gt;
&lt;br /&gt;
Let the solution of &amp;lt;math&amp;gt; \frac{y}{x}(\theta) \, &amp;lt;/math&amp;gt; be of the form, when inverted:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mbox{Region I}: \qquad \theta = f_1 (\frac{y}{x}) \, &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; \mbox{Region II}: \qquad \theta = f_2 (\frac{y}{x}) \, &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that observable waves cannot exist for values of &amp;lt;math&amp;gt; \frac{y}{x}\,&amp;lt;/math&amp;gt; that exceed the value shown in the figure or &amp;lt;math&amp;gt; \left. \frac{y}{x} \right|_{Max} = 2^{-3/2} \,&amp;lt;/math&amp;gt;. This translates into a value for the corresponding angle equal to &amp;lt;math&amp;gt; 19^\circ 28&#039; \, &amp;lt;/math&amp;gt; (or 19,47°) which is the angle of the caustic for any speed &amp;lt;math&amp;gt; U\,&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
[[Image:Kelvin_wave_image.jpg|thumb|right|600px|&amp;quot;transverse&amp;quot; and &amp;quot;divergent&amp;quot; wave systems in the Kelvin wake]]&lt;br /&gt;
&lt;br /&gt;
The crests of the wave system trailing a ship, the Kelvin wake, are curves of constant phase of:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{x\cos\theta+y\sin\theta}{\cos^2\theta} = \mathbf{C} \, &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In &amp;lt;math&amp;gt; \mbox{Region I} \, &amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathbf{C} = \frac{x\cos f_1(\frac{y}{x}) + y\sin f_1 (\frac{y}{x})}{\cos^2 f_1 (\frac{y}{x})} \equiv G_1 (\frac{y}{x}) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In &amp;lt;math&amp;gt; \mbox{Region II} \, &amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathbf{C} = \frac{x\cos f_2(\frac{y}{x}) + y\sin f_2 (\frac{y}{x})}{\cos^2 f_2 (\frac{y}{x})} \equiv G_2 (\frac{y}{x}) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plotting these curves we obtain a visual graph of the &amp;quot;transverse&amp;quot; and &amp;quot;divergent&amp;quot; wave systems in the Kelvin wake.&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/80D65339-8DD7-4909-A936-117BE9C97F5A/0/lecture8.pdf here]&lt;br /&gt;
&lt;br /&gt;
[[Ocean Wave Interaction with Ships and Offshore Energy Systems]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Linear Water-Wave Theory]]&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Wave_Momentum_Flux&amp;diff=13009</id>
		<title>Wave Momentum Flux</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Wave_Momentum_Flux&amp;diff=13009"/>
		<updated>2010-11-06T11:35:15Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: /* Mean horizontal momentum flux due to a  Plane Progressive Regular Wave */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Ocean Wave Interaction with Ships and Offshore Structures&lt;br /&gt;
 | chapter title = Wave Momentum Flux&lt;br /&gt;
 | next chapter = [[Wavemaker Theory]]&lt;br /&gt;
 | previous chapter =  [[Wave Energy Density and Flux]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{incomplete pages}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
The momentum is important to determine the forces. &lt;br /&gt;
&lt;br /&gt;
== Momentum flux in potential flow ==&lt;br /&gt;
&lt;br /&gt;
The momentum flux (the time derivative of the [http://en.wikipedia.org/wiki/Momentum momentum] &amp;lt;math&amp;gt;\mathcal{M}&amp;lt;/math&amp;gt;) is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\mathrm{d}\mathcal{M}(t)}{\mathrm{d}t} = \rho \frac{\mathrm{d}}{\mathrm{d}t} \iiint_{\Omega(t)} \mathbf{v} \mathrm{d}V &lt;br /&gt;
= \rho \iiint_{\Omega(t)} \frac{\partial\mathbf{v}}{\partial t} \mathrm{d}V + \rho \iint_{\partial\Omega(t)} \mathbf{v} U_n \mathrm{d}S, &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt; U_n \, &amp;lt;/math&amp;gt; is the outward normal velocity of the surface &amp;lt;math&amp;gt; \partial\Omega(t)\, &amp;lt;/math&amp;gt;.&lt;br /&gt;
This equation follows from the [http://en.wikipedia.org/wiki/Reynolds_transport_theorem transport theorem].&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\mathbf{v}}{\partial t} + (\mathbf{v} \cdot \nabla ) \mathbf{v} = &lt;br /&gt;
-  \nabla \left(\frac{P}{\rho} + g z\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where we have defined the direction of gravity to be in the negative &amp;lt;math&amp;gt;z&amp;lt;/math&amp;gt;&lt;br /&gt;
direction. &lt;br /&gt;
We may recast the momentum flux in the form&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\mathrm{d}\mathcal{M}(t)}{\mathrm{d}t} = - \rho \iiint_{\Omega(t)} \left( \nabla ( \frac{P}{\rho} + g z ) + ( \mathbf{v} \cdot \nabla ) \mathbf{v} \right)&lt;br /&gt;
\mathrm{d}V + \rho \iint_{\partial\Omega(t)} \mathbf{v} U_n \mathrm{d}S &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
So far &amp;lt;math&amp;gt; \Omega(t)\, &amp;lt;/math&amp;gt; is an arbitrary closed time dependent volume bounded by the time dependent surface &amp;lt;math&amp;gt; \partial\Omega(t)\, &amp;lt;/math&amp;gt;.&lt;br /&gt;
We have however defined the gravitational acceleration to be in the negative &amp;lt;math&amp;gt;z&amp;lt;/math&amp;gt; direction. &lt;br /&gt;
&lt;br /&gt;
=== Simplification ===&lt;br /&gt;
&lt;br /&gt;
We use the following vector theorem&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; (\mathbf{v} \cdot \nabla ) \mathbf{v} = \nabla ( \frac{1}{2} \mathbf{v} \cdot \mathbf{v} ) - \mathbf{v} \times (\nabla \times \mathbf{v} ) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we have potential flow then &amp;lt;math&amp;gt; \mathbf{v} = \nabla \Phi \,&amp;lt;/math&amp;gt; and we can use Gauss&#039;s vector theorem:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iiint_{\Omega(t)} \nabla ( \frac{1}{2} \mathbf{v} \cdot \mathbf{v} ) \mathrm{d}V = \frac{1}{2} \iint_{\partial\Omega(t)} &lt;br /&gt;
\left(\mathbf{v} \cdot \mathbf{v} \right) \mathbf{n} \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
In potential flow it follows that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iint_{\partial\Omega(t)} \frac{1}{2} ( \mathbf{v} \cdot \mathbf{v} ) \mathbf{n} \mathrm{d}S = \iint_{\partial\Omega(t)} \frac{\partial\Phi}{\partial n} \nabla \Phi \mathrm{d}S &lt;br /&gt;
= \iint_{\partial\Omega(t)} V_n \mathbf{v} \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
since for &amp;lt;math&amp;gt; \nabla^2 \Phi = 0 \, &amp;lt;/math&amp;gt;;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iiint_{\partial\Omega} \frac{1}{2} ( \nabla\Phi \cdot \nabla\Phi) \mathbf{n} \mathrm{d}S \equiv \iint_{\partial\Omega} \frac{\partial\Phi}{\partial n} \nabla\Phi \mathrm{d}S. &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
In the above &amp;lt;math&amp;gt; \mathbf{n} \, &amp;lt;/math&amp;gt; is the unit vector pointing out of the volume &amp;lt;math&amp;gt; \Omega(t) &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; V_n = \mathbf{n} \cdot \nabla \Phi &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Upon substitution in the momentum flux formula, we obtain:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\mathrm{d}\mathcal{M}}{\mathrm{d}t} = - \rho \iint_{\partial\Omega(t)} \left( ( \frac{P}{\rho} + gz ) \mathbf{n} + \mathbf{v} (V_n - U_n )\right) \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This formula is of central importance in potential flow marine hydrodynamics because the rate of change of the linear momentum defined above is just &amp;lt;math&amp;gt; \pm \,&amp;lt;/math&amp;gt; the force acting on the fluid volume. When its mean value can be shown to vanish, important force expressions on solid boundaries follow and will be derived in what follows.&lt;br /&gt;
&lt;br /&gt;
== Hydrostatic Term ==&lt;br /&gt;
&lt;br /&gt;
Consider separately the term in the momentum flux expression involving the hydrostatic pressure:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\mathrm{d}\mathcal{M}_H}{\mathrm{d}t} = - \rho \iint_{\partial\Omega} gz \mathbf{n},&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We break the boundary up into the free surface, ends, body surface, and sea floor at infinite depth, i,.e. &lt;br /&gt;
&amp;lt;math&amp;gt;\partial\Omega=\partial\Omega_F + \partial\Omega^{\pm} + \partial\Omega_B + \partial\Omega_{\infty} &amp;lt;/math&amp;gt;&lt;br /&gt;
The integral over the body surface, assuming a fully submerged body is:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\mathrm{d}\mathcal{M}_{H,B}}{\mathrm{d}t} = - \rho \iint_{\partial\Omega_B} gz \mathbf{n} = \rho g V \mathbf{k}  &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; is the volume. This follows from the vector theorem of Gauss and is the [http://en.wikipedia.org/wiki/Displacement_%28fluid%29 principle of Archimedes].  That is,&lt;br /&gt;
the momentum flux is equal to the buoyancy force.&lt;br /&gt;
&lt;br /&gt;
We may therefore consider the second part of the integral involving wave effects independently and in the absence of the body, assumed fully submerged. In the case of a surface piercing body and in the fully nonlinear case matters are more complex. Consider the application of the momentum conservation theorem in the case of a submerged or floating body in steep waves. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Momentum.png|600px|right|thumb|Momentum boundaries]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here we consider the two-dimensional case in order to present the concepts. Extensions to three dimensions are then trivial. Note that unlike the [[Wave Energy Density and Flux|energy conservation principle]], the momentum conservation theorem derived above is a vector identity with a horizontal and a vertical component. The integral of the hydrostatic term over the remaining surfaces leads to:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\mathrm{d} \mathcal{M}_{H,S}}{\mathrm{d}t} = - \rho \iint_{\partial\Omega_F+\partial\Omega^+ + \partial\Omega^- +\partial\Omega_{\infty}} gz \mathbf{n} \mathrm{d}S = - \rho g V_{\text{Fluid}} \mathbf{k} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;V_{\mbox{Fluid}} &amp;lt;/math&amp;gt; is the fluid volume. &lt;br /&gt;
This is simply the static weight of the volume of fluid bounded by &amp;lt;math&amp;gt; \partial\Omega_F, \partial\Omega^+, \partial\Omega^- \,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; \partial\Omega_{\infty}.&amp;lt;/math&amp;gt; With no waves present, this is simply the weight of the ocean water &amp;quot;column&amp;quot; bounded by &amp;lt;math&amp;gt; \partial\Omega\, &amp;lt;/math&amp;gt; which does not concern us here. This weight does not change in principle when waves are present at least when &amp;lt;math&amp;gt; \partial\Omega^+, \partial\Omega^- \,&amp;lt;/math&amp;gt; are placed sufficiently far away that the wave amplitude has decreased to zero. So &amp;quot;in principle&amp;quot; this term being of hydrostatic origin may be ignored. However, it is in principle more &amp;quot;rational&amp;quot; to apply the momentum conservation theorem over the &amp;quot;linearized&amp;quot; volume &amp;lt;math&amp;gt; V_L(t) \, &amp;lt;/math&amp;gt; which is perfectly possible within the framework derived above. In this case &amp;lt;math&amp;gt; \frac{\mathrm{d}\mathcal{M}_H}{\mathrm{d}t} \,&amp;lt;/math&amp;gt; is exactly equal to the static weight of the water column and can be ignored in the wave-body interaction problem. &lt;br /&gt;
&lt;br /&gt;
On &amp;lt;math&amp;gt; S_F; P=P_a=0 \, &amp;lt;/math&amp;gt; and hence all terms within the free-surface integral and over &amp;lt;math&amp;gt; S_{\infty} \, &amp;lt;/math&amp;gt; (seafloor) can be neglected. It follows that:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\mathrm{d} \mathcal{M}}{\mathrm{d}t} = - \rho \iint_{\partial\Omega^\pm +\partial\Omega_B} \left[ \frac{P}{\rho} \mathbf{n} + \mathbf{v} (V_n -U_n) \right] \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the free surface integrals also vanish for the horizontal component since the hydrostatic force is always vertical. This momentum flux formula is of central importance in wave-body interactions and has many important applications, some of which are discussed bellow. Note that the mathematical derivations involved in its proof apply equally when the volume &amp;lt;math&amp;gt; \Omega &amp;lt;/math&amp;gt; and its enclosed surface are selected to be at their linearized positions. In such a case it is essential to set &amp;lt;math&amp;gt; U_n=0\,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; V_n \ne 0 &amp;lt;/math&amp;gt;. Let the math take over and suggest the proper expression for the force. In the fully nonlinear case, &amp;lt;math&amp;gt;U_n \ne 0 \, &amp;lt;/math&amp;gt; on &amp;lt;math&amp;gt; \partial\Omega_F\, &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; P=0 \,&amp;lt;/math&amp;gt; on &amp;lt;math&amp;gt; \partial\Omega_F \, &amp;lt;/math&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
On a solid boundary:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; U_n =V_n \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overrightarrow{F}_B = \iint_{S_B} P \vec{n} dS &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
With &amp;lt;math&amp;gt; \vec{n} \,&amp;lt;/math&amp;gt; pointing inside the body. We may therefore recast the momentum conservation theorem in the form:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overrightarrow{F}_B (t) = - \frac{\mathrm{d} \overrightarrow{M}}{\mathrm{d}t} - \rho \iint_{S^\pm} \left[ \frac{P}{\rho} \vec{n} + \overrightarrow{V} (V_n - U_n) \right] \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Where &amp;lt;math&amp;gt; S^\pm \, &amp;lt;/math&amp;gt; are fluid boundaries at some distance from the body. If the volume of fluid surrounded by the body, free surface and the furfaces &amp;lt;math&amp;gt; S^\pm \, &amp;lt;/math&amp;gt; does not grow in time, then the momentum of the enclosed fluid cannot grow either, so &amp;lt;math&amp;gt; \overrightarrow{M}(t) \, &amp;lt;/math&amp;gt; is a stationary physical quantity. It is a well known result that the mean value in time of the time derivative of a stationary quantity is zero. So:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; {\overline{\frac{\mathrm{d}\overrightarrow{M}}{\mathrm{d}t}}}^t = 0 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt; Proof &amp;lt;/u&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; {\overline{\frac{\mathrm{d}F}{\mathrm{d}t}}}^t = \lim_{T\to\infty} \frac{1}{2T} \int_{-T}^{T} \frac{\mathrm{d}F{\tau}}{\mathrm{d}\tau} \mathrm{d}\tau = \lim_{T\to\infty} \frac{1}{2T} [F(T) - F(-T) ] &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since &amp;lt;math&amp;gt; F(\pm \tau) \, &amp;lt;/math&amp;gt; must be bounded for a stationary signal &amp;lt;math&amp;gt; F(t) \, &amp;lt;/math&amp;gt;, it follows that &amp;lt;math&amp;gt; {\overline{\frac{\mathrm{d}F}{\mathrm{d}t}}}^t = 0 \, &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Taking mean values, it follows that:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; {\overline{\overrightarrow{F}_B (t)}}^t = - \rho \ {\overline{\iint_{S^\pm} \left[ \frac{P}{\rho} \vec{n} + \overrightarrow{V} (V_n - U_n ) \right] \mathrm{d}S}}^t &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is the fundamental formula underlying the definition of the mean wave drift forces acting on floating bodies. Such forces are very imprtant for stationary floating structures and can be expressed in terms of integrals of wave effects over control surfaces &amp;lt;math&amp;gt; S^\pm \, &amp;lt;/math&amp;gt; which may be located at infinity.&lt;br /&gt;
&lt;br /&gt;
The extension of the above formula for &amp;lt;math&amp;gt; {\overline{\overrightarrow{F}_B}}^t \, &amp;lt;/math&amp;gt; in three dimensions is trivial. Simply replace &amp;lt;math&amp;gt; S^\pm \, &amp;lt;/math&amp;gt; by &amp;lt;math&amp;gt; S_{\infty} \, &amp;lt;/math&amp;gt;, a control surface at infinity. Common choices are a vertical cylindrical boundary or two vertical planes paraller to the axis of forward motion of a ship.&lt;br /&gt;
&lt;br /&gt;
== Applications ==&lt;br /&gt;
&lt;br /&gt;
=== Mean horizontal momentum flux due to a [[Plane Progressive Regular Waves| Plane Progressive Regular Wave]] ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Plane_wave_momentum.png|thumb|right|600px|Plane progressive wave momentum]]&lt;br /&gt;
&lt;br /&gt;
We can determine the mean horizontal momentum flux due to a [[Plane Progressive Regular Waves| Plane Progressive Regular Wave]] with surface displacement &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \zeta = A \cos (\omega t - k x) \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; are related by the [[Dispersion Relation for a Free Surface]]&lt;br /&gt;
&amp;lt;math&amp;gt; \omega^2 = gk \tanh kh \, &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The momentum flux across &amp;lt;math&amp;gt; \Omega^+ \, &amp;lt;/math&amp;gt; is given by &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\mathrm{d}M_x}{\mathrm{d}t} = - \int_{-h}^{\zeta} ( P + \rho u^2 ) \mathrm{d}z &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The pressure is given by [[Conservation Laws and Boundary Conditions|Bernoulli&#039;s equation]]&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; P = - \rho \frac{\partial\Phi}{\partial t} - \frac{1}{2} \rho ( u^2 + v^2 ) - \rho g z  &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
so that the momentum flux is &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\begin{align}&lt;br /&gt;
\frac{dM_x}{dt} &amp;amp;= \rho \int_{-h}^{\zeta} \left[ \frac{\partial\Phi}{\partial t} + \frac{1}{2} ( v^2 - u^2 ) + g z \right] \mathrm{d}z  \\&lt;br /&gt;
&amp;amp;= \rho \left( \int_{-h}^{0} + \int_{0}^{\zeta} \right) \left[ \frac{\partial\Phi}{\partial t} + \frac{1}{2} (v^2 - u^2) + gz \right] \mathrm{d}z &lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Taking mean values in time and keeping terms of &amp;lt;math&amp;gt; O(A^2) &amp;lt;/math&amp;gt; we obtain:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; {\overline{\frac{\mathrm{d}M_x}{\mathrm{d}t}}}^t = {\overline{\rho \zeta(t) \left. \frac{\partial\Phi}{\partial t} \right |_{h=0}}}^t + \frac{1}{2} \rho \ {\overline{\int_{-h}^{0} (v^2 -u^2 ) \mathrm{d}z}}^t + {\overline{\frac{1}{2} \rho g \zeta^2}}^t &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Invoking the [[Linear and Second-Order Wave Theory|linearized dynamic free surface condition]] we obtain&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \left. \frac{\partial\Phi}{\partial t} \right |_{z=0} = - g \zeta &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It follows that:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; {\overline{\frac{\mathrm{d}M_x}{\mathrm{d}t}}}^t = {-\frac{1}{2} \rho g \zeta^2 (t)}^t + \frac{1}{2} \rho {\overline{\int_{-h}^0 (v^2-u^2)\mathrm{d}z}}^t &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In deep water &amp;lt;math&amp;gt; \overline{v^2} = \overline{u^2} \, &amp;lt;/math&amp;gt; and the second term is identically zero, so&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; {\overline{\frac{\mathrm{d}M_x}{\mathrm{d}t}}}^t = - \frac{1}{2} \rho g {\overline{\zeta^2 (t)}}^t = - \frac{1}{4} \rho g A^2 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In water of finite depth the wave particle trajectories are elliptical with the mean horizontal velocities larger than the mean vertical velocities. So:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{V_H^2} &amp;lt; \overline{U_H^2} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore, in finite depth the modulus of the mean momentum flux is higher than in deep water for the same A.&lt;br /&gt;
So the mean horizontal momentum flux due to a plane progressive wave against its direction of propagation and equal to &amp;lt;math&amp;gt; - \frac{1}{4} \rho g A^2 &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== [[Wavemaker Theory]] ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Wave_maker_momentum.png|600px|right|thumb|Wavemaker momentum]]&lt;br /&gt;
Consider a wave maker shown in the figure generating a wave of amplitude &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; at infinity.&lt;br /&gt;
&lt;br /&gt;
What is the mean horizontal force on the wavemaker? From the momentum conservation theorem the mean horizontal flux of momentum to the left must flow into the wavemaker. This mean flux translates into a mean horizontal force in the same direction, as shown in the figure. Not an easy conclusion without using some basic fluid mechanics!&lt;br /&gt;
&lt;br /&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/A939D3A9-1F49-46F5-BEB5-0F6646CE340E/0/lecture5.pdf here]&lt;br /&gt;
&lt;br /&gt;
[[Ocean Wave Interaction with Ships and Offshore Energy Systems]]&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Wave_Momentum_Flux&amp;diff=13007</id>
		<title>Wave Momentum Flux</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Wave_Momentum_Flux&amp;diff=13007"/>
		<updated>2010-11-06T11:33:46Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: /* Hydrostatic Term */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Ocean Wave Interaction with Ships and Offshore Structures&lt;br /&gt;
 | chapter title = Wave Momentum Flux&lt;br /&gt;
 | next chapter = [[Wavemaker Theory]]&lt;br /&gt;
 | previous chapter =  [[Wave Energy Density and Flux]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{incomplete pages}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
The momentum is important to determine the forces. &lt;br /&gt;
&lt;br /&gt;
== Momentum flux in potential flow ==&lt;br /&gt;
&lt;br /&gt;
The momentum flux (the time derivative of the [http://en.wikipedia.org/wiki/Momentum momentum] &amp;lt;math&amp;gt;\mathcal{M}&amp;lt;/math&amp;gt;) is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\mathrm{d}\mathcal{M}(t)}{\mathrm{d}t} = \rho \frac{\mathrm{d}}{\mathrm{d}t} \iiint_{\Omega(t)} \mathbf{v} \mathrm{d}V &lt;br /&gt;
= \rho \iiint_{\Omega(t)} \frac{\partial\mathbf{v}}{\partial t} \mathrm{d}V + \rho \iint_{\partial\Omega(t)} \mathbf{v} U_n \mathrm{d}S, &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt; U_n \, &amp;lt;/math&amp;gt; is the outward normal velocity of the surface &amp;lt;math&amp;gt; \partial\Omega(t)\, &amp;lt;/math&amp;gt;.&lt;br /&gt;
This equation follows from the [http://en.wikipedia.org/wiki/Reynolds_transport_theorem transport theorem].&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\mathbf{v}}{\partial t} + (\mathbf{v} \cdot \nabla ) \mathbf{v} = &lt;br /&gt;
-  \nabla \left(\frac{P}{\rho} + g z\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where we have defined the direction of gravity to be in the negative &amp;lt;math&amp;gt;z&amp;lt;/math&amp;gt;&lt;br /&gt;
direction. &lt;br /&gt;
We may recast the momentum flux in the form&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\mathrm{d}\mathcal{M}(t)}{\mathrm{d}t} = - \rho \iiint_{\Omega(t)} \left( \nabla ( \frac{P}{\rho} + g z ) + ( \mathbf{v} \cdot \nabla ) \mathbf{v} \right)&lt;br /&gt;
\mathrm{d}V + \rho \iint_{\partial\Omega(t)} \mathbf{v} U_n \mathrm{d}S &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
So far &amp;lt;math&amp;gt; \Omega(t)\, &amp;lt;/math&amp;gt; is an arbitrary closed time dependent volume bounded by the time dependent surface &amp;lt;math&amp;gt; \partial\Omega(t)\, &amp;lt;/math&amp;gt;.&lt;br /&gt;
We have however defined the gravitational acceleration to be in the negative &amp;lt;math&amp;gt;z&amp;lt;/math&amp;gt; direction. &lt;br /&gt;
&lt;br /&gt;
=== Simplification ===&lt;br /&gt;
&lt;br /&gt;
We use the following vector theorem&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; (\mathbf{v} \cdot \nabla ) \mathbf{v} = \nabla ( \frac{1}{2} \mathbf{v} \cdot \mathbf{v} ) - \mathbf{v} \times (\nabla \times \mathbf{v} ) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we have potential flow then &amp;lt;math&amp;gt; \mathbf{v} = \nabla \Phi \,&amp;lt;/math&amp;gt; and we can use Gauss&#039;s vector theorem:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iiint_{\Omega(t)} \nabla ( \frac{1}{2} \mathbf{v} \cdot \mathbf{v} ) \mathrm{d}V = \frac{1}{2} \iint_{\partial\Omega(t)} &lt;br /&gt;
\left(\mathbf{v} \cdot \mathbf{v} \right) \mathbf{n} \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
In potential flow it follows that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iint_{\partial\Omega(t)} \frac{1}{2} ( \mathbf{v} \cdot \mathbf{v} ) \mathbf{n} \mathrm{d}S = \iint_{\partial\Omega(t)} \frac{\partial\Phi}{\partial n} \nabla \Phi \mathrm{d}S &lt;br /&gt;
= \iint_{\partial\Omega(t)} V_n \mathbf{v} \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
since for &amp;lt;math&amp;gt; \nabla^2 \Phi = 0 \, &amp;lt;/math&amp;gt;;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iiint_{\partial\Omega} \frac{1}{2} ( \nabla\Phi \cdot \nabla\Phi) \mathbf{n} \mathrm{d}S \equiv \iint_{\partial\Omega} \frac{\partial\Phi}{\partial n} \nabla\Phi \mathrm{d}S. &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
In the above &amp;lt;math&amp;gt; \mathbf{n} \, &amp;lt;/math&amp;gt; is the unit vector pointing out of the volume &amp;lt;math&amp;gt; \Omega(t) &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; V_n = \mathbf{n} \cdot \nabla \Phi &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Upon substitution in the momentum flux formula, we obtain:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\mathrm{d}\mathcal{M}}{\mathrm{d}t} = - \rho \iint_{\partial\Omega(t)} \left( ( \frac{P}{\rho} + gz ) \mathbf{n} + \mathbf{v} (V_n - U_n )\right) \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This formula is of central importance in potential flow marine hydrodynamics because the rate of change of the linear momentum defined above is just &amp;lt;math&amp;gt; \pm \,&amp;lt;/math&amp;gt; the force acting on the fluid volume. When its mean value can be shown to vanish, important force expressions on solid boundaries follow and will be derived in what follows.&lt;br /&gt;
&lt;br /&gt;
== Hydrostatic Term ==&lt;br /&gt;
&lt;br /&gt;
Consider separately the term in the momentum flux expression involving the hydrostatic pressure:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\mathrm{d}\mathcal{M}_H}{\mathrm{d}t} = - \rho \iint_{\partial\Omega} gz \mathbf{n},&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We break the boundary up into the free surface, ends, body surface, and sea floor at infinite depth, i,.e. &lt;br /&gt;
&amp;lt;math&amp;gt;\partial\Omega=\partial\Omega_F + \partial\Omega^{\pm} + \partial\Omega_B + \partial\Omega_{\infty} &amp;lt;/math&amp;gt;&lt;br /&gt;
The integral over the body surface, assuming a fully submerged body is:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\mathrm{d}\mathcal{M}_{H,B}}{\mathrm{d}t} = - \rho \iint_{\partial\Omega_B} gz \mathbf{n} = \rho g V \mathbf{k}  &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; is the volume. This follows from the vector theorem of Gauss and is the [http://en.wikipedia.org/wiki/Displacement_%28fluid%29 principle of Archimedes].  That is,&lt;br /&gt;
the momentum flux is equal to the buoyancy force.&lt;br /&gt;
&lt;br /&gt;
We may therefore consider the second part of the integral involving wave effects independently and in the absence of the body, assumed fully submerged. In the case of a surface piercing body and in the fully nonlinear case matters are more complex. Consider the application of the momentum conservation theorem in the case of a submerged or floating body in steep waves. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Momentum.png|600px|right|thumb|Momentum boundaries]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here we consider the two-dimensional case in order to present the concepts. Extensions to three dimensions are then trivial. Note that unlike the [[Wave Energy Density and Flux|energy conservation principle]], the momentum conservation theorem derived above is a vector identity with a horizontal and a vertical component. The integral of the hydrostatic term over the remaining surfaces leads to:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\mathrm{d} \mathcal{M}_{H,S}}{\mathrm{d}t} = - \rho \iint_{\partial\Omega_F+\partial\Omega^+ + \partial\Omega^- +\partial\Omega_{\infty}} gz \mathbf{n} \mathrm{d}S = - \rho g V_{\text{Fluid}} \mathbf{k} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;V_{\mbox{Fluid}} &amp;lt;/math&amp;gt; is the fluid volume. &lt;br /&gt;
This is simply the static weight of the volume of fluid bounded by &amp;lt;math&amp;gt; \partial\Omega_F, \partial\Omega^+, \partial\Omega^- \,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; \partial\Omega_{\infty}.&amp;lt;/math&amp;gt; With no waves present, this is simply the weight of the ocean water &amp;quot;column&amp;quot; bounded by &amp;lt;math&amp;gt; \partial\Omega\, &amp;lt;/math&amp;gt; which does not concern us here. This weight does not change in principle when waves are present at least when &amp;lt;math&amp;gt; \partial\Omega^+, \partial\Omega^- \,&amp;lt;/math&amp;gt; are placed sufficiently far away that the wave amplitude has decreased to zero. So &amp;quot;in principle&amp;quot; this term being of hydrostatic origin may be ignored. However, it is in principle more &amp;quot;rational&amp;quot; to apply the momentum conservation theorem over the &amp;quot;linearized&amp;quot; volume &amp;lt;math&amp;gt; V_L(t) \, &amp;lt;/math&amp;gt; which is perfectly possible within the framework derived above. In this case &amp;lt;math&amp;gt; \frac{\mathrm{d}\mathcal{M}_H}{\mathrm{d}t} \,&amp;lt;/math&amp;gt; is exactly equal to the static weight of the water column and can be ignored in the wave-body interaction problem. &lt;br /&gt;
&lt;br /&gt;
On &amp;lt;math&amp;gt; S_F; P=P_a=0 \, &amp;lt;/math&amp;gt; and hence all terms within the free-surface integral and over &amp;lt;math&amp;gt; S_{\infty} \, &amp;lt;/math&amp;gt; (seafloor) can be neglected. It follows that:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\mathrm{d} \mathcal{M}}{\mathrm{d}t} = - \rho \iint_{\partial\Omega^\pm +\partial\Omega_B} \left[ \frac{P}{\rho} \mathbf{n} + \mathbf{v} (V_n -U_n) \right] \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the free surface integrals also vanish for the horizontal component since the hydrostatic force is always vertical. This momentum flux formula is of central importance in wave-body interactions and has many important applications, some of which are discussed bellow. Note that the mathematical derivations involved in its proof apply equally when the volume &amp;lt;math&amp;gt; \Omega &amp;lt;/math&amp;gt; and its enclosed surface are selected to be at their linearized positions. In such a case it is essential to set &amp;lt;math&amp;gt; U_n=0\,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; V_n \ne 0 &amp;lt;/math&amp;gt;. Let the math take over and suggest the proper expression for the force. In the fully nonlinear case, &amp;lt;math&amp;gt;U_n \ne 0 \, &amp;lt;/math&amp;gt; on &amp;lt;math&amp;gt; \partial\Omega_F\, &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; P=0 \,&amp;lt;/math&amp;gt; on &amp;lt;math&amp;gt; \partial\Omega_F \, &amp;lt;/math&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
On a solid boundary:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; U_n =V_n \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overrightarrow{F}_B = \iint_{S_B} P \vec{n} dS &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
With &amp;lt;math&amp;gt; \vec{n} \,&amp;lt;/math&amp;gt; pointing inside the body. We may therefore recast the momentum conservation theorem in the form:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overrightarrow{F}_B (t) = - \frac{\mathrm{d} \overrightarrow{M}}{\mathrm{d}t} - \rho \iint_{S^\pm} \left[ \frac{P}{\rho} \vec{n} + \overrightarrow{V} (V_n - U_n) \right] \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Where &amp;lt;math&amp;gt; S^\pm \, &amp;lt;/math&amp;gt; are fluid boundaries at some distance from the body. If the volume of fluid surrounded by the body, free surface and the furfaces &amp;lt;math&amp;gt; S^\pm \, &amp;lt;/math&amp;gt; does not grow in time, then the momentum of the enclosed fluid cannot grow either, so &amp;lt;math&amp;gt; \overrightarrow{M}(t) \, &amp;lt;/math&amp;gt; is a stationary physical quantity. It is a well known result that the mean value in time of the time derivative of a stationary quantity is zero. So:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; {\overline{\frac{\mathrm{d}\overrightarrow{M}}{\mathrm{d}t}}}^t = 0 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt; Proof &amp;lt;/u&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; {\overline{\frac{\mathrm{d}F}{\mathrm{d}t}}}^t = \lim_{T\to\infty} \frac{1}{2T} \int_{-T}^{T} \frac{\mathrm{d}F{\tau}}{\mathrm{d}\tau} \mathrm{d}\tau = \lim_{T\to\infty} \frac{1}{2T} [F(T) - F(-T) ] &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since &amp;lt;math&amp;gt; F(\pm \tau) \, &amp;lt;/math&amp;gt; must be bounded for a stationary signal &amp;lt;math&amp;gt; F(t) \, &amp;lt;/math&amp;gt;, it follows that &amp;lt;math&amp;gt; {\overline{\frac{\mathrm{d}F}{\mathrm{d}t}}}^t = 0 \, &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Taking mean values, it follows that:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; {\overline{\overrightarrow{F}_B (t)}}^t = - \rho \ {\overline{\iint_{S^\pm} \left[ \frac{P}{\rho} \vec{n} + \overrightarrow{V} (V_n - U_n ) \right] \mathrm{d}S}}^t &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is the fundamental formula underlying the definition of the mean wave drift forces acting on floating bodies. Such forces are very imprtant for stationary floating structures and can be expressed in terms of integrals of wave effects over control surfaces &amp;lt;math&amp;gt; S^\pm \, &amp;lt;/math&amp;gt; which may be located at infinity.&lt;br /&gt;
&lt;br /&gt;
The extension of the above formula for &amp;lt;math&amp;gt; {\overline{\overrightarrow{F}_B}}^t \, &amp;lt;/math&amp;gt; in three dimensions is trivial. Simply replace &amp;lt;math&amp;gt; S^\pm \, &amp;lt;/math&amp;gt; by &amp;lt;math&amp;gt; S_{\infty} \, &amp;lt;/math&amp;gt;, a control surface at infinity. Common choices are a vertical cylindrical boundary or two vertical planes paraller to the axis of forward motion of a ship.&lt;br /&gt;
&lt;br /&gt;
== Applications ==&lt;br /&gt;
&lt;br /&gt;
=== Mean horizontal momentum flux due to a [[Plane Progressive Regular Waves| Plane Progressive Regular Wave]] ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Plane_wave_momentum.png|thumb|right|600px|Plane progressive wave momentum]]&lt;br /&gt;
&lt;br /&gt;
We can determine the mean horizontal momentum flux due to a [[Plane Progressive Regular Waves| Plane Progressive Regular Wave]] with surface displacement &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \zeta = A \cos (\omega t - k x) \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; are related by the [[Dispersion Relation for a Free Surface]]&lt;br /&gt;
&amp;lt;math&amp;gt; \omega^2 = gk \tanh kh \, &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The momentum flux across &amp;lt;math&amp;gt; \Omega^+ \, &amp;lt;/math&amp;gt; is given by &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\mathrm{d}M_x}{\mathrm{d}t} = - \int_{-h}^{\zeta} ( P + \rho u^2 ) \mathrm{d}z &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The pressure is given by [[Conservation Laws and Boundary Conditions|Bernoulli&#039;s equation]]&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; P = - \rho \frac{\partial\Phi}{\partial t} - \frac{1}{2} \rho ( u^2 + v^2 ) - \rho g z  &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
so that the momentum flux is &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{dM_x}{dt} = \rho \int_{-h}^{\zeta} \left[ \frac{\partial\Phi}{\partial t} + \frac{1}{2} ( v^2 - u^2 ) + g z \right] \mathrm{d}z  = \rho \left( \int_{-h}^{0} + \int_{0}^{\zeta} \right) \left[ \frac{\partial\Phi}{\partial t} + \frac{1}{2} (v^2 - u^2) + gz \right] \mathrm{d}z &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Taking mean values in time and keeping terms of &amp;lt;math&amp;gt; O(A^2) &amp;lt;/math&amp;gt; we obtain:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; {\overline{\frac{\mathrm{d}M_x}{\mathrm{d}t}}}^t = {\overline{\rho \zeta(t) \left. \frac{\partial\Phi}{\partial t} \right |_{h=0}}}^t + \frac{1}{2} \rho \ {\overline{\int_{-h}^{0} (v^2 -u^2 ) \mathrm{d}z}}^t + {\overline{\frac{1}{2} \rho g \zeta^2}}^t &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Invoking the [[Linear and Second-Order Wave Theory|linearized dynamic free surface condition]] we obtain&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \left. \frac{\partial\Phi}{\partial t} \right |_{z=0} = - g \zeta &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It follows that:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; {\overline{\frac{\mathrm{d}M_x}{\mathrm{d}t}}}^t = {-\frac{1}{2} \rho g \zeta^2 (t)}^t + \frac{1}{2} \rho {\overline{\int_{-h}^0 (v^2-u^2)\mathrm{d}z}}^t &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In deep water &amp;lt;math&amp;gt; \overline{v^2} = \overline{u^2} \, &amp;lt;/math&amp;gt; and the second term is identically zero, so&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; {\overline{\frac{\mathrm{d}M_x}{\mathrm{d}t}}}^t = - \frac{1}{2} \rho g {\overline{\zeta^2 (t)}}^t = - \frac{1}{4} \rho g A^2 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In water of finite depth the wave particle trajectories are elliptical with the mean horizontal velocities larger than the mean vertical velocities. So:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{V_H^2} &amp;lt; \overline{U_H^2} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore, in finite depth the modulus of the mean momentum flux is higher than in deep water for the same A.&lt;br /&gt;
So the mean horizontal momentum flux due to a plane progressive wave against its direction of propagation and equal to &amp;lt;math&amp;gt; - \frac{1}{4} \rho g A^2 &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== [[Wavemaker Theory]] ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Wave_maker_momentum.png|600px|right|thumb|Wavemaker momentum]]&lt;br /&gt;
Consider a wave maker shown in the figure generating a wave of amplitude &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; at infinity.&lt;br /&gt;
&lt;br /&gt;
What is the mean horizontal force on the wavemaker? From the momentum conservation theorem the mean horizontal flux of momentum to the left must flow into the wavemaker. This mean flux translates into a mean horizontal force in the same direction, as shown in the figure. Not an easy conclusion without using some basic fluid mechanics!&lt;br /&gt;
&lt;br /&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/A939D3A9-1F49-46F5-BEB5-0F6646CE340E/0/lecture5.pdf here]&lt;br /&gt;
&lt;br /&gt;
[[Ocean Wave Interaction with Ships and Offshore Energy Systems]]&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Wave_Momentum_Flux&amp;diff=13005</id>
		<title>Wave Momentum Flux</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Wave_Momentum_Flux&amp;diff=13005"/>
		<updated>2010-11-06T11:31:55Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: /* Hydrostatic Term */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Ocean Wave Interaction with Ships and Offshore Structures&lt;br /&gt;
 | chapter title = Wave Momentum Flux&lt;br /&gt;
 | next chapter = [[Wavemaker Theory]]&lt;br /&gt;
 | previous chapter =  [[Wave Energy Density and Flux]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{incomplete pages}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
The momentum is important to determine the forces. &lt;br /&gt;
&lt;br /&gt;
== Momentum flux in potential flow ==&lt;br /&gt;
&lt;br /&gt;
The momentum flux (the time derivative of the [http://en.wikipedia.org/wiki/Momentum momentum] &amp;lt;math&amp;gt;\mathcal{M}&amp;lt;/math&amp;gt;) is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\mathrm{d}\mathcal{M}(t)}{\mathrm{d}t} = \rho \frac{\mathrm{d}}{\mathrm{d}t} \iiint_{\Omega(t)} \mathbf{v} \mathrm{d}V &lt;br /&gt;
= \rho \iiint_{\Omega(t)} \frac{\partial\mathbf{v}}{\partial t} \mathrm{d}V + \rho \iint_{\partial\Omega(t)} \mathbf{v} U_n \mathrm{d}S, &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt; U_n \, &amp;lt;/math&amp;gt; is the outward normal velocity of the surface &amp;lt;math&amp;gt; \partial\Omega(t)\, &amp;lt;/math&amp;gt;.&lt;br /&gt;
This equation follows from the [http://en.wikipedia.org/wiki/Reynolds_transport_theorem transport theorem].&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\mathbf{v}}{\partial t} + (\mathbf{v} \cdot \nabla ) \mathbf{v} = &lt;br /&gt;
-  \nabla \left(\frac{P}{\rho} + g z\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where we have defined the direction of gravity to be in the negative &amp;lt;math&amp;gt;z&amp;lt;/math&amp;gt;&lt;br /&gt;
direction. &lt;br /&gt;
We may recast the momentum flux in the form&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\mathrm{d}\mathcal{M}(t)}{\mathrm{d}t} = - \rho \iiint_{\Omega(t)} \left( \nabla ( \frac{P}{\rho} + g z ) + ( \mathbf{v} \cdot \nabla ) \mathbf{v} \right)&lt;br /&gt;
\mathrm{d}V + \rho \iint_{\partial\Omega(t)} \mathbf{v} U_n \mathrm{d}S &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
So far &amp;lt;math&amp;gt; \Omega(t)\, &amp;lt;/math&amp;gt; is an arbitrary closed time dependent volume bounded by the time dependent surface &amp;lt;math&amp;gt; \partial\Omega(t)\, &amp;lt;/math&amp;gt;.&lt;br /&gt;
We have however defined the gravitational acceleration to be in the negative &amp;lt;math&amp;gt;z&amp;lt;/math&amp;gt; direction. &lt;br /&gt;
&lt;br /&gt;
=== Simplification ===&lt;br /&gt;
&lt;br /&gt;
We use the following vector theorem&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; (\mathbf{v} \cdot \nabla ) \mathbf{v} = \nabla ( \frac{1}{2} \mathbf{v} \cdot \mathbf{v} ) - \mathbf{v} \times (\nabla \times \mathbf{v} ) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we have potential flow then &amp;lt;math&amp;gt; \mathbf{v} = \nabla \Phi \,&amp;lt;/math&amp;gt; and we can use Gauss&#039;s vector theorem:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iiint_{\Omega(t)} \nabla ( \frac{1}{2} \mathbf{v} \cdot \mathbf{v} ) \mathrm{d}V = \frac{1}{2} \iint_{\partial\Omega(t)} &lt;br /&gt;
\left(\mathbf{v} \cdot \mathbf{v} \right) \mathbf{n} \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
In potential flow it follows that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iint_{\partial\Omega(t)} \frac{1}{2} ( \mathbf{v} \cdot \mathbf{v} ) \mathbf{n} \mathrm{d}S = \iint_{\partial\Omega(t)} \frac{\partial\Phi}{\partial n} \nabla \Phi \mathrm{d}S &lt;br /&gt;
= \iint_{\partial\Omega(t)} V_n \mathbf{v} \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
since for &amp;lt;math&amp;gt; \nabla^2 \Phi = 0 \, &amp;lt;/math&amp;gt;;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iiint_{\partial\Omega} \frac{1}{2} ( \nabla\Phi \cdot \nabla\Phi) \mathbf{n} \mathrm{d}S \equiv \iint_{\partial\Omega} \frac{\partial\Phi}{\partial n} \nabla\Phi \mathrm{d}S. &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
In the above &amp;lt;math&amp;gt; \mathbf{n} \, &amp;lt;/math&amp;gt; is the unit vector pointing out of the volume &amp;lt;math&amp;gt; \Omega(t) &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; V_n = \mathbf{n} \cdot \nabla \Phi &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Upon substitution in the momentum flux formula, we obtain:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\mathrm{d}\mathcal{M}}{\mathrm{d}t} = - \rho \iint_{\partial\Omega(t)} \left( ( \frac{P}{\rho} + gz ) \mathbf{n} + \mathbf{v} (V_n - U_n )\right) \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This formula is of central importance in potential flow marine hydrodynamics because the rate of change of the linear momentum defined above is just &amp;lt;math&amp;gt; \pm \,&amp;lt;/math&amp;gt; the force acting on the fluid volume. When its mean value can be shown to vanish, important force expressions on solid boundaries follow and will be derived in what follows.&lt;br /&gt;
&lt;br /&gt;
== Hydrostatic Term ==&lt;br /&gt;
&lt;br /&gt;
Consider separately the term in the momentum flux expression involving the hydrostatic pressure:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\mathrm{d}\mathcal{M}_H}{\mathrm{d}t} = - \rho \iint_{\partial\Omega} gz \mathbf{n},&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We break the boundary up into the free surface, ends, body surface, and sea floor at infinite depth, i,.e. &lt;br /&gt;
&amp;lt;math&amp;gt;\partial\Omega=\partial\Omega_F + \partial\Omega^{\pm} + \partial\Omega_B + \partial\Omega_{\infty} &amp;lt;/math&amp;gt;&lt;br /&gt;
The integral over the body surface, assuming a fully submerged body is:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\mathrm{d}\mathcal{M}_{H,B}}{\mathrm{d}t} = - \rho \iint_{\partial\Omega_B} gz \mathbf{n} = \rho g V \mathbf{k}  &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; is the volume. This follows from the vector theorem of Gauss and is the [http://en.wikipedia.org/wiki/Displacement_%28fluid%29 principle of Archimedes].  That is,&lt;br /&gt;
the momentum flux is equal to the buoyancy force.&lt;br /&gt;
&lt;br /&gt;
We may therefore consider the second part of the integral involving wave effects independently and in the absence of the body, assumed fully submerged. In the case of a surface piercing body and in the fully nonlinear case matters are more complex. Consider the application of the momentum conservation theorem in the case of a submerged or floating body in steep waves. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Momentum.png|600px|right|thumb|Momentum boundaries]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here we consider the two-dimensional case in order to present the concepts. Extensions to three dimensions are then trivial. Note that unlike the [[Wave Energy Density and Flux|energy conservation principle]], the momentum conservation theorem derived above is a vector identity with a horizontal and a vertical component. The integral of the hydrostatic term over the remaining surfaces leads to:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{d \mathcal{M}_{H,S}}{dt} = - \rho \iint_{\partial\Omega_F+\partial\Omega^+ + \partial\Omega^- +\partial\Omega_{\infty}} gz \mathbf{n} \mathrm{d}S = - \rho g V_{\mbox{Fluid}} \mathbf{k} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;V_{\mbox{Fluid}} &amp;lt;/math&amp;gt; is the fluid volume. &lt;br /&gt;
This is simply the static weight of the volume of fluid bounded by &amp;lt;math&amp;gt; \partial\Omega_F, \partial\Omega^+, \partial\Omega^- \,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; \partial\Omega_{\infty}.&amp;lt;/math&amp;gt; With no waves present, this is simply the weight of the ocean water &amp;quot;column&amp;quot; bounded by &amp;lt;math&amp;gt; \partial\Omega\, &amp;lt;/math&amp;gt; which does not concern us here. This weight does not change in principle when waves are present at least when &amp;lt;math&amp;gt; \partial\Omega^+, \partial\Omega^- \,&amp;lt;/math&amp;gt; are placed sufficiently far away that the wave amplitude has decreased to zero. So &amp;quot;in principle&amp;quot; this term being of hydrostatic origin may be ignored. However, it is in principle more &amp;quot;rational&amp;quot; to apply the momentum conservation theorem over the &amp;quot;linearized&amp;quot; volume &amp;lt;math&amp;gt; V_L(t) \, &amp;lt;/math&amp;gt; which is perfectly possible within the framework derived above. In this case &amp;lt;math&amp;gt; \frac{\mathrm{d}\mathcal{M}_H}{\mathrm{d}t} \,&amp;lt;/math&amp;gt; is exactly equal to the static weight of the water column and can be ignored in the wave-body interaction problem. &lt;br /&gt;
&lt;br /&gt;
On &amp;lt;math&amp;gt; S_F; P=P_a=0 \, &amp;lt;/math&amp;gt; and hence all terms within the free-surface integral and over &amp;lt;math&amp;gt; S_{\infty} \, &amp;lt;/math&amp;gt; (seafloor) can be neglected. It follows that:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\mathrm{d} \mathcal{M}}{\mathrm{d}t} = - \rho \iint_{\partial\Omega^\pm +\partial\Omega_B} \left[ \frac{P}{\rho} \mathbf{n} + \mathbf{v} (V_n -U_n) \right] \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the free surface integrals also vanish for the horizontal component since the hydrostatic force is always vertical. This momentum flux formula is of central importance in wave-body interactions and has many important applications, some of which are discussed bellow. Note that the mathematical derivations involved in its proof apply equally when the volume &amp;lt;math&amp;gt; \Omega &amp;lt;/math&amp;gt; and its enclosed surface are selected to be at their linearized positions. In such a case it is essential to set &amp;lt;math&amp;gt; U_n=0\,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; V_n \ne 0 &amp;lt;/math&amp;gt;. Let the math take over and suggest the proper expression for the force. In the fully nonlinear case, &amp;lt;math&amp;gt;U_n \ne 0 \, &amp;lt;/math&amp;gt; on &amp;lt;math&amp;gt; \partial\Omega_F\, &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; P=0 \,&amp;lt;/math&amp;gt; on &amp;lt;math&amp;gt; \partial\Omega_F \, &amp;lt;/math&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
On a solid boundary:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; U_n =V_n \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overrightarrow{F}_B = \iint_{S_B} P \vec{n} dS &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
With &amp;lt;math&amp;gt; \vec{n} \,&amp;lt;/math&amp;gt; pointing inside the body. We may therefore recast the momentum conservation theorem in the form:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overrightarrow{F}_B (t) = - \frac{\mathrm{d} \overrightarrow{M}}{\mathrm{d}t} - \rho \iint_{S^\pm} \left[ \frac{P}{\rho} \vec{n} + \overrightarrow{V} (V_n - U_n) \right] \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Where &amp;lt;math&amp;gt; S^\pm \, &amp;lt;/math&amp;gt; are fluid boundaries at some distance from the body. If the volume of fluid surrounded by the body, free surface and the furfaces &amp;lt;math&amp;gt; S^\pm \, &amp;lt;/math&amp;gt; does not grow in time, then the momentum of the enclosed fluid cannot grow either, so &amp;lt;math&amp;gt; \overrightarrow{M}(t) \, &amp;lt;/math&amp;gt; is a stationary physical quantity. It is a well known result that the mean value in time of the time derivative of a stationary quantity is zero. So:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; {\overline{\frac{\mathrm{d}\overrightarrow{M}}{\mathrm{d}t}}}^t = 0 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt; Proof &amp;lt;/u&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; {\overline{\frac{\mathrm{d}F}{\mathrm{d}t}}}^t = \lim_{T\to\infty} \frac{1}{2T} \int_{-T}^{T} \frac{\mathrm{d}F{\tau}}{\mathrm{d}\tau} \mathrm{d}\tau = \lim_{T\to\infty} \frac{1}{2T} [F(T) - F(-T) ] &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since &amp;lt;math&amp;gt; F(\pm \tau) \, &amp;lt;/math&amp;gt; must be bounded for a stationary signal &amp;lt;math&amp;gt; F(t) \, &amp;lt;/math&amp;gt;, it follows that &amp;lt;math&amp;gt; {\overline{\frac{\mathrm{d}F}{\mathrm{d}t}}}^t = 0 \, &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Taking mean values, it follows that:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; {\overline{\overrightarrow{F}_B (t)}}^t = - \rho \ {\overline{\iint_{S^\pm} \left[ \frac{P}{\rho} \vec{n} + \overrightarrow{V} (V_n - U_n ) \right] \mathrm{d}S}}^t &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is the fundamental formula underlying the definition of the mean wave drift forces acting on floating bodies. Such forces are very imprtant for stationary floating structures and can be expressed in terms of integrals of wave effects over control surfaces &amp;lt;math&amp;gt; S^\pm \, &amp;lt;/math&amp;gt; which may be located at infinity.&lt;br /&gt;
&lt;br /&gt;
The extension of the above formula for &amp;lt;math&amp;gt; {\overline{\overrightarrow{F}_B}}^t \, &amp;lt;/math&amp;gt; in three dimensions is trivial. Simply replace &amp;lt;math&amp;gt; S^\pm \, &amp;lt;/math&amp;gt; by &amp;lt;math&amp;gt; S_{\infty} \, &amp;lt;/math&amp;gt;, a control surface at infinity. Common choices are a vertical cylindrical boundary or two vertical planes paraller to the axis of forward motion of a ship.&lt;br /&gt;
&lt;br /&gt;
== Applications ==&lt;br /&gt;
&lt;br /&gt;
=== Mean horizontal momentum flux due to a [[Plane Progressive Regular Waves| Plane Progressive Regular Wave]] ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Plane_wave_momentum.png|thumb|right|600px|Plane progressive wave momentum]]&lt;br /&gt;
&lt;br /&gt;
We can determine the mean horizontal momentum flux due to a [[Plane Progressive Regular Waves| Plane Progressive Regular Wave]] with surface displacement &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \zeta = A \cos (\omega t - k x) \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; are related by the [[Dispersion Relation for a Free Surface]]&lt;br /&gt;
&amp;lt;math&amp;gt; \omega^2 = gk \tanh kh \, &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The momentum flux across &amp;lt;math&amp;gt; \Omega^+ \, &amp;lt;/math&amp;gt; is given by &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\mathrm{d}M_x}{\mathrm{d}t} = - \int_{-h}^{\zeta} ( P + \rho u^2 ) \mathrm{d}z &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The pressure is given by [[Conservation Laws and Boundary Conditions|Bernoulli&#039;s equation]]&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; P = - \rho \frac{\partial\Phi}{\partial t} - \frac{1}{2} \rho ( u^2 + v^2 ) - \rho g z  &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
so that the momentum flux is &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{dM_x}{dt} = \rho \int_{-h}^{\zeta} \left[ \frac{\partial\Phi}{\partial t} + \frac{1}{2} ( v^2 - u^2 ) + g z \right] \mathrm{d}z  = \rho \left( \int_{-h}^{0} + \int_{0}^{\zeta} \right) \left[ \frac{\partial\Phi}{\partial t} + \frac{1}{2} (v^2 - u^2) + gz \right] \mathrm{d}z &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Taking mean values in time and keeping terms of &amp;lt;math&amp;gt; O(A^2) &amp;lt;/math&amp;gt; we obtain:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; {\overline{\frac{\mathrm{d}M_x}{\mathrm{d}t}}}^t = {\overline{\rho \zeta(t) \left. \frac{\partial\Phi}{\partial t} \right |_{h=0}}}^t + \frac{1}{2} \rho \ {\overline{\int_{-h}^{0} (v^2 -u^2 ) \mathrm{d}z}}^t + {\overline{\frac{1}{2} \rho g \zeta^2}}^t &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Invoking the [[Linear and Second-Order Wave Theory|linearized dynamic free surface condition]] we obtain&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \left. \frac{\partial\Phi}{\partial t} \right |_{z=0} = - g \zeta &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It follows that:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; {\overline{\frac{\mathrm{d}M_x}{\mathrm{d}t}}}^t = {-\frac{1}{2} \rho g \zeta^2 (t)}^t + \frac{1}{2} \rho {\overline{\int_{-h}^0 (v^2-u^2)\mathrm{d}z}}^t &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In deep water &amp;lt;math&amp;gt; \overline{v^2} = \overline{u^2} \, &amp;lt;/math&amp;gt; and the second term is identically zero, so&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; {\overline{\frac{\mathrm{d}M_x}{\mathrm{d}t}}}^t = - \frac{1}{2} \rho g {\overline{\zeta^2 (t)}}^t = - \frac{1}{4} \rho g A^2 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In water of finite depth the wave particle trajectories are elliptical with the mean horizontal velocities larger than the mean vertical velocities. So:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{V_H^2} &amp;lt; \overline{U_H^2} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore, in finite depth the modulus of the mean momentum flux is higher than in deep water for the same A.&lt;br /&gt;
So the mean horizontal momentum flux due to a plane progressive wave against its direction of propagation and equal to &amp;lt;math&amp;gt; - \frac{1}{4} \rho g A^2 &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== [[Wavemaker Theory]] ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Wave_maker_momentum.png|600px|right|thumb|Wavemaker momentum]]&lt;br /&gt;
Consider a wave maker shown in the figure generating a wave of amplitude &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; at infinity.&lt;br /&gt;
&lt;br /&gt;
What is the mean horizontal force on the wavemaker? From the momentum conservation theorem the mean horizontal flux of momentum to the left must flow into the wavemaker. This mean flux translates into a mean horizontal force in the same direction, as shown in the figure. Not an easy conclusion without using some basic fluid mechanics!&lt;br /&gt;
&lt;br /&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/A939D3A9-1F49-46F5-BEB5-0F6646CE340E/0/lecture5.pdf here]&lt;br /&gt;
&lt;br /&gt;
[[Ocean Wave Interaction with Ships and Offshore Energy Systems]]&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Wave_Energy_Density_and_Flux&amp;diff=13003</id>
		<title>Wave Energy Density and Flux</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Wave_Energy_Density_and_Flux&amp;diff=13003"/>
		<updated>2010-11-06T11:29:18Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: /* Rayleigh&amp;#039;s proof of the group velocity formula */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Ocean Wave Interaction with Ships and Offshore Structures&lt;br /&gt;
 | chapter title = [[Wave Energy Density and Flux]]&lt;br /&gt;
 | next chapter = [[Wave Momentum Flux]]&lt;br /&gt;
 | previous chapter =   [[Linear Plane Progressive Regular Waves]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{complete pages}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
We are interested in the transport of energy by ocean waves. It is important to realise that under the assumptions of linear theory, there is no net motion of particles, but there is a transport of energy (as would be expected). The energy consists of two parts, one kinetic due to the motion of the fluid and the other potential due to the variation in the fluid height. It is the resonance between these two energies which gives rise to the wave motion. The situation is analogous to &lt;br /&gt;
[http://en.wikipedia.org/wiki/Simple_harmonic_motion Simple Harmonic Motion] but more complicated.&lt;br /&gt;
&lt;br /&gt;
== Energy per volume ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Energy_volume.png|thumb|thumb|right|600px|Energy Volume]]&lt;br /&gt;
&lt;br /&gt;
We begin by defining &lt;br /&gt;
&amp;lt;math&amp;gt; \mathcal{E}(t) &amp;lt;/math&amp;gt; as the energy in control volume &amp;lt;math&amp;gt; \Omega(t) &amp;lt;/math&amp;gt; given by&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathcal{E}(t) = \rho \iiint_\Omega \left( \frac{1}{2} |\mathbf{v}|^2 + gz \right) \mathrm{d}V &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; is the fluid density, &amp;lt;math&amp;gt;g&amp;lt;/math&amp;gt; is the acceleration due to gravity and &amp;lt;math&amp;gt;\mathbf{v}&amp;lt;/math&amp;gt; is the vector of fluid velocity. &lt;br /&gt;
The mean energy over a unit horizontal surface area &amp;lt;math&amp;gt; S &amp;lt;/math&amp;gt; is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{\mathcal{E}} = \overline{\frac{\mathcal{E}(t)}{S}} = \rho \overline{ \int_{-h}^{\zeta(t)} \left( \frac{1}{2} |\mathbf{v}|^2 + gz \right) \mathrm{d}z} = \frac{1}{2} \rho \overline{ \int_{-h}^{\zeta(t)} |\mathbf{v}|^2 \mathrm{d}z} + \overline{ \frac{1}{2} \rho g ( \zeta^2 - h^2 ) } &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt; \zeta(t) \, &amp;lt;/math&amp;gt; is free surface elevation and the overbar denotes average (which will be important when we consider waves). &lt;br /&gt;
Note that we are considering water of constant [[Finite Depth]].&lt;br /&gt;
We can ignore the term &amp;lt;math&amp;gt; -\frac{1}{2} \rho g h^2 \, &amp;lt;/math&amp;gt; which represents the potential energy of the ocean at rest.&lt;br /&gt;
&lt;br /&gt;
The remaining perturbation component is the sum of the kinetic and potential energy components, that is&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{\mathcal{E}} = \overline{\mathcal{E}_{kin}} + \overline{\mathcal{E}_{pot}} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{\mathcal{E}_{kin}} = \frac{1}{2} \rho \overline{\int_{-h}^{\zeta(t)} |\mathbf{v}|^2 \mathrm{d}z}, \qquad |\mathbf{v}|^2 &lt;br /&gt;
= \nabla\Phi \cdot \nabla \Phi = \partial_x^2\Phi + \partial_z^2\Phi &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{\mathcal{E}_{pot}} = \overline{\frac{1}{2} \rho g \zeta^2 (t)} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that we are assuming only two dimensions &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;z&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Energy in [[Linear Plane Progressive Regular Waves]] ===&lt;br /&gt;
&lt;br /&gt;
Consider now as a special case of [[Linear Plane Progressive Regular Waves]] by the velocity potential in [[Infinite Depth]] water (for simplicity). The velocity potential throughout the fluid domain is then given by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \Phi = \mathrm{Re} \{ \frac{igA}{\omega} e^{kz-ikx+i\omega t} \} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The components is the &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;z&amp;lt;/math&amp;gt; directions are given by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \partial_x\Phi = \mathrm{Re} \{ \frac{igA}{\omega} (-ik) e^{kz-ikx+i\omega t} \} = A \mathrm{Re} \{ \omega e^{kz-ikx+i\omega t} \} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \partial_z\Phi = \mathrm{Re} \{ \frac{igA}{\omega} k e^{kz-ikx+i\omega t} \} &lt;br /&gt;
 = A \mathrm{Re} \{ i \omega e^{kz-ikx+i\omega t} \} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
respectively. &lt;br /&gt;
We require the following &amp;lt;u&amp;gt;Lemma&amp;lt;/u&amp;gt; which is easily proved. If&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathrm{Re} \{ A e^{i\omega t} \} = A(t) \,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathrm{Re} \{ B e^{i\omega t} \} = B(t) \,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
then it follows that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{A(t)B(t)} = \frac{1}{2} \mathrm{Re} \{ A B^* \}. &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This allows us to write the following expression &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
 \overline{\mathcal{E}_{kin}} &amp;amp;= \frac{1}{2} \rho \overline{ ( \int_{-\infty}^0 + \int_0^\zeta ) &lt;br /&gt;
\left( (\partial_x\Phi)^2 + (\partial_z\Phi)^2 \right) } \mathrm{d}z \\&lt;br /&gt;
&amp;amp;= \frac{1}{2} \rho \int_{-\infty}^0 \overline{ \left( (\partial_x\Phi)^2 + (\partial_z\Phi)^2 \right) } \mathrm{d}z + O (A^3) \\&lt;br /&gt;
&amp;amp;= \rho \frac{\omega^2 A^2}{4k} = \frac{1}{4} \rho g A^2 , \qquad \mbox{for} \ k=\omega^2/g \\&lt;br /&gt;
\overline{\mathcal{E}_{pot}} &amp;amp;= \frac{1}{2} \rho g {\overline{\zeta(t)}}^2 = \frac{1}{4} \rho g A^2 .&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that it is a standard feature of linear oscillations that the average potential and kinetic energies are equal. Hence&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{\mathcal{E}} = \overline{\mathcal{E}_{kin}} + \overline{\mathcal{E}_{pot}} = \frac{1}{2} \rho g A^2 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Energy Flux ==&lt;br /&gt;
&lt;br /&gt;
[[Image:volume_normal.png|thumb|right|600px|Moving Volume]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Energy flux&#039;&#039; &amp;lt;math&amp;gt;\mathcal{P}(t)&amp;lt;/math&amp;gt; is the rate of change of energy density &amp;lt;math&amp;gt; \mathcal{E}(t) &amp;lt;/math&amp;gt;. It is the flux of energy which is critical to ocean waves. While the individual fluid particles do not move the waves carry energy. We begin by deriving the energy flux in general conditions.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathcal{P}(t) \equiv \frac{\mathrm{d}\mathcal{E}(t)}{\mathrm{d}t}  = \frac{\mathrm{d}}{\mathrm{d}t} \iiint_{\Omega(t)} \epsilon(t) \mathrm{d}V &lt;br /&gt;
= \iint_{\partial\Omega(t)} &lt;br /&gt;
\frac{\partial \epsilon(t)}{\partial t} \mathrm{d}V + \iint_{\partial\Omega(t)} \epsilon(t) U_n \mathrm{d} S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
(the last result following from  the transport theorem) where &amp;lt;math&amp;gt; U_n&amp;lt;/math&amp;gt; is the normal velocity of surface &amp;lt;math&amp;gt; \partial\Omega(t) &amp;lt;/math&amp;gt; outwards of the enclosed volume &amp;lt;math&amp;gt; \Omega(t)&amp;lt;/math&amp;gt;.&lt;br /&gt;
We know that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\begin{align}&lt;br /&gt;
\frac{\partial \epsilon}{\partial t} &amp;amp;= \frac{\partial}{\partial t} \{ \frac{1}{2} \rho |\mathbf{v}|^2 + \rho g z \} \\&lt;br /&gt;
&amp;amp;= \frac{1}{2} \rho \frac{\partial}{\partial t} ( \nabla\Phi \cdot \nabla\Phi) \\ &lt;br /&gt;
&amp;amp;= \rho \nabla \cdot \left( \frac{\partial\Phi}{\partial t} \nabla\Phi \right) - \rho \frac{\partial\Phi}{\partial t} \nabla^2 \Phi &lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
so that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathcal{P}(t) = \rho \iiint_{\Omega(t)} \nabla \cdot \left( \frac{\partial \Phi}{\partial t} \nabla \Phi \right) \mathrm{d}V &lt;br /&gt;
+ \rho \iint_{\partial\Omega(t)} \left( \frac{1}{2} |\mathbf{v}|^2 + gz \right) U_n \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Invoking the scalar form of Gauss&#039;s theorem in the first term, we obtain:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathcal{P}(t) = \rho \iint_{\partial\Omega(t)} \frac{\partial\Phi}{\partial t} \nabla \Phi \cdot \mathbf{n} \mathrm{d}S&lt;br /&gt;
+ \rho \iint_{\partial\Omega(t)} \left( \frac{1}{2} |\mathbf{v}|^2 + gz \right) U_n \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\mathbf{n}&amp;lt;/math&amp;gt; is the unit normal.&lt;br /&gt;
&lt;br /&gt;
An alternative form for the energy flux &amp;lt;math&amp;gt; \mathcal{P}(t) \, &amp;lt;/math&amp;gt; crossing the closed control surface &amp;lt;math&amp;gt; \partial\Omega(t) \, &amp;lt;/math&amp;gt; &lt;br /&gt;
is obtained by invoking Bernoulli&#039;s equation in the second term. Recall that:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{P-P_a}{\rho} + \frac{\partial\Phi}{\partial t} + \frac{1}{2} \nabla\Phi \dot \nabla\Phi + gz = 0 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
at any point in the fluid domain and on the boundary.&lt;br /&gt;
Here we allowed &amp;lt;math&amp;gt; \ P_a &amp;lt;/math&amp;gt;  the atmospheric pressure to be non-zero for the sake of physical clarity. Upon substitution in &lt;br /&gt;
the equation above for &amp;lt;math&amp;gt; \mathcal{P}(t) &amp;lt;/math&amp;gt; we obtain the alternate form:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathcal{P}(t) = \rho \iint_{\partial\Omega(t)} \frac{\partial\Phi}{\partial t} \frac{\partial\Phi}{\partial n} \mathrm{d}s &lt;br /&gt;
- \rho \iint_{\partial\Omega(t)} \left( \frac{P-P_a}{\rho} + \frac{\partial\Phi}{\partial t} \right) U_n \mathrm{d}s &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\frac{\partial\phi}{\partial n}&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;\nabla\phi\cdot\mathbf{n}&amp;lt;/math&amp;gt; &lt;br /&gt;
So the energy flux across &amp;lt;math&amp;gt; \partial\Omega(t)\, &amp;lt;/math&amp;gt; is given by the terms under the integral sign. They can be collected in the more compact form:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathcal{P}(t) = \iint \left\{ \rho \frac{\partial\Phi}{\partial t} \left( \frac{\partial\Phi}{\partial n} - U_n \right) &lt;br /&gt;
- ( P - P_a) U_n \right\} \mathrm{d}s &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that &amp;lt;math&amp;gt; \mathcal{P}(t) \, &amp;lt;/math&amp;gt; measures the energy flux into the volume &amp;lt;math&amp;gt; \Omega(t) \, &amp;lt;/math&amp;gt; or the rate of growth of the energy density &amp;lt;math&amp;gt; \mathcal{E}(t)\, &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Energy transfer for each boundary ===&lt;br /&gt;
&lt;br /&gt;
Break &amp;lt;math&amp;gt; \partial\Omega(t) \, &amp;lt;/math&amp;gt; into its components and derive specialized forms of &amp;lt;math&amp;gt; \mathcal{P}(t) \, &amp;lt;/math&amp;gt; pertinent to each.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt; \partial\Omega_F &amp;lt;/math&amp;gt; nonlinear position of the free surface. On this &amp;lt;math&amp;gt; \partial_n\Phi= U_n; &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; P = P_a &amp;lt;/math&amp;gt;, so the fluid pressure is equal to the atmospheric pressure. Therefore over &amp;lt;math&amp;gt; \partial\Omega_F &amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;\mathcal{P}(t)=0&amp;lt;/math&amp;gt;, as expected, i.e. there is no energy flow into the atmosphere.&lt;br /&gt;
*&amp;lt;math&amp;gt; \partial\Omega_B&amp;lt;/math&amp;gt; is the non-moving solid boundary, &amp;lt;math&amp;gt; U_n = &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; \frac{\partial\Phi}{\partial n} = U_n=0&amp;lt;/math&amp;gt; which is the no-normal flux condition. &lt;br /&gt;
*&amp;lt;math&amp;gt; \partial\Omega^\pm&amp;lt;/math&amp;gt; which are the fluid boundaries fixed in space relative to an earth frame &amp;lt;math&amp;gt; U_n = 0 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;, \frac{\partial\Phi}{\partial n} \ne 0&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;  \partial\Omega_U &amp;lt;/math&amp;gt; the fluid boundaries moving with velocity &amp;lt;math&amp;gt;\mathbf{u}&amp;lt;/math&amp;gt; relative to an earth frame.&lt;br /&gt;
*&amp;lt;math&amp;gt; U_n = \mathbf{u} \cdot \mathbf{n}, \quad \frac{\partial\Phi}{\partial n} \ne 0 &amp;lt;/math&amp;gt;. This case will be of interest for ships moving with constant velocity &amp;lt;math&amp;gt; U &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The formula derived above are very general for potential flows with a free surface and solid boundaries. We are now ready to apply them to plane progressive waves.&lt;br /&gt;
&lt;br /&gt;
== Surface Wave Problem ==&lt;br /&gt;
&lt;br /&gt;
We are ready now to apply the above formulas to the surface wave problem.&lt;br /&gt;
&lt;br /&gt;
=== Energy flux across a vertical fluid boundary fixed in space ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\begin{align}&lt;br /&gt;
\mathcal{P}(t) &amp;amp;= - \rho \int_{-\infty}^{\zeta(t)} \frac{\partial\Phi}{\partial t} \Phi_n \mathrm{d}z \\&lt;br /&gt;
&amp;amp;= - \rho \left( \int_{-\infty}^0 + \int_0^\zeta \right) \frac{\partial\Phi}{\partial t} \Phi_n \mathrm{d}z \\&lt;br /&gt;
&amp;amp;= - \rho \int_{-\infty}^0 \frac{\partial\Phi}{\partial t} \frac{\partial\Phi}{\partial n} \mathrm{d}z + O(A^3) &lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Mean energy flux for a [[Linear Plane Progressive Regular Waves]] follows upon substitution of the regular wave velocity potential and taking mean values:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{\mathcal{P}} = - \rho \int_{-\infty}^0 \frac{\partial\Phi}{\partial t} \frac{\partial\Phi}{\partial x} \mathrm{d}z = \frac{1}{2} \rho g A^2 \left( \frac{1}{2} \frac{g}{\omega} \right) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the wave amplitude. &lt;br /&gt;
or&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{\mathcal{P}} = \overline{\mathcal{E}} c_g, \quad c_g = \mbox{group velocity} = \frac{1}{2} c_p &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;.&lt;br /&gt;
It follows from this that the mean energy flux of a plane progressive wave is the product of its mean energy density times &lt;br /&gt;
the [http://en.wikipedia.org/wiki/Group_velocity group velocity] of deep water waves.&lt;br /&gt;
&lt;br /&gt;
A more formal proof that this is the velocity with which the energy flux of plane progressive waves propagates is to consider what needs to be the horizontal velocity &amp;lt;math&amp;gt;U_n \equiv U &amp;lt;/math&amp;gt; of a fluid boundary so that the mean energy flux across it vanishes?&lt;br /&gt;
&lt;br /&gt;
This can be found from the solution of the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{\mathcal{P}(t)} = \rho \ {\overline{\int_{-\infty}^0 \partial_t\Phi \partial_x\Phi \mathrm{d}z}} - U \ {\overline{\int_{-\infty}^0 \left(\frac{P}{\rho} + \frac{\partial\Phi}{\partial t} \right) \mathrm{d}z}} = 0 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where terms of &amp;lt;math&amp;gt; O(A^3) &amp;lt;/math&amp;gt; have been neglected. Note that within linear theory, energy density and energy flux are quantities of &amp;lt;math&amp;gt;O(A^2)&amp;lt;/math&amp;gt;. If higher-order terms are kept then we need to consider the treatment of second-order surface wave theory, at least.&lt;br /&gt;
Solving the above equation for &amp;lt;math&amp;gt; U &amp;lt;/math&amp;gt; we obtain:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; U = \dfrac{\rho \ {\overline{\int_{-\infty}^0 \dfrac{\partial\Phi}{\partial t} \dfrac{\partial\Phi}{\partial x} \mathrm{d}z}}}&lt;br /&gt;
{{\overline{\int_{-\infty}^0 \left( \dfrac{P}{\rho} + \dfrac{\partial\Phi}{\partial t} \right) \mathrm{d}z}}}  &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Upon substitution of the plane progressive wave velocity potential and definition of pressure from Bernoulli&#039;s equation we obtain:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; U \equiv c_g = \frac{1}{2} \frac{g}{\omega} = \frac{1}{2} c_p &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that &amp;lt;math&amp;gt; U \equiv c_g &amp;lt;/math&amp;gt; by definition. If the above exercise is repeated in water of finite depth the solution for &amp;lt;math&amp;gt; U &amp;lt;/math&amp;gt; after some algebra is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; U = c_g = \left( \frac{1}{2} + \frac{kh}{\sinh 2kh} \right) c_p &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \omega^2 = gk \tanh kh\,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It may be shown that the group velocity &amp;lt;math&amp;gt; c_g &amp;lt;/math&amp;gt; is given by the relation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; c_g = \frac{\mathrm{d}\omega}{\mathrm{d} k} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Rayleigh&#039;s proof of the group velocity formula ===&lt;br /&gt;
&lt;br /&gt;
This relation follows from the very elegant &amp;quot;device&amp;quot; due to [http://en.wikipedia.org/wiki/John_Strutt%2C_3rd_Baron_Rayleigh Rayleigh] which applies to any wave form:&lt;br /&gt;
Consider two plane progressive waves of nearly equal frequencies and hence wavenumbers. Their joint wave elevation is given by&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \zeta(x,t) = A \cos ( \omega_1 t - k_1 x) + A \cos ( \omega_2 t - k_2 x) \, &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the amplitude is assumed to be common and&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\begin{align}&lt;br /&gt;
\omega_2 &amp;amp;= \omega_1 + \Delta \omega, \quad | \Delta\omega | \ll \omega_1 , \omega_2 \\&lt;br /&gt;
k_2 &amp;amp;= k_1 + \Delta k, \quad | \Delta k | \ll k_1 , k_2 &lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Converting into complex notation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\begin{align}&lt;br /&gt;
\zeta(x,t) &amp;amp;= A \mathrm{Re} \{ e^{i\omega_1 t - i k_1 x} + e^{i\omega_2 t - i k_2 x} \} \\&lt;br /&gt;
&amp;amp;= A \mathrm{Re} \{ e^{i\omega_1 t - i k_1 x} + e^{i\omega_1 t - i k_1 x + i \Delta\omega t - i \Delta k x} \} \\&lt;br /&gt;
&amp;amp;= A \mathrm{Re} \{ e^{i\omega_1 t - i k_1 x} \left( 1 + e^{i\Delta\omega t - i \Delta k x} \right) \} &lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The combined wave elevation &amp;lt;math&amp;gt; \zeta \,&amp;lt;/math&amp;gt; vanishes identically where &amp;lt;math&amp;gt; \left( 1 + e^{i\Delta\omega t - i \Delta k x} \right) = 0 \, &amp;lt;/math&amp;gt;,&lt;br /&gt;
i.e.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; e^{i(\Delta\omega t - \Delta k x)} = -1 \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
or when&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \Delta \omega t - \Delta k x = ( 2 n + 1 ) \pi, \qquad n = 0, 1, 2, \cdots &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solving for &amp;lt;math&amp;gt; x(t) \, &amp;lt;/math&amp;gt; we obtain:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; x(t) = \frac{1}{\Delta k} \{ (2n+1)\pi + t \Delta\omega \} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For values of &amp;lt;math&amp;gt; x(t)\, &amp;lt;/math&amp;gt; given above, &amp;lt;math&amp;gt; \zeta = 0 \, &amp;lt;/math&amp;gt;. These are the nodes of the bi-chromatic wave train where at all times the elevation vanishes and hence the evergy density is zero. The wave group has the form of consecutive packets separated by nodes. &lt;br /&gt;
The speed of the nodes is &amp;lt;math&amp;gt; \frac{\mathrm{d}x}{\mathrm{d}t} = \frac{\Delta\omega}{\Delta k} \to \frac{\mathrm{d}\omega}{\mathrm{d}k} \,  &amp;lt;/math&amp;gt; &lt;br /&gt;
and the energy trapped within two consecutive nodes cannot escape so it must travel at the group velocity: &amp;lt;math&amp;gt; c_g = \frac{\mathrm{d}x}{\mathrm{d}t} = \frac{\mathrm{d}\omega}{\mathrm{d}k} \, &amp;lt;/math&amp;gt;.&lt;br /&gt;
Note that Rayleigh&#039;s proof applies equally to waves in finite depth or deep water and in principle to any propagating wave form.&lt;br /&gt;
In finite depth it can be shown after some algebra that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; c_g = \frac{\mathrm{d}\omega}{\mathrm{d}k} = \left( \frac{1}{2} + \frac{kh}{\sinh 2kh} \right) \frac{\omega}{k} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
&lt;br /&gt;
The formulae for the energy flux derived above are very general and for potential flow nonlinear surface waves that are not breaking constitute the energy conservation principle.&lt;br /&gt;
Energy flux (power) input into the fluid domain by any mechanism, wavemaker, wind (in a conservative manner), a ship or any floating body must be &amp;quot;retrieved&amp;quot; at some distance away. Deriving expressions of the energy flux retrieved at &amp;quot;infinity&amp;quot; is a powerful method for estimating the wave resistance of ships (more on this later), the wave damping of floating bodies, etc.&lt;br /&gt;
Yet, the only general way of evaluating wave forces on floating bodies (moving or not) or solid boundaries is by applying the [[Wave Momentum Flux| Wave Momentum]].&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/courses/mechanical-engineering/2-24-ocean-wave-interaction-with-ships-and-offshore-energy-systems-13-022-spring-2002/lecture-notes/lecture4.pdf here]&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Wave_Energy_Density_and_Flux&amp;diff=13001</id>
		<title>Wave Energy Density and Flux</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Wave_Energy_Density_and_Flux&amp;diff=13001"/>
		<updated>2010-11-06T11:27:14Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: /* Energy flux across a vertical fluid boundary fixed in space */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Ocean Wave Interaction with Ships and Offshore Structures&lt;br /&gt;
 | chapter title = [[Wave Energy Density and Flux]]&lt;br /&gt;
 | next chapter = [[Wave Momentum Flux]]&lt;br /&gt;
 | previous chapter =   [[Linear Plane Progressive Regular Waves]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{complete pages}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
We are interested in the transport of energy by ocean waves. It is important to realise that under the assumptions of linear theory, there is no net motion of particles, but there is a transport of energy (as would be expected). The energy consists of two parts, one kinetic due to the motion of the fluid and the other potential due to the variation in the fluid height. It is the resonance between these two energies which gives rise to the wave motion. The situation is analogous to &lt;br /&gt;
[http://en.wikipedia.org/wiki/Simple_harmonic_motion Simple Harmonic Motion] but more complicated.&lt;br /&gt;
&lt;br /&gt;
== Energy per volume ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Energy_volume.png|thumb|thumb|right|600px|Energy Volume]]&lt;br /&gt;
&lt;br /&gt;
We begin by defining &lt;br /&gt;
&amp;lt;math&amp;gt; \mathcal{E}(t) &amp;lt;/math&amp;gt; as the energy in control volume &amp;lt;math&amp;gt; \Omega(t) &amp;lt;/math&amp;gt; given by&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathcal{E}(t) = \rho \iiint_\Omega \left( \frac{1}{2} |\mathbf{v}|^2 + gz \right) \mathrm{d}V &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; is the fluid density, &amp;lt;math&amp;gt;g&amp;lt;/math&amp;gt; is the acceleration due to gravity and &amp;lt;math&amp;gt;\mathbf{v}&amp;lt;/math&amp;gt; is the vector of fluid velocity. &lt;br /&gt;
The mean energy over a unit horizontal surface area &amp;lt;math&amp;gt; S &amp;lt;/math&amp;gt; is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{\mathcal{E}} = \overline{\frac{\mathcal{E}(t)}{S}} = \rho \overline{ \int_{-h}^{\zeta(t)} \left( \frac{1}{2} |\mathbf{v}|^2 + gz \right) \mathrm{d}z} = \frac{1}{2} \rho \overline{ \int_{-h}^{\zeta(t)} |\mathbf{v}|^2 \mathrm{d}z} + \overline{ \frac{1}{2} \rho g ( \zeta^2 - h^2 ) } &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt; \zeta(t) \, &amp;lt;/math&amp;gt; is free surface elevation and the overbar denotes average (which will be important when we consider waves). &lt;br /&gt;
Note that we are considering water of constant [[Finite Depth]].&lt;br /&gt;
We can ignore the term &amp;lt;math&amp;gt; -\frac{1}{2} \rho g h^2 \, &amp;lt;/math&amp;gt; which represents the potential energy of the ocean at rest.&lt;br /&gt;
&lt;br /&gt;
The remaining perturbation component is the sum of the kinetic and potential energy components, that is&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{\mathcal{E}} = \overline{\mathcal{E}_{kin}} + \overline{\mathcal{E}_{pot}} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{\mathcal{E}_{kin}} = \frac{1}{2} \rho \overline{\int_{-h}^{\zeta(t)} |\mathbf{v}|^2 \mathrm{d}z}, \qquad |\mathbf{v}|^2 &lt;br /&gt;
= \nabla\Phi \cdot \nabla \Phi = \partial_x^2\Phi + \partial_z^2\Phi &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{\mathcal{E}_{pot}} = \overline{\frac{1}{2} \rho g \zeta^2 (t)} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that we are assuming only two dimensions &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;z&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Energy in [[Linear Plane Progressive Regular Waves]] ===&lt;br /&gt;
&lt;br /&gt;
Consider now as a special case of [[Linear Plane Progressive Regular Waves]] by the velocity potential in [[Infinite Depth]] water (for simplicity). The velocity potential throughout the fluid domain is then given by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \Phi = \mathrm{Re} \{ \frac{igA}{\omega} e^{kz-ikx+i\omega t} \} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The components is the &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;z&amp;lt;/math&amp;gt; directions are given by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \partial_x\Phi = \mathrm{Re} \{ \frac{igA}{\omega} (-ik) e^{kz-ikx+i\omega t} \} = A \mathrm{Re} \{ \omega e^{kz-ikx+i\omega t} \} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \partial_z\Phi = \mathrm{Re} \{ \frac{igA}{\omega} k e^{kz-ikx+i\omega t} \} &lt;br /&gt;
 = A \mathrm{Re} \{ i \omega e^{kz-ikx+i\omega t} \} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
respectively. &lt;br /&gt;
We require the following &amp;lt;u&amp;gt;Lemma&amp;lt;/u&amp;gt; which is easily proved. If&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathrm{Re} \{ A e^{i\omega t} \} = A(t) \,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathrm{Re} \{ B e^{i\omega t} \} = B(t) \,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
then it follows that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{A(t)B(t)} = \frac{1}{2} \mathrm{Re} \{ A B^* \}. &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This allows us to write the following expression &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
 \overline{\mathcal{E}_{kin}} &amp;amp;= \frac{1}{2} \rho \overline{ ( \int_{-\infty}^0 + \int_0^\zeta ) &lt;br /&gt;
\left( (\partial_x\Phi)^2 + (\partial_z\Phi)^2 \right) } \mathrm{d}z \\&lt;br /&gt;
&amp;amp;= \frac{1}{2} \rho \int_{-\infty}^0 \overline{ \left( (\partial_x\Phi)^2 + (\partial_z\Phi)^2 \right) } \mathrm{d}z + O (A^3) \\&lt;br /&gt;
&amp;amp;= \rho \frac{\omega^2 A^2}{4k} = \frac{1}{4} \rho g A^2 , \qquad \mbox{for} \ k=\omega^2/g \\&lt;br /&gt;
\overline{\mathcal{E}_{pot}} &amp;amp;= \frac{1}{2} \rho g {\overline{\zeta(t)}}^2 = \frac{1}{4} \rho g A^2 .&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that it is a standard feature of linear oscillations that the average potential and kinetic energies are equal. Hence&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{\mathcal{E}} = \overline{\mathcal{E}_{kin}} + \overline{\mathcal{E}_{pot}} = \frac{1}{2} \rho g A^2 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Energy Flux ==&lt;br /&gt;
&lt;br /&gt;
[[Image:volume_normal.png|thumb|right|600px|Moving Volume]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Energy flux&#039;&#039; &amp;lt;math&amp;gt;\mathcal{P}(t)&amp;lt;/math&amp;gt; is the rate of change of energy density &amp;lt;math&amp;gt; \mathcal{E}(t) &amp;lt;/math&amp;gt;. It is the flux of energy which is critical to ocean waves. While the individual fluid particles do not move the waves carry energy. We begin by deriving the energy flux in general conditions.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathcal{P}(t) \equiv \frac{\mathrm{d}\mathcal{E}(t)}{\mathrm{d}t}  = \frac{\mathrm{d}}{\mathrm{d}t} \iiint_{\Omega(t)} \epsilon(t) \mathrm{d}V &lt;br /&gt;
= \iint_{\partial\Omega(t)} &lt;br /&gt;
\frac{\partial \epsilon(t)}{\partial t} \mathrm{d}V + \iint_{\partial\Omega(t)} \epsilon(t) U_n \mathrm{d} S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
(the last result following from  the transport theorem) where &amp;lt;math&amp;gt; U_n&amp;lt;/math&amp;gt; is the normal velocity of surface &amp;lt;math&amp;gt; \partial\Omega(t) &amp;lt;/math&amp;gt; outwards of the enclosed volume &amp;lt;math&amp;gt; \Omega(t)&amp;lt;/math&amp;gt;.&lt;br /&gt;
We know that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\begin{align}&lt;br /&gt;
\frac{\partial \epsilon}{\partial t} &amp;amp;= \frac{\partial}{\partial t} \{ \frac{1}{2} \rho |\mathbf{v}|^2 + \rho g z \} \\&lt;br /&gt;
&amp;amp;= \frac{1}{2} \rho \frac{\partial}{\partial t} ( \nabla\Phi \cdot \nabla\Phi) \\ &lt;br /&gt;
&amp;amp;= \rho \nabla \cdot \left( \frac{\partial\Phi}{\partial t} \nabla\Phi \right) - \rho \frac{\partial\Phi}{\partial t} \nabla^2 \Phi &lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
so that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathcal{P}(t) = \rho \iiint_{\Omega(t)} \nabla \cdot \left( \frac{\partial \Phi}{\partial t} \nabla \Phi \right) \mathrm{d}V &lt;br /&gt;
+ \rho \iint_{\partial\Omega(t)} \left( \frac{1}{2} |\mathbf{v}|^2 + gz \right) U_n \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Invoking the scalar form of Gauss&#039;s theorem in the first term, we obtain:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathcal{P}(t) = \rho \iint_{\partial\Omega(t)} \frac{\partial\Phi}{\partial t} \nabla \Phi \cdot \mathbf{n} \mathrm{d}S&lt;br /&gt;
+ \rho \iint_{\partial\Omega(t)} \left( \frac{1}{2} |\mathbf{v}|^2 + gz \right) U_n \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\mathbf{n}&amp;lt;/math&amp;gt; is the unit normal.&lt;br /&gt;
&lt;br /&gt;
An alternative form for the energy flux &amp;lt;math&amp;gt; \mathcal{P}(t) \, &amp;lt;/math&amp;gt; crossing the closed control surface &amp;lt;math&amp;gt; \partial\Omega(t) \, &amp;lt;/math&amp;gt; &lt;br /&gt;
is obtained by invoking Bernoulli&#039;s equation in the second term. Recall that:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{P-P_a}{\rho} + \frac{\partial\Phi}{\partial t} + \frac{1}{2} \nabla\Phi \dot \nabla\Phi + gz = 0 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
at any point in the fluid domain and on the boundary.&lt;br /&gt;
Here we allowed &amp;lt;math&amp;gt; \ P_a &amp;lt;/math&amp;gt;  the atmospheric pressure to be non-zero for the sake of physical clarity. Upon substitution in &lt;br /&gt;
the equation above for &amp;lt;math&amp;gt; \mathcal{P}(t) &amp;lt;/math&amp;gt; we obtain the alternate form:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathcal{P}(t) = \rho \iint_{\partial\Omega(t)} \frac{\partial\Phi}{\partial t} \frac{\partial\Phi}{\partial n} \mathrm{d}s &lt;br /&gt;
- \rho \iint_{\partial\Omega(t)} \left( \frac{P-P_a}{\rho} + \frac{\partial\Phi}{\partial t} \right) U_n \mathrm{d}s &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\frac{\partial\phi}{\partial n}&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;\nabla\phi\cdot\mathbf{n}&amp;lt;/math&amp;gt; &lt;br /&gt;
So the energy flux across &amp;lt;math&amp;gt; \partial\Omega(t)\, &amp;lt;/math&amp;gt; is given by the terms under the integral sign. They can be collected in the more compact form:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathcal{P}(t) = \iint \left\{ \rho \frac{\partial\Phi}{\partial t} \left( \frac{\partial\Phi}{\partial n} - U_n \right) &lt;br /&gt;
- ( P - P_a) U_n \right\} \mathrm{d}s &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that &amp;lt;math&amp;gt; \mathcal{P}(t) \, &amp;lt;/math&amp;gt; measures the energy flux into the volume &amp;lt;math&amp;gt; \Omega(t) \, &amp;lt;/math&amp;gt; or the rate of growth of the energy density &amp;lt;math&amp;gt; \mathcal{E}(t)\, &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Energy transfer for each boundary ===&lt;br /&gt;
&lt;br /&gt;
Break &amp;lt;math&amp;gt; \partial\Omega(t) \, &amp;lt;/math&amp;gt; into its components and derive specialized forms of &amp;lt;math&amp;gt; \mathcal{P}(t) \, &amp;lt;/math&amp;gt; pertinent to each.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt; \partial\Omega_F &amp;lt;/math&amp;gt; nonlinear position of the free surface. On this &amp;lt;math&amp;gt; \partial_n\Phi= U_n; &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; P = P_a &amp;lt;/math&amp;gt;, so the fluid pressure is equal to the atmospheric pressure. Therefore over &amp;lt;math&amp;gt; \partial\Omega_F &amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;\mathcal{P}(t)=0&amp;lt;/math&amp;gt;, as expected, i.e. there is no energy flow into the atmosphere.&lt;br /&gt;
*&amp;lt;math&amp;gt; \partial\Omega_B&amp;lt;/math&amp;gt; is the non-moving solid boundary, &amp;lt;math&amp;gt; U_n = &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; \frac{\partial\Phi}{\partial n} = U_n=0&amp;lt;/math&amp;gt; which is the no-normal flux condition. &lt;br /&gt;
*&amp;lt;math&amp;gt; \partial\Omega^\pm&amp;lt;/math&amp;gt; which are the fluid boundaries fixed in space relative to an earth frame &amp;lt;math&amp;gt; U_n = 0 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;, \frac{\partial\Phi}{\partial n} \ne 0&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;  \partial\Omega_U &amp;lt;/math&amp;gt; the fluid boundaries moving with velocity &amp;lt;math&amp;gt;\mathbf{u}&amp;lt;/math&amp;gt; relative to an earth frame.&lt;br /&gt;
*&amp;lt;math&amp;gt; U_n = \mathbf{u} \cdot \mathbf{n}, \quad \frac{\partial\Phi}{\partial n} \ne 0 &amp;lt;/math&amp;gt;. This case will be of interest for ships moving with constant velocity &amp;lt;math&amp;gt; U &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The formula derived above are very general for potential flows with a free surface and solid boundaries. We are now ready to apply them to plane progressive waves.&lt;br /&gt;
&lt;br /&gt;
== Surface Wave Problem ==&lt;br /&gt;
&lt;br /&gt;
We are ready now to apply the above formulas to the surface wave problem.&lt;br /&gt;
&lt;br /&gt;
=== Energy flux across a vertical fluid boundary fixed in space ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\begin{align}&lt;br /&gt;
\mathcal{P}(t) &amp;amp;= - \rho \int_{-\infty}^{\zeta(t)} \frac{\partial\Phi}{\partial t} \Phi_n \mathrm{d}z \\&lt;br /&gt;
&amp;amp;= - \rho \left( \int_{-\infty}^0 + \int_0^\zeta \right) \frac{\partial\Phi}{\partial t} \Phi_n \mathrm{d}z \\&lt;br /&gt;
&amp;amp;= - \rho \int_{-\infty}^0 \frac{\partial\Phi}{\partial t} \frac{\partial\Phi}{\partial n} \mathrm{d}z + O(A^3) &lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Mean energy flux for a [[Linear Plane Progressive Regular Waves]] follows upon substitution of the regular wave velocity potential and taking mean values:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{\mathcal{P}} = - \rho \int_{-\infty}^0 \frac{\partial\Phi}{\partial t} \frac{\partial\Phi}{\partial x} \mathrm{d}z = \frac{1}{2} \rho g A^2 \left( \frac{1}{2} \frac{g}{\omega} \right) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the wave amplitude. &lt;br /&gt;
or&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{\mathcal{P}} = \overline{\mathcal{E}} c_g, \quad c_g = \mbox{group velocity} = \frac{1}{2} c_p &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;.&lt;br /&gt;
It follows from this that the mean energy flux of a plane progressive wave is the product of its mean energy density times &lt;br /&gt;
the [http://en.wikipedia.org/wiki/Group_velocity group velocity] of deep water waves.&lt;br /&gt;
&lt;br /&gt;
A more formal proof that this is the velocity with which the energy flux of plane progressive waves propagates is to consider what needs to be the horizontal velocity &amp;lt;math&amp;gt;U_n \equiv U &amp;lt;/math&amp;gt; of a fluid boundary so that the mean energy flux across it vanishes?&lt;br /&gt;
&lt;br /&gt;
This can be found from the solution of the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{\mathcal{P}(t)} = \rho \ {\overline{\int_{-\infty}^0 \partial_t\Phi \partial_x\Phi \mathrm{d}z}} - U \ {\overline{\int_{-\infty}^0 \left(\frac{P}{\rho} + \frac{\partial\Phi}{\partial t} \right) \mathrm{d}z}} = 0 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where terms of &amp;lt;math&amp;gt; O(A^3) &amp;lt;/math&amp;gt; have been neglected. Note that within linear theory, energy density and energy flux are quantities of &amp;lt;math&amp;gt;O(A^2)&amp;lt;/math&amp;gt;. If higher-order terms are kept then we need to consider the treatment of second-order surface wave theory, at least.&lt;br /&gt;
Solving the above equation for &amp;lt;math&amp;gt; U &amp;lt;/math&amp;gt; we obtain:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; U = \dfrac{\rho \ {\overline{\int_{-\infty}^0 \dfrac{\partial\Phi}{\partial t} \dfrac{\partial\Phi}{\partial x} \mathrm{d}z}}}&lt;br /&gt;
{{\overline{\int_{-\infty}^0 \left( \dfrac{P}{\rho} + \dfrac{\partial\Phi}{\partial t} \right) \mathrm{d}z}}}  &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Upon substitution of the plane progressive wave velocity potential and definition of pressure from Bernoulli&#039;s equation we obtain:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; U \equiv c_g = \frac{1}{2} \frac{g}{\omega} = \frac{1}{2} c_p &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that &amp;lt;math&amp;gt; U \equiv c_g &amp;lt;/math&amp;gt; by definition. If the above exercise is repeated in water of finite depth the solution for &amp;lt;math&amp;gt; U &amp;lt;/math&amp;gt; after some algebra is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; U = c_g = \left( \frac{1}{2} + \frac{kh}{\sinh 2kh} \right) c_p &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \omega^2 = gk \tanh kh\,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It may be shown that the group velocity &amp;lt;math&amp;gt; c_g &amp;lt;/math&amp;gt; is given by the relation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; c_g = \frac{\mathrm{d}\omega}{\mathrm{d} k} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Rayleigh&#039;s proof of the group velocity formula ===&lt;br /&gt;
&lt;br /&gt;
This relation follows from the very elegant &amp;quot;device&amp;quot; due to [http://en.wikipedia.org/wiki/John_Strutt%2C_3rd_Baron_Rayleigh Rayleigh] which applies to any wave form:&lt;br /&gt;
Consider two plane progressive waves of nearly equal frequencies and hence wavenumbers. Their joint wave elevation is given by&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \zeta(x,t) = A \cos ( \omega_1 t - k_1 x) + A \cos ( \omega_2 t - k_2 x) \, &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the amplitude is assumed to be common and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \omega_2 = \omega_1 + \Delta \omega, \quad | \Delta\omega | \ll \omega_1 , \omega_2 &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; k_2 = k_1 + \Delta k, \quad | \Delta k | \ll k_1 , k_2 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Converting into complex notation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \zeta(x,t) = A \mathrm{Re} \{ e^{i\omega_1 t - i k_1 x} + e^{i\omega_2 t - i k_2 x} \} &lt;br /&gt;
= A \mathrm{Re} \{ e^{i\omega_1 t - i k_1 x} + e^{i\omega_1 t - i k_1 x + i \Delta\omega t - i \Delta k x} \} &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; = A \mathrm{Re} \{ e^{i\omega_1 t - i k_1 x} \left( 1 + e^{i\Delta\omega t - i \Delta k x} \right) \} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The combined wave elevation &amp;lt;math&amp;gt; \zeta \,&amp;lt;/math&amp;gt; vanishes identically where &amp;lt;math&amp;gt; \left( 1 + e^{i\Delta\omega t - i \Delta k x} \right) = 0 \, &amp;lt;/math&amp;gt;,&lt;br /&gt;
i.e.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; e^{i(\Delta\omega t - \Delta k x)} = -1 \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
or when&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \Delta \omega t - \Delta k x = ( 2 n + 1 ) \pi, \qquad n = 0, 1, 2, \cdots &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solving for &amp;lt;math&amp;gt; x(t) \, &amp;lt;/math&amp;gt; we obtain:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; x(t) = \frac{1}{\Delta k} \{ (2n+1)\pi + t \Delta\omega \} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For values of &amp;lt;math&amp;gt; x(t)\, &amp;lt;/math&amp;gt; given above, &amp;lt;math&amp;gt; \zeta = 0 \, &amp;lt;/math&amp;gt;. These are the nodes of the bi-chromatic wave train where at all times the elevation vanishes and hence the evergy density is zero. The wave group has the form of consecutive packets separated by nodes. &lt;br /&gt;
The speed of the nodes is &amp;lt;math&amp;gt; \frac{\mathrm{d}x}{\mathrm{d}t} = \frac{\Delta\omega}{\Delta k} \to \frac{\mathrm{d}\omega}{\mathrm{d}k} \,  &amp;lt;/math&amp;gt; &lt;br /&gt;
and the energy trapped within two consecutive nodes cannot escape so it must travel at the group velocity: &amp;lt;math&amp;gt; c_g = \frac{\mathrm{d}x}{\mathrm{d}t} = \frac{\mathrm{d}\omega}{\mathrm{d}k} \, &amp;lt;/math&amp;gt;.&lt;br /&gt;
Note that Rayleigh&#039;s proof applies equally to waves in finite depth or deep water and in principle to any propagating wave form.&lt;br /&gt;
In finite depth it can be shown after some algebra that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; c_g = \frac{\mathrm{d}\omega}{\mathrm{d}k} = \left( \frac{1}{2} + \frac{kh}{\sinh 2kh} \right) \frac{\omega}{k} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
&lt;br /&gt;
The formulae for the energy flux derived above are very general and for potential flow nonlinear surface waves that are not breaking constitute the energy conservation principle.&lt;br /&gt;
Energy flux (power) input into the fluid domain by any mechanism, wavemaker, wind (in a conservative manner), a ship or any floating body must be &amp;quot;retrieved&amp;quot; at some distance away. Deriving expressions of the energy flux retrieved at &amp;quot;infinity&amp;quot; is a powerful method for estimating the wave resistance of ships (more on this later), the wave damping of floating bodies, etc.&lt;br /&gt;
Yet, the only general way of evaluating wave forces on floating bodies (moving or not) or solid boundaries is by applying the [[Wave Momentum Flux| Wave Momentum]].&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/courses/mechanical-engineering/2-24-ocean-wave-interaction-with-ships-and-offshore-energy-systems-13-022-spring-2002/lecture-notes/lecture4.pdf here]&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Wave_Energy_Density_and_Flux&amp;diff=12999</id>
		<title>Wave Energy Density and Flux</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Wave_Energy_Density_and_Flux&amp;diff=12999"/>
		<updated>2010-11-06T11:22:55Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: /* Energy Flux */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Ocean Wave Interaction with Ships and Offshore Structures&lt;br /&gt;
 | chapter title = [[Wave Energy Density and Flux]]&lt;br /&gt;
 | next chapter = [[Wave Momentum Flux]]&lt;br /&gt;
 | previous chapter =   [[Linear Plane Progressive Regular Waves]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{complete pages}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
We are interested in the transport of energy by ocean waves. It is important to realise that under the assumptions of linear theory, there is no net motion of particles, but there is a transport of energy (as would be expected). The energy consists of two parts, one kinetic due to the motion of the fluid and the other potential due to the variation in the fluid height. It is the resonance between these two energies which gives rise to the wave motion. The situation is analogous to &lt;br /&gt;
[http://en.wikipedia.org/wiki/Simple_harmonic_motion Simple Harmonic Motion] but more complicated.&lt;br /&gt;
&lt;br /&gt;
== Energy per volume ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Energy_volume.png|thumb|thumb|right|600px|Energy Volume]]&lt;br /&gt;
&lt;br /&gt;
We begin by defining &lt;br /&gt;
&amp;lt;math&amp;gt; \mathcal{E}(t) &amp;lt;/math&amp;gt; as the energy in control volume &amp;lt;math&amp;gt; \Omega(t) &amp;lt;/math&amp;gt; given by&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathcal{E}(t) = \rho \iiint_\Omega \left( \frac{1}{2} |\mathbf{v}|^2 + gz \right) \mathrm{d}V &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; is the fluid density, &amp;lt;math&amp;gt;g&amp;lt;/math&amp;gt; is the acceleration due to gravity and &amp;lt;math&amp;gt;\mathbf{v}&amp;lt;/math&amp;gt; is the vector of fluid velocity. &lt;br /&gt;
The mean energy over a unit horizontal surface area &amp;lt;math&amp;gt; S &amp;lt;/math&amp;gt; is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{\mathcal{E}} = \overline{\frac{\mathcal{E}(t)}{S}} = \rho \overline{ \int_{-h}^{\zeta(t)} \left( \frac{1}{2} |\mathbf{v}|^2 + gz \right) \mathrm{d}z} = \frac{1}{2} \rho \overline{ \int_{-h}^{\zeta(t)} |\mathbf{v}|^2 \mathrm{d}z} + \overline{ \frac{1}{2} \rho g ( \zeta^2 - h^2 ) } &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt; \zeta(t) \, &amp;lt;/math&amp;gt; is free surface elevation and the overbar denotes average (which will be important when we consider waves). &lt;br /&gt;
Note that we are considering water of constant [[Finite Depth]].&lt;br /&gt;
We can ignore the term &amp;lt;math&amp;gt; -\frac{1}{2} \rho g h^2 \, &amp;lt;/math&amp;gt; which represents the potential energy of the ocean at rest.&lt;br /&gt;
&lt;br /&gt;
The remaining perturbation component is the sum of the kinetic and potential energy components, that is&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{\mathcal{E}} = \overline{\mathcal{E}_{kin}} + \overline{\mathcal{E}_{pot}} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{\mathcal{E}_{kin}} = \frac{1}{2} \rho \overline{\int_{-h}^{\zeta(t)} |\mathbf{v}|^2 \mathrm{d}z}, \qquad |\mathbf{v}|^2 &lt;br /&gt;
= \nabla\Phi \cdot \nabla \Phi = \partial_x^2\Phi + \partial_z^2\Phi &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{\mathcal{E}_{pot}} = \overline{\frac{1}{2} \rho g \zeta^2 (t)} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that we are assuming only two dimensions &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;z&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Energy in [[Linear Plane Progressive Regular Waves]] ===&lt;br /&gt;
&lt;br /&gt;
Consider now as a special case of [[Linear Plane Progressive Regular Waves]] by the velocity potential in [[Infinite Depth]] water (for simplicity). The velocity potential throughout the fluid domain is then given by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \Phi = \mathrm{Re} \{ \frac{igA}{\omega} e^{kz-ikx+i\omega t} \} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The components is the &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;z&amp;lt;/math&amp;gt; directions are given by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \partial_x\Phi = \mathrm{Re} \{ \frac{igA}{\omega} (-ik) e^{kz-ikx+i\omega t} \} = A \mathrm{Re} \{ \omega e^{kz-ikx+i\omega t} \} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \partial_z\Phi = \mathrm{Re} \{ \frac{igA}{\omega} k e^{kz-ikx+i\omega t} \} &lt;br /&gt;
 = A \mathrm{Re} \{ i \omega e^{kz-ikx+i\omega t} \} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
respectively. &lt;br /&gt;
We require the following &amp;lt;u&amp;gt;Lemma&amp;lt;/u&amp;gt; which is easily proved. If&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathrm{Re} \{ A e^{i\omega t} \} = A(t) \,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathrm{Re} \{ B e^{i\omega t} \} = B(t) \,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
then it follows that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{A(t)B(t)} = \frac{1}{2} \mathrm{Re} \{ A B^* \}. &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This allows us to write the following expression &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
 \overline{\mathcal{E}_{kin}} &amp;amp;= \frac{1}{2} \rho \overline{ ( \int_{-\infty}^0 + \int_0^\zeta ) &lt;br /&gt;
\left( (\partial_x\Phi)^2 + (\partial_z\Phi)^2 \right) } \mathrm{d}z \\&lt;br /&gt;
&amp;amp;= \frac{1}{2} \rho \int_{-\infty}^0 \overline{ \left( (\partial_x\Phi)^2 + (\partial_z\Phi)^2 \right) } \mathrm{d}z + O (A^3) \\&lt;br /&gt;
&amp;amp;= \rho \frac{\omega^2 A^2}{4k} = \frac{1}{4} \rho g A^2 , \qquad \mbox{for} \ k=\omega^2/g \\&lt;br /&gt;
\overline{\mathcal{E}_{pot}} &amp;amp;= \frac{1}{2} \rho g {\overline{\zeta(t)}}^2 = \frac{1}{4} \rho g A^2 .&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that it is a standard feature of linear oscillations that the average potential and kinetic energies are equal. Hence&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{\mathcal{E}} = \overline{\mathcal{E}_{kin}} + \overline{\mathcal{E}_{pot}} = \frac{1}{2} \rho g A^2 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Energy Flux ==&lt;br /&gt;
&lt;br /&gt;
[[Image:volume_normal.png|thumb|right|600px|Moving Volume]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Energy flux&#039;&#039; &amp;lt;math&amp;gt;\mathcal{P}(t)&amp;lt;/math&amp;gt; is the rate of change of energy density &amp;lt;math&amp;gt; \mathcal{E}(t) &amp;lt;/math&amp;gt;. It is the flux of energy which is critical to ocean waves. While the individual fluid particles do not move the waves carry energy. We begin by deriving the energy flux in general conditions.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathcal{P}(t) \equiv \frac{\mathrm{d}\mathcal{E}(t)}{\mathrm{d}t}  = \frac{\mathrm{d}}{\mathrm{d}t} \iiint_{\Omega(t)} \epsilon(t) \mathrm{d}V &lt;br /&gt;
= \iint_{\partial\Omega(t)} &lt;br /&gt;
\frac{\partial \epsilon(t)}{\partial t} \mathrm{d}V + \iint_{\partial\Omega(t)} \epsilon(t) U_n \mathrm{d} S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
(the last result following from  the transport theorem) where &amp;lt;math&amp;gt; U_n&amp;lt;/math&amp;gt; is the normal velocity of surface &amp;lt;math&amp;gt; \partial\Omega(t) &amp;lt;/math&amp;gt; outwards of the enclosed volume &amp;lt;math&amp;gt; \Omega(t)&amp;lt;/math&amp;gt;.&lt;br /&gt;
We know that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\begin{align}&lt;br /&gt;
\frac{\partial \epsilon}{\partial t} &amp;amp;= \frac{\partial}{\partial t} \{ \frac{1}{2} \rho |\mathbf{v}|^2 + \rho g z \} \\&lt;br /&gt;
&amp;amp;= \frac{1}{2} \rho \frac{\partial}{\partial t} ( \nabla\Phi \cdot \nabla\Phi) \\ &lt;br /&gt;
&amp;amp;= \rho \nabla \cdot \left( \frac{\partial\Phi}{\partial t} \nabla\Phi \right) - \rho \frac{\partial\Phi}{\partial t} \nabla^2 \Phi &lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
so that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathcal{P}(t) = \rho \iiint_{\Omega(t)} \nabla \cdot \left( \frac{\partial \Phi}{\partial t} \nabla \Phi \right) \mathrm{d}V &lt;br /&gt;
+ \rho \iint_{\partial\Omega(t)} \left( \frac{1}{2} |\mathbf{v}|^2 + gz \right) U_n \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Invoking the scalar form of Gauss&#039;s theorem in the first term, we obtain:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathcal{P}(t) = \rho \iint_{\partial\Omega(t)} \frac{\partial\Phi}{\partial t} \nabla \Phi \cdot \mathbf{n} \mathrm{d}S&lt;br /&gt;
+ \rho \iint_{\partial\Omega(t)} \left( \frac{1}{2} |\mathbf{v}|^2 + gz \right) U_n \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\mathbf{n}&amp;lt;/math&amp;gt; is the unit normal.&lt;br /&gt;
&lt;br /&gt;
An alternative form for the energy flux &amp;lt;math&amp;gt; \mathcal{P}(t) \, &amp;lt;/math&amp;gt; crossing the closed control surface &amp;lt;math&amp;gt; \partial\Omega(t) \, &amp;lt;/math&amp;gt; &lt;br /&gt;
is obtained by invoking Bernoulli&#039;s equation in the second term. Recall that:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{P-P_a}{\rho} + \frac{\partial\Phi}{\partial t} + \frac{1}{2} \nabla\Phi \dot \nabla\Phi + gz = 0 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
at any point in the fluid domain and on the boundary.&lt;br /&gt;
Here we allowed &amp;lt;math&amp;gt; \ P_a &amp;lt;/math&amp;gt;  the atmospheric pressure to be non-zero for the sake of physical clarity. Upon substitution in &lt;br /&gt;
the equation above for &amp;lt;math&amp;gt; \mathcal{P}(t) &amp;lt;/math&amp;gt; we obtain the alternate form:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathcal{P}(t) = \rho \iint_{\partial\Omega(t)} \frac{\partial\Phi}{\partial t} \frac{\partial\Phi}{\partial n} \mathrm{d}s &lt;br /&gt;
- \rho \iint_{\partial\Omega(t)} \left( \frac{P-P_a}{\rho} + \frac{\partial\Phi}{\partial t} \right) U_n \mathrm{d}s &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\frac{\partial\phi}{\partial n}&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;\nabla\phi\cdot\mathbf{n}&amp;lt;/math&amp;gt; &lt;br /&gt;
So the energy flux across &amp;lt;math&amp;gt; \partial\Omega(t)\, &amp;lt;/math&amp;gt; is given by the terms under the integral sign. They can be collected in the more compact form:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathcal{P}(t) = \iint \left\{ \rho \frac{\partial\Phi}{\partial t} \left( \frac{\partial\Phi}{\partial n} - U_n \right) &lt;br /&gt;
- ( P - P_a) U_n \right\} \mathrm{d}s &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that &amp;lt;math&amp;gt; \mathcal{P}(t) \, &amp;lt;/math&amp;gt; measures the energy flux into the volume &amp;lt;math&amp;gt; \Omega(t) \, &amp;lt;/math&amp;gt; or the rate of growth of the energy density &amp;lt;math&amp;gt; \mathcal{E}(t)\, &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Energy transfer for each boundary ===&lt;br /&gt;
&lt;br /&gt;
Break &amp;lt;math&amp;gt; \partial\Omega(t) \, &amp;lt;/math&amp;gt; into its components and derive specialized forms of &amp;lt;math&amp;gt; \mathcal{P}(t) \, &amp;lt;/math&amp;gt; pertinent to each.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt; \partial\Omega_F &amp;lt;/math&amp;gt; nonlinear position of the free surface. On this &amp;lt;math&amp;gt; \partial_n\Phi= U_n; &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; P = P_a &amp;lt;/math&amp;gt;, so the fluid pressure is equal to the atmospheric pressure. Therefore over &amp;lt;math&amp;gt; \partial\Omega_F &amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;\mathcal{P}(t)=0&amp;lt;/math&amp;gt;, as expected, i.e. there is no energy flow into the atmosphere.&lt;br /&gt;
*&amp;lt;math&amp;gt; \partial\Omega_B&amp;lt;/math&amp;gt; is the non-moving solid boundary, &amp;lt;math&amp;gt; U_n = &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; \frac{\partial\Phi}{\partial n} = U_n=0&amp;lt;/math&amp;gt; which is the no-normal flux condition. &lt;br /&gt;
*&amp;lt;math&amp;gt; \partial\Omega^\pm&amp;lt;/math&amp;gt; which are the fluid boundaries fixed in space relative to an earth frame &amp;lt;math&amp;gt; U_n = 0 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;, \frac{\partial\Phi}{\partial n} \ne 0&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;  \partial\Omega_U &amp;lt;/math&amp;gt; the fluid boundaries moving with velocity &amp;lt;math&amp;gt;\mathbf{u}&amp;lt;/math&amp;gt; relative to an earth frame.&lt;br /&gt;
*&amp;lt;math&amp;gt; U_n = \mathbf{u} \cdot \mathbf{n}, \quad \frac{\partial\Phi}{\partial n} \ne 0 &amp;lt;/math&amp;gt;. This case will be of interest for ships moving with constant velocity &amp;lt;math&amp;gt; U &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The formula derived above are very general for potential flows with a free surface and solid boundaries. We are now ready to apply them to plane progressive waves.&lt;br /&gt;
&lt;br /&gt;
== Surface Wave Problem ==&lt;br /&gt;
&lt;br /&gt;
We are ready now to apply the above formulas to the surface wave problem.&lt;br /&gt;
&lt;br /&gt;
=== Energy flux across a vertical fluid boundary fixed in space ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathcal{P}(t) = - \rho \int_{-\infty}^{\zeta(t)} \frac{\partial\Phi}{\partial t} \Phi_n \mathrm{d}z = &lt;br /&gt;
- \rho \left( \int_{-\infty}^0 + \int_0^\zeta \right) \frac{\partial\Phi}{\partial t} \Phi_n \mathrm{d}z &lt;br /&gt;
= - \rho \int_{-\infty}^0 \frac{\partial\Phi}{\partial t} \frac{\partial\Phi}{\partial n} \mathrm{d}z + O(A^3) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Mean energy flux for a [[Linear Plane Progressive Regular Waves]] follows upon substitution of the regular wave velocity potential and taking mean values:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{\mathcal{P}} = - \rho \int_{-\infty}^0 \frac{\partial\Phi}{\partial t} \frac{\partial\Phi}{\partial x} \mathrm{d}z = \frac{1}{2} \rho g A^2 \left( \frac{1}{2} \frac{g}{\omega} \right) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the wave amplitude. &lt;br /&gt;
or&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{\mathcal{P}} = \overline{\mathcal{E}} c_g, \quad c_g = \mbox{group velocity} = \frac{1}{2} c_p &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;.&lt;br /&gt;
It follows from this that the mean energy flux of a plane progressive wave is the product of its mean energy density times &lt;br /&gt;
the [http://en.wikipedia.org/wiki/Group_velocity group velocity] of deep water waves.&lt;br /&gt;
&lt;br /&gt;
A more formal proof that this is the velocity with which the energy flux of plane progressive waves propagates is to consider what needs to be the horizontal velocity &amp;lt;math&amp;gt;U_n \equiv U &amp;lt;/math&amp;gt; of a fluid boundary so that the mean energy flux across it vanishes?&lt;br /&gt;
&lt;br /&gt;
This can be found from the solution of the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{\mathcal{P}(t)} = \rho \ {\overline{\int_{-\infty}^0 \partial_t\Phi \partial_x\Phi \mathrm{d}z}} - U \ {\overline{\int_{-\infty}^0 \left(\frac{P}{\rho} + \frac{\partial\Phi}{\partial t} \right) \mathrm{d}z}} = 0 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where terms of &amp;lt;math&amp;gt; O(A^3) &amp;lt;/math&amp;gt; have been neglected. Note that within linear theory, energy density and energy flux are quantities of &amp;lt;math&amp;gt;O(A^2)&amp;lt;/math&amp;gt;. If higher-order terms are kept then we need to consider the treatment of second-order surface wave theory, at least.&lt;br /&gt;
Solving the above equation for &amp;lt;math&amp;gt; U &amp;lt;/math&amp;gt; we obtain:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; U = \frac{\rho \ {\overline{\int_{-\infty}^0 \frac{\partial\Phi}{\partial t} \frac{\partial\Phi}{\partial x} \mathrm{d}z}}}&lt;br /&gt;
{{\overline{\int_{-\infty}^0 \left( \frac{P}{\rho} + \frac{\partial\Phi}{\partial t} \right) \mathrm{d}z}}}  &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Upon substitution of the plane progressive wave velocity potential and definition of pressure from Bernoulli&#039;s equation we obtain:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; U \equiv c_g = \frac{1}{2} \frac{g}{\omega} = \frac{1}{2} c_p &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that &amp;lt;math&amp;gt; U \equiv c_g &amp;lt;/math&amp;gt; by definition. If the above exercise is repeated in water of finite depth the solution for &amp;lt;math&amp;gt; U &amp;lt;/math&amp;gt; after some algebra is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; U = c_g = \left( \frac{1}{2} + \frac{kh}{\sinh 2kh} \right) c_p &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \omega^2 = gk \tanh kh\,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It may be shown that the group velocity &amp;lt;math&amp;gt; c_g &amp;lt;/math&amp;gt; is given by the relation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; c_g = \frac{\mathrm{d}\omega}{\mathrm{d} k} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Rayleigh&#039;s proof of the group velocity formula ===&lt;br /&gt;
&lt;br /&gt;
This relation follows from the very elegant &amp;quot;device&amp;quot; due to [http://en.wikipedia.org/wiki/John_Strutt%2C_3rd_Baron_Rayleigh Rayleigh] which applies to any wave form:&lt;br /&gt;
Consider two plane progressive waves of nearly equal frequencies and hence wavenumbers. Their joint wave elevation is given by&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \zeta(x,t) = A \cos ( \omega_1 t - k_1 x) + A \cos ( \omega_2 t - k_2 x) \, &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the amplitude is assumed to be common and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \omega_2 = \omega_1 + \Delta \omega, \quad | \Delta\omega | \ll \omega_1 , \omega_2 &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; k_2 = k_1 + \Delta k, \quad | \Delta k | \ll k_1 , k_2 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Converting into complex notation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \zeta(x,t) = A \mathrm{Re} \{ e^{i\omega_1 t - i k_1 x} + e^{i\omega_2 t - i k_2 x} \} &lt;br /&gt;
= A \mathrm{Re} \{ e^{i\omega_1 t - i k_1 x} + e^{i\omega_1 t - i k_1 x + i \Delta\omega t - i \Delta k x} \} &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; = A \mathrm{Re} \{ e^{i\omega_1 t - i k_1 x} \left( 1 + e^{i\Delta\omega t - i \Delta k x} \right) \} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The combined wave elevation &amp;lt;math&amp;gt; \zeta \,&amp;lt;/math&amp;gt; vanishes identically where &amp;lt;math&amp;gt; \left( 1 + e^{i\Delta\omega t - i \Delta k x} \right) = 0 \, &amp;lt;/math&amp;gt;,&lt;br /&gt;
i.e.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; e^{i(\Delta\omega t - \Delta k x)} = -1 \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
or when&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \Delta \omega t - \Delta k x = ( 2 n + 1 ) \pi, \qquad n = 0, 1, 2, \cdots &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solving for &amp;lt;math&amp;gt; x(t) \, &amp;lt;/math&amp;gt; we obtain:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; x(t) = \frac{1}{\Delta k} \{ (2n+1)\pi + t \Delta\omega \} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For values of &amp;lt;math&amp;gt; x(t)\, &amp;lt;/math&amp;gt; given above, &amp;lt;math&amp;gt; \zeta = 0 \, &amp;lt;/math&amp;gt;. These are the nodes of the bi-chromatic wave train where at all times the elevation vanishes and hence the evergy density is zero. The wave group has the form of consecutive packets separated by nodes. &lt;br /&gt;
The speed of the nodes is &amp;lt;math&amp;gt; \frac{\mathrm{d}x}{\mathrm{d}t} = \frac{\Delta\omega}{\Delta k} \to \frac{\mathrm{d}\omega}{\mathrm{d}k} \,  &amp;lt;/math&amp;gt; &lt;br /&gt;
and the energy trapped within two consecutive nodes cannot escape so it must travel at the group velocity: &amp;lt;math&amp;gt; c_g = \frac{\mathrm{d}x}{\mathrm{d}t} = \frac{\mathrm{d}\omega}{\mathrm{d}k} \, &amp;lt;/math&amp;gt;.&lt;br /&gt;
Note that Rayleigh&#039;s proof applies equally to waves in finite depth or deep water and in principle to any propagating wave form.&lt;br /&gt;
In finite depth it can be shown after some algebra that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; c_g = \frac{\mathrm{d}\omega}{\mathrm{d}k} = \left( \frac{1}{2} + \frac{kh}{\sinh 2kh} \right) \frac{\omega}{k} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
&lt;br /&gt;
The formulae for the energy flux derived above are very general and for potential flow nonlinear surface waves that are not breaking constitute the energy conservation principle.&lt;br /&gt;
Energy flux (power) input into the fluid domain by any mechanism, wavemaker, wind (in a conservative manner), a ship or any floating body must be &amp;quot;retrieved&amp;quot; at some distance away. Deriving expressions of the energy flux retrieved at &amp;quot;infinity&amp;quot; is a powerful method for estimating the wave resistance of ships (more on this later), the wave damping of floating bodies, etc.&lt;br /&gt;
Yet, the only general way of evaluating wave forces on floating bodies (moving or not) or solid boundaries is by applying the [[Wave Momentum Flux| Wave Momentum]].&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/courses/mechanical-engineering/2-24-ocean-wave-interaction-with-ships-and-offshore-energy-systems-13-022-spring-2002/lecture-notes/lecture4.pdf here]&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Wave_Energy_Density_and_Flux&amp;diff=12997</id>
		<title>Wave Energy Density and Flux</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Wave_Energy_Density_and_Flux&amp;diff=12997"/>
		<updated>2010-11-06T11:19:26Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: /* Energy in Linear Plane Progressive Regular Waves */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Ocean Wave Interaction with Ships and Offshore Structures&lt;br /&gt;
 | chapter title = [[Wave Energy Density and Flux]]&lt;br /&gt;
 | next chapter = [[Wave Momentum Flux]]&lt;br /&gt;
 | previous chapter =   [[Linear Plane Progressive Regular Waves]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{complete pages}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
We are interested in the transport of energy by ocean waves. It is important to realise that under the assumptions of linear theory, there is no net motion of particles, but there is a transport of energy (as would be expected). The energy consists of two parts, one kinetic due to the motion of the fluid and the other potential due to the variation in the fluid height. It is the resonance between these two energies which gives rise to the wave motion. The situation is analogous to &lt;br /&gt;
[http://en.wikipedia.org/wiki/Simple_harmonic_motion Simple Harmonic Motion] but more complicated.&lt;br /&gt;
&lt;br /&gt;
== Energy per volume ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Energy_volume.png|thumb|thumb|right|600px|Energy Volume]]&lt;br /&gt;
&lt;br /&gt;
We begin by defining &lt;br /&gt;
&amp;lt;math&amp;gt; \mathcal{E}(t) &amp;lt;/math&amp;gt; as the energy in control volume &amp;lt;math&amp;gt; \Omega(t) &amp;lt;/math&amp;gt; given by&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathcal{E}(t) = \rho \iiint_\Omega \left( \frac{1}{2} |\mathbf{v}|^2 + gz \right) \mathrm{d}V &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; is the fluid density, &amp;lt;math&amp;gt;g&amp;lt;/math&amp;gt; is the acceleration due to gravity and &amp;lt;math&amp;gt;\mathbf{v}&amp;lt;/math&amp;gt; is the vector of fluid velocity. &lt;br /&gt;
The mean energy over a unit horizontal surface area &amp;lt;math&amp;gt; S &amp;lt;/math&amp;gt; is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{\mathcal{E}} = \overline{\frac{\mathcal{E}(t)}{S}} = \rho \overline{ \int_{-h}^{\zeta(t)} \left( \frac{1}{2} |\mathbf{v}|^2 + gz \right) \mathrm{d}z} = \frac{1}{2} \rho \overline{ \int_{-h}^{\zeta(t)} |\mathbf{v}|^2 \mathrm{d}z} + \overline{ \frac{1}{2} \rho g ( \zeta^2 - h^2 ) } &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt; \zeta(t) \, &amp;lt;/math&amp;gt; is free surface elevation and the overbar denotes average (which will be important when we consider waves). &lt;br /&gt;
Note that we are considering water of constant [[Finite Depth]].&lt;br /&gt;
We can ignore the term &amp;lt;math&amp;gt; -\frac{1}{2} \rho g h^2 \, &amp;lt;/math&amp;gt; which represents the potential energy of the ocean at rest.&lt;br /&gt;
&lt;br /&gt;
The remaining perturbation component is the sum of the kinetic and potential energy components, that is&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{\mathcal{E}} = \overline{\mathcal{E}_{kin}} + \overline{\mathcal{E}_{pot}} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{\mathcal{E}_{kin}} = \frac{1}{2} \rho \overline{\int_{-h}^{\zeta(t)} |\mathbf{v}|^2 \mathrm{d}z}, \qquad |\mathbf{v}|^2 &lt;br /&gt;
= \nabla\Phi \cdot \nabla \Phi = \partial_x^2\Phi + \partial_z^2\Phi &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{\mathcal{E}_{pot}} = \overline{\frac{1}{2} \rho g \zeta^2 (t)} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that we are assuming only two dimensions &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;z&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Energy in [[Linear Plane Progressive Regular Waves]] ===&lt;br /&gt;
&lt;br /&gt;
Consider now as a special case of [[Linear Plane Progressive Regular Waves]] by the velocity potential in [[Infinite Depth]] water (for simplicity). The velocity potential throughout the fluid domain is then given by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \Phi = \mathrm{Re} \{ \frac{igA}{\omega} e^{kz-ikx+i\omega t} \} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The components is the &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;z&amp;lt;/math&amp;gt; directions are given by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \partial_x\Phi = \mathrm{Re} \{ \frac{igA}{\omega} (-ik) e^{kz-ikx+i\omega t} \} = A \mathrm{Re} \{ \omega e^{kz-ikx+i\omega t} \} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \partial_z\Phi = \mathrm{Re} \{ \frac{igA}{\omega} k e^{kz-ikx+i\omega t} \} &lt;br /&gt;
 = A \mathrm{Re} \{ i \omega e^{kz-ikx+i\omega t} \} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
respectively. &lt;br /&gt;
We require the following &amp;lt;u&amp;gt;Lemma&amp;lt;/u&amp;gt; which is easily proved. If&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathrm{Re} \{ A e^{i\omega t} \} = A(t) \,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathrm{Re} \{ B e^{i\omega t} \} = B(t) \,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
then it follows that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{A(t)B(t)} = \frac{1}{2} \mathrm{Re} \{ A B^* \}. &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This allows us to write the following expression &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
 \overline{\mathcal{E}_{kin}} &amp;amp;= \frac{1}{2} \rho \overline{ ( \int_{-\infty}^0 + \int_0^\zeta ) &lt;br /&gt;
\left( (\partial_x\Phi)^2 + (\partial_z\Phi)^2 \right) } \mathrm{d}z \\&lt;br /&gt;
&amp;amp;= \frac{1}{2} \rho \int_{-\infty}^0 \overline{ \left( (\partial_x\Phi)^2 + (\partial_z\Phi)^2 \right) } \mathrm{d}z + O (A^3) \\&lt;br /&gt;
&amp;amp;= \rho \frac{\omega^2 A^2}{4k} = \frac{1}{4} \rho g A^2 , \qquad \mbox{for} \ k=\omega^2/g \\&lt;br /&gt;
\overline{\mathcal{E}_{pot}} &amp;amp;= \frac{1}{2} \rho g {\overline{\zeta(t)}}^2 = \frac{1}{4} \rho g A^2 .&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that it is a standard feature of linear oscillations that the average potential and kinetic energies are equal. Hence&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{\mathcal{E}} = \overline{\mathcal{E}_{kin}} + \overline{\mathcal{E}_{pot}} = \frac{1}{2} \rho g A^2 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Energy Flux ==&lt;br /&gt;
&lt;br /&gt;
[[Image:volume_normal.png|thumb|right|600px|Moving Volume]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Energy flux&#039;&#039; &amp;lt;math&amp;gt;\mathcal{P}(t)&amp;lt;/math&amp;gt; is the rate of change of energy density &amp;lt;math&amp;gt; \mathcal{E}(t) &amp;lt;/math&amp;gt;. It is the flux of energy which is critical to ocean waves. While the individual fluid particles do not move the waves carry energy. We begin by deriving the energy flux in general conditions.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathcal{P}(t) \equiv \frac{\mathrm{d}\mathcal{E}(t)}{\mathrm{d}t}  = \frac{\mathrm{d}}{\mathrm{d}t} \iiint_{\Omega(t)} \epsilon(t) \mathrm{d}V &lt;br /&gt;
= \iint_{\partial\Omega(t)} &lt;br /&gt;
\frac{\partial \epsilon(t)}{\partial t} \mathrm{d}V + \iint_{\partial\Omega(t)} \epsilon(t) U_n \mathrm{d} S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
(the last result following from  the transport theorem) where &amp;lt;math&amp;gt; U_n&amp;lt;/math&amp;gt; is the normal velocity of surface &amp;lt;math&amp;gt; \partial\Omega(t) &amp;lt;/math&amp;gt; outwards of the enclosed volume &amp;lt;math&amp;gt; \Omega(t)&amp;lt;/math&amp;gt;.&lt;br /&gt;
We know that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\partial \epsilon}{\partial t} = \frac{\partial}{\partial t} \{ \frac{1}{2} \rho |\mathbf{v}|^2 + \rho g z \} &lt;br /&gt;
= \frac{1}{2} \rho \frac{\partial}{\partial t} ( \nabla\Phi \cdot \nabla\Phi) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; = \rho \nabla \cdot \left( \frac{\partial\Phi}{\partial t} \nabla\Phi \right) - \rho \frac{\partial\Phi}{\partial t} \nabla^2 \Phi &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
so that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathcal{P}(t) = \rho \iiint_{\Omega(t)} \nabla \cdot \left( \frac{\partial \Phi}{\partial t} \nabla \Phi \right) \mathrm{d}V &lt;br /&gt;
+ \rho \iint_{\partial\Omega(t)} \left( \frac{1}{2} |\mathbf{v}|^2 + gz \right) U_n \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Invoking the scalar form of Gauss&#039;s theorem in the first term, we obtain:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathcal{P}(t) = \rho \iint_{\partial\Omega(t)} \frac{\partial\Phi}{\partial t} \nabla \Phi \cdot \mathbf{n} \mathrm{d}S&lt;br /&gt;
+ \rho \iint_{\partial\Omega(t)} \left( \frac{1}{2} |\mathbf{v}|^2 + gz \right) U_n \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\mathbf{n}&amp;lt;/math&amp;gt; is the unit normal.&lt;br /&gt;
&lt;br /&gt;
An alternative form for the energy flux &amp;lt;math&amp;gt; \mathcal{P}(t) \, &amp;lt;/math&amp;gt; crossing the closed control surface &amp;lt;math&amp;gt; \partial\Omega(t) \, &amp;lt;/math&amp;gt; &lt;br /&gt;
is obtained by invoking Bernoulli&#039;s equation in the second term. Recall that:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{P-P_a}{\rho} + \frac{\partial\Phi}{\partial t} + \frac{1}{2} \nabla\Phi \dot \nabla\Phi + gz = 0 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
at any point in the fluid domain and on the boundary.&lt;br /&gt;
Here we allowed &amp;lt;math&amp;gt; \ P_a &amp;lt;/math&amp;gt;  the atmospheric pressure to be non-zero for the sake of physical clarity. Upon substitution in &lt;br /&gt;
the equation above for &amp;lt;math&amp;gt; \mathcal{P}(t) &amp;lt;/math&amp;gt; we obtain the alternate form:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathcal{P}(t) = \rho \iint_{\partial\Omega(t)} \frac{\partial\Phi}{\partial t} \frac{\partial\Phi}{\partial n} \mathrm{d}s &lt;br /&gt;
- \rho \iint_{\partial\Omega(t)} \left( \frac{P-P_a}{\rho} + \frac{\partial\Phi}{\partial t} \right) U_n \mathrm{d}s &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\frac{\partial\phi}{\partial n}&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;\nabla\phi\cdot\mathbf{n}&amp;lt;/math&amp;gt; &lt;br /&gt;
So the energy flux across &amp;lt;math&amp;gt; \partial\Omega(t)\, &amp;lt;/math&amp;gt; is given by the terms under the integral sign. They can be collected in the more compact form:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathcal{P}(t) = \iint \left\{ \rho \frac{\partial\Phi}{\partial t} \left( \frac{\partial\Phi}{\partial n} - U_n \right) &lt;br /&gt;
- ( P - P_a) U_n \right\} \mathrm{d}s &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that &amp;lt;math&amp;gt; \mathcal{P}(t) \, &amp;lt;/math&amp;gt; measures the energy flux into the volume &amp;lt;math&amp;gt; \Omega(t) \, &amp;lt;/math&amp;gt; or the rate of growth of the energy density &amp;lt;math&amp;gt; \mathcal{E}(t)\, &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Energy transfer for each boundary ===&lt;br /&gt;
&lt;br /&gt;
Break &amp;lt;math&amp;gt; \partial\Omega(t) \, &amp;lt;/math&amp;gt; into its components and derive specialized forms of &amp;lt;math&amp;gt; \mathcal{P}(t) \, &amp;lt;/math&amp;gt; pertinent to each.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt; \partial\Omega_F &amp;lt;/math&amp;gt; nonlinear position of the free surface. On this &amp;lt;math&amp;gt; \partial_n\Phi= U_n; &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; P = P_a &amp;lt;/math&amp;gt;, so the fluid pressure is equal to the atmospheric pressure. Therefore over &amp;lt;math&amp;gt; \partial\Omega_F &amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;\mathcal{P}(t)=0&amp;lt;/math&amp;gt;, as expected, i.e. there is no energy flow into the atmosphere.&lt;br /&gt;
*&amp;lt;math&amp;gt; \partial\Omega_B&amp;lt;/math&amp;gt; is the non-moving solid boundary, &amp;lt;math&amp;gt; U_n = &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; \frac{\partial\Phi}{\partial n} = U_n=0&amp;lt;/math&amp;gt; which is the no-normal flux condition. &lt;br /&gt;
*&amp;lt;math&amp;gt; \partial\Omega^\pm&amp;lt;/math&amp;gt; which are the fluid boundaries fixed in space relative to an earth frame &amp;lt;math&amp;gt; U_n = 0 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;, \frac{\partial\Phi}{\partial n} \ne 0&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;  \partial\Omega_U &amp;lt;/math&amp;gt; the fluid boundaries moving with velocity &amp;lt;math&amp;gt;\mathbf{u}&amp;lt;/math&amp;gt; relative to an earth frame.&lt;br /&gt;
*&amp;lt;math&amp;gt; U_n = \mathbf{u} \cdot \mathbf{n}, \quad \frac{\partial\Phi}{\partial n} \ne 0 &amp;lt;/math&amp;gt;. This case will be of interest for ships moving with constant velocity &amp;lt;math&amp;gt; U &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The formula derived above are very general for potential flows with a free surface and solid boundaries. We are now ready to apply them to plane progressive waves.&lt;br /&gt;
&lt;br /&gt;
== Surface Wave Problem ==&lt;br /&gt;
&lt;br /&gt;
We are ready now to apply the above formulas to the surface wave problem.&lt;br /&gt;
&lt;br /&gt;
=== Energy flux across a vertical fluid boundary fixed in space ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathcal{P}(t) = - \rho \int_{-\infty}^{\zeta(t)} \frac{\partial\Phi}{\partial t} \Phi_n \mathrm{d}z = &lt;br /&gt;
- \rho \left( \int_{-\infty}^0 + \int_0^\zeta \right) \frac{\partial\Phi}{\partial t} \Phi_n \mathrm{d}z &lt;br /&gt;
= - \rho \int_{-\infty}^0 \frac{\partial\Phi}{\partial t} \frac{\partial\Phi}{\partial n} \mathrm{d}z + O(A^3) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Mean energy flux for a [[Linear Plane Progressive Regular Waves]] follows upon substitution of the regular wave velocity potential and taking mean values:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{\mathcal{P}} = - \rho \int_{-\infty}^0 \frac{\partial\Phi}{\partial t} \frac{\partial\Phi}{\partial x} \mathrm{d}z = \frac{1}{2} \rho g A^2 \left( \frac{1}{2} \frac{g}{\omega} \right) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the wave amplitude. &lt;br /&gt;
or&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{\mathcal{P}} = \overline{\mathcal{E}} c_g, \quad c_g = \mbox{group velocity} = \frac{1}{2} c_p &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;.&lt;br /&gt;
It follows from this that the mean energy flux of a plane progressive wave is the product of its mean energy density times &lt;br /&gt;
the [http://en.wikipedia.org/wiki/Group_velocity group velocity] of deep water waves.&lt;br /&gt;
&lt;br /&gt;
A more formal proof that this is the velocity with which the energy flux of plane progressive waves propagates is to consider what needs to be the horizontal velocity &amp;lt;math&amp;gt;U_n \equiv U &amp;lt;/math&amp;gt; of a fluid boundary so that the mean energy flux across it vanishes?&lt;br /&gt;
&lt;br /&gt;
This can be found from the solution of the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{\mathcal{P}(t)} = \rho \ {\overline{\int_{-\infty}^0 \partial_t\Phi \partial_x\Phi \mathrm{d}z}} - U \ {\overline{\int_{-\infty}^0 \left(\frac{P}{\rho} + \frac{\partial\Phi}{\partial t} \right) \mathrm{d}z}} = 0 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where terms of &amp;lt;math&amp;gt; O(A^3) &amp;lt;/math&amp;gt; have been neglected. Note that within linear theory, energy density and energy flux are quantities of &amp;lt;math&amp;gt;O(A^2)&amp;lt;/math&amp;gt;. If higher-order terms are kept then we need to consider the treatment of second-order surface wave theory, at least.&lt;br /&gt;
Solving the above equation for &amp;lt;math&amp;gt; U &amp;lt;/math&amp;gt; we obtain:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; U = \frac{\rho \ {\overline{\int_{-\infty}^0 \frac{\partial\Phi}{\partial t} \frac{\partial\Phi}{\partial x} \mathrm{d}z}}}&lt;br /&gt;
{{\overline{\int_{-\infty}^0 \left( \frac{P}{\rho} + \frac{\partial\Phi}{\partial t} \right) \mathrm{d}z}}}  &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Upon substitution of the plane progressive wave velocity potential and definition of pressure from Bernoulli&#039;s equation we obtain:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; U \equiv c_g = \frac{1}{2} \frac{g}{\omega} = \frac{1}{2} c_p &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that &amp;lt;math&amp;gt; U \equiv c_g &amp;lt;/math&amp;gt; by definition. If the above exercise is repeated in water of finite depth the solution for &amp;lt;math&amp;gt; U &amp;lt;/math&amp;gt; after some algebra is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; U = c_g = \left( \frac{1}{2} + \frac{kh}{\sinh 2kh} \right) c_p &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \omega^2 = gk \tanh kh\,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It may be shown that the group velocity &amp;lt;math&amp;gt; c_g &amp;lt;/math&amp;gt; is given by the relation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; c_g = \frac{\mathrm{d}\omega}{\mathrm{d} k} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Rayleigh&#039;s proof of the group velocity formula ===&lt;br /&gt;
&lt;br /&gt;
This relation follows from the very elegant &amp;quot;device&amp;quot; due to [http://en.wikipedia.org/wiki/John_Strutt%2C_3rd_Baron_Rayleigh Rayleigh] which applies to any wave form:&lt;br /&gt;
Consider two plane progressive waves of nearly equal frequencies and hence wavenumbers. Their joint wave elevation is given by&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \zeta(x,t) = A \cos ( \omega_1 t - k_1 x) + A \cos ( \omega_2 t - k_2 x) \, &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the amplitude is assumed to be common and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \omega_2 = \omega_1 + \Delta \omega, \quad | \Delta\omega | \ll \omega_1 , \omega_2 &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; k_2 = k_1 + \Delta k, \quad | \Delta k | \ll k_1 , k_2 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Converting into complex notation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \zeta(x,t) = A \mathrm{Re} \{ e^{i\omega_1 t - i k_1 x} + e^{i\omega_2 t - i k_2 x} \} &lt;br /&gt;
= A \mathrm{Re} \{ e^{i\omega_1 t - i k_1 x} + e^{i\omega_1 t - i k_1 x + i \Delta\omega t - i \Delta k x} \} &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; = A \mathrm{Re} \{ e^{i\omega_1 t - i k_1 x} \left( 1 + e^{i\Delta\omega t - i \Delta k x} \right) \} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The combined wave elevation &amp;lt;math&amp;gt; \zeta \,&amp;lt;/math&amp;gt; vanishes identically where &amp;lt;math&amp;gt; \left( 1 + e^{i\Delta\omega t - i \Delta k x} \right) = 0 \, &amp;lt;/math&amp;gt;,&lt;br /&gt;
i.e.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; e^{i(\Delta\omega t - \Delta k x)} = -1 \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
or when&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \Delta \omega t - \Delta k x = ( 2 n + 1 ) \pi, \qquad n = 0, 1, 2, \cdots &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solving for &amp;lt;math&amp;gt; x(t) \, &amp;lt;/math&amp;gt; we obtain:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; x(t) = \frac{1}{\Delta k} \{ (2n+1)\pi + t \Delta\omega \} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For values of &amp;lt;math&amp;gt; x(t)\, &amp;lt;/math&amp;gt; given above, &amp;lt;math&amp;gt; \zeta = 0 \, &amp;lt;/math&amp;gt;. These are the nodes of the bi-chromatic wave train where at all times the elevation vanishes and hence the evergy density is zero. The wave group has the form of consecutive packets separated by nodes. &lt;br /&gt;
The speed of the nodes is &amp;lt;math&amp;gt; \frac{\mathrm{d}x}{\mathrm{d}t} = \frac{\Delta\omega}{\Delta k} \to \frac{\mathrm{d}\omega}{\mathrm{d}k} \,  &amp;lt;/math&amp;gt; &lt;br /&gt;
and the energy trapped within two consecutive nodes cannot escape so it must travel at the group velocity: &amp;lt;math&amp;gt; c_g = \frac{\mathrm{d}x}{\mathrm{d}t} = \frac{\mathrm{d}\omega}{\mathrm{d}k} \, &amp;lt;/math&amp;gt;.&lt;br /&gt;
Note that Rayleigh&#039;s proof applies equally to waves in finite depth or deep water and in principle to any propagating wave form.&lt;br /&gt;
In finite depth it can be shown after some algebra that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; c_g = \frac{\mathrm{d}\omega}{\mathrm{d}k} = \left( \frac{1}{2} + \frac{kh}{\sinh 2kh} \right) \frac{\omega}{k} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
&lt;br /&gt;
The formulae for the energy flux derived above are very general and for potential flow nonlinear surface waves that are not breaking constitute the energy conservation principle.&lt;br /&gt;
Energy flux (power) input into the fluid domain by any mechanism, wavemaker, wind (in a conservative manner), a ship or any floating body must be &amp;quot;retrieved&amp;quot; at some distance away. Deriving expressions of the energy flux retrieved at &amp;quot;infinity&amp;quot; is a powerful method for estimating the wave resistance of ships (more on this later), the wave damping of floating bodies, etc.&lt;br /&gt;
Yet, the only general way of evaluating wave forces on floating bodies (moving or not) or solid boundaries is by applying the [[Wave Momentum Flux| Wave Momentum]].&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/courses/mechanical-engineering/2-24-ocean-wave-interaction-with-ships-and-offshore-energy-systems-13-022-spring-2002/lecture-notes/lecture4.pdf here]&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Wave_Energy_Density_and_Flux&amp;diff=12995</id>
		<title>Wave Energy Density and Flux</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Wave_Energy_Density_and_Flux&amp;diff=12995"/>
		<updated>2010-11-06T11:19:00Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: /* Energy in Linear Plane Progressive Regular Waves */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Ocean Wave Interaction with Ships and Offshore Structures&lt;br /&gt;
 | chapter title = [[Wave Energy Density and Flux]]&lt;br /&gt;
 | next chapter = [[Wave Momentum Flux]]&lt;br /&gt;
 | previous chapter =   [[Linear Plane Progressive Regular Waves]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{complete pages}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
We are interested in the transport of energy by ocean waves. It is important to realise that under the assumptions of linear theory, there is no net motion of particles, but there is a transport of energy (as would be expected). The energy consists of two parts, one kinetic due to the motion of the fluid and the other potential due to the variation in the fluid height. It is the resonance between these two energies which gives rise to the wave motion. The situation is analogous to &lt;br /&gt;
[http://en.wikipedia.org/wiki/Simple_harmonic_motion Simple Harmonic Motion] but more complicated.&lt;br /&gt;
&lt;br /&gt;
== Energy per volume ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Energy_volume.png|thumb|thumb|right|600px|Energy Volume]]&lt;br /&gt;
&lt;br /&gt;
We begin by defining &lt;br /&gt;
&amp;lt;math&amp;gt; \mathcal{E}(t) &amp;lt;/math&amp;gt; as the energy in control volume &amp;lt;math&amp;gt; \Omega(t) &amp;lt;/math&amp;gt; given by&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathcal{E}(t) = \rho \iiint_\Omega \left( \frac{1}{2} |\mathbf{v}|^2 + gz \right) \mathrm{d}V &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; is the fluid density, &amp;lt;math&amp;gt;g&amp;lt;/math&amp;gt; is the acceleration due to gravity and &amp;lt;math&amp;gt;\mathbf{v}&amp;lt;/math&amp;gt; is the vector of fluid velocity. &lt;br /&gt;
The mean energy over a unit horizontal surface area &amp;lt;math&amp;gt; S &amp;lt;/math&amp;gt; is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{\mathcal{E}} = \overline{\frac{\mathcal{E}(t)}{S}} = \rho \overline{ \int_{-h}^{\zeta(t)} \left( \frac{1}{2} |\mathbf{v}|^2 + gz \right) \mathrm{d}z} = \frac{1}{2} \rho \overline{ \int_{-h}^{\zeta(t)} |\mathbf{v}|^2 \mathrm{d}z} + \overline{ \frac{1}{2} \rho g ( \zeta^2 - h^2 ) } &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt; \zeta(t) \, &amp;lt;/math&amp;gt; is free surface elevation and the overbar denotes average (which will be important when we consider waves). &lt;br /&gt;
Note that we are considering water of constant [[Finite Depth]].&lt;br /&gt;
We can ignore the term &amp;lt;math&amp;gt; -\frac{1}{2} \rho g h^2 \, &amp;lt;/math&amp;gt; which represents the potential energy of the ocean at rest.&lt;br /&gt;
&lt;br /&gt;
The remaining perturbation component is the sum of the kinetic and potential energy components, that is&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{\mathcal{E}} = \overline{\mathcal{E}_{kin}} + \overline{\mathcal{E}_{pot}} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{\mathcal{E}_{kin}} = \frac{1}{2} \rho \overline{\int_{-h}^{\zeta(t)} |\mathbf{v}|^2 \mathrm{d}z}, \qquad |\mathbf{v}|^2 &lt;br /&gt;
= \nabla\Phi \cdot \nabla \Phi = \partial_x^2\Phi + \partial_z^2\Phi &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{\mathcal{E}_{pot}} = \overline{\frac{1}{2} \rho g \zeta^2 (t)} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that we are assuming only two dimensions &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;z&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Energy in [[Linear Plane Progressive Regular Waves]] ===&lt;br /&gt;
&lt;br /&gt;
Consider now as a special case of [[Linear Plane Progressive Regular Waves]] by the velocity potential in [[Infinite Depth]] water (for simplicity). The velocity potential throughout the fluid domain is then given by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \Phi = \mathrm{Re} \{ \frac{igA}{\omega} e^{kz-ikx+i\omega t} \} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The components is the &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;z&amp;lt;/math&amp;gt; directions are given by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \partial_x\Phi = \mathrm{Re} \{ \frac{igA}{\omega} (-ik) e^{kz-ikx+i\omega t} \} = A \mathrm{Re} \{ \omega e^{kz-ikx+i\omega t} \} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \partial_z\Phi = \mathrm{Re} \{ \frac{igA}{\omega} k e^{kz-ikx+i\omega t} \} &lt;br /&gt;
 = A \mathrm{Re} \{ i \omega e^{kz-ikx+i\omega t} \} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
respectively. &lt;br /&gt;
We require the following &amp;lt;u&amp;gt;Lemma&amp;lt;/u&amp;gt; which is easily proved. If&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathrm{Re} \{ A e^{i\omega t} \} = A(t) \,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathrm{Re} \{ B e^{i\omega t} \} = B(t) \,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
then it follows that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{A(t)B(t)} = \frac{1}{2} \mathrm{Re} \{ A B^* \} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This allows us to write the following expression &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
 \overline{\mathcal{E}_{kin}} &amp;amp;= \frac{1}{2} \rho \overline{ ( \int_{-\infty}^0 + \int_0^\zeta ) &lt;br /&gt;
\left( (\partial_x\Phi)^2 + (\partial_z\Phi)^2 \right) } \mathrm{d}z \\&lt;br /&gt;
&amp;amp;= \frac{1}{2} \rho \int_{-\infty}^0 \overline{ \left( (\partial_x\Phi)^2 + (\partial_z\Phi)^2 \right) } \mathrm{d}z + O (A^3) \\&lt;br /&gt;
&amp;amp;= \rho \frac{\omega^2 A^2}{4k} = \frac{1}{4} \rho g A^2 , \qquad \mbox{for} \ k=\omega^2/g \\&lt;br /&gt;
\overline{\mathcal{E}_{pot}} &amp;amp;= \frac{1}{2} \rho g {\overline{\zeta(t)}}^2 = \frac{1}{4} \rho g A^2 .&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that it is a standard feature of linear oscillations that the average potential and kinetic energies are equal. Hence&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{\mathcal{E}} = \overline{\mathcal{E}_{kin}} + \overline{\mathcal{E}_{pot}} = \frac{1}{2} \rho g A^2 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Energy Flux ==&lt;br /&gt;
&lt;br /&gt;
[[Image:volume_normal.png|thumb|right|600px|Moving Volume]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Energy flux&#039;&#039; &amp;lt;math&amp;gt;\mathcal{P}(t)&amp;lt;/math&amp;gt; is the rate of change of energy density &amp;lt;math&amp;gt; \mathcal{E}(t) &amp;lt;/math&amp;gt;. It is the flux of energy which is critical to ocean waves. While the individual fluid particles do not move the waves carry energy. We begin by deriving the energy flux in general conditions.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathcal{P}(t) \equiv \frac{\mathrm{d}\mathcal{E}(t)}{\mathrm{d}t}  = \frac{\mathrm{d}}{\mathrm{d}t} \iiint_{\Omega(t)} \epsilon(t) \mathrm{d}V &lt;br /&gt;
= \iint_{\partial\Omega(t)} &lt;br /&gt;
\frac{\partial \epsilon(t)}{\partial t} \mathrm{d}V + \iint_{\partial\Omega(t)} \epsilon(t) U_n \mathrm{d} S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
(the last result following from  the transport theorem) where &amp;lt;math&amp;gt; U_n&amp;lt;/math&amp;gt; is the normal velocity of surface &amp;lt;math&amp;gt; \partial\Omega(t) &amp;lt;/math&amp;gt; outwards of the enclosed volume &amp;lt;math&amp;gt; \Omega(t)&amp;lt;/math&amp;gt;.&lt;br /&gt;
We know that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\partial \epsilon}{\partial t} = \frac{\partial}{\partial t} \{ \frac{1}{2} \rho |\mathbf{v}|^2 + \rho g z \} &lt;br /&gt;
= \frac{1}{2} \rho \frac{\partial}{\partial t} ( \nabla\Phi \cdot \nabla\Phi) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; = \rho \nabla \cdot \left( \frac{\partial\Phi}{\partial t} \nabla\Phi \right) - \rho \frac{\partial\Phi}{\partial t} \nabla^2 \Phi &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
so that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathcal{P}(t) = \rho \iiint_{\Omega(t)} \nabla \cdot \left( \frac{\partial \Phi}{\partial t} \nabla \Phi \right) \mathrm{d}V &lt;br /&gt;
+ \rho \iint_{\partial\Omega(t)} \left( \frac{1}{2} |\mathbf{v}|^2 + gz \right) U_n \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Invoking the scalar form of Gauss&#039;s theorem in the first term, we obtain:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathcal{P}(t) = \rho \iint_{\partial\Omega(t)} \frac{\partial\Phi}{\partial t} \nabla \Phi \cdot \mathbf{n} \mathrm{d}S&lt;br /&gt;
+ \rho \iint_{\partial\Omega(t)} \left( \frac{1}{2} |\mathbf{v}|^2 + gz \right) U_n \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\mathbf{n}&amp;lt;/math&amp;gt; is the unit normal.&lt;br /&gt;
&lt;br /&gt;
An alternative form for the energy flux &amp;lt;math&amp;gt; \mathcal{P}(t) \, &amp;lt;/math&amp;gt; crossing the closed control surface &amp;lt;math&amp;gt; \partial\Omega(t) \, &amp;lt;/math&amp;gt; &lt;br /&gt;
is obtained by invoking Bernoulli&#039;s equation in the second term. Recall that:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{P-P_a}{\rho} + \frac{\partial\Phi}{\partial t} + \frac{1}{2} \nabla\Phi \dot \nabla\Phi + gz = 0 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
at any point in the fluid domain and on the boundary.&lt;br /&gt;
Here we allowed &amp;lt;math&amp;gt; \ P_a &amp;lt;/math&amp;gt;  the atmospheric pressure to be non-zero for the sake of physical clarity. Upon substitution in &lt;br /&gt;
the equation above for &amp;lt;math&amp;gt; \mathcal{P}(t) &amp;lt;/math&amp;gt; we obtain the alternate form:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathcal{P}(t) = \rho \iint_{\partial\Omega(t)} \frac{\partial\Phi}{\partial t} \frac{\partial\Phi}{\partial n} \mathrm{d}s &lt;br /&gt;
- \rho \iint_{\partial\Omega(t)} \left( \frac{P-P_a}{\rho} + \frac{\partial\Phi}{\partial t} \right) U_n \mathrm{d}s &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\frac{\partial\phi}{\partial n}&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;\nabla\phi\cdot\mathbf{n}&amp;lt;/math&amp;gt; &lt;br /&gt;
So the energy flux across &amp;lt;math&amp;gt; \partial\Omega(t)\, &amp;lt;/math&amp;gt; is given by the terms under the integral sign. They can be collected in the more compact form:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathcal{P}(t) = \iint \left\{ \rho \frac{\partial\Phi}{\partial t} \left( \frac{\partial\Phi}{\partial n} - U_n \right) &lt;br /&gt;
- ( P - P_a) U_n \right\} \mathrm{d}s &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that &amp;lt;math&amp;gt; \mathcal{P}(t) \, &amp;lt;/math&amp;gt; measures the energy flux into the volume &amp;lt;math&amp;gt; \Omega(t) \, &amp;lt;/math&amp;gt; or the rate of growth of the energy density &amp;lt;math&amp;gt; \mathcal{E}(t)\, &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Energy transfer for each boundary ===&lt;br /&gt;
&lt;br /&gt;
Break &amp;lt;math&amp;gt; \partial\Omega(t) \, &amp;lt;/math&amp;gt; into its components and derive specialized forms of &amp;lt;math&amp;gt; \mathcal{P}(t) \, &amp;lt;/math&amp;gt; pertinent to each.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt; \partial\Omega_F &amp;lt;/math&amp;gt; nonlinear position of the free surface. On this &amp;lt;math&amp;gt; \partial_n\Phi= U_n; &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; P = P_a &amp;lt;/math&amp;gt;, so the fluid pressure is equal to the atmospheric pressure. Therefore over &amp;lt;math&amp;gt; \partial\Omega_F &amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;\mathcal{P}(t)=0&amp;lt;/math&amp;gt;, as expected, i.e. there is no energy flow into the atmosphere.&lt;br /&gt;
*&amp;lt;math&amp;gt; \partial\Omega_B&amp;lt;/math&amp;gt; is the non-moving solid boundary, &amp;lt;math&amp;gt; U_n = &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; \frac{\partial\Phi}{\partial n} = U_n=0&amp;lt;/math&amp;gt; which is the no-normal flux condition. &lt;br /&gt;
*&amp;lt;math&amp;gt; \partial\Omega^\pm&amp;lt;/math&amp;gt; which are the fluid boundaries fixed in space relative to an earth frame &amp;lt;math&amp;gt; U_n = 0 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;, \frac{\partial\Phi}{\partial n} \ne 0&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;  \partial\Omega_U &amp;lt;/math&amp;gt; the fluid boundaries moving with velocity &amp;lt;math&amp;gt;\mathbf{u}&amp;lt;/math&amp;gt; relative to an earth frame.&lt;br /&gt;
*&amp;lt;math&amp;gt; U_n = \mathbf{u} \cdot \mathbf{n}, \quad \frac{\partial\Phi}{\partial n} \ne 0 &amp;lt;/math&amp;gt;. This case will be of interest for ships moving with constant velocity &amp;lt;math&amp;gt; U &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The formula derived above are very general for potential flows with a free surface and solid boundaries. We are now ready to apply them to plane progressive waves.&lt;br /&gt;
&lt;br /&gt;
== Surface Wave Problem ==&lt;br /&gt;
&lt;br /&gt;
We are ready now to apply the above formulas to the surface wave problem.&lt;br /&gt;
&lt;br /&gt;
=== Energy flux across a vertical fluid boundary fixed in space ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathcal{P}(t) = - \rho \int_{-\infty}^{\zeta(t)} \frac{\partial\Phi}{\partial t} \Phi_n \mathrm{d}z = &lt;br /&gt;
- \rho \left( \int_{-\infty}^0 + \int_0^\zeta \right) \frac{\partial\Phi}{\partial t} \Phi_n \mathrm{d}z &lt;br /&gt;
= - \rho \int_{-\infty}^0 \frac{\partial\Phi}{\partial t} \frac{\partial\Phi}{\partial n} \mathrm{d}z + O(A^3) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Mean energy flux for a [[Linear Plane Progressive Regular Waves]] follows upon substitution of the regular wave velocity potential and taking mean values:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{\mathcal{P}} = - \rho \int_{-\infty}^0 \frac{\partial\Phi}{\partial t} \frac{\partial\Phi}{\partial x} \mathrm{d}z = \frac{1}{2} \rho g A^2 \left( \frac{1}{2} \frac{g}{\omega} \right) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the wave amplitude. &lt;br /&gt;
or&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{\mathcal{P}} = \overline{\mathcal{E}} c_g, \quad c_g = \mbox{group velocity} = \frac{1}{2} c_p &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;.&lt;br /&gt;
It follows from this that the mean energy flux of a plane progressive wave is the product of its mean energy density times &lt;br /&gt;
the [http://en.wikipedia.org/wiki/Group_velocity group velocity] of deep water waves.&lt;br /&gt;
&lt;br /&gt;
A more formal proof that this is the velocity with which the energy flux of plane progressive waves propagates is to consider what needs to be the horizontal velocity &amp;lt;math&amp;gt;U_n \equiv U &amp;lt;/math&amp;gt; of a fluid boundary so that the mean energy flux across it vanishes?&lt;br /&gt;
&lt;br /&gt;
This can be found from the solution of the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \overline{\mathcal{P}(t)} = \rho \ {\overline{\int_{-\infty}^0 \partial_t\Phi \partial_x\Phi \mathrm{d}z}} - U \ {\overline{\int_{-\infty}^0 \left(\frac{P}{\rho} + \frac{\partial\Phi}{\partial t} \right) \mathrm{d}z}} = 0 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where terms of &amp;lt;math&amp;gt; O(A^3) &amp;lt;/math&amp;gt; have been neglected. Note that within linear theory, energy density and energy flux are quantities of &amp;lt;math&amp;gt;O(A^2)&amp;lt;/math&amp;gt;. If higher-order terms are kept then we need to consider the treatment of second-order surface wave theory, at least.&lt;br /&gt;
Solving the above equation for &amp;lt;math&amp;gt; U &amp;lt;/math&amp;gt; we obtain:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; U = \frac{\rho \ {\overline{\int_{-\infty}^0 \frac{\partial\Phi}{\partial t} \frac{\partial\Phi}{\partial x} \mathrm{d}z}}}&lt;br /&gt;
{{\overline{\int_{-\infty}^0 \left( \frac{P}{\rho} + \frac{\partial\Phi}{\partial t} \right) \mathrm{d}z}}}  &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Upon substitution of the plane progressive wave velocity potential and definition of pressure from Bernoulli&#039;s equation we obtain:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; U \equiv c_g = \frac{1}{2} \frac{g}{\omega} = \frac{1}{2} c_p &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that &amp;lt;math&amp;gt; U \equiv c_g &amp;lt;/math&amp;gt; by definition. If the above exercise is repeated in water of finite depth the solution for &amp;lt;math&amp;gt; U &amp;lt;/math&amp;gt; after some algebra is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; U = c_g = \left( \frac{1}{2} + \frac{kh}{\sinh 2kh} \right) c_p &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \omega^2 = gk \tanh kh\,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It may be shown that the group velocity &amp;lt;math&amp;gt; c_g &amp;lt;/math&amp;gt; is given by the relation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; c_g = \frac{\mathrm{d}\omega}{\mathrm{d} k} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Rayleigh&#039;s proof of the group velocity formula ===&lt;br /&gt;
&lt;br /&gt;
This relation follows from the very elegant &amp;quot;device&amp;quot; due to [http://en.wikipedia.org/wiki/John_Strutt%2C_3rd_Baron_Rayleigh Rayleigh] which applies to any wave form:&lt;br /&gt;
Consider two plane progressive waves of nearly equal frequencies and hence wavenumbers. Their joint wave elevation is given by&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \zeta(x,t) = A \cos ( \omega_1 t - k_1 x) + A \cos ( \omega_2 t - k_2 x) \, &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the amplitude is assumed to be common and:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \omega_2 = \omega_1 + \Delta \omega, \quad | \Delta\omega | \ll \omega_1 , \omega_2 &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; k_2 = k_1 + \Delta k, \quad | \Delta k | \ll k_1 , k_2 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Converting into complex notation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \zeta(x,t) = A \mathrm{Re} \{ e^{i\omega_1 t - i k_1 x} + e^{i\omega_2 t - i k_2 x} \} &lt;br /&gt;
= A \mathrm{Re} \{ e^{i\omega_1 t - i k_1 x} + e^{i\omega_1 t - i k_1 x + i \Delta\omega t - i \Delta k x} \} &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; = A \mathrm{Re} \{ e^{i\omega_1 t - i k_1 x} \left( 1 + e^{i\Delta\omega t - i \Delta k x} \right) \} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The combined wave elevation &amp;lt;math&amp;gt; \zeta \,&amp;lt;/math&amp;gt; vanishes identically where &amp;lt;math&amp;gt; \left( 1 + e^{i\Delta\omega t - i \Delta k x} \right) = 0 \, &amp;lt;/math&amp;gt;,&lt;br /&gt;
i.e.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; e^{i(\Delta\omega t - \Delta k x)} = -1 \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
or when&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \Delta \omega t - \Delta k x = ( 2 n + 1 ) \pi, \qquad n = 0, 1, 2, \cdots &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solving for &amp;lt;math&amp;gt; x(t) \, &amp;lt;/math&amp;gt; we obtain:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; x(t) = \frac{1}{\Delta k} \{ (2n+1)\pi + t \Delta\omega \} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For values of &amp;lt;math&amp;gt; x(t)\, &amp;lt;/math&amp;gt; given above, &amp;lt;math&amp;gt; \zeta = 0 \, &amp;lt;/math&amp;gt;. These are the nodes of the bi-chromatic wave train where at all times the elevation vanishes and hence the evergy density is zero. The wave group has the form of consecutive packets separated by nodes. &lt;br /&gt;
The speed of the nodes is &amp;lt;math&amp;gt; \frac{\mathrm{d}x}{\mathrm{d}t} = \frac{\Delta\omega}{\Delta k} \to \frac{\mathrm{d}\omega}{\mathrm{d}k} \,  &amp;lt;/math&amp;gt; &lt;br /&gt;
and the energy trapped within two consecutive nodes cannot escape so it must travel at the group velocity: &amp;lt;math&amp;gt; c_g = \frac{\mathrm{d}x}{\mathrm{d}t} = \frac{\mathrm{d}\omega}{\mathrm{d}k} \, &amp;lt;/math&amp;gt;.&lt;br /&gt;
Note that Rayleigh&#039;s proof applies equally to waves in finite depth or deep water and in principle to any propagating wave form.&lt;br /&gt;
In finite depth it can be shown after some algebra that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; c_g = \frac{\mathrm{d}\omega}{\mathrm{d}k} = \left( \frac{1}{2} + \frac{kh}{\sinh 2kh} \right) \frac{\omega}{k} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
&lt;br /&gt;
The formulae for the energy flux derived above are very general and for potential flow nonlinear surface waves that are not breaking constitute the energy conservation principle.&lt;br /&gt;
Energy flux (power) input into the fluid domain by any mechanism, wavemaker, wind (in a conservative manner), a ship or any floating body must be &amp;quot;retrieved&amp;quot; at some distance away. Deriving expressions of the energy flux retrieved at &amp;quot;infinity&amp;quot; is a powerful method for estimating the wave resistance of ships (more on this later), the wave damping of floating bodies, etc.&lt;br /&gt;
Yet, the only general way of evaluating wave forces on floating bodies (moving or not) or solid boundaries is by applying the [[Wave Momentum Flux| Wave Momentum]].&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/courses/mechanical-engineering/2-24-ocean-wave-interaction-with-ships-and-offshore-energy-systems-13-022-spring-2002/lecture-notes/lecture4.pdf here]&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Linear_and_Second-Order_Wave_Theory&amp;diff=12993</id>
		<title>Linear and Second-Order Wave Theory</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Linear_and_Second-Order_Wave_Theory&amp;diff=12993"/>
		<updated>2010-11-06T11:11:18Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: /* Kinematic condition */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Ocean Wave Interaction with Ships and Offshore Structures&lt;br /&gt;
 | chapter title = [[Linear and Second-Order Wave Theory]]&lt;br /&gt;
 | next chapter = [[Linear Plane Progressive Regular Waves]]&lt;br /&gt;
 | previous chapter =  [[Conservation Laws and Boundary Conditions]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{complete pages}}&lt;br /&gt;
&lt;br /&gt;
We saw in [[Conservation Laws and Boundary Conditions]] that the potential flow model for wave propagation is given Laplace&#039;s equation plus the free-surface conditions. In this section we present the linear and second order theory for these equations. The linear theory is valid for small wave heights and the second order theory is an improvement on this. However, neither of these theories work for very steep waves and of course the potential theory breaks down once the wave begins to break and completely different methods are required in this situation. &lt;br /&gt;
&lt;br /&gt;
== Linearization of Free-surface Conditions ==&lt;br /&gt;
&lt;br /&gt;
We use [http://en.wikipedia.org/wiki/Perturbation_theory perturbation theory] to expand the solution as follows&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
\zeta &amp;amp;= \zeta_1 + \zeta_2 + \zeta_3 + \cdots \\&lt;br /&gt;
\Phi &amp;amp;= \Phi_1 + \Phi_2 + \Phi_3 + \cdots &lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where we are assuming that there exists a small parameter (the wave slope) and that with respect to this the &lt;br /&gt;
&amp;lt;math&amp;gt;\Phi_i&amp;lt;/math&amp;gt; is proportional to &amp;lt;math&amp;gt;\epsilon^i&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;O(\epsilon^i)&amp;lt;/math&amp;gt;.  We then derive the boundary value problem for &amp;lt;math&amp;gt; \zeta_i,\Phi_i &amp;lt;/math&amp;gt;. Rarely we need to go beyond &amp;lt;math&amp;gt; i = 3 &amp;lt;/math&amp;gt; (in fact it is unlikely that the terms beyond&lt;br /&gt;
this will improve the accuracy. &lt;br /&gt;
&lt;br /&gt;
In this section we will only derive the free-surface conditions up to second order. Remember that &amp;lt;math&amp;gt;\nabla^2 \Phi_i =0&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt;&lt;br /&gt;
We expand the kinematic and dynamic free surface conditions about the &amp;lt;math&amp;gt;z=0&amp;lt;/math&amp;gt; plane and derive statements for the unknown pairs &amp;lt;math&amp;gt; (\Phi_1,\zeta_1 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; (\Phi_2, \zeta_2) &amp;lt;/math&amp;gt; at &amp;lt;math&amp;gt; z=0 &amp;lt;/math&amp;gt;. The same technique can be used to linearize the body boundary condition at &amp;lt;math&amp;gt; U=0 &amp;lt;/math&amp;gt; (zero speed) and &amp;lt;math&amp;gt; U&amp;gt;0 &amp;lt;/math&amp;gt; (forward speed).&lt;br /&gt;
&lt;br /&gt;
== Kinematic condition ==&lt;br /&gt;
&lt;br /&gt;
The fully non-linear kinematic condition was derived in [[Conservation Laws and Boundary Conditions]] and we begin with this equation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \left ( \frac{\partial \zeta}{\partial t} + \nabla \Phi \cdot \nabla \zeta \right )_{z=\zeta} = \left ( \frac{\partial \Phi}{\partial z} \right )_{z=\zeta} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We expand this equation about &amp;lt;math&amp;gt;\zeta = 0&amp;lt;/math&amp;gt;, which we can do because we have assumed that the slope is small. In fact the slope is our parameter &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt;. It is obvious at this point that the theory does not apply to very steep waves. This gives us the following equation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\left( \frac{\partial\zeta}{\partial t} + \nabla \Phi \cdot \nabla \zeta \right)_{z=0} + \zeta \frac{\partial}{\partial z} \left( \frac{\partial\zeta}{\partial t} + \nabla \Phi \cdot \nabla \zeta \right)_{z=0} + \;\cdots = \left( \frac{\partial\Phi}{\partial z} \right)_{z=0} + \zeta \left( \frac{\partial^2 \Phi}{\partial z^2} \right)_{z=0} + \;\cdots &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where we have only taken the first order expansion. We then substitute our expressions &lt;br /&gt;
&amp;lt;center&amp;gt; &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
\zeta &amp;amp;= \zeta_1 + \zeta_2 + \cdots \\&lt;br /&gt;
\Phi &amp;amp;= \Phi_1 + \Phi_2 + \cdots&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and keep terms of &amp;lt;math&amp;gt;\ O(\varepsilon), \ O(\varepsilon^2)&amp;lt;/math&amp;gt;, remembering that &amp;lt;math&amp;gt;\zeta_1\Phi_1&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;O(\varepsilon^2)&amp;lt;/math&amp;gt; etc.&lt;br /&gt;
&lt;br /&gt;
== Dynamic condition ==&lt;br /&gt;
&lt;br /&gt;
The fully non-linear Dynamic condition was derived in [[Conservation Laws and Boundary Conditions]] and is given by&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\zeta (x,y,t) = -\frac{1}{g} \left( \frac{\partial\Phi}{\partial t} + \frac{1}{2} \nabla\Phi \cdot \nabla\Phi \right)_{z=\zeta}&lt;br /&gt;
&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;&lt;br /&gt;
\left . \begin{matrix}&lt;br /&gt;
 \zeta = \dfrac{1}{g} \left( \dfrac{\partial\Phi}{\partial t} + \dfrac{1}{2} \nabla\Phi \cdot \nabla\Phi \right)_{z=0}\\&lt;br /&gt;
 \dfrac{1}{g} \zeta \dfrac{\partial}{\partial z} \left( \dfrac{\partial\Phi}{\partial t} + \dfrac{1}{2} \nabla\Phi \cdot \nabla\Phi \right)_{z=0} + \cdots&lt;br /&gt;
\end{matrix} \right \} &lt;br /&gt;
\begin{matrix}&lt;br /&gt;
 \zeta = \zeta_1 +\zeta_2 + \cdots \\&lt;br /&gt;
 \Phi = \Phi_1 + \Phi_2 + \cdots&lt;br /&gt;
\end{matrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Linear problem ==&lt;br /&gt;
&lt;br /&gt;
The linear problem is the &amp;lt;math&amp;gt;O(\varepsilon)&amp;lt;/math&amp;gt; problem derived by equating the terms which are proportional to &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This can be done straight forwardly and gives the following expressions &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\partial\zeta_1}{\partial t} = \frac{\partial\Phi_1}{\partial z} , \ z=0;  &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which follows from the Kinematic equation and &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \zeta_1 = -\frac{1}{g} \frac{\partial\Phi_1}{\partial t}, \ z=0; &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which follows from the Dynamic equation. These are the linear free surface conditions. &lt;br /&gt;
&lt;br /&gt;
=== Derivation using Bernoulli&#039;s equation ===&lt;br /&gt;
&lt;br /&gt;
The pressure from Bernoulli, &amp;lt;math&amp;gt; \omega &amp;lt;/math&amp;gt; constant terms set equal to zero, at a fixed point in the fluid domain at &amp;lt;math&amp;gt; \mathbf{x}=(x,y,z) &amp;lt;/math&amp;gt; is given by:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; P = - \rho \left( \frac{\partial\Phi}{\partial t} + \frac{1}{2} \nabla\Phi \cdots \nabla\Phi + gz \right); &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
When then make the perturbation expansion for the potential and the pressure&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \Phi = \Phi_1 + \Phi_2 + \cdots  &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; P = P_0 + P_1 + P_2 + \cdots &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This allows us to derive &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; P_0 = -\rho g z \,, &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which is called the Hydrostatic pressure and &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; P_1 = - \rho \frac{\partial\Phi_1}{\partial t}  &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which is the linear pressure.&lt;br /&gt;
&lt;br /&gt;
=== Classical linear free surface condition ===&lt;br /&gt;
&lt;br /&gt;
If we eliminate &amp;lt;math&amp;gt; \zeta_1 &amp;lt;/math&amp;gt;  from the kinematic and dynamic free surface conditions, we obtain the classical linear free surface condition:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \begin{cases}&lt;br /&gt;
\dfrac{\partial^2\Phi_1}{\partial t^2} + g \dfrac{\partial\Phi_1}{\partial z} = 0, \qquad z=0\\&lt;br /&gt;
\zeta_1 = - \dfrac{1}{g} \dfrac{\partial\Phi_1}{\partial t}, \qquad z=0&lt;br /&gt;
\end{cases} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; P_1 = - \rho \frac{\partial\Phi_1}{\partial t}, \qquad \mbox{at some fixed point} \ \mathbf{x} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that on &amp;lt;math&amp;gt; z=0, \ P_1 \ne 0 &amp;lt;/math&amp;gt;  in fact it can obtained from the expressions above in the form&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; P_1 = -\rho g \zeta_1, \qquad z=0 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So linear theory states that the linear perturbation pressure on the &amp;lt;math&amp;gt; z=0 \, &amp;lt;/math&amp;gt;  plane due to a surface wave disturbance is equal to the positive (negative) &amp;quot;hydrostatic&amp;quot; pressure induced by the positive (negative) wave elevation &amp;lt;math&amp;gt; \zeta_1 \, &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Second-order problem ==&lt;br /&gt;
&lt;br /&gt;
The second order equations can also be derived straight forwardly. The kinematic condition is &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\partial\zeta_2}{\partial t} + \nabla\Phi_1 \cdot \nabla\zeta_1 = \frac{\partial\Phi_2}{\partial z} + \zeta_1 \frac{\partial^2 \Phi_1}{\partial z^2}, \quad z=0 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and the dynamic condition&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;  \zeta_2 = - \frac{1}{g} \left( \frac{\partial\Phi_2}{\partial t} + \frac{1}{2} \nabla\Phi_1 \cdot \nabla\Phi_1 \right)_{z=0} - \frac{1}{g} \zeta_1 \frac{\partial^2\Phi_1}{\partial z \partial t}, \quad z=0  &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively, the known linear terms may be moved in the right-hand side as forcing functions, leading to:&lt;br /&gt;
&lt;br /&gt;
=== Kinematic second-order condition ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;  \frac{\partial\zeta_2}{\partial t} - \frac{\partial\Phi_2}{\partial z} = \zeta_1 \frac{\partial^2 \Phi_1}{\partial z^2} - \nabla\Phi_1 \cdot \nabla\zeta_1; \quad z=0 &amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Dynamic second-order condition ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; \zeta_2 + \frac{1}{g} \frac{\partial\Phi_2}{\partial t} = - \frac{1}{g} \left( \frac{1}{2} \nabla\Phi_1 \cdot \nabla\Phi_1 + \zeta_1 \frac{\partial^2\Phi_1}{\partial z \partial t} \right)_{z=0} &amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where the second order pressure is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; P_2 = -\rho \left( \frac{\partial\Phi_2}{\partial t} + \frac{1}{2} \nabla\Phi_1 \cdot \nabla\Phi_1 \right); \quad \mbox{at} \ \mathbf{x} &amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The very attractive feature of second order surface wave theory is that it allows the prior solution of the linear problem which is often possible analytically and numerically.&lt;br /&gt;
The linear solution is then used as a forcing function for the solution of the second order problem. This is often possible analytically and in most cases numerically in the absence or presence of bodies.&lt;br /&gt;
Linear and second-order theories are also very appropriate to use for the modeling of surface waves as stochastic processes.&lt;br /&gt;
Both theories are very useful in practice, particularly in connection with wave-body interactions.&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/0B7683D3-9B31-453E-B98F-9F71A3C36C58/0/lecture2.pdf here]&lt;br /&gt;
&lt;br /&gt;
[[Ocean Wave Interaction with Ships and Offshore Energy Systems]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Linear Water-Wave Theory]]&lt;br /&gt;
[[Category:Nonlinear Water-Wave Theory]]&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Linear_and_Second-Order_Wave_Theory&amp;diff=12991</id>
		<title>Linear and Second-Order Wave Theory</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Linear_and_Second-Order_Wave_Theory&amp;diff=12991"/>
		<updated>2010-11-06T11:07:15Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: /* Linearization of Free-surface Conditions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Ocean Wave Interaction with Ships and Offshore Structures&lt;br /&gt;
 | chapter title = [[Linear and Second-Order Wave Theory]]&lt;br /&gt;
 | next chapter = [[Linear Plane Progressive Regular Waves]]&lt;br /&gt;
 | previous chapter =  [[Conservation Laws and Boundary Conditions]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{complete pages}}&lt;br /&gt;
&lt;br /&gt;
We saw in [[Conservation Laws and Boundary Conditions]] that the potential flow model for wave propagation is given Laplace&#039;s equation plus the free-surface conditions. In this section we present the linear and second order theory for these equations. The linear theory is valid for small wave heights and the second order theory is an improvement on this. However, neither of these theories work for very steep waves and of course the potential theory breaks down once the wave begins to break and completely different methods are required in this situation. &lt;br /&gt;
&lt;br /&gt;
== Linearization of Free-surface Conditions ==&lt;br /&gt;
&lt;br /&gt;
We use [http://en.wikipedia.org/wiki/Perturbation_theory perturbation theory] to expand the solution as follows&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
\zeta &amp;amp;= \zeta_1 + \zeta_2 + \zeta_3 + \cdots \\&lt;br /&gt;
\Phi &amp;amp;= \Phi_1 + \Phi_2 + \Phi_3 + \cdots &lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where we are assuming that there exists a small parameter (the wave slope) and that with respect to this the &lt;br /&gt;
&amp;lt;math&amp;gt;\Phi_i&amp;lt;/math&amp;gt; is proportional to &amp;lt;math&amp;gt;\epsilon^i&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;O(\epsilon^i)&amp;lt;/math&amp;gt;.  We then derive the boundary value problem for &amp;lt;math&amp;gt; \zeta_i,\Phi_i &amp;lt;/math&amp;gt;. Rarely we need to go beyond &amp;lt;math&amp;gt; i = 3 &amp;lt;/math&amp;gt; (in fact it is unlikely that the terms beyond&lt;br /&gt;
this will improve the accuracy. &lt;br /&gt;
&lt;br /&gt;
In this section we will only derive the free-surface conditions up to second order. Remember that &amp;lt;math&amp;gt;\nabla^2 \Phi_i =0&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt;&lt;br /&gt;
We expand the kinematic and dynamic free surface conditions about the &amp;lt;math&amp;gt;z=0&amp;lt;/math&amp;gt; plane and derive statements for the unknown pairs &amp;lt;math&amp;gt; (\Phi_1,\zeta_1 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; (\Phi_2, \zeta_2) &amp;lt;/math&amp;gt; at &amp;lt;math&amp;gt; z=0 &amp;lt;/math&amp;gt;. The same technique can be used to linearize the body boundary condition at &amp;lt;math&amp;gt; U=0 &amp;lt;/math&amp;gt; (zero speed) and &amp;lt;math&amp;gt; U&amp;gt;0 &amp;lt;/math&amp;gt; (forward speed).&lt;br /&gt;
&lt;br /&gt;
== Kinematic condition ==&lt;br /&gt;
&lt;br /&gt;
The fully non-linear kinematic condition was derived in [[Conservation Laws and Boundary Conditions]] and we begin with this equation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \left ( \frac{\partial \zeta}{\partial t} + \nabla \Phi \cdot \nabla \zeta \right )_{z=\zeta} = \left ( \frac{\partial \Phi}{\partial z} \right )_{z=\zeta} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We expand this equation about &amp;lt;math&amp;gt;\zeta = 0&amp;lt;/math&amp;gt;, which we can do because we have assumed that the slope is small. In fact the slope is our parameter &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt;. It is obvious at this point that the theory does not apply to very steep waves. This gives us the following equation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \left( \frac{\partial\zeta}{\partial t} + \nabla \Phi \cdot \nabla \zeta \right)_{z=0} + \zeta \frac{\partial}{\partial z} \left( \frac{\partial\zeta}{\partial t} + \nabla \Phi \cdot \nabla \zeta \right)_{z=0} + \cdots &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; = \left( \frac{\partial\Phi}{\partial z} \right)_{z=0} + \zeta \left( \frac{\partial^2 \Phi}{\partial z^2} \right)_{z=0} + \cdots &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where we have only taken the first order expansion. We then substitute our expressions &lt;br /&gt;
&amp;lt;center&amp;gt; &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
\zeta = \zeta_1 + \zeta_2 + \cdots \\&lt;br /&gt;
\Phi = \Phi_1 + \Phi_2 + \cdots&lt;br /&gt;
\end{matrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and keep terms of &amp;lt;math&amp;gt;\ O(\varepsilon), \ O(\varepsilon^2)&amp;lt;/math&amp;gt;, remembering that &amp;lt;math&amp;gt;\zeta_1\Phi_1&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;O(\varepsilon^2)&amp;lt;/math&amp;gt; etc.&lt;br /&gt;
&lt;br /&gt;
== Dynamic condition ==&lt;br /&gt;
&lt;br /&gt;
The fully non-linear Dynamic condition was derived in [[Conservation Laws and Boundary Conditions]] and is given by&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\zeta (x,y,t) = -\frac{1}{g} \left( \frac{\partial\Phi}{\partial t} + \frac{1}{2} \nabla\Phi \cdot \nabla\Phi \right)_{z=\zeta}&lt;br /&gt;
&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;&lt;br /&gt;
\left . \begin{matrix}&lt;br /&gt;
 \zeta = \dfrac{1}{g} \left( \dfrac{\partial\Phi}{\partial t} + \dfrac{1}{2} \nabla\Phi \cdot \nabla\Phi \right)_{z=0}\\&lt;br /&gt;
 \dfrac{1}{g} \zeta \dfrac{\partial}{\partial z} \left( \dfrac{\partial\Phi}{\partial t} + \dfrac{1}{2} \nabla\Phi \cdot \nabla\Phi \right)_{z=0} + \cdots&lt;br /&gt;
\end{matrix} \right \} &lt;br /&gt;
\begin{matrix}&lt;br /&gt;
 \zeta = \zeta_1 +\zeta_2 + \cdots \\&lt;br /&gt;
 \Phi = \Phi_1 + \Phi_2 + \cdots&lt;br /&gt;
\end{matrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Linear problem ==&lt;br /&gt;
&lt;br /&gt;
The linear problem is the &amp;lt;math&amp;gt;O(\varepsilon)&amp;lt;/math&amp;gt; problem derived by equating the terms which are proportional to &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This can be done straight forwardly and gives the following expressions &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\partial\zeta_1}{\partial t} = \frac{\partial\Phi_1}{\partial z} , \ z=0;  &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which follows from the Kinematic equation and &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \zeta_1 = -\frac{1}{g} \frac{\partial\Phi_1}{\partial t}, \ z=0; &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which follows from the Dynamic equation. These are the linear free surface conditions. &lt;br /&gt;
&lt;br /&gt;
=== Derivation using Bernoulli&#039;s equation ===&lt;br /&gt;
&lt;br /&gt;
The pressure from Bernoulli, &amp;lt;math&amp;gt; \omega &amp;lt;/math&amp;gt; constant terms set equal to zero, at a fixed point in the fluid domain at &amp;lt;math&amp;gt; \mathbf{x}=(x,y,z) &amp;lt;/math&amp;gt; is given by:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; P = - \rho \left( \frac{\partial\Phi}{\partial t} + \frac{1}{2} \nabla\Phi \cdots \nabla\Phi + gz \right); &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
When then make the perturbation expansion for the potential and the pressure&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \Phi = \Phi_1 + \Phi_2 + \cdots  &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; P = P_0 + P_1 + P_2 + \cdots &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This allows us to derive &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; P_0 = -\rho g z \,, &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which is called the Hydrostatic pressure and &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; P_1 = - \rho \frac{\partial\Phi_1}{\partial t}  &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which is the linear pressure.&lt;br /&gt;
&lt;br /&gt;
=== Classical linear free surface condition ===&lt;br /&gt;
&lt;br /&gt;
If we eliminate &amp;lt;math&amp;gt; \zeta_1 &amp;lt;/math&amp;gt;  from the kinematic and dynamic free surface conditions, we obtain the classical linear free surface condition:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \begin{cases}&lt;br /&gt;
\dfrac{\partial^2\Phi_1}{\partial t^2} + g \dfrac{\partial\Phi_1}{\partial z} = 0, \qquad z=0\\&lt;br /&gt;
\zeta_1 = - \dfrac{1}{g} \dfrac{\partial\Phi_1}{\partial t}, \qquad z=0&lt;br /&gt;
\end{cases} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; P_1 = - \rho \frac{\partial\Phi_1}{\partial t}, \qquad \mbox{at some fixed point} \ \mathbf{x} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that on &amp;lt;math&amp;gt; z=0, \ P_1 \ne 0 &amp;lt;/math&amp;gt;  in fact it can obtained from the expressions above in the form&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; P_1 = -\rho g \zeta_1, \qquad z=0 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So linear theory states that the linear perturbation pressure on the &amp;lt;math&amp;gt; z=0 \, &amp;lt;/math&amp;gt;  plane due to a surface wave disturbance is equal to the positive (negative) &amp;quot;hydrostatic&amp;quot; pressure induced by the positive (negative) wave elevation &amp;lt;math&amp;gt; \zeta_1 \, &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Second-order problem ==&lt;br /&gt;
&lt;br /&gt;
The second order equations can also be derived straight forwardly. The kinematic condition is &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\partial\zeta_2}{\partial t} + \nabla\Phi_1 \cdot \nabla\zeta_1 = \frac{\partial\Phi_2}{\partial z} + \zeta_1 \frac{\partial^2 \Phi_1}{\partial z^2}, \quad z=0 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and the dynamic condition&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;  \zeta_2 = - \frac{1}{g} \left( \frac{\partial\Phi_2}{\partial t} + \frac{1}{2} \nabla\Phi_1 \cdot \nabla\Phi_1 \right)_{z=0} - \frac{1}{g} \zeta_1 \frac{\partial^2\Phi_1}{\partial z \partial t}, \quad z=0  &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively, the known linear terms may be moved in the right-hand side as forcing functions, leading to:&lt;br /&gt;
&lt;br /&gt;
=== Kinematic second-order condition ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;  \frac{\partial\zeta_2}{\partial t} - \frac{\partial\Phi_2}{\partial z} = \zeta_1 \frac{\partial^2 \Phi_1}{\partial z^2} - \nabla\Phi_1 \cdot \nabla\zeta_1; \quad z=0 &amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Dynamic second-order condition ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; \zeta_2 + \frac{1}{g} \frac{\partial\Phi_2}{\partial t} = - \frac{1}{g} \left( \frac{1}{2} \nabla\Phi_1 \cdot \nabla\Phi_1 + \zeta_1 \frac{\partial^2\Phi_1}{\partial z \partial t} \right)_{z=0} &amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where the second order pressure is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; P_2 = -\rho \left( \frac{\partial\Phi_2}{\partial t} + \frac{1}{2} \nabla\Phi_1 \cdot \nabla\Phi_1 \right); \quad \mbox{at} \ \mathbf{x} &amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The very attractive feature of second order surface wave theory is that it allows the prior solution of the linear problem which is often possible analytically and numerically.&lt;br /&gt;
The linear solution is then used as a forcing function for the solution of the second order problem. This is often possible analytically and in most cases numerically in the absence or presence of bodies.&lt;br /&gt;
Linear and second-order theories are also very appropriate to use for the modeling of surface waves as stochastic processes.&lt;br /&gt;
Both theories are very useful in practice, particularly in connection with wave-body interactions.&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/0B7683D3-9B31-453E-B98F-9F71A3C36C58/0/lecture2.pdf here]&lt;br /&gt;
&lt;br /&gt;
[[Ocean Wave Interaction with Ships and Offshore Energy Systems]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Linear Water-Wave Theory]]&lt;br /&gt;
[[Category:Nonlinear Water-Wave Theory]]&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Conservation_Laws_and_Boundary_Conditions&amp;diff=12989</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=12989"/>
		<updated>2010-11-06T11:06:17Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: /* Gauss theorem */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Ocean Wave Interaction with Ships and Offshore Structures&lt;br /&gt;
 | chapter title = Conservation Laws and Boundary Conditions&lt;br /&gt;
 | next chapter = [[Linear and Second-Order Wave Theory]]&lt;br /&gt;
 | previous chapter = &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{complete pages}}&lt;br /&gt;
&lt;br /&gt;
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 [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;
== Coordinate system and velocity potential ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Coordinate_system.png|right|thumb|500px|Coordinate 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{Coordinate system} \\&lt;br /&gt;
&amp;amp;\mathbf{x}        &amp;amp;: &amp;amp;\mbox{Fixed Eulerian Vector} \\&lt;br /&gt;
&amp;amp; \mathbf{v}        &amp;amp;: &amp;amp;\mbox{Flow Velocity Vector at} \  \mathbf{x} \\&lt;br /&gt;
&amp;amp;\zeta          &amp;amp;: &amp;amp;\mbox{Free Surface Elevation} \\&lt;br /&gt;
&amp;amp;\mathbf{g}         &amp;amp;: &amp;amp;\mbox{Acceleration due to gravity}&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], i.e. 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 \mathbf{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 throughout 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 \mathbf{v} = 0&amp;lt;/math&amp;gt; then we can express the irrotational vector as the gradient of a scalar function, i.e. &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\mathbf{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(\mathbf{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 than 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 \mathbf{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; &lt;br /&gt;
\nabla \cdot \nabla \Phi = 0 \Rightarrow \nabla^2 \Phi = 0 &lt;br /&gt;
&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; &lt;br /&gt;
\partial_x^2 \Phi + \partial_y^2\Phi + \partial_z^2\Phi = 0, &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which is [http://en.wikipedia.org/wiki/Laplaces_equation Laplace&#039;s equation].&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_%28fluid_dynamics%29 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;
\partial_t \mathbf{v} + (\mathbf{v}\cdot \nabla)\mathbf{v}= - \frac1{\rho} \nabla P + \mathbf{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(\mathbf{x}, t) &amp;lt;/math&amp;gt; is the fluid Pressure at &amp;lt;math&amp;gt;(\mathbf{x}, t)&amp;lt;/math&amp;gt; and &lt;br /&gt;
&amp;lt;math&amp;gt; \mathbf{g}= - \mathbf{k} g &amp;lt;/math&amp;gt; is the acceleration due to gravity where &lt;br /&gt;
&amp;lt;math&amp;gt; \mathbf{k} &amp;lt;/math&amp;gt; is the unit vector pointing in the positive &amp;lt;math&amp;gt;z&amp;lt;/math&amp;gt;-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 following vector identity&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; (\mathbf{v} \cdot \nabla) \mathbf{v} = \frac 1{2} \nabla (\mathbf{v} \cdot \mathbf{v}) - \mathbf{v}\times ( \nabla \times \mathbf{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 \mathbf{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; \partial_t \mathbf{v} + \frac{1}{2} \nabla (\mathbf{v} \cdot \mathbf{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 = \mathbf{k} &amp;lt;/math&amp;gt;. &lt;br /&gt;
We now substitute &amp;lt;math&amp;gt; \mathbf{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 (\partial_t \Phi + \frac{1}{2} \nabla \Phi \cdot \nabla \Phi + \frac {P}{\rho} + 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( \mathbf{x}, t) =0 \quad \Longrightarrow \quad F (\mathbf{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 from the equation above.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \partial_t \Phi + \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} = - \partial_t\Phi-\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 (it can be thought of as defining the reference pressure. &lt;br /&gt;
It is also worth noting that the &lt;br /&gt;
angular momentum conservation principle is contained in&lt;br /&gt;
&amp;lt;math&amp;gt; \nabla \times \mathbf{v} = 0. &amp;lt;/math&amp;gt;&lt;br /&gt;
In particular, 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;
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 &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,t)&amp;lt;/math&amp;gt; at the free surface. The dynamic condition is derived from the Bernoulli&#039;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. &lt;br /&gt;
&lt;br /&gt;
=== Method I ===&lt;br /&gt;
&lt;br /&gt;
We derive the dynamic condition directly from Bernoulli&#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+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 (\partial_t + \mathbf{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 (\partial_t + \mathbf{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; \partial_t\zeta + \partial_x\Phi \partial_x\zeta + \partial_y\Phi \partial_y\zeta = \partial_z\Phi, \qquad \mbox{on} \ 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; \partial_t\Phi + \frac{1}{2} \nabla \Phi \cdot \nabla \Phi + g \zeta = C - \frac{P_a}{\rho}, \qquad \mbox{on} \ 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;
[[Image:Force_coordinates2.png|right|thumb|500px|Force coordinates]]&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; \mathbf{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; with surface &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt; f(\mathbf{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_{\Omega} \nabla f \mathrm{d}v = -\iint_{\partial\Omega} f_{s} \mathbf{n} \mathrm{d}s &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; &lt;br /&gt;
\begin{align}&lt;br /&gt;
\iiint_{{\Omega}} \partial_x f \mathrm{d}v &amp;amp;= - \iint_{\partial\Omega} f n_1 \mathrm{d}s \\&lt;br /&gt;
 \iiint_{{\Omega}} \partial_y f \mathrm{d}v &amp;amp;= - \iint_{\partial\Omega} f n_2 \mathrm{d}s \\&lt;br /&gt;
 \iiint_{{\Omega}} \partial_z f \mathrm{d}v &amp;amp;= - \iint_{\partial\Omega} f n_3 \mathrm{d}s .&lt;br /&gt;
\end{align}&lt;br /&gt;
&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; \mathbf{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_{\Omega} \nabla \cdot \mathbf{v} = - \iint_{\partial\Omega} \mathbf{v} \cdot \mathbf{n} \mathrm{d}s &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The scalar identity is often 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;
The force &amp;lt;math&amp;gt;\mathbf{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;
\mathbf{F} = \iint_{\partial\Omega} P\mathbf{n}\mathrm{d}s&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;\mathbf{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;
\mathbf{M} = \iint_{\partial\Omega} P(\mathbf{x}\times\mathbf{n})\mathrm{d}s&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; P = 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 \{ \partial_t\Phi + \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 \{ \partial_t\Phi + \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 ( \partial_t + \mathbf{v} \cdot \nabla \right ) \left ( \partial_t\Phi + \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;
[[Category:Linear Water-Wave Theory]]&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Template:Frequency_domain_equations_for_a_floating_plate&amp;diff=12987</id>
		<title>Template:Frequency domain equations for a floating plate</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Template:Frequency_domain_equations_for_a_floating_plate&amp;diff=12987"/>
		<updated>2010-11-06T11:03:02Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;If we make the assumption of [[Frequency Domain Problem]] that everything is proportional to&lt;br /&gt;
&amp;lt;math&amp;gt;\exp (-\mathrm{i}\omega t)\,&amp;lt;/math&amp;gt; the equations become&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\begin{align}&lt;br /&gt;
-\mathrm{i}\omega\zeta &amp;amp;= \partial_z\phi  , &amp;amp;z=0  \\&lt;br /&gt;
\rho g\zeta  - \mathrm{i}\omega\rho \phi &amp;amp;= D \partial_x^4 \eta -\omega^2 \rho_i h \zeta, &amp;amp;z=0 \\&lt;br /&gt;
\Delta \phi &amp;amp;= 0, &amp;amp;-h&amp;lt;z&amp;lt;0 \\&lt;br /&gt;
\partial_z \phi &amp;amp;= 0, &amp;amp;z=-h, &lt;br /&gt;
\end{align}&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;\zeta&amp;lt;/math&amp;gt; is the surface displacement and &amp;lt;math&amp;gt;\phi&amp;lt;/math&amp;gt; is the velocity potential in the frequency domain.&lt;br /&gt;
&lt;br /&gt;
These equations can be simplified by defining &amp;lt;math&amp;gt;\alpha = \omega^2/g&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;\beta = D/\rho g&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\gamma = \rho_i h/\rho&amp;lt;/math&amp;gt; to obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
\Delta \phi &amp;amp;= 0, &amp;amp;-h &amp;lt; z \leq 0 \\&lt;br /&gt;
\partial_z \phi &amp;amp;= 0, &amp;amp;z = - h \\&lt;br /&gt;
\beta \partial_x^4 \zeta + \left( 1 - \gamma\alpha \right) \zeta &amp;amp;= -\mathrm{i} \sqrt{\alpha}\phi, &amp;amp;z = 0 \\&lt;br /&gt;
-\mathrm{i}\omega\zeta &amp;amp;= \partial_z\phi  , &amp;amp;z=0 .  &lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Template:Incident_plane_wave_2d_definition&amp;diff=12985</id>
		<title>Template:Incident plane wave 2d definition</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Template:Incident_plane_wave_2d_definition&amp;diff=12985"/>
		<updated>2010-11-06T10:53:50Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;math&amp;gt;\phi^{\mathrm{I}}\,&amp;lt;/math&amp;gt;  &lt;br /&gt;
is a plane wave travelling in the &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; direction,&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\phi^{\mathrm{I}}(x,z)=A  \phi_0(z) e^{\mathrm{i} k x} \,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;A &amp;lt;/math&amp;gt; is the wave amplitude (in potential) &amp;lt;math&amp;gt;\mathrm{i} k &amp;lt;/math&amp;gt; is &lt;br /&gt;
the positive imaginary solution of the [[Dispersion Relation for a Free Surface]]&lt;br /&gt;
(note we are assuming that the time dependence is of the form &amp;lt;math&amp;gt;\exp(-\mathrm{i}\omega t) &amp;lt;/math&amp;gt;)&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
 \phi_0(z) =\frac{\cosh k(z+h)}{\cosh k h}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Template:General_body_boundary_condition&amp;diff=12983</id>
		<title>Template:General body boundary condition</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Template:General_body_boundary_condition&amp;diff=12983"/>
		<updated>2010-11-06T10:52:33Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_n\phi  = \mathcal{L}\phi, \quad \mathbf{x}\in\partial\Omega_B,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\mathcal{L}&amp;lt;/math&amp;gt; is a linear&lt;br /&gt;
operator which relates the normal and potential on the body surface through the physics&lt;br /&gt;
of the body.&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Template:Standard_linear_wave_scattering_equations_without_body_condition&amp;diff=12981</id>
		<title>Template:Standard linear wave scattering equations without body condition</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Template:Standard_linear_wave_scattering_equations_without_body_condition&amp;diff=12981"/>
		<updated>2010-11-06T10:40:05Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
\Delta\phi &amp;amp;=0, &amp;amp;-h&amp;lt;z&amp;lt;0,\,\,\mathbf{x} \in \Omega \\&lt;br /&gt;
\partial_z\phi &amp;amp;= 0, &amp;amp;z=-h, \\&lt;br /&gt;
 \partial_z \phi  &amp;amp;= \alpha \phi, &amp;amp;z=0,\,\,\mathbf{x} \in \partial \Omega_{\mathrm{F}},&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(note that the last expression can be obtained from combining the expressions:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
 \partial_z \phi  &amp;amp;= -\mathrm{i} \omega \zeta, &amp;amp;z=0,\,\,\mathbf{x} \in \partial \Omega_{\mathrm{F}}, \\&lt;br /&gt;
\mathrm{i} \omega \phi  &amp;amp;= g\zeta, &amp;amp;z=0,\,\,\mathbf{x} \in \partial \Omega_{\mathrm{F}},&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\alpha = \omega^2/g \,&amp;lt;/math&amp;gt;)&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Burgers_Equation&amp;diff=12979</id>
		<title>Burgers Equation</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Burgers_Equation&amp;diff=12979"/>
		<updated>2010-11-06T10:23:40Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: /* Exact Solution of Burgers equations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Burgers Equation&lt;br /&gt;
 | next chapter = &lt;br /&gt;
 | previous chapter = [[Reaction-Diffusion Systems]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
We have already met the conservation law for the traffic equations&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\rho +c\left( \rho \right) \partial _{x}\rho =0 &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and seen how this leads to shocks. We can smooth this equation by adding&lt;br /&gt;
dispersion to the equation to give us &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\rho +c\left( \rho \right) \partial _{x}\rho =\nu \partial&lt;br /&gt;
_{x}^{2}\rho &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\nu &amp;gt;0.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The simplest equation of this type is to write &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+u\partial _{x}u=\nu \partial _{x}^{2}u &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
(changing variables to &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and this equation is known as Burgers equation.&lt;br /&gt;
&lt;br /&gt;
==Travelling Wave Solution==&lt;br /&gt;
&lt;br /&gt;
We can find a travelling wave solution by assuming that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left( x,t\right) =u\left( x-ct\right) =u\left( \xi \right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This leads to the equations &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-vu^{\prime }+u^{\prime }u-\nu u^{\prime \prime }=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We begin by looking at the phase plane for this system, writing &amp;lt;math&amp;gt;w=u^{\prime&lt;br /&gt;
}&amp;lt;/math&amp;gt; so that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\dfrac{\mathrm{d}u}{\mathrm{d}\xi } &amp;amp;=&amp;amp;w \\&lt;br /&gt;
\dfrac{\mathrm{d}w}{\mathrm{d}\xi } &amp;amp;=&amp;amp;\frac{1}{\nu }\left( w\left( u-c\right) \right) &lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This is a degenerate system with the entire &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; axis being equilibria.&lt;br /&gt;
&lt;br /&gt;
We can also solve this equation exactly as follows.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-cu^{\prime }+u^{\prime }u-\nu u^{\prime \prime }=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
can be integrated to give &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-cu+\frac{1}{2}\left( u\right) ^{2}-\nu u^{\prime }=c_{1}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which can be rearranged to give &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u^{\prime }=\frac{1}{2\nu }\left( \left( u\right) ^{2}-2cu^{\prime&lt;br /&gt;
}-2c_{1}\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We define the two roots of the quadratic &amp;lt;math&amp;gt;\left( u\right) ^{2}-2\nu&lt;br /&gt;
u^{\prime }-2c_{1}=0&amp;lt;/math&amp;gt; by &amp;lt;math&amp;gt;u_{1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;u_{2}&amp;lt;/math&amp;gt; &lt;br /&gt;
and we assume that &amp;lt;math&amp;gt;u_{2} &amp;lt; u_{1}&amp;lt;/math&amp;gt;. Note that there is only a bounded&lt;br /&gt;
solution if we have two real roots and for the bounded solution &lt;br /&gt;
&amp;lt;math&amp;gt;u_{2} &amp;lt; u &amp;lt;  u_{1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
We note that the wave speed&lt;br /&gt;
is &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
v=\frac{1}{2}\left( u_{1}+u_{2}\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The equation can therefore be written as &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
2\nu u^{\prime }=\left( u-u_{1}\right) \left( u-u_{2}\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which has solution &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left( \xi \right) =\frac{1}{2}\left( u_{1}+u_{2}\right) -\frac{1}{2}\left(&lt;br /&gt;
u_{1}-u_{2}\right) \tanh \left[ \left( \frac{\xi }{4\nu }\right) \left(&lt;br /&gt;
u_{1}-u_{2}\right) \right] &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Numerical Solution of Burgers equation==&lt;br /&gt;
&lt;br /&gt;
We can solve the equation using our split step spectral method. The equation&lt;br /&gt;
can be written as &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u=-\frac{1}{2}\partial _{x}\left( u^{2}\right) +\nu \partial&lt;br /&gt;
_{x}^{2}u &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We solve this by solving in Fourier space to give &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\hat{u}=-\frac{1}{2}ik\left( u^{2}\right) -\nu k^{2}\hat{u} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Then we solve each of the steps in turn to get &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u=\partial _{x}\left( u^{2}\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
for a small time interval to give &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\tilde{u}\left( k,t+\Delta t\right) &amp;amp;=&amp;amp;\hat{u}\left( k,t\right) -\frac{&lt;br /&gt;
\Delta t}{2}ik\mathcal{F}\left( \left[ \mathcal{F}^{-1}\hat{u}\left(&lt;br /&gt;
k,t\right) \right] ^{2}\right) \\&lt;br /&gt;
\hat{u}\left( k,t+\Delta t\right) &amp;amp;=&amp;amp;\tilde{u}\left( k,t+\Delta t\right)&lt;br /&gt;
\exp \left( -\nu k^{2}\Delta t\right)&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Phase plane for a travelling wave solution&lt;br /&gt;
! Numerical solution of Burgers equation&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Burgers_phase.jpg|thumb|right|500px|Phase plane for a travelling wave solution of Burgers equation]]&lt;br /&gt;
| [[Image:File-Burgers2.gif|thumb|right|500px| Numerical solution of Burgers equation]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Exact Solution of Burgers equations==&lt;br /&gt;
&lt;br /&gt;
We can find an exact solution to Burgers equation. We want to solve &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\partial _{t}u+u\partial _{x}u &amp;amp;=&amp;amp;\nu \partial _{x}^{2}u \\&lt;br /&gt;
u\left( x,0\right) &amp;amp;=&amp;amp;F\left( x\right)&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Frist we write the equation as &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+\partial _{x}\left( \frac{u^{2}}{2}-\nu \partial _{x}u\right)&lt;br /&gt;
=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We want to find a function &amp;lt;math&amp;gt;\psi \left( x,t\right) &amp;lt;/math&amp;gt; such that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{x}\psi =u,\ \ \partial _{t}\psi =\nu \partial _{x}u-\frac{u^{2}}{2&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that because &amp;lt;math&amp;gt;\partial _{x}\partial _{t}\psi =\partial _{t}\partial&lt;br /&gt;
_{x}\psi &amp;lt;/math&amp;gt; we will satisfy Burgers equation. This gives us the following&lt;br /&gt;
equation for &amp;lt;math&amp;gt;\psi &amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\psi =\nu \partial _{x}^{2}\psi -\frac{1}{2}\left( \partial&lt;br /&gt;
_{x}\psi \right) ^{2} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We introduce the &#039;&#039;Cole-Hopf &#039;&#039; transformation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\psi =-2\nu \log \left( \phi \right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
From this we can obtain the three results:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
\partial _{x}\psi &amp;amp;=-2\nu \frac{\partial _{x}\phi }{\phi } \\&lt;br /&gt;
\partial _{x}^{2}\psi &amp;amp;=2\nu \left( \frac{\partial _{x}\phi }{\phi }\right)&lt;br /&gt;
^{2}-\frac{2\nu }{\phi }\partial _{x}^{2}\phi \\&lt;br /&gt;
\partial _{t}\psi &amp;amp;=-2\nu \frac{\partial _{t}\phi }{\phi } &lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\psi =\nu \partial _{x}^{2}\psi -\frac{1}{2}\left( \partial&lt;br /&gt;
_{x}\psi \right) ^{2} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
becomes &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-2\nu \frac{\partial _{t}\phi }{\phi }=2\nu ^{2}\left( \frac{\partial&lt;br /&gt;
_{x}\phi }{\phi }\right) ^{2}+\frac{1}{2}\left( 2\nu \frac{\partial _{x}\phi &lt;br /&gt;
}{\phi }\right) ^{2} &lt;br /&gt;
&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;&lt;br /&gt;
\partial _{t}\phi =\nu \partial _{x}^{2}\phi &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which is just the diffusion equation. Note that we also have to transform the&lt;br /&gt;
boundary conditions. We have &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
F\left( x\right) =u\left( x,0\right) =-2\nu \frac{\partial _{x}\phi \left(&lt;br /&gt;
x,0\right) }{\phi \left( x,0\right) } &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We can write this as &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}}{\mathrm{d}x}\left( \log \left( \phi \right) \right) =-\frac{1}{2\nu }F\left(&lt;br /&gt;
x\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which has solution &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\phi \left( x,0\right) =\Phi \left( x\right) =\exp \left( -\frac{1}{2\nu }&lt;br /&gt;
\int_{0}^{x}F\left( s\right) \mathrm{d}s\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We need to solve &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\partial _{t}\phi &amp;amp;=&amp;amp;\nu \partial _{x}^{2}\phi \\&lt;br /&gt;
\phi \left( x,0\right) &amp;amp;=&amp;amp;\Phi \left( x\right)&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We take the Fourier transform and obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\partial _{t}\hat{\phi} &amp;amp;=&amp;amp;-k^{2}\nu \hat{\phi} \\&lt;br /&gt;
\hat{\phi}\left( k,0\right) &amp;amp;=&amp;amp;\hat{\Phi}\left( k\right)&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which has solution &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\hat{\phi}\left( k,t\right) =\hat{\Phi}\left( k\right) e^{-k^{2}\nu t} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We can then use the convolution theorem to write &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\phi \left( x,t\right) &amp;amp;=&amp;amp;\Phi \left( x\right) * \mathcal{F}^{-1}\left[&lt;br /&gt;
e^{-k^{2}\nu t}\right] \\&lt;br /&gt;
&amp;amp;=&amp;amp;\frac{1}{2\sqrt{\pi \nu t}}\int_{-\infty }^{\infty }\Phi \left( y\right)&lt;br /&gt;
\exp \left[ -\frac{\left( x-y\right) ^{2}}{4\nu t}\right] \mathrm{d}y&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Which can be expressed as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\phi \left( x,t\right) =\frac{1}{2\sqrt{\pi \nu t}}\int_{-\infty }^{\infty&lt;br /&gt;
}\exp \left[ -\frac{f}{2\nu }\right] \mathrm{d}y &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
f\left( x,y,t\right) =\frac{1}{2\nu }\int_{0}^{y}F\left( s\right) \mathrm{d}s+\frac{&lt;br /&gt;
\left( x-y\right) ^{2}}{2t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
To find &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; we recall that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
u\left( x,t\right) &amp;amp;=&amp;amp;-2\nu \dfrac{\partial _{x}\phi \left( x,t\right) }{\phi&lt;br /&gt;
\left( x,t\right) } \\&lt;br /&gt;
&amp;amp;=&amp;amp;\dfrac{\int_{-\infty }^{\infty }\left( \frac{x-y}{t}\right) \exp \left[ -&lt;br /&gt;
\dfrac{f}{2\nu }\right] \mathrm{d}y}{\int_{-\infty }^{\infty }\exp \left[ -\frac{f}{&lt;br /&gt;
2\nu }\right] \mathrm{d}y}&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Burgers_Equation&amp;diff=12977</id>
		<title>Burgers Equation</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Burgers_Equation&amp;diff=12977"/>
		<updated>2010-11-06T10:22:33Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: /* Exact Solution of Burgers equations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Burgers Equation&lt;br /&gt;
 | next chapter = &lt;br /&gt;
 | previous chapter = [[Reaction-Diffusion Systems]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
We have already met the conservation law for the traffic equations&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\rho +c\left( \rho \right) \partial _{x}\rho =0 &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and seen how this leads to shocks. We can smooth this equation by adding&lt;br /&gt;
dispersion to the equation to give us &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\rho +c\left( \rho \right) \partial _{x}\rho =\nu \partial&lt;br /&gt;
_{x}^{2}\rho &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\nu &amp;gt;0.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The simplest equation of this type is to write &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+u\partial _{x}u=\nu \partial _{x}^{2}u &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
(changing variables to &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and this equation is known as Burgers equation.&lt;br /&gt;
&lt;br /&gt;
==Travelling Wave Solution==&lt;br /&gt;
&lt;br /&gt;
We can find a travelling wave solution by assuming that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left( x,t\right) =u\left( x-ct\right) =u\left( \xi \right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This leads to the equations &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-vu^{\prime }+u^{\prime }u-\nu u^{\prime \prime }=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We begin by looking at the phase plane for this system, writing &amp;lt;math&amp;gt;w=u^{\prime&lt;br /&gt;
}&amp;lt;/math&amp;gt; so that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\dfrac{\mathrm{d}u}{\mathrm{d}\xi } &amp;amp;=&amp;amp;w \\&lt;br /&gt;
\dfrac{\mathrm{d}w}{\mathrm{d}\xi } &amp;amp;=&amp;amp;\frac{1}{\nu }\left( w\left( u-c\right) \right) &lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This is a degenerate system with the entire &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; axis being equilibria.&lt;br /&gt;
&lt;br /&gt;
We can also solve this equation exactly as follows.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-cu^{\prime }+u^{\prime }u-\nu u^{\prime \prime }=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
can be integrated to give &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-cu+\frac{1}{2}\left( u\right) ^{2}-\nu u^{\prime }=c_{1}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which can be rearranged to give &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u^{\prime }=\frac{1}{2\nu }\left( \left( u\right) ^{2}-2cu^{\prime&lt;br /&gt;
}-2c_{1}\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We define the two roots of the quadratic &amp;lt;math&amp;gt;\left( u\right) ^{2}-2\nu&lt;br /&gt;
u^{\prime }-2c_{1}=0&amp;lt;/math&amp;gt; by &amp;lt;math&amp;gt;u_{1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;u_{2}&amp;lt;/math&amp;gt; &lt;br /&gt;
and we assume that &amp;lt;math&amp;gt;u_{2} &amp;lt; u_{1}&amp;lt;/math&amp;gt;. Note that there is only a bounded&lt;br /&gt;
solution if we have two real roots and for the bounded solution &lt;br /&gt;
&amp;lt;math&amp;gt;u_{2} &amp;lt; u &amp;lt;  u_{1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
We note that the wave speed&lt;br /&gt;
is &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
v=\frac{1}{2}\left( u_{1}+u_{2}\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The equation can therefore be written as &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
2\nu u^{\prime }=\left( u-u_{1}\right) \left( u-u_{2}\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which has solution &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left( \xi \right) =\frac{1}{2}\left( u_{1}+u_{2}\right) -\frac{1}{2}\left(&lt;br /&gt;
u_{1}-u_{2}\right) \tanh \left[ \left( \frac{\xi }{4\nu }\right) \left(&lt;br /&gt;
u_{1}-u_{2}\right) \right] &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Numerical Solution of Burgers equation==&lt;br /&gt;
&lt;br /&gt;
We can solve the equation using our split step spectral method. The equation&lt;br /&gt;
can be written as &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u=-\frac{1}{2}\partial _{x}\left( u^{2}\right) +\nu \partial&lt;br /&gt;
_{x}^{2}u &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We solve this by solving in Fourier space to give &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\hat{u}=-\frac{1}{2}ik\left( u^{2}\right) -\nu k^{2}\hat{u} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Then we solve each of the steps in turn to get &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u=\partial _{x}\left( u^{2}\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
for a small time interval to give &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\tilde{u}\left( k,t+\Delta t\right) &amp;amp;=&amp;amp;\hat{u}\left( k,t\right) -\frac{&lt;br /&gt;
\Delta t}{2}ik\mathcal{F}\left( \left[ \mathcal{F}^{-1}\hat{u}\left(&lt;br /&gt;
k,t\right) \right] ^{2}\right) \\&lt;br /&gt;
\hat{u}\left( k,t+\Delta t\right) &amp;amp;=&amp;amp;\tilde{u}\left( k,t+\Delta t\right)&lt;br /&gt;
\exp \left( -\nu k^{2}\Delta t\right)&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Phase plane for a travelling wave solution&lt;br /&gt;
! Numerical solution of Burgers equation&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Burgers_phase.jpg|thumb|right|500px|Phase plane for a travelling wave solution of Burgers equation]]&lt;br /&gt;
| [[Image:File-Burgers2.gif|thumb|right|500px| Numerical solution of Burgers equation]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Exact Solution of Burgers equations==&lt;br /&gt;
&lt;br /&gt;
We can find an exact solution to Burgers equation. We want to solve &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\partial _{t}u+u\partial _{x}u &amp;amp;=&amp;amp;\nu \partial _{x}^{2}u \\&lt;br /&gt;
u\left( x,0\right) &amp;amp;=&amp;amp;F\left( x\right)&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Frist we write the equation as &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+\partial _{x}\left( \frac{u^{2}}{2}-\nu \partial _{x}u\right)&lt;br /&gt;
=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We want to find a function &amp;lt;math&amp;gt;\psi \left( x,t\right) &amp;lt;/math&amp;gt; such that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{x}\psi =u,\ \ \partial _{t}\psi =\nu \partial _{x}u-\frac{u^{2}}{2&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that because &amp;lt;math&amp;gt;\partial _{x}\partial _{t}\psi =\partial _{t}\partial&lt;br /&gt;
_{x}\psi &amp;lt;/math&amp;gt; we will satisfy Burgers equation. This gives us the following&lt;br /&gt;
equation for &amp;lt;math&amp;gt;\psi &amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\psi =\nu \partial _{x}^{2}\psi -\frac{1}{2}\left( \partial&lt;br /&gt;
_{x}\psi \right) ^{2} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We introduce the &#039;&#039;Cole-Hopf &#039;&#039; transformation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\psi =-2\nu \log \left( \phi \right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
From this we can obtain the three results:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
\partial _{x}\psi &amp;amp;=-2\nu \frac{\partial _{x}\phi }{\phi } \\&lt;br /&gt;
\partial _{x}^{2}\psi &amp;amp;=2\nu \left( \frac{\partial _{x}\phi }{\phi }\right)&lt;br /&gt;
^{2}-\frac{2\nu }{\phi }\partial _{x}^{2}\phi \\&lt;br /&gt;
\partial _{t}\psi &amp;amp;=-2\nu \frac{\partial _{t}\phi }{\phi } &lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\psi =\nu \partial _{x}^{2}\psi -\frac{1}{2}\left( \partial&lt;br /&gt;
_{x}\psi \right) ^{2} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
becomes &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-2\nu \frac{\partial _{t}\phi }{\phi }=2\nu ^{2}\left( \frac{\partial&lt;br /&gt;
_{x}\phi }{\phi }\right) ^{2}+\frac{1}{2}\left( 2\nu \frac{\partial _{x}\phi &lt;br /&gt;
}{\phi }\right) ^{2} &lt;br /&gt;
&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;&lt;br /&gt;
\partial _{t}\phi =\nu \partial _{x}^{2}\phi &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which is just the diffusion equation. Note that we also have to transform the&lt;br /&gt;
boundary conditions. We have &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
F\left( x\right) =u\left( x,0\right) =-2\nu \frac{\partial _{x}\phi \left(&lt;br /&gt;
x,0\right) }{\phi \left( x,0\right) } &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We can write this as &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}}{\mathrm{d}x}\left( \log \left( \phi \right) \right) =-\frac{1}{2\nu }F\left(&lt;br /&gt;
x\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which has solution &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\phi \left( x,0\right) =\Phi \left( x\right) =\exp \left( -\frac{1}{2\nu }&lt;br /&gt;
\int_{0}^{x}F\left( s\right) \mathrm{d}s\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We need to solve &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\partial _{t}\phi &amp;amp;=&amp;amp;\nu \partial _{x}^{2}\phi \\&lt;br /&gt;
\phi \left( x,0\right) &amp;amp;=&amp;amp;\Phi \left( x\right)&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We take the Fourier transform and obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\partial _{t}\hat{\phi} &amp;amp;=&amp;amp;-k^{2}\nu \hat{\phi} \\&lt;br /&gt;
\hat{\phi}\left( k,0\right) &amp;amp;=&amp;amp;\hat{\Phi}\left( k\right)&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which has solution &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\hat{\phi}\left( k,t\right) =\hat{\Phi}\left( k\right) e^{-k^{2}\nu t} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We can then use the convolution theorem to write &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\phi \left( x,t\right) &amp;amp;=&amp;amp;\Phi \left( x\right) * \mathcal{F}^{-1}\left[&lt;br /&gt;
e^{-k^{2}\nu t}\right] \\&lt;br /&gt;
&amp;amp;=&amp;amp;\frac{1}{2\sqrt{\pi \nu t}}\int_{-\infty }^{\infty }\Phi \left( y\right)&lt;br /&gt;
\exp \left[ -\frac{\left( x-y\right) ^{2}}{4\nu t}\right] \mathrm{d}y&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Which can be expressed as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\phi \left( x,t\right) =\frac{1}{2\sqrt{\pi \nu t}}\int_{-\infty }^{\infty&lt;br /&gt;
}\exp \left[ -\frac{f}{2\nu }\right] \mathrm{d}y &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
f\left( x,y,t\right) =\frac{1}{2\nu }\int_{0}^{y}F\left( s\right) \mathrm{d}s+\frac{&lt;br /&gt;
\left( x-y\right) ^{2}}{2t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
To find &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; we recall that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
u\left( x,t\right) &amp;amp;=&amp;amp;-2\nu \frac{\partial _{x}\phi \left( x,t\right) }{\phi&lt;br /&gt;
\left( x,t\right) } \\&lt;br /&gt;
&amp;amp;=&amp;amp;\frac{\int_{-\infty }^{\infty }\left( \frac{x-y}{t}\right) \exp \left[ -&lt;br /&gt;
\frac{f}{2\nu }\right] \mathrm{d}y}{\int_{-\infty }^{\infty }\exp \left[ -\frac{f}{&lt;br /&gt;
2\nu }\right] \mathrm{d}y}&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Burgers_Equation&amp;diff=12975</id>
		<title>Burgers Equation</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Burgers_Equation&amp;diff=12975"/>
		<updated>2010-11-06T10:21:18Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: /* Travelling Wave Solution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Burgers Equation&lt;br /&gt;
 | next chapter = &lt;br /&gt;
 | previous chapter = [[Reaction-Diffusion Systems]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
We have already met the conservation law for the traffic equations&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\rho +c\left( \rho \right) \partial _{x}\rho =0 &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and seen how this leads to shocks. We can smooth this equation by adding&lt;br /&gt;
dispersion to the equation to give us &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\rho +c\left( \rho \right) \partial _{x}\rho =\nu \partial&lt;br /&gt;
_{x}^{2}\rho &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\nu &amp;gt;0.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The simplest equation of this type is to write &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+u\partial _{x}u=\nu \partial _{x}^{2}u &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
(changing variables to &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and this equation is known as Burgers equation.&lt;br /&gt;
&lt;br /&gt;
==Travelling Wave Solution==&lt;br /&gt;
&lt;br /&gt;
We can find a travelling wave solution by assuming that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left( x,t\right) =u\left( x-ct\right) =u\left( \xi \right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This leads to the equations &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-vu^{\prime }+u^{\prime }u-\nu u^{\prime \prime }=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We begin by looking at the phase plane for this system, writing &amp;lt;math&amp;gt;w=u^{\prime&lt;br /&gt;
}&amp;lt;/math&amp;gt; so that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\dfrac{\mathrm{d}u}{\mathrm{d}\xi } &amp;amp;=&amp;amp;w \\&lt;br /&gt;
\dfrac{\mathrm{d}w}{\mathrm{d}\xi } &amp;amp;=&amp;amp;\frac{1}{\nu }\left( w\left( u-c\right) \right) &lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This is a degenerate system with the entire &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; axis being equilibria.&lt;br /&gt;
&lt;br /&gt;
We can also solve this equation exactly as follows.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-cu^{\prime }+u^{\prime }u-\nu u^{\prime \prime }=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
can be integrated to give &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-cu+\frac{1}{2}\left( u\right) ^{2}-\nu u^{\prime }=c_{1}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which can be rearranged to give &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u^{\prime }=\frac{1}{2\nu }\left( \left( u\right) ^{2}-2cu^{\prime&lt;br /&gt;
}-2c_{1}\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We define the two roots of the quadratic &amp;lt;math&amp;gt;\left( u\right) ^{2}-2\nu&lt;br /&gt;
u^{\prime }-2c_{1}=0&amp;lt;/math&amp;gt; by &amp;lt;math&amp;gt;u_{1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;u_{2}&amp;lt;/math&amp;gt; &lt;br /&gt;
and we assume that &amp;lt;math&amp;gt;u_{2} &amp;lt; u_{1}&amp;lt;/math&amp;gt;. Note that there is only a bounded&lt;br /&gt;
solution if we have two real roots and for the bounded solution &lt;br /&gt;
&amp;lt;math&amp;gt;u_{2} &amp;lt; u &amp;lt;  u_{1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
We note that the wave speed&lt;br /&gt;
is &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
v=\frac{1}{2}\left( u_{1}+u_{2}\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The equation can therefore be written as &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
2\nu u^{\prime }=\left( u-u_{1}\right) \left( u-u_{2}\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which has solution &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left( \xi \right) =\frac{1}{2}\left( u_{1}+u_{2}\right) -\frac{1}{2}\left(&lt;br /&gt;
u_{1}-u_{2}\right) \tanh \left[ \left( \frac{\xi }{4\nu }\right) \left(&lt;br /&gt;
u_{1}-u_{2}\right) \right] &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Numerical Solution of Burgers equation==&lt;br /&gt;
&lt;br /&gt;
We can solve the equation using our split step spectral method. The equation&lt;br /&gt;
can be written as &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u=-\frac{1}{2}\partial _{x}\left( u^{2}\right) +\nu \partial&lt;br /&gt;
_{x}^{2}u &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We solve this by solving in Fourier space to give &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\hat{u}=-\frac{1}{2}ik\left( u^{2}\right) -\nu k^{2}\hat{u} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Then we solve each of the steps in turn to get &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u=\partial _{x}\left( u^{2}\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
for a small time interval to give &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\tilde{u}\left( k,t+\Delta t\right) &amp;amp;=&amp;amp;\hat{u}\left( k,t\right) -\frac{&lt;br /&gt;
\Delta t}{2}ik\mathcal{F}\left( \left[ \mathcal{F}^{-1}\hat{u}\left(&lt;br /&gt;
k,t\right) \right] ^{2}\right) \\&lt;br /&gt;
\hat{u}\left( k,t+\Delta t\right) &amp;amp;=&amp;amp;\tilde{u}\left( k,t+\Delta t\right)&lt;br /&gt;
\exp \left( -\nu k^{2}\Delta t\right)&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Phase plane for a travelling wave solution&lt;br /&gt;
! Numerical solution of Burgers equation&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Burgers_phase.jpg|thumb|right|500px|Phase plane for a travelling wave solution of Burgers equation]]&lt;br /&gt;
| [[Image:File-Burgers2.gif|thumb|right|500px| Numerical solution of Burgers equation]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Exact Solution of Burgers equations==&lt;br /&gt;
&lt;br /&gt;
We can find an exact solution to Burgers equation. We want to solve &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\partial _{t}u+u\partial _{x}u &amp;amp;=&amp;amp;\nu \partial _{x}^{2}u \\&lt;br /&gt;
u\left( x,0\right) &amp;amp;=&amp;amp;F\left( x\right)&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Frist we write the equation as &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+\partial _{x}\left( \frac{u^{2}}{2}-\nu \partial _{x}u\right)&lt;br /&gt;
=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We want to find a function &amp;lt;math&amp;gt;\psi \left( x,t\right) &amp;lt;/math&amp;gt; such that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{x}\psi =u,\ \ \partial _{t}\psi =\nu \partial _{x}u-\frac{u^{2}}{2&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that because &amp;lt;math&amp;gt;\partial _{x}\partial _{t}\psi =\partial _{t}\partial&lt;br /&gt;
_{x}\psi &amp;lt;/math&amp;gt; we will satisfy Burgers equation. This gives us the following&lt;br /&gt;
equation for &amp;lt;math&amp;gt;\psi &amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\psi =\nu \partial _{x}^{2}\psi -\frac{1}{2}\left( \partial&lt;br /&gt;
_{x}\psi \right) ^{2} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We introduce the &#039;&#039;Cole-Hopf &#039;&#039; transformation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\psi =-2\nu \log \left( \phi \right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
From this we can obtain the three results:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
\partial _{x}\psi &amp;amp;=-2\nu \frac{\partial _{x}\phi }{\phi } \\&lt;br /&gt;
\partial _{x}^{2}\psi &amp;amp;=2\nu \left( \frac{\partial _{x}\phi }{\phi }\right)&lt;br /&gt;
^{2}-\frac{2\nu }{\phi }\partial _{x}^{2}\phi \\&lt;br /&gt;
\partial _{t}\psi &amp;amp;=-2\nu \frac{\partial _{t}\phi }{\phi } &lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\psi =\nu \partial _{x}^{2}\psi -\frac{1}{2}\left( \partial&lt;br /&gt;
_{x}\psi \right) ^{2} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
becomes &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-2\nu \frac{\partial _{t}\phi }{\phi }=2\nu ^{2}\left( \frac{\partial&lt;br /&gt;
_{x}\phi }{\phi }\right) ^{2}+\frac{1}{2}\left( 2\nu \frac{\partial _{x}\phi &lt;br /&gt;
}{\phi }\right) ^{2} &lt;br /&gt;
&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;&lt;br /&gt;
\partial _{t}\phi =\nu \partial _{x}^{2}\phi &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which is just the diffusion equation. Note that we also have to transform the&lt;br /&gt;
boundary conditions. We have &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
F\left( x\right) =u\left( x,0\right) =-2\nu \frac{\partial _{x}\phi \left(&lt;br /&gt;
x,0\right) }{\phi \left( x,0\right) } &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We can write this as &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dx}\left( \log \left( \phi \right) \right) =-\frac{1}{2\nu }F\left(&lt;br /&gt;
x\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which has solution &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\phi \left( x,0\right) =\Phi \left( x\right) =\exp \left( -\frac{1}{2\nu }&lt;br /&gt;
\int_{0}^{x}F\left( s\right) ds\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We need to solve &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\partial _{t}\phi &amp;amp;=&amp;amp;\nu \partial _{x}^{2}\phi \\&lt;br /&gt;
\phi \left( x,0\right) &amp;amp;=&amp;amp;\Phi \left( x\right)&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We take the Fourier transform and obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\partial _{t}\hat{\phi} &amp;amp;=&amp;amp;-k^{2}\nu \hat{\phi} \\&lt;br /&gt;
\hat{\phi}\left( k,0\right) &amp;amp;=&amp;amp;\hat{\Phi}\left( k\right)&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which has solution &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\hat{\phi}\left( k,t\right) =\hat{\Phi}\left( k\right) e^{-k^{2}\nu t} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We can then use the convolution theorem to write &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\phi \left( x,t\right) &amp;amp;=&amp;amp;\Phi \left( x\right) * \mathcal{F}^{-1}\left[&lt;br /&gt;
e^{-k^{2}\nu t}\right] \\&lt;br /&gt;
&amp;amp;=&amp;amp;\frac{1}{2\sqrt{\pi \nu t}}\int_{-\infty }^{\infty }\Phi \left( y\right)&lt;br /&gt;
\exp \left[ -\frac{\left( x-y\right) ^{2}}{4\nu t}\right] dy&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Which can be expressed as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\phi \left( x,t\right) =\frac{1}{2\sqrt{\pi \nu t}}\int_{-\infty }^{\infty&lt;br /&gt;
}\exp \left[ -\frac{f}{2\nu }\right] dy &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
f\left( x,y,t\right) =\frac{1}{2\nu }\int_{0}^{y}F\left( s\right) ds+\frac{&lt;br /&gt;
\left( x-y\right) ^{2}}{2t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
To find &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; we recall that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
u\left( x,t\right) &amp;amp;=&amp;amp;-2\nu \frac{\partial _{x}\phi \left( x,t\right) }{\phi&lt;br /&gt;
\left( x,t\right) } \\&lt;br /&gt;
&amp;amp;=&amp;amp;\frac{\int_{-\infty }^{\infty }\left( \frac{x-y}{t}\right) \exp \left[ -&lt;br /&gt;
\frac{f}{2\nu }\right] dy}{\int_{-\infty }^{\infty }\exp \left[ -\frac{f}{&lt;br /&gt;
2\nu }\right] dy}&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Reaction-Diffusion_Systems&amp;diff=12973</id>
		<title>Reaction-Diffusion Systems</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Reaction-Diffusion_Systems&amp;diff=12973"/>
		<updated>2010-11-06T10:19:55Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: /* Diffusion */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Reaction-Diffusion Systems&lt;br /&gt;
 | next chapter = [[Burgers Equation]]&lt;br /&gt;
 | previous chapter = [[Example Calculations for the KdV and IST]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{complete pages}}&lt;br /&gt;
&lt;br /&gt;
We present here a brief theory of reaction diffusion waves.&lt;br /&gt;
&lt;br /&gt;
== Law of Mass Action ==&lt;br /&gt;
&lt;br /&gt;
The law of mass action states that equation rates are proportional to the concentration&lt;br /&gt;
of reacting species and the ratio in which they combined. It is discussed in detail in &lt;br /&gt;
[[Billingham and King 2000]]. We will present here a few simple examples.&lt;br /&gt;
&lt;br /&gt;
=== Example 1: Simple Decay ===&lt;br /&gt;
&lt;br /&gt;
Suppose we have of chemical &amp;lt;math&amp;gt;P&amp;lt;/math&amp;gt; which decays to &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt;, i.e.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;P \to A&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
with rate &amp;lt;math&amp;gt;k[P]&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;[P]&amp;lt;/math&amp;gt; denotes concentration.  Then if we&lt;br /&gt;
set &amp;lt;math&amp;gt;p=[P]&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;a = [A] &amp;lt;/math&amp;gt; we obtain the equations&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; \frac{\mathrm{d}p}{\mathrm{d}t} = -kp\,\,\,\textrm{and}\,\,\,  \frac{\mathrm{d}a}{\mathrm{d}t} = kp&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which has solution&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
p = p_0 e^{-kt}\,\,\,\textrm{and}\,\,\, a = a_0 + p_0(1-e^{-kt})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;a_0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;p_0&amp;lt;/math&amp;gt; are the values of &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; repectively at &amp;lt;math&amp;gt;t=0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Example 2: Quadratic Autocatalysis ===&lt;br /&gt;
&lt;br /&gt;
This example will be important when we consider reaction diffusion problems.&lt;br /&gt;
We consider the reaction &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;A + B \to 2B&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
with rate proportional to &amp;lt;math&amp;gt;k[A][B]&amp;lt;/math&amp;gt;.  If we define &amp;lt;math&amp;gt;a = [A]&amp;lt;/math&amp;gt;&lt;br /&gt;
and &amp;lt;math&amp;gt;b = [B]&amp;lt;/math&amp;gt; we obtain the following equations&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; \frac{\mathrm{d}a}{\mathrm{d}t} = -kab\,\,\,\textrm{and}\,\,\,  \frac{\mathrm{d}b}{\mathrm{d}t} = kab&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
We can solve these equations by observing that&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\mathrm{d}(a+b)}{\mathrm{d}t} = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
so that &amp;lt;math&amp;gt;a + b = a_0 + b_0&amp;lt;/math&amp;gt;. We can then eliminate &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; to obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\mathrm{d}b}{\mathrm{d}t} = k(a_0 + b_0 - b)b&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which is separable with solution &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
b = \frac{b_0(a_0 + b_0)e^{k(a_0 + b_0)t}}{a_0 + b_0e^{k(a_0 + b_0)t}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
a = \frac{a_0(a_0 + b_0)}{a_0 + b_0e^{k(a_0 + b_0)t}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that &amp;lt;math&amp;gt;a\to 0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\to a_0 + b_0&amp;lt;/math&amp;gt;&lt;br /&gt;
as &amp;lt;math&amp;gt;t\to \infty.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Diffusion ==&lt;br /&gt;
&lt;br /&gt;
The equation for spatially homogeneous diffusion of a chemical with concentration&lt;br /&gt;
&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\partial_t c = D\nabla^2 c&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which is the [http://en.wikipedia.org/wiki/Heat_equation heat equation]. We will consider this in&lt;br /&gt;
only one spatial dimension. Consider it on the boundary  &amp;lt;math&amp;gt;-\infty &amp;lt; x &amp;lt; \infty&amp;lt;/math&amp;gt;. In this case&lt;br /&gt;
we can solve by the [http://en.wikipedia.org/wiki/Fourier_transform Fourier transform] and obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\partial_t \hat{c} = -D k^2 \hat{c}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\hat{c}&amp;lt;/math&amp;gt; is the Fourier transform of &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;. This has solution&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\hat{c} = \hat{c}_0 e^{-D k^2 t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
We can find the inverse transform using convolution and obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
c(x,t) = \frac{1}{\sqrt{4\pi D t}} \int_{-\infty}^{\infty} c_0(x) e^{(x-s)^2/4Dt}\mathrm{d}s&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Solution of the dispersion equation using FFT ===&lt;br /&gt;
&lt;br /&gt;
We can solve the dispersion equation using the discrete Fourier transform and&lt;br /&gt;
its closely related numerical implementation the FFT (Fast Fourier Transform). &lt;br /&gt;
We have already met the FFT [[Numerical Solution of the KdV]] but we consider it here in more detail. &lt;br /&gt;
We consider the  concentration &lt;br /&gt;
on the finite domain &amp;lt;math&amp;gt;-L \leq x \leq  L&amp;lt;/math&amp;gt; and use a &lt;br /&gt;
[http://en.wikipedia.org/wiki/Fourier_series Fourier series] expansion &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
c(x,t) = \sum_{n=-\infty}^{\infty} \hat{c}_n(t) e^{\mathrm{i} k_n x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;k_n = \pi n /L &amp;lt;/math&amp;gt;. If we substitute this into the diffusion equation we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
c(x,t) = \sum_{n=-\infty}^{\infty} \hat{c}_n(0)e^{-k_n^2 D t} e^{\mathrm{i} k_n x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that this is not the same solution as we obtained on the infinite domain because&lt;br /&gt;
of the boundary conditions on the finite domain. The coefficients &amp;lt;math&amp;gt;\hat{c}_n(0)&amp;lt;/math&amp;gt;&lt;br /&gt;
are found using the initial conditions so that &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\hat{c}_n(0) = \frac{1}{2L} \int_{-L}^{L} e^{-\mathrm{i} k_n x} c_0(x) \mathrm{d}x &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The key to the numerical solution of this equation is the use of the FFT. We begin by discretising the&lt;br /&gt;
domain into a series of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; points &amp;lt;math&amp;gt;x_m = -L + 2Lm/N &amp;lt;/math&amp;gt;. We then use this to&lt;br /&gt;
approximate the integral above and obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\hat{c}_n(0) = \frac{1}{N} \sum_{m=0}^{N-1} e^{-\mathrm{i} k_n x_m} c_0(x_m)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
= \frac{1}{N} \sum_{m=0}^{N-1} e^{-2\mathrm{i} \pi nm/N} e^{\mathrm{i} \pi n} c_0(x_m)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We also get&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
c(x_m,t) = \sum_{n=-\infty}^{\infty} \hat{c}_n(0) e^{-k_n^2 D t} e^{\mathrm{i} k_n x_m}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
 = \sum_{n=-\infty}^{\infty} \hat{c}_n(0) e^{-k_n^2 D t} e^{2\mathrm{i} \pi nm/N} e^{-\mathrm{i} \pi n} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
but we know that &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\hat{c}_n(0) e^{-\mathrm{i} \pi n}  = \frac{1}{N} \sum_{m=0}^{N-1} e^{-2\mathrm{i} \pi nm/N} c_0(x_m)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== The discrete Fourier transform ===&lt;br /&gt;
The&lt;br /&gt;
[http://en.wikipedia.org/wiki/Discrete_Fourier_transform discrete Fourier transform]&lt;br /&gt;
of a sequence of &#039;&#039;2N&#039;&#039; complex numbers &#039;&#039;c&#039;&#039;&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;, ..., &#039;&#039;c&#039;&#039;&amp;lt;sub&amp;gt;&#039;&#039;2N&#039;&#039;−1&amp;lt;/sub&amp;gt; is transformed into the  sequence of &#039;&#039;N&#039;&#039; complex numbers &amp;lt;math&amp;gt;\hat{c}&amp;lt;/math&amp;gt;&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;, ..., &amp;lt;math&amp;gt;\hat{c}&amp;lt;/math&amp;gt;&amp;lt;sub&amp;gt;&#039;&#039;N&#039;&#039;−1&amp;lt;/sub&amp;gt; by the DFT according to the formula:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\hat{c}_m = \sum_{n=0}^{N-1} c_n e^{-2\pi \mathrm{i}mn/N} \quad \quad m = 0, \dots, N-1&amp;lt;/math&amp;gt;   &lt;br /&gt;
&amp;lt;/center&amp;gt;           &lt;br /&gt;
&lt;br /&gt;
We denote the transform by the symbol &amp;lt;math&amp;gt;\mathcal{F}&amp;lt;/math&amp;gt;, as in &amp;lt;math&amp;gt;\mathbf{X} = \mathcal{F} \left \{ \mathbf{x} \right \} &amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathcal{F} \left ( \mathbf{x} \right )&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathcal{F} \mathbf{x}&amp;lt;/math&amp;gt;.  &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;inverse discrete Fourier transform (IDFT)&#039;&#039;&#039; is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;c_n = \frac{1}{2N} \sum_{m=0}^{N-1} \hat{c}_m e^{2\pi \mathrm{i}mn/N} \quad \quad n = 0,\dots,N-1.&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore we can write&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
c(x_m,t) =  \mathcal{F} \left\{ e^{-k_n^2 D t} \mathcal{F}^{-1} \left\{ c_0(x_m) \right\}&lt;br /&gt;
\right\} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The only difficulty is that we need to define carefully the values of &lt;br /&gt;
&amp;lt;math&amp;gt;k_n&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The real power of this method lies with the [http://en.wikipedia.org/wiki/FFT Fast Fourier Transform]&lt;br /&gt;
or &#039;&#039;&#039;FFT&#039;&#039;&#039; algorithm. A naive implementation of the discrete Fourier transform above (or its inverse) &lt;br /&gt;
will involve order &amp;lt;math&amp;gt;N^2&amp;lt;/math&amp;gt; operations. Using FFT algorithms, this can be reduced to  order &amp;lt;math&amp;gt;N  \log(N)&amp;lt;/math&amp;gt;. This is an incredible speed up, for example&lt;br /&gt;
if N = 1024, FFT algorithms are more efficient by a factor of 147. This is the reason FFT&lt;br /&gt;
algorithms are used so extensively.&lt;br /&gt;
&lt;br /&gt;
== Reaction Diffusion Equations ==&lt;br /&gt;
&lt;br /&gt;
We consider an auto catalytic reaction where the chemical species also diffuse. In this &lt;br /&gt;
case the equations are&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\partial_t a = D\partial_x^2 a - kab&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\partial_t b = D\partial_x^2 b + kab&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
We can non-dimensionalise these equations scaling the variables as&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
z = x/x^*\,\,\,\tau = t/t^*\,\,\,\alpha = a/a_0\,\,\,\beta = b/a_0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
So that the equations become&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{1}{t^*}\partial_\tau \alpha = \frac{a_0}{(x^*)^2}D\partial_z^2 \alpha &lt;br /&gt;
- k a_0^2 \alpha\beta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{1}{t^*}\partial_\tau \beta = \frac{a_0}{(x^*)^2}D\partial_z^2 \beta&lt;br /&gt;
+ k a_0^2 \alpha\beta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
If we choose &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x^* = \sqrt{\frac{D}{ka_0}}\,\,\,t^*=\frac{1}{ka_0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
then we obtain the system &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_\tau \alpha = \partial_z^2 \alpha &lt;br /&gt;
-\alpha\beta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_\tau \beta =\partial_z^2 \beta&lt;br /&gt;
+ \alpha\beta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Solution via split step method ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Reaction diffusion.gif|thumb|right|500px|Solutions for &amp;lt;math&amp;gt;\alpha(z,0) =1&lt;br /&gt;
\, \beta(z,0) = \exp(-10z^2)&amp;lt;/math&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
We can solve this equations numerically using a &lt;br /&gt;
[http://en.wikipedia.org/wiki/Split-step_method split step method]. We assume&lt;br /&gt;
that at time &amp;lt;math&amp;gt;\tau&amp;lt;/math&amp;gt; we know &amp;lt;math&amp;gt;\alpha(z,\tau)&amp;lt;/math&amp;gt;&lt;br /&gt;
and &amp;lt;math&amp;gt;\beta(z,\tau)&amp;lt;/math&amp;gt;. We then solve first the following equation&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_\tau \alpha = \partial_z^2 \alpha &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
from &amp;lt;math&amp;gt;\tau&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;\tau + \Delta\tau&amp;lt;/math&amp;gt;&lt;br /&gt;
(which we can do exactly using the spectral methods just discussed for&lt;br /&gt;
the dispersion equation). We write this solution as &lt;br /&gt;
&amp;lt;math&amp;gt;\tilde{\alpha}(z,\tau + \Delta\tau)&amp;lt;/math&amp;gt;&lt;br /&gt;
Then we solve &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_\tau \alpha = -\alpha\beta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
by assuming that &amp;lt;math&amp;gt;\beta&amp;lt;/math&amp;gt; is constant and subject to the boundary&lt;br /&gt;
condition that &amp;lt;math&amp;gt;\alpha(z,\tau) = \tilde{\alpha}(z,\tau + \Delta\tau)&amp;lt;/math&amp;gt;. &lt;br /&gt;
This gives&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha(z,\tau + \Delta\tau) = e^{-\beta(z,\tau) \Delta\tau} \tilde{\alpha}(z,\tau+ \Delta\tau)\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and we do likewise for the equation for &amp;lt;math&amp;gt;\beta&amp;lt;/math&amp;gt;. Note that&lt;br /&gt;
while both steps are exact the result from the split step method is an &lt;br /&gt;
approximation with error which becomes smaller as the step size becomes&lt;br /&gt;
smaller.&lt;br /&gt;
&lt;br /&gt;
We can easily implement this split step method in matlab and we obtain&lt;br /&gt;
a pair of travelling waves.&lt;br /&gt;
&lt;br /&gt;
== Travelling Waves solution ==&lt;br /&gt;
&lt;br /&gt;
When we solve the equations we found the solution formed travelling waves and&lt;br /&gt;
we now consider this phenomena in detail. &lt;br /&gt;
&lt;br /&gt;
We define a new coordinate &amp;lt;math&amp;gt;y = z - v\tau&amp;lt;/math&amp;gt; (so we will consider only&lt;br /&gt;
waves travelling to the right, although we could analyse waves travelling to&lt;br /&gt;
the left in a similar fashion).  We seek stationary solutions in &lt;br /&gt;
&amp;lt;math&amp;gt;\alpha(y)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\beta(y)&amp;lt;/math&amp;gt; which satisfy&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}^2 \alpha}{\mathrm{d}y^2} + v \frac{\mathrm{d} \alpha}{\mathrm{d}y} = \alpha\beta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}^2 \beta}{\mathrm{d}y^2} + v \frac{\mathrm{d} \beta}{\mathrm{d}y} = -\alpha\beta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
If we add these equations we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}^2 (\alpha+\beta)}{\mathrm{d}y^2} + v \frac{\mathrm{d} (\alpha+\beta)}{\mathrm{d}y} = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
so that &amp;lt;math&amp;gt;\alpha + \beta = c_0 + c_1 e^{-vy}&amp;lt;/math&amp;gt;. Boundary conditions&lt;br /&gt;
are that as &amp;lt;math&amp;gt;y\to\infty &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\alpha = 1&amp;lt;/math&amp;gt; and &lt;br /&gt;
&amp;lt;math&amp;gt;\beta = 0&amp;lt;/math&amp;gt;. We also require the solution to be bounded&lt;br /&gt;
as &amp;lt;math&amp;gt;y\to-\infty&amp;lt;/math&amp;gt; so that &amp;lt;math&amp;gt;\alpha + \beta = 1&amp;lt;/math&amp;gt;. &lt;br /&gt;
This means that, since &amp;lt;math&amp;gt;\alpha \geq 0&amp;lt;/math&amp;gt;, we must have&lt;br /&gt;
&amp;lt;math&amp;gt;0\leq \beta \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
We can then obtain the following equation&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}^2 \beta}{\mathrm{d}y^2} + v \frac{\mathrm{d} \beta}{\mathrm{d}y} + \beta(1-\beta)= 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which we can write as the system of first order equations.&lt;br /&gt;
&lt;br /&gt;
[[Image:R_d_phase_portrait.jpg|thumb|right|500px|Phase portrait for out system showing&lt;br /&gt;
the equilibrium points and the heteroclinic connection]]&lt;br /&gt;
&lt;br /&gt;
We define the variable &amp;lt;math&amp;gt;\gamma = \frac{\mathrm{d}\beta}{\mathrm{d}y}&amp;lt;/math&amp;gt;&lt;br /&gt;
and we obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
\frac{\mathrm{d}\beta}{\mathrm{d} y} &amp;amp;= \gamma&amp;amp;\\&lt;br /&gt;
\frac{\mathrm{d}\gamma}{\mathrm{d} y} &amp;amp;= -v\gamma + \beta(\beta -1)&amp;amp; \\&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This dynamical system has equilibrium points at &amp;lt;math&amp;gt;(0,0)&amp;lt;/math&amp;gt;&lt;br /&gt;
and &amp;lt;math&amp;gt;(1,0)&amp;lt;/math&amp;gt;. We can analyse these equilibrium points by &lt;br /&gt;
linearization. The Jacobian matrix is &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 J =\begin{pmatrix}&lt;br /&gt;
0 &amp;amp; 1 \\&lt;br /&gt;
-1 + 2\beta &amp;amp; -v&lt;br /&gt;
\end{pmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can easily see that the Jacobian evaluated at our first equilibrium point is&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 J_{(0,0)} =\begin{pmatrix}&lt;br /&gt;
0 &amp;amp; 1 \\&lt;br /&gt;
-1 &amp;amp; -v&lt;br /&gt;
\end{pmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which has eigenvalues &amp;lt;math&amp;gt;\mu_{\pm} = -1/2 (v \mp \sqrt{v^2-4})&amp;lt;/math&amp;gt;.  Therefore&lt;br /&gt;
this point is a nodal sink (possibly a spiral)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:R_d_wave.gif|right|Travelling wave solution for v=2 and the position on&lt;br /&gt;
the heteroclinic connection]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Additionally,&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 J_{(1,0)} =\begin{pmatrix}&lt;br /&gt;
0 &amp;amp; 1 \\&lt;br /&gt;
1 &amp;amp; -v&lt;br /&gt;
\end{pmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which has eigenvalues  &amp;lt;math&amp;gt;\lambda_{\pm} = -1/2 (v \mp \sqrt{v^2+4})&amp;lt;/math&amp;gt;. &lt;br /&gt;
This is a a saddle point. The unstable and stable&lt;br /&gt;
separatrices leave the equilibrium point at &amp;lt;math&amp;gt;(1,0)&amp;lt;/math&amp;gt; in the directions  &lt;br /&gt;
&amp;lt;math&amp;gt; \begin{pmatrix}\lambda_{\pm} \\ 1\end{pmatrix}&amp;lt;/math&amp;gt;.  The only path on which &amp;lt;math&amp;gt;\beta&amp;lt;/math&amp;gt; is bounded&lt;br /&gt;
as &amp;lt;math&amp;gt;y\to-\infty&amp;lt;/math&amp;gt; are the unstable separatrices. Also, only the &lt;br /&gt;
unstable separatrix which enters the region &amp;lt;math&amp;gt;\beta&amp;lt;1&amp;lt;/math&amp;gt; is physically meaningful. &lt;br /&gt;
 &lt;br /&gt;
To find a travelling wave we need to find a heteroclinic connection &lt;br /&gt;
between the two equilibrium points which also has to satisfy the conditions &lt;br /&gt;
that &amp;lt;math&amp;gt;0\leq \beta \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
We need to show that the heteroclinic connection does not cross the &amp;lt;math&amp;gt;\beta&amp;lt;/math&amp;gt; axis.&lt;br /&gt;
Consider the region &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
R = \left\{(\beta,\gamma)\,|\, \beta&amp;lt;1,\,-k\beta&amp;lt;\gamma&amp;lt;0\right\}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
On the line &amp;lt;math&amp;gt;\beta = 1,d\beta/dy&amp;lt;0&amp;lt;/math&amp;gt; and hence all flow it into &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt;.&lt;br /&gt;
On the line &amp;lt;math&amp;gt;\gamma = 0, d\gamma/dy &amp;lt; 0&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;0&amp;lt;\beta&amp;lt;1&amp;lt;/math&amp;gt;.  On the line&lt;br /&gt;
&amp;lt;math&amp;gt;\gamma = -k \beta&amp;lt;/math&amp;gt; we know that &amp;lt;math&amp;gt;d\beta/dy &amp;lt; 0&amp;lt;/math&amp;gt; so that integral paths&lt;br /&gt;
enter the region if and only if &amp;lt;math&amp;gt;d\gamma/d\beta &amp;lt; \gamma/\beta&amp;lt;/math&amp;gt;. We know that&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
d\gamma/d\beta - \gamma/\beta = -v - \frac{\beta(1-\beta)}{\gamma} -\frac{\gamma}{\beta}&lt;br /&gt;
= \frac{1}{k} (k^2 - vk +1 -\beta)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
when &amp;lt;math&amp;gt;\gamma = -k\beta&amp;lt;/math&amp;gt;.  Therefore we need to find a value of &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;&lt;br /&gt;
so that &amp;lt;math&amp;gt;k^2 - vk +1 &amp;lt; 0&amp;lt;/math&amp;gt;, which is possible provided &amp;lt;math&amp;gt;v\geq 2&amp;lt;/math&amp;gt;, for example&lt;br /&gt;
&amp;lt;math&amp;gt;k = \dfrac{v}{2}&amp;lt;/math&amp;gt;.&lt;br /&gt;
[[Category:Simple Nonlinear Waves]]&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Numerical_Solution_of_the_KdV&amp;diff=12971</id>
		<title>Numerical Solution of the KdV</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Numerical_Solution_of_the_KdV&amp;diff=12971"/>
		<updated>2010-11-06T10:12:09Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: Reverted edits by Adi Kurniawan (Talk) to last revision by Meylan&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Numerical Solution of the KdV&lt;br /&gt;
 | next chapter = [[Conservation Laws for the KdV]]&lt;br /&gt;
 | previous chapter = [[Introduction to KdV]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
We present here a method to solve the KdV equation numerically. There are&lt;br /&gt;
many different methods to solve the KdV and we use here a spectral method&lt;br /&gt;
which has been found to work well. Spectral methods work by using the&lt;br /&gt;
Fourier transform (or some varient of it) to calculate the derivative.&lt;br /&gt;
&lt;br /&gt;
==Fourier Transform==&lt;br /&gt;
&lt;br /&gt;
Recall that the Fourier transform is given by&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{F}\left[ f(x)\right] =\hat{f}\left( k\right) =\int_{-\infty&lt;br /&gt;
}^{\infty }f\left( x\right) \mathrm{e}^{-\mathrm{i}kx}\mathrm{d}x &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and the inverse Fourier transform is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
f\left( x\right) =\mathcal{F}^{-1}\left[ \hat{f}\left( k\right) \right] =&lt;br /&gt;
\frac{1}{2\pi }\int_{-\infty }^{\infty }\hat{f}\left( k\right) \mathrm{e}^{\mathrm{i}kx}\mathrm{d}k &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
(note that there are other ways of writing this transform). The most&lt;br /&gt;
important property of the Fourier transform is that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
\int_{-\infty }^{\infty }\left( \partial _{x}f\left( x\right) \right)&lt;br /&gt;
\mathrm{e}^{-\mathrm{i}kx}\mathrm{d}x &amp;amp;=&amp;amp;-\int_{-\infty }^{\infty }f\left( x\right) &lt;br /&gt;
\left( \partial_{x}\mathrm{e}^{-\mathrm{i}kx}\right) \mathrm{d}x \\&lt;br /&gt;
&amp;amp;=&amp;amp;-k\int_{-\infty }^{\infty }f\left( x\right) \mathrm{e}^{-\mathrm{i}kx}\mathrm{d}x&lt;br /&gt;
\end{matrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where we have assumed that the function &amp;lt;math&amp;gt;f\left( x\right) &amp;lt;/math&amp;gt; vanishes at &amp;lt;math&amp;gt;\pm&lt;br /&gt;
\infty .&amp;lt;/math&amp;gt; This means that the Fourier transform converts differentiation to&lt;br /&gt;
multiplication by &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Solution for the Linearized KdV==&lt;br /&gt;
&lt;br /&gt;
We begin with a simple example. Suppose we want to solve the linearized KdV&lt;br /&gt;
equation &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+\partial _{x}^{3}u=0,\ \ -\infty &amp;lt;x&amp;lt;\infty &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
subject to solve initial conditions &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left( x,0\right) =f\left( x\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We can solve this equation by taking the Fourier transform. and obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\hat{u}-ik^{3}\hat{u}=0 &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
So that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\hat{u}\left( k,t\right) =\hat{f}\left( k\right) \mathrm{e}^{\mathrm{i}k^{3}t} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left( x,t\right) = \frac{1}{2\pi}&lt;br /&gt;
\int_{-\infty}^{\infty }\hat{f}\left( k\right)&lt;br /&gt;
\mathrm{e}^{\mathrm{i}k^{3}t}\mathrm{e}^{\mathrm{i}kx}\mathrm{d}k &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Numerical Implementation Using the FFT==&lt;br /&gt;
&lt;br /&gt;
The Fast Fourier Transform (FFT) is a method to calculate the fourier&lt;br /&gt;
transform efficiently for discrete sets of points. These points need to be&lt;br /&gt;
evenly spaced in the &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; plane and are given by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
x_{n}=x_{0}+n\Delta x,\ \ 0\leq n\leq N-1 &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
(note they can start at any &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; value). For the FFT to be as efficient as&lt;br /&gt;
possible &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; should be a power of &amp;lt;math&amp;gt;2.&amp;lt;/math&amp;gt; Corresponding to the discrete set of&lt;br /&gt;
points in the &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; domain is a discrete set of points in the &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; plane given&lt;br /&gt;
by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
k_{n}=\left\{ &lt;br /&gt;
\begin{matrix}&lt;br /&gt;
n\Delta k,\ \ 0\leq n\leq \frac{N}{2} \\ &lt;br /&gt;
\left( n-N\right) \Delta k,\ \ \frac{N}{2}+1\leq n\leq N-1&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right. &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\Delta k=2\pi /(N\Delta x).&amp;lt;/math&amp;gt; Note that this numbering seems slighly&lt;br /&gt;
odd and is due to aliasing. We are not that interested in the frequency&lt;br /&gt;
domain solution but we need to make sure that we select the correct values&lt;br /&gt;
of &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; for our numerical code.&lt;br /&gt;
&lt;br /&gt;
==Numerical Code for the Linear KdV==&lt;br /&gt;
&lt;br /&gt;
Here is the code to solve the linear KdV using MATLAB&lt;br /&gt;
&lt;br /&gt;
N = 1024;&lt;br /&gt;
&lt;br /&gt;
t=0.1;&lt;br /&gt;
&lt;br /&gt;
x = linspace(-10,10,N);&lt;br /&gt;
&lt;br /&gt;
delta_x = x(2) - x(1);&lt;br /&gt;
&lt;br /&gt;
delta_k = 2*pi/(N*delta_x);&lt;br /&gt;
&lt;br /&gt;
k = [0:delta_k:N/2*delta_k,-(N/2-1)*delta_k:delta_k:-delta_k];&lt;br /&gt;
&lt;br /&gt;
f = exp(-x.^2);&lt;br /&gt;
&lt;br /&gt;
f_hat = fft(f);&lt;br /&gt;
&lt;br /&gt;
u = real(ifft(f_hat.*exp(i*k.^3*t)));&lt;br /&gt;
&lt;br /&gt;
==Numerical Solution of the KdV==&lt;br /&gt;
&lt;br /&gt;
It turns out that a method to solve the KdV equation can be derived using&lt;br /&gt;
spectral methods. We begin with the KdV equation written as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+3\partial _{x}\left( u\right) ^{2}+\partial _{x}^{3}u=0.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The Fourier transform of the KdV is therefore &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\hat{u}+3ik\widehat{\left( u^{2}\right)} -ik^{3}\hat{u}=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We solve this equation by a split step method. We write the equation as  &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\hat{u}=-3ik\widehat{\left( u^{2}\right)} +ik^{3}\hat{u}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We can solve &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\hat{u}=ik^{3}\hat{u}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
exactly while the equation &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\hat{u}=-3ik\widehat{\left( u^{2}\right)}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
needs to be solved by time stepping. The idea of the split step method is to&lt;br /&gt;
solve alternatively each of these equations when stepping from &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;&lt;br /&gt;
t+\Delta t.&amp;lt;/math&amp;gt; Therefore we solve &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\hat{u}_{1}\left( k,t+\Delta t\right)  &amp;amp;=&amp;amp;\hat{u}\left( k,t\right)&lt;br /&gt;
\mathrm{e}^{\mathrm{i}k^{3}\Delta t} \\&lt;br /&gt;
\hat{u}\left( k,t+\Delta t\right)  &amp;amp;=&amp;amp;\hat{u}_{1}\left( k,t+\Delta t\right)&lt;br /&gt;
-3ik \Delta t\widehat{\left( u^{2}\right)}&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that we are using Euler&#039;s method to time step and that the solution&lt;br /&gt;
could be improved by using a better method, such as the Runge-Kutta 4&lt;br /&gt;
method. &lt;br /&gt;
&lt;br /&gt;
The only slighly tricky thing is that we have both &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\hat{u}&amp;lt;/math&amp;gt; in the&lt;br /&gt;
equation, but we can simply use the Fourier transform to connect these. The&lt;br /&gt;
equation then becomes&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\hat{u}_{1}\left( k,t+\Delta t\right)  &amp;amp;=&amp;amp;\hat{u}\left( k,t\right)&lt;br /&gt;
\mathrm{e}^{\mathrm{i}k^{3}\Delta t} \\&lt;br /&gt;
\hat{u}\left( k,t+\Delta t\right)  &amp;amp;=&amp;amp;\hat{u}_{1}\left( k,t+\Delta t\right)&lt;br /&gt;
- 3ik\Delta t\left( \mathcal{F}\left( \left( \mathcal{F}^{-1}\left[ \hat{u}_{1}\left( k,t+\Delta t\right)\right]&lt;br /&gt;
\right) ^{2}\right) \right) &lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Numerical Code to solve the KdV by the split step method==&lt;br /&gt;
&lt;br /&gt;
Here is some code to solve the KdV using MATLAB &lt;br /&gt;
&lt;br /&gt;
N = 256;&lt;br /&gt;
&lt;br /&gt;
x = linspace(-10,10,N);&lt;br /&gt;
&lt;br /&gt;
delta_x = x(2) - x(1);&lt;br /&gt;
&lt;br /&gt;
delta_k = 2*pi/(N*delta_x);&lt;br /&gt;
&lt;br /&gt;
k = [0:delta_k:N/2*delta_k,-(N/2-1)*delta_k:delta_k:-delta_k];&lt;br /&gt;
&lt;br /&gt;
c=16;&lt;br /&gt;
&lt;br /&gt;
u = 1/2*c*(sech(sqrt(c)/2*(x+8))).^2;&lt;br /&gt;
&lt;br /&gt;
delta_t = 0.4/N^2;&lt;br /&gt;
&lt;br /&gt;
tmax = 0.1; nmax = round(tmax/delta_t);&lt;br /&gt;
&lt;br /&gt;
U = fft(u);&lt;br /&gt;
&lt;br /&gt;
for n = 1:nmax&lt;br /&gt;
&lt;br /&gt;
% first we solve the linear part&lt;br /&gt;
&lt;br /&gt;
U = U.*exp(1i*k.^3*delta_t);&lt;br /&gt;
&lt;br /&gt;
%then we solve the non linear part&lt;br /&gt;
&lt;br /&gt;
U = U - delta_t*(3i*k.*fft(real(ifft(U)).^2));&lt;br /&gt;
&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
== Example Calculations ==&lt;br /&gt;
We cosider the evolution of the KdV with two solitons as&lt;br /&gt;
initial condition as given below.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u(x,0) = 8\,\mathrm{sech}^{2}\left(2(x+8)\right) &lt;br /&gt;
+ \, 2 \mathrm{sech}^{2}\left(\left(&lt;br /&gt;
x +1\right) \right)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Animation&lt;br /&gt;
! Three-dimensional plot.&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Two_soliton.gif|thumb|right|500px|Evolution of &amp;lt;math&amp;gt;u(x,t)&amp;lt;/math&amp;gt; for two solitons.]]&lt;br /&gt;
| [[Image:Two_soliton.jpg|thumb|right|500px|Evolution of &amp;lt;math&amp;gt;u(x,t)&amp;lt;/math&amp;gt; for two solitons. &lt;br /&gt;
Note the phase shift which occurs in the soliton interaction.]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Numerical_Solution_of_the_KdV&amp;diff=12969</id>
		<title>Numerical Solution of the KdV</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Numerical_Solution_of_the_KdV&amp;diff=12969"/>
		<updated>2010-11-06T10:11:37Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: /* Numerical Code for the Linear KdV */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Numerical Solution of the KdV&lt;br /&gt;
 | next chapter = [[Conservation Laws for the KdV]]&lt;br /&gt;
 | previous chapter = [[Introduction to KdV]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
We present here a method to solve the KdV equation numerically. There are&lt;br /&gt;
many different methods to solve the KdV and we use here a spectral method&lt;br /&gt;
which has been found to work well. Spectral methods work by using the&lt;br /&gt;
Fourier transform (or some varient of it) to calculate the derivative.&lt;br /&gt;
&lt;br /&gt;
==Fourier Transform==&lt;br /&gt;
&lt;br /&gt;
Recall that the Fourier transform is given by&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{F}\left[ f(x)\right] =\hat{f}\left( k\right) =\int_{-\infty&lt;br /&gt;
}^{\infty }f\left( x\right) \mathrm{e}^{-\mathrm{i}kx}\mathrm{d}x &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and the inverse Fourier transform is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
f\left( x\right) =\mathcal{F}^{-1}\left[ \hat{f}\left( k\right) \right] =&lt;br /&gt;
\frac{1}{2\pi }\int_{-\infty }^{\infty }\hat{f}\left( k\right) \mathrm{e}^{\mathrm{i}kx}\mathrm{d}k &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
(note that there are other ways of writing this transform). The most&lt;br /&gt;
important property of the Fourier transform is that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
\int_{-\infty }^{\infty }\left( \partial _{x}f\left( x\right) \right)&lt;br /&gt;
\mathrm{e}^{-\mathrm{i}kx}\mathrm{d}x &amp;amp;=&amp;amp;-\int_{-\infty }^{\infty }f\left( x\right) &lt;br /&gt;
\left( \partial_{x}\mathrm{e}^{-\mathrm{i}kx}\right) \mathrm{d}x \\&lt;br /&gt;
&amp;amp;=&amp;amp;-k\int_{-\infty }^{\infty }f\left( x\right) \mathrm{e}^{-\mathrm{i}kx}\mathrm{d}x&lt;br /&gt;
\end{matrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where we have assumed that the function &amp;lt;math&amp;gt;f\left( x\right) &amp;lt;/math&amp;gt; vanishes at &amp;lt;math&amp;gt;\pm&lt;br /&gt;
\infty .&amp;lt;/math&amp;gt; This means that the Fourier transform converts differentiation to&lt;br /&gt;
multiplication by &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Solution for the Linearized KdV==&lt;br /&gt;
&lt;br /&gt;
We begin with a simple example. Suppose we want to solve the linearized KdV&lt;br /&gt;
equation &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+\partial _{x}^{3}u=0,\ \ -\infty &amp;lt;x&amp;lt;\infty &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
subject to solve initial conditions &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left( x,0\right) =f\left( x\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We can solve this equation by taking the Fourier transform. and obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\hat{u}-ik^{3}\hat{u}=0 &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
So that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\hat{u}\left( k,t\right) =\hat{f}\left( k\right) \mathrm{e}^{\mathrm{i}k^{3}t} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left( x,t\right) = \frac{1}{2\pi}&lt;br /&gt;
\int_{-\infty}^{\infty }\hat{f}\left( k\right)&lt;br /&gt;
\mathrm{e}^{\mathrm{i}k^{3}t}\mathrm{e}^{\mathrm{i}kx}\mathrm{d}k &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Numerical Implementation Using the FFT==&lt;br /&gt;
&lt;br /&gt;
The Fast Fourier Transform (FFT) is a method to calculate the fourier&lt;br /&gt;
transform efficiently for discrete sets of points. These points need to be&lt;br /&gt;
evenly spaced in the &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; plane and are given by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
x_{n}=x_{0}+n\Delta x,\ \ 0\leq n\leq N-1 &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
(note they can start at any &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; value). For the FFT to be as efficient as&lt;br /&gt;
possible &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; should be a power of &amp;lt;math&amp;gt;2.&amp;lt;/math&amp;gt; Corresponding to the discrete set of&lt;br /&gt;
points in the &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; domain is a discrete set of points in the &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; plane given&lt;br /&gt;
by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
k_{n}=\left\{ &lt;br /&gt;
\begin{matrix}&lt;br /&gt;
n\Delta k,\ \ 0\leq n\leq \frac{N}{2} \\ &lt;br /&gt;
\left( n-N\right) \Delta k,\ \ \frac{N}{2}+1\leq n\leq N-1&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right. &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\Delta k=2\pi /(N\Delta x).&amp;lt;/math&amp;gt; Note that this numbering seems slighly&lt;br /&gt;
odd and is due to aliasing. We are not that interested in the frequency&lt;br /&gt;
domain solution but we need to make sure that we select the correct values&lt;br /&gt;
of &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; for our numerical code.&lt;br /&gt;
&lt;br /&gt;
==Numerical Code for the Linear KdV==&lt;br /&gt;
&lt;br /&gt;
Here is the code to solve the linear KdV using MATLAB&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;matlab&amp;quot;&amp;gt;&lt;br /&gt;
N = 1024;&lt;br /&gt;
&lt;br /&gt;
t=0.1;&lt;br /&gt;
&lt;br /&gt;
x = linspace(-10,10,N);&lt;br /&gt;
&lt;br /&gt;
delta_x = x(2) - x(1);&lt;br /&gt;
&lt;br /&gt;
delta_k = 2*pi/(N*delta_x);&lt;br /&gt;
&lt;br /&gt;
k = [0:delta_k:N/2*delta_k,-(N/2-1)*delta_k:delta_k:-delta_k];&lt;br /&gt;
&lt;br /&gt;
f = exp(-x.^2);&lt;br /&gt;
&lt;br /&gt;
f_hat = fft(f);&lt;br /&gt;
&lt;br /&gt;
u = real(ifft(f_hat.*exp(i*k.^3*t)));&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Numerical Solution of the KdV==&lt;br /&gt;
&lt;br /&gt;
It turns out that a method to solve the KdV equation can be derived using&lt;br /&gt;
spectral methods. We begin with the KdV equation written as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+3\partial _{x}\left( u\right) ^{2}+\partial _{x}^{3}u=0.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The Fourier transform of the KdV is therefore &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\hat{u}+3ik\widehat{\left( u^{2}\right)} -ik^{3}\hat{u}=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We solve this equation by a split step method. We write the equation as  &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\hat{u}=-3ik\widehat{\left( u^{2}\right)} +ik^{3}\hat{u}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We can solve &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\hat{u}=ik^{3}\hat{u}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
exactly while the equation &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\hat{u}=-3ik\widehat{\left( u^{2}\right)}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
needs to be solved by time stepping. The idea of the split step method is to&lt;br /&gt;
solve alternatively each of these equations when stepping from &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;&lt;br /&gt;
t+\Delta t.&amp;lt;/math&amp;gt; Therefore we solve &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\hat{u}_{1}\left( k,t+\Delta t\right)  &amp;amp;=&amp;amp;\hat{u}\left( k,t\right)&lt;br /&gt;
\mathrm{e}^{\mathrm{i}k^{3}\Delta t} \\&lt;br /&gt;
\hat{u}\left( k,t+\Delta t\right)  &amp;amp;=&amp;amp;\hat{u}_{1}\left( k,t+\Delta t\right)&lt;br /&gt;
-3ik \Delta t\widehat{\left( u^{2}\right)}&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that we are using Euler&#039;s method to time step and that the solution&lt;br /&gt;
could be improved by using a better method, such as the Runge-Kutta 4&lt;br /&gt;
method. &lt;br /&gt;
&lt;br /&gt;
The only slighly tricky thing is that we have both &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\hat{u}&amp;lt;/math&amp;gt; in the&lt;br /&gt;
equation, but we can simply use the Fourier transform to connect these. The&lt;br /&gt;
equation then becomes&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\hat{u}_{1}\left( k,t+\Delta t\right)  &amp;amp;=&amp;amp;\hat{u}\left( k,t\right)&lt;br /&gt;
\mathrm{e}^{\mathrm{i}k^{3}\Delta t} \\&lt;br /&gt;
\hat{u}\left( k,t+\Delta t\right)  &amp;amp;=&amp;amp;\hat{u}_{1}\left( k,t+\Delta t\right)&lt;br /&gt;
- 3ik\Delta t\left( \mathcal{F}\left( \left( \mathcal{F}^{-1}\left[ \hat{u}_{1}\left( k,t+\Delta t\right)\right]&lt;br /&gt;
\right) ^{2}\right) \right) &lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Numerical Code to solve the KdV by the split step method==&lt;br /&gt;
&lt;br /&gt;
Here is some code to solve the KdV using MATLAB &lt;br /&gt;
&lt;br /&gt;
N = 256;&lt;br /&gt;
&lt;br /&gt;
x = linspace(-10,10,N);&lt;br /&gt;
&lt;br /&gt;
delta_x = x(2) - x(1);&lt;br /&gt;
&lt;br /&gt;
delta_k = 2*pi/(N*delta_x);&lt;br /&gt;
&lt;br /&gt;
k = [0:delta_k:N/2*delta_k,-(N/2-1)*delta_k:delta_k:-delta_k];&lt;br /&gt;
&lt;br /&gt;
c=16;&lt;br /&gt;
&lt;br /&gt;
u = 1/2*c*(sech(sqrt(c)/2*(x+8))).^2;&lt;br /&gt;
&lt;br /&gt;
delta_t = 0.4/N^2;&lt;br /&gt;
&lt;br /&gt;
tmax = 0.1; nmax = round(tmax/delta_t);&lt;br /&gt;
&lt;br /&gt;
U = fft(u);&lt;br /&gt;
&lt;br /&gt;
for n = 1:nmax&lt;br /&gt;
&lt;br /&gt;
% first we solve the linear part&lt;br /&gt;
&lt;br /&gt;
U = U.*exp(1i*k.^3*delta_t);&lt;br /&gt;
&lt;br /&gt;
%then we solve the non linear part&lt;br /&gt;
&lt;br /&gt;
U = U - delta_t*(3i*k.*fft(real(ifft(U)).^2));&lt;br /&gt;
&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
== Example Calculations ==&lt;br /&gt;
We cosider the evolution of the KdV with two solitons as&lt;br /&gt;
initial condition as given below.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u(x,0) = 8\,\mathrm{sech}^{2}\left(2(x+8)\right) &lt;br /&gt;
+ \, 2 \mathrm{sech}^{2}\left(\left(&lt;br /&gt;
x +1\right) \right)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Animation&lt;br /&gt;
! Three-dimensional plot.&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Two_soliton.gif|thumb|right|500px|Evolution of &amp;lt;math&amp;gt;u(x,t)&amp;lt;/math&amp;gt; for two solitons.]]&lt;br /&gt;
| [[Image:Two_soliton.jpg|thumb|right|500px|Evolution of &amp;lt;math&amp;gt;u(x,t)&amp;lt;/math&amp;gt; for two solitons. &lt;br /&gt;
Note the phase shift which occurs in the soliton interaction.]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=KdV_Equation_Derivation&amp;diff=12967</id>
		<title>KdV Equation Derivation</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=KdV_Equation_Derivation&amp;diff=12967"/>
		<updated>2010-11-06T09:56:31Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: /* Derivation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{complete pages}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We consider the method of derivation of KdV Equation in the concept of [http://www.wikiwaves.org/index.php/Nonlinear_Shallow_Water_Waves Nonlinear Shallow Water Waves].&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
In the analysis of [http://www.wikiwaves.org/index.php/Nonlinear_Shallow_Water_Waves Nonlinear Shallow Water Waves] equations we see that there are two important geometrical parameters, &amp;lt;math&amp;gt;\epsilon = \frac{h}{\lambda}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha=\frac{a}{h}&amp;lt;/math&amp;gt; involved. By choosing appropriate magnitudes for &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt;, we can consider a theory in which dispersion and nonlinearity are in balance. The &amp;lt;b&amp;gt;Korteweg-de Vries Equation&amp;lt;/b&amp;gt; verifies the relation between dispersion and nonlinearity properties.&lt;br /&gt;
&lt;br /&gt;
==Derivation==&lt;br /&gt;
&lt;br /&gt;
We begin with the equations for waves on water,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&amp;amp;\Phi_{xx} + \Phi_{yy} &amp;amp;= 0 \quad &amp;amp;-\infin&amp;lt;x&amp;lt;\infin, 0 \le y \le \eta(x,t) \\&lt;br /&gt;
\end{matrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Provided that at &amp;lt;font size=&#039;4&#039;&amp;gt;&amp;lt;math&amp;gt;y=\eta(x,t)=h+aH(x,t)&amp;lt;/math&amp;gt;&amp;lt;/font&amp;gt; we have,&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;\Phi_{y} &amp;amp;= &amp;amp;\eta_t + \Phi_x \eta_x \\&lt;br /&gt;
&amp;amp;\Phi_t + \frac{1}{2}({\Phi_x}^2 + {\Phi_y}^2) + g\eta &amp;amp;= &amp;amp;B(t)\\&lt;br /&gt;
&amp;amp;\Phi_y = 0 &amp;amp;, &amp;amp;y = 0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To make these equations dimensionless, we use the scaled variables,&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\bar{x}=\frac{x}{\lambda}, \quad \bar{y}=\frac{y}{h}, \quad \bar{\Phi}=\frac{h\Phi}{\lambda a \sqrt{gh}}, \quad \bar{t}=\frac{t\sqrt{gh}}{\lambda}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\sqrt{gh}&amp;lt;/math&amp;gt; is defined as &amp;lt;i&amp;gt;linear wave speed in shallow water&amp;lt;/i&amp;gt;. Hence the dimensionless system is,&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;\epsilon^2 {\bar{\Phi}}_{\bar{x}\bar{x}} + {\bar{\Phi}}_{\bar{y}\bar{y}} &amp;amp;= &amp;amp;0 \\ \\&lt;br /&gt;
&amp;amp;{\bar{\Phi}}_{\bar{y}} &amp;amp;= &amp;amp;\epsilon^2(H_{\bar{t}}+\alpha {\bar{\Phi}}_{\bar{x}} H_{\bar{x}}) \\ \\&lt;br /&gt;
&amp;amp;{\bar{\Phi}}_{\bar{t}} + \frac{1}{2}\alpha ({{\bar{\Phi}}_{\bar{x}}}^2 + \epsilon^2 {{\bar{\Phi}}_{\bar{y}}}^2) + H &amp;amp;= &amp;amp;(B(t)-gh) / ag \\ \\&lt;br /&gt;
&amp;amp;{\bar{\Phi}}_{\bar{y}} = 0 &amp;amp;, &amp;amp;\bar{y} = 0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\epsilon = \frac{h}{\lambda}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha=\frac{a}{h}&amp;lt;/math&amp;gt; are two small parameters which are given in this problem.&lt;br /&gt;
&lt;br /&gt;
In the next step we use the transform &amp;lt;math&amp;gt;\bar{\Phi} \to \bar{\Phi} + \int\limits_{0}^{\bar{t}}(\frac{B(s) - gh}{ag})\mathrm{d}s&amp;lt;/math&amp;gt; and introduce further transformation to remove &amp;lt;font size=&#039;3&#039;&amp;gt;&amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt;&amp;lt;/font&amp;gt; from the equations,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
z = \frac{\alpha^{1 / 2}}{\epsilon}(\bar{x}-\bar{t}), \quad \tau = \frac{\alpha^{3/2}}{\epsilon}\bar{t}, \quad \Psi = \frac{\alpha^{1/2}}{\epsilon}\bar{\Phi}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The key idea is that &amp;lt;math&amp;gt;\frac{\alpha^{1 / 2}}{\epsilon}&amp;lt;/math&amp;gt; is &amp;lt;font size=&#039;3&#039;&amp;gt;&amp;lt;math&amp;gt;O(1)&amp;lt;/math&amp;gt;&amp;lt;/font&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Hence,&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;\alpha \Psi_{zz} + \Psi_{\bar{y}\bar{y}} = 0 &amp;amp; -\infin &amp;lt; z &amp;lt;\infin , 0 \le \bar{y} \le 1 + \alpha H(z,\tau) &amp;amp;(1) \\ \\&lt;br /&gt;
&amp;amp;\Psi_{\bar{y}} = \alpha (-H_z+\alpha H_{\tau} + \alpha \Psi_z H_z) &amp;amp; y=1+ \alpha H(z,\tau) &amp;amp;(2) \\ \\&lt;br /&gt;
&amp;amp;H - \Psi_z + \alpha \Psi_{\tau} + \frac{1}{2} ({\Psi_{\bar{y}}}^2+\alpha {\Psi_z}^2)=0 &amp;amp;y=1+ \alpha H(z,\tau) &amp;amp;(3) \\ \\&lt;br /&gt;
&amp;amp;\Psi_{\bar{y}} = 0 &amp;amp;\bar{y}=0 &amp;amp;(4)&lt;br /&gt;
\end{matrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The boundary condition (4) expresses &amp;lt;math&amp;gt;\Psi&amp;lt;/math&amp;gt; at the flat bed, &amp;lt;math&amp;gt;\bar{y}=0&amp;lt;/math&amp;gt;. The boundary condition (3) is &amp;lt;i&amp;gt; Bernoulli equation&amp;lt;/i&amp;gt; and (2) is &amp;lt;i&amp;gt;kinematic &amp;lt;/i&amp;gt; boundary condition. Now we use asymptotic expansions of the form,&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;\Psi &amp;amp;= &amp;amp;\Psi_0 + \alpha \Psi_1 + {\alpha}^2 \Psi_2 + o({\alpha}^3)  &amp;amp;(5)\\ \\&lt;br /&gt;
&amp;amp;H &amp;amp;= &amp;amp;H_0 + \alpha H_1 + o(\alpha^2) &amp;amp;(6)&lt;br /&gt;
\end{matrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to derive an equation for each &amp;lt;font size=&#039;3&#039;&amp;gt;&amp;lt;math&amp;gt;H_i&amp;lt;/math&amp;gt;&amp;lt;/font&amp;gt; according to the boundary conditions (2) to (4).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;* Derivation of &amp;lt;font size=&#039;3&#039;&amp;gt;&amp;lt;math&amp;gt;H_i&amp;lt;/math&amp;gt;&amp;lt;/font&amp;gt;&#039;s:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Substituting (5) and (6), (1) must be true for all powers of &amp;lt;font size=&#039;3&#039;&amp;gt;&amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt;&amp;lt;/font&amp;gt;. Therefore,&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;O(\alpha^0) &amp;amp;: &amp;amp;\Psi_{0, \bar{y}\bar{y}} = 0  &amp;amp;\rArr &amp;amp;\Psi_0 = B_0(z, \tau) \\ \\&lt;br /&gt;
&amp;amp;O(\alpha)   &amp;amp;: &amp;amp;\Psi_{1, \bar{y}\bar{y}} = -\Psi_{0, zz} &amp;amp;\rArr &amp;amp;\Psi_1 = -\frac{1}{2}{\bar{y}}^2 B_{0, zz}+B_1(z, \tau) \\ \\&lt;br /&gt;
&amp;amp;O(\alpha^2) &amp;amp;: &amp;amp;\Psi_{2, \bar{y}\bar{y}} = -\Psi_{1, zz} &amp;amp;\rArr &amp;amp;\Psi_2 = \frac{1}{24}{\bar{y}}^4B_{0,zzzz}-\frac{1}{2}{\bar{y}}^2 B_{1,zz}+ B_2(z, \tau)&lt;br /&gt;
\end{matrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now at leading order the Bernoulli and kinematic equations, (3) and (2), gives,&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;H_0(z,\tau) = \Psi_{0,z} = B_{0,z} &amp;amp;(a) \\ \\&lt;br /&gt;
&amp;amp;H_1-B_{1,z}+\frac{1}{2}B_{0,zzz}+B_{0,\tau}+\frac{1}{2}B^2_{0,z} = 0 &amp;amp;(b) \\ \\&lt;br /&gt;
&amp;amp;-H_0B_{0,zz}+\frac{1}{6}B_{0,zzzz}-B_{1,zz} = -H_{1,z}+H_{0,\tau}+B_{0,z}H_{0,z} &amp;amp;(c)&lt;br /&gt;
\end{matrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Differentiating (b) and eliminating &amp;lt;math&amp;gt;H_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B_1&amp;lt;/math&amp;gt; from (c) allow us to write,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-H_0B_{0,zz}-\frac{1}{3}B_{0,zzzz}-B_{0,z\tau}-B_{0,z}B_{0,zz} = H_{0,\tau}+B_{0,z}H_{0,z}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, (a) gives &amp;lt;math&amp;gt;B_0&amp;lt;/math&amp;gt; in terms of &amp;lt;math&amp;gt;H_0&amp;lt;/math&amp;gt; and hence&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
2H_{0,\tau}+3H_0H_{0,z}+\frac{1}{3}H_{0,zzz}=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which is named &amp;lt;b&amp;gt;Korteweg-de Vries (KdV)&amp;lt;/b&amp;gt; equation.&lt;br /&gt;
&lt;br /&gt;
==Interpretation==&lt;br /&gt;
&lt;br /&gt;
KdV equation includes dispersive effects through the term &amp;lt;font size=&#039;3&#039;&amp;gt;&amp;lt;math&amp;gt;H_{0,zzz}&amp;lt;/math&amp;gt;&amp;lt;/font&amp;gt; and nonlinear effects through the term &amp;lt;font size=&#039;3&#039;&amp;gt;&amp;lt;math&amp;gt;H_0H_{0,z}&amp;lt;/math&amp;gt;&amp;lt;/font&amp;gt; and governs the behavior of the small amplitude waves, with &amp;lt;font size=&#039;3&#039;&amp;gt;&amp;lt;math&amp;gt;\alpha&amp;lt;&amp;lt;1&amp;lt;/math&amp;gt;&amp;lt;/font&amp;gt;. It is reasonable to ask when and where the independent variables, &amp;lt;font size=&#039;3&#039;&amp;gt;&amp;lt;math&amp;gt;z&amp;lt;/math&amp;gt;&amp;lt;/font&amp;gt; and &amp;lt;font size=&#039;3&#039;&amp;gt;&amp;lt;math&amp;gt;\tau&amp;lt;/math&amp;gt;&amp;lt;/font&amp;gt;, are of &amp;lt;font size=&#039;3&#039;&amp;gt;&amp;lt;math&amp;gt;O(1)&amp;lt;/math&amp;gt;&amp;lt;/font&amp;gt; in order to determine more precisely the region in physical space where the KdV equation is valid as an approximation of the actual flow. According to the definition of &amp;lt;font size=&#039;3&#039;&amp;gt;&amp;lt;math&amp;gt;z&amp;lt;/math&amp;gt;&amp;lt;/font&amp;gt; and &amp;lt;font size=&#039;3&#039;&amp;gt;&amp;lt;math&amp;gt;\tau&amp;lt;/math&amp;gt;&amp;lt;/font&amp;gt;, if &amp;lt;font size=&#039;3&#039;&amp;gt;&amp;lt;math&amp;gt;\alpha=O(\epsilon^2)&amp;lt;/math&amp;gt;&amp;lt;/font&amp;gt;, then &amp;lt;math&amp;gt;\bar{t}&amp;gt;&amp;gt;1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\bar{x}=\bar{t}+O(1)&amp;lt;/math&amp;gt;. This leads us to interpret any waveform that arises as a solution of the KdV equation as the large time limit of an initial value problem.&lt;br /&gt;
&lt;br /&gt;
For solution of KdV equation please refer [http://www.wikiwaves.org/index.php/KdV_Equation_Solutions here.]&lt;br /&gt;
&lt;br /&gt;
[[Category:Nonlinear Water-Wave Theory]]&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Nonlinear_Shallow_Water_Waves&amp;diff=12965</id>
		<title>Nonlinear Shallow Water Waves</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Nonlinear_Shallow_Water_Waves&amp;diff=12965"/>
		<updated>2010-11-06T09:51:24Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: /* Accelerating Piston */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Nonlinear Shallow Water Waves&lt;br /&gt;
 | next chapter = [[Introduction to KdV]]&lt;br /&gt;
 | previous chapter = [[Traffic Waves]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{complete pages}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
We assume that water is incompressible,&lt;br /&gt;
viscous effects are negligible and that the typical wave lengths are much larger than the water depth. &lt;br /&gt;
This allows us to assume [[:Category:Shallow Depth|Shallow Depth]]. We assume that the problem has not variation&lt;br /&gt;
in either the &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;z&amp;lt;/math&amp;gt; direction. The fluid is governed by two parameters, &lt;br /&gt;
&amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;, the velocity of the water, and &amp;lt;math&amp;gt;h&amp;lt;/math&amp;gt; the water depth (note that this is not the still water depth since the problem&lt;br /&gt;
is nonlinear). &lt;br /&gt;
&lt;br /&gt;
The theory we present here is discussed in [[Stoker 1957]], [[Billingham and King 2000]] and [[Johnson 1997]].&lt;br /&gt;
&lt;br /&gt;
== Equations of Motion ==&lt;br /&gt;
&lt;br /&gt;
The equation for the conservation of mass can derived by considering a a region &amp;lt;math&amp;gt;[x,x+\Delta x]&amp;lt;/math&amp;gt;&lt;br /&gt;
Conservation of mass then implies that &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\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)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
If we take the limit as &amp;lt;math&amp;gt;\Delta x \to 0&amp;lt;/math&amp;gt; we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t h(x ,t) + \partial_x (h(x ,t)u(x ,t)) = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A second equation comes from conservation of momentum. In integral form&lt;br /&gt;
this is &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \int_{x}^{x + \Delta x} \rho h u \mathrm{d}x &lt;br /&gt;
= \left. \rho u^2 h \right|_{x}^{x + \Delta x} &lt;br /&gt;
+ \int_0^{h(x)} P(x,z,t) \mathrm{d}z - &lt;br /&gt;
\int_0^{h(x + \Delta x)} P(x+\Delta x,z,t) \mathrm{d}z&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\rho \,&amp;lt;/math&amp;gt; denotes density, and the pressure &amp;lt;math&amp;gt;P \,&amp;lt;/math&amp;gt; is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
P = \rho g \left(h - z\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
(i.e. we have hydrostatic equilibrium).  This then gives us&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \int_{x}^{x + \Delta x} \rho h u \mathrm{d}x &lt;br /&gt;
= -\left. \rho u^2 h \right|_{x}^{x + \Delta x} &lt;br /&gt;
+ \frac{1}{2}\rho g {h(x)}^2 - &lt;br /&gt;
 \frac{1}{2}\rho g  {h(x + \Delta x)}^2 &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
If we then take the limit as &amp;lt;math&amp;gt;\Delta x \to 0&amp;lt;/math&amp;gt; we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t  \left( h u \right) &lt;br /&gt;
+ \partial_x \left(u^2 h + \frac{1}{2} gh^2\right) =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
We can simplify this using the equation derived from conservation of mass to &lt;br /&gt;
to obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t u + u \partial_x u + g \partial_x h = 0  &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The equations &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t h + u \partial_x h + h \partial_x u = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t u + u \partial_x u + g \partial_x h = 0  &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
are called the nonlinear shallow water equations. They determine the horizontal water velocity and the local water depth.&lt;br /&gt;
&lt;br /&gt;
We can rewrite them in terms of the local wave speed &amp;lt;math&amp;gt;c(x, t) = \sqrt{gh(x, t)}&amp;lt;/math&amp;gt; as follows:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;2\partial_t c + 2u\partial_x c + c\partial_x u = 0 &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\partial_t u + u\partial_x u + 2c \partial_x c = 0 &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
These equation are almost identical to those of compressible gas dynamics. Much of our understanding&lt;br /&gt;
of the equations for water have been found by researchers studying compressible gas dynamics.&lt;br /&gt;
&lt;br /&gt;
== Linearized Equations ==&lt;br /&gt;
&lt;br /&gt;
We can linearize these equations by assuming that &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; is small and that &lt;br /&gt;
&amp;lt;math&amp;gt;h=h_0 + \zeta &amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;h_0&amp;lt;/math&amp;gt; is the average water depth&lt;br /&gt;
and &amp;lt;math&amp;gt;\zeta&amp;lt;/math&amp;gt; is also assumed small. This gives us&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \zeta + h_0\partial_x u = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t u + g \partial_x \zeta = 0  &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
These linear shallow water equations which can be &lt;br /&gt;
derived from the linear equations for water of finite&lt;br /&gt;
depth and taking the limit of small depth (see [[:Category:Shallow Depth|Shallow Depth]]).&lt;br /&gt;
&lt;br /&gt;
== Characteristics ==&lt;br /&gt;
&lt;br /&gt;
The equations possess characteristics. &lt;br /&gt;
Adding and subtracting the two equations above we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\partial (u \pm 2c)}{\partial t}+ (u \pm c)\frac{\partial (u \pm 2c)}{\partial x} = 0 &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
This means that &lt;br /&gt;
on the &amp;lt;math&amp;gt;\;C_+&amp;lt;/math&amp;gt; characteristic, given by &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d} X_+}{\mathrm{d} t} = u + c = u + \sqrt{gh}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
the &amp;lt;math&amp;gt;\;C_+&amp;lt;/math&amp;gt; invariant &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
R_+ = u + 2c = u + 2\sqrt{gh}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt; &lt;br /&gt;
is a constant,&lt;br /&gt;
and on the &amp;lt;math&amp;gt;\;C_-&amp;lt;/math&amp;gt; characteristic, given by &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d} X_-}{\mathrm{d} t} = u - c = u - \sqrt{gh}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
the &amp;lt;math&amp;gt;\;C_-&amp;lt;/math&amp;gt; invariant &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
R_- = u - 2c = u - 2\sqrt{gh}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt; &lt;br /&gt;
is a constant.&lt;br /&gt;
&lt;br /&gt;
The functions &amp;lt;math&amp;gt;R_{\pm} (u ,c) = u \pm 2c&amp;lt;/math&amp;gt;, are called the Riemannian invariants.&lt;br /&gt;
&lt;br /&gt;
== Simple Waves ==&lt;br /&gt;
&lt;br /&gt;
The problem as formulated can be solved by advancing the solution along the characteristics, but&lt;br /&gt;
this will in general be quite difficult analytically. However, there is a special class of problems,&lt;br /&gt;
called &#039;&#039;Simple Waves&#039;&#039; in which the solution only changes on one characteristic.  &lt;br /&gt;
They are best illustrated through some examples. Note that the characteristic can meet forming&lt;br /&gt;
a shock, which is called a [http://en.wikipedia.org/wiki/Tidal_bore bore] or a &lt;br /&gt;
[http://en.wikipedia.org/wiki/Hydraulic_jump hydraulic jump]&lt;br /&gt;
when it occurs on the surface of the water. &lt;br /&gt;
&lt;br /&gt;
=== The dam break problem ===&lt;br /&gt;
Assume the water occupies the region &amp;lt;math&amp;gt;{x &amp;lt; 0 ; 0 &amp;lt; z &amp;lt; h_0 }&amp;lt;/math&amp;gt; initially held back by a dam at &amp;lt;math&amp;gt;x = 0&amp;lt;/math&amp;gt;. &lt;br /&gt;
At &amp;lt;math&amp;gt;t = 0&amp;lt;/math&amp;gt;, the dam is removed (breaks). What is the height of the water &lt;br /&gt;
&amp;lt;math&amp;gt;h(x,t) \,&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;t &amp;gt; 0? \,&amp;lt;/math&amp;gt; The initial condition is therefore&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;h(x,0) = \begin{cases}&lt;br /&gt;
 h_0, &amp;amp; x &amp;lt; 0 \\&lt;br /&gt;
 0, &amp;amp; x &amp;gt; 0&lt;br /&gt;
 \end{cases} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;u(x ,0) = 0. \,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
On the characteristic that originates at &amp;lt;math&amp;gt;t = 0&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;x &amp;lt; 0&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
R_\pm = u \pm 2\sqrt{gh} = \pm 2\sqrt{gh_0} = \pm 2c_0 &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;c_0 = \sqrt{gh_0}&amp;lt;/math&amp;gt; is the initial (linear) wave speed.&lt;br /&gt;
&lt;br /&gt;
Therefore, if a &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; and a &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt; characteristic from this region intersect, then &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u + 2\sqrt{gh} = 2c_0 , \;\mathrm{and}\; u - 2\sqrt{gh} = -2c_0  &lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and hence, &amp;lt;math&amp;gt;u = 0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;h = h_0&amp;lt;/math&amp;gt;. &lt;br /&gt;
Moreover, &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d} X_\pm}{\mathrm{d} t} = u \pm \sqrt{gh} = \pm c_0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
so these characteristics are straight lines in the region &amp;lt;math&amp;gt;\big\{x &amp;lt; -c_0 t \big\}&amp;lt;/math&amp;gt;&lt;br /&gt;
(the undisturbed region).&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;\;C_+&amp;lt;/math&amp;gt; characteristic leave the region a&amp;lt;math&amp;gt;\big\{x &amp;lt; -c_0 t \big\}&amp;lt;/math&amp;gt; &lt;br /&gt;
and enter &amp;lt;math&amp;gt;\big\{x &amp;gt; -c_0 t \big\}&amp;lt;/math&amp;gt;. For now we will assume that these characteristics fill the domain&lt;br /&gt;
(and show that this is true shortly).&lt;br /&gt;
For &amp;lt;math&amp;gt;\big\{x &amp;gt; -c_0 t \big\}&amp;lt;/math&amp;gt;, the &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt; characteristics are given by  &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d} X_-}{\mathrm{d} t} = u - \sqrt{gh}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and on each of the &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt; characteristics &amp;lt;math&amp;gt;R_- = u - 2\sqrt{gh}&amp;lt;/math&amp;gt; is constant.&lt;br /&gt;
However, since this region is filled with &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristics where &amp;lt;math&amp;gt;R_+ = u + 2\sqrt{gh} = 2c_0&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;h&amp;lt;/math&amp;gt; &lt;br /&gt;
must be constant on each &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt; characteristic. &lt;br /&gt;
This also means that the &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt; characteristics must be straight lines.&lt;br /&gt;
&lt;br /&gt;
Since the fluid occupies &amp;lt;math&amp;gt;\big\{x &amp;lt; 0 \big\}&amp;lt;/math&amp;gt; at &amp;lt;math&amp;gt;t = 0&amp;lt;/math&amp;gt;, &lt;br /&gt;
these &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt; characteristics must start at the origin, with &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X_-(t) = \left(u - \sqrt{gh}\right)t&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which in turn implies that&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u - \sqrt{gh} = \frac{x}{t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt; &lt;br /&gt;
We also have &amp;lt;math&amp;gt;R_+ = u + 2\sqrt{gh} = 2c_0&amp;lt;/math&amp;gt; from the &lt;br /&gt;
&amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristics. We can solve these equations &lt;br /&gt;
at each point in &amp;lt;math&amp;gt;\big\{x &amp;gt; -c_0 t \big\}&amp;lt;/math&amp;gt;. Solving for &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;h&amp;lt;/math&amp;gt; gives&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
h(x, t) = &lt;br /&gt;
\begin{cases}&lt;br /&gt;
\frac{h_0}{9}\left(2 - \frac{x}{c_0 t}\right)^2, \quad -c_0 t &amp;lt; x&amp;lt; 2 c_0 t,\\&lt;br /&gt;
h_0,\quad x &amp;lt;-c_0 t,&lt;br /&gt;
\end{cases}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u(x, t) = &lt;br /&gt;
\begin{cases}&lt;br /&gt;
\frac{2}{3} \left (c_0 + \frac{x}{t} \right ), \quad -c_0 t &amp;lt; x&amp;lt; 2 c_0 t,\\&lt;br /&gt;
0,\quad x &amp;lt;-c_0 t.&lt;br /&gt;
\end{cases}  &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Where we have assumed that, since &amp;lt;math&amp;gt;h = 0&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;x = 2c_0 t,&amp;lt;/math&amp;gt; &lt;br /&gt;
the  &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristic only exist in the region &amp;lt;math&amp;gt;\big\{x &amp;lt; 2c_0 t \big\}&amp;lt;/math&amp;gt;,&lt;br /&gt;
We will verify this by explicitly calculating them.    &lt;br /&gt;
&lt;br /&gt;
It remains to determine the &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristic, which originated in &amp;lt;math&amp;gt;\big\{x &amp;lt; 0 \big\}&amp;lt;/math&amp;gt;,&lt;br /&gt;
and show they &lt;br /&gt;
will fill the domain &amp;lt;math&amp;gt;\big\{x &amp;lt; 2c_0 t \big\}&amp;lt;/math&amp;gt;. For &amp;lt;math&amp;gt;\big\{x &amp;lt; -c_0 t \big\}&amp;lt;/math&amp;gt;, &lt;br /&gt;
the &amp;lt;math&amp;gt;\;C_+&amp;lt;/math&amp;gt; characteristics are straight lines with slope &amp;lt;math&amp;gt;c_0&amp;lt;/math&amp;gt; and are given by &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X_+ (t) = -x_0 + c_0 t, \quad \left(x_0 &amp;gt; 0,\;\; t &amp;lt; \frac{x_0}{2c_0}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
When &amp;lt;math&amp;gt;t = \frac{x_0}{2c_0},\;\;\ X_{+} (t) = -c_0 t&amp;lt;/math&amp;gt; so that for &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
t &amp;gt; \frac{x_0}{2c_0}, \quad \frac{\mathrm{d} X_{+} (t)}{\mathrm{d} t} = u + \sqrt{gh}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt; &lt;br /&gt;
and substituting the solution we found for &amp;lt;math&amp;gt;h&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}X_{+} (t)}{\mathrm{d} t} = \frac{4}{3}c_0 + \frac{X_{+} (t)}{3t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Solving this ODE  subject to &amp;lt;math&amp;gt;X_+ \left(\frac{x_0}{2c_0}\right) = -\frac{x_0}{2}&amp;lt;/math&amp;gt; gives&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X_+ (t) = 2c_0 t - 3\left(\frac{x_0}{2}\right)^{2/3}(c_0 t)^{1/3},\;\;&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
the equation for a characteristic curve.&lt;br /&gt;
The curves indeed fill the domain &amp;lt;math&amp;gt;\big\{x &amp;lt; 2c_0 t \big\}&amp;lt;/math&amp;gt; &lt;br /&gt;
and all satisfy &amp;lt;math&amp;gt;\big\{X_+ (t) &amp;lt; 2c_0 t \big\}&amp;lt;/math&amp;gt;.  To summarize, the&lt;br /&gt;
&amp;lt;math&amp;gt;C^{+}&amp;lt;/math&amp;gt;  characteristics are given by &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X_+ (t) =&lt;br /&gt;
\begin{cases}&lt;br /&gt;
 2c_0 t - 3\left(\frac{x_0}{2}\right)^{2/3}(c_0 t)^{1/3},\quad t&amp;gt; x_0/2 c_0\\&lt;br /&gt;
 -x_0 + c_0 t, \quad 0\ &amp;lt; t &amp;lt; x_0/2 c_0&lt;br /&gt;
\end{cases}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Characteristics&lt;br /&gt;
! Surface elevation&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Characteristics_dam_break.jpg|thumb|right|500px|Characteristics for the dam &lt;br /&gt;
break problem, blue for &amp;lt;math&amp;gt;C_{+}&amp;lt;/math&amp;gt; and red for &amp;lt;math&amp;gt;C_{-}&amp;lt;/math&amp;gt;. The solid red lines&lt;br /&gt;
show the curves &amp;lt;math&amp;gt;x=-c_0 t&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x=2c_0 t&amp;lt;/math&amp;gt; (note we have assumed&lt;br /&gt;
here that &amp;lt;math&amp;gt;c_0 =1&amp;lt;/math&amp;gt;]]&lt;br /&gt;
| [[Image:Dambreak.gif|thumb|right|500px|Evolution of the fluid surface &amp;lt;math&amp;gt;h(x,t)&amp;lt;/math&amp;gt; for the Dam Break problem]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Shocks ==&lt;br /&gt;
&lt;br /&gt;
For a unique solution two exist there must be a single &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt;&lt;br /&gt;
characteristic through each point. When two characteristics of the same kind meet we &lt;br /&gt;
have a shock forming. &lt;br /&gt;
&lt;br /&gt;
=== Accelerating Piston ===&lt;br /&gt;
&lt;br /&gt;
We now consider the problem of water initially at rest occupying the &lt;br /&gt;
half space &amp;lt;math&amp;gt;x&amp;gt;0&amp;lt;/math&amp;gt; which is initially at rest. At &amp;lt;math&amp;gt;t=0&amp;lt;/math&amp;gt;&lt;br /&gt;
the piston at &amp;lt;math&amp;gt;x=0&amp;lt;/math&amp;gt; begins to move to the right with constant&lt;br /&gt;
acceleration &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; so that the position of the piston is given by&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{1}{2}at^2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
We assume that the &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt; characteristics which originate in the&lt;br /&gt;
water at &amp;lt;math&amp;gt;t=0&amp;lt;/math&amp;gt; fill the fluid. On these characteristics&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
R_- = u - 2 c = -2c_0 \,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and this condition must hold throughout the fluid.  &lt;br /&gt;
On the &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristics we know that&lt;br /&gt;
&amp;lt;math&amp;gt; R_+ = u + 2 c &amp;lt;/math&amp;gt; must be a constant and hence on the &lt;br /&gt;
&amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristics &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;&lt;br /&gt;
must be constant and hence the &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristics must&lt;br /&gt;
be straight lines.  Note that this does not mean that the &lt;br /&gt;
&amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristics have the same slope and there is no&lt;br /&gt;
requirement that the &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt; characteristics are straight lines.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristic originate from the fluid&lt;br /&gt;
or from the front of the piston. We consider those which originate from&lt;br /&gt;
the piston.  The  &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristic which originates from&lt;br /&gt;
the piston at &amp;lt;math&amp;gt;t=t_0&amp;lt;/math&amp;gt; must satisfy&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u+2c = a t_0 + 2c_{\text{plate}} \,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt; a t_0&amp;lt;/math&amp;gt; is the velocity of the piston at time &amp;lt;math&amp;gt;t=t_0&amp;lt;/math&amp;gt;&lt;br /&gt;
and &amp;lt;math&amp;gt;c_{\text{plate}}&amp;lt;/math&amp;gt; is the speed (related to height) at the plate. &lt;br /&gt;
We know that &amp;lt;math&amp;gt; R_- = u - 2 c =-2c_0&amp;lt;/math&amp;gt; through out the fluid, so that if&lt;br /&gt;
we solve this at the plate (where &amp;lt;math&amp;gt;u=at_0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c=c_{\text{plate}}&amp;lt;/math&amp;gt;)&lt;br /&gt;
then we get &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
c_{\text{plate}} = at_0/2 + c_0\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On the &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristics &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;&lt;br /&gt;
are constant and therefore&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}X_+}{\mathrm{d}t} = u+c = at_0 + \left( \frac{1}{2}at_0 + c_0 \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Hence&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X_+(t,t_0) = \left( \frac{3}{2} a t_0 + c_0 \right) t - c_0 t_0 -a t_0^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
using the condition &amp;lt;math&amp;gt;X_+(t_0,t_0) = \frac{1}{2} a t_0^2&amp;lt;/math&amp;gt; (the initial value which&lt;br /&gt;
comes from the position of the piston at &amp;lt;math&amp;gt;t=t_0&amp;lt;/math&amp;gt;).&lt;br /&gt;
The slope of these lines increases and eventually meet to form a shock. &lt;br /&gt;
We find this point of intersection by considering neighboring characteristics&lt;br /&gt;
and determining when they first intersect. &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X_+(t,t_0 + \Delta t) = X_+(t,t_0) + \Delta t \frac{\partial X_+}{\partial t_0} (t,t_0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
It follows that neighbouring characteristics will meet when &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\partial X_+}{\partial t_0} (t,t_0) = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which implies that &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
t = \frac{2c_0}{3a} + \frac{4}{3}t_0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
The first time that a shock forms is the minimum value of this equation.&lt;br /&gt;
For this piston example, this occurs when &amp;lt;math&amp;gt;t_0 = 0&amp;lt;/math&amp;gt; and the value&lt;br /&gt;
of &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;t = 2c_0/(3a)&amp;lt;/math&amp;gt;. At this point&lt;br /&gt;
a shock is formed and we can no longer find a unique solution by following the &lt;br /&gt;
characteristics.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Characteristics&lt;br /&gt;
! Surface elevation&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Accelerating_piston.jpg|thumb|right|500px| &amp;lt;math&amp;gt;C_{+}&amp;lt;/math&amp;gt; characteristics for the &lt;br /&gt;
accelerating piston, red undisturbed, blue from the piston and the green line shows the transition.]]&lt;br /&gt;
| [[Image:Accelerating_piston2.gif|thumb|right|500px|Evolution of the fluid surface &amp;lt;math&amp;gt;h(x,t)&amp;lt;/math&amp;gt; for the &lt;br /&gt;
accelerating piston.]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Piston Moving with Constant Velocity ===&lt;br /&gt;
&lt;br /&gt;
This example is also known as the Moving Wall Problem, and is connected to Shallow Water Bores.  &lt;br /&gt;
&lt;br /&gt;
We consider the case of a piston, with positive constant velocity &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; (which is initially at &amp;lt;math&amp;gt;x=0&amp;lt;/math&amp;gt;), advancing into a semi-infinite expanse of&lt;br /&gt;
fluid that is initially at rest with depth &amp;lt;math&amp;gt;h_0&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristics which originate in the fluid&lt;br /&gt;
at &amp;lt;math&amp;gt;t=0&amp;lt;/math&amp;gt; have slope&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\mathrm{d} X_+}{\mathrm{d}t} = \sqrt{gh_0}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and the &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristic which originate at the piston at &lt;br /&gt;
&amp;lt;math&amp;gt;t=0&amp;lt;/math&amp;gt; must satisfy&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\mathrm{d} X_+}{\mathrm{d}t} = \sqrt{gh_0} + \frac{3}{2} V &amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
so that these two characteristics will intersect at &amp;lt;math&amp;gt;t=0&amp;lt;/math&amp;gt;.&lt;br /&gt;
Therefore a shock forms immediately and we can track this by determining the&lt;br /&gt;
speed of the shock&lt;br /&gt;
&lt;br /&gt;
=== Speed of the shock ===&lt;br /&gt;
&lt;br /&gt;
We need the conservation equations in integral form to determine the speed&lt;br /&gt;
of the shock.  Conservation of mass, written as an integral is &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \int_{x_1}^{x_2} \rho h \mathrm{d}x &lt;br /&gt;
+ \left. \rho u h \right|_{x_2}^{x_1} =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
If the shock is located at &amp;lt;math&amp;gt;s(t)&amp;lt;/math&amp;gt;&lt;br /&gt;
which we assume is located between &amp;lt;math&amp;gt;x_1&amp;lt;/math&amp;gt;&lt;br /&gt;
and &amp;lt;math&amp;gt;x_2&amp;lt;/math&amp;gt;, then &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \int_{x_1}^{x_2} h \mathrm{d}x &lt;br /&gt;
= \partial_t \left( \int_{x_1}^{s(t)} + &lt;br /&gt;
\int_{s(t)}^{x_2} \right) h \mathrm{d}x&lt;br /&gt;
= \left( \int_{x_1}^{s(t)} + &lt;br /&gt;
\int_{s(t)}^{x_2} \right) \partial_t h \mathrm{d}x + h^{+} \partial_t s(t) - h^{-}\partial_t s(t),&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;h^+&amp;lt;/math&amp;gt; is the height on the right (positive) side of &lt;br /&gt;
the jump and &amp;lt;math&amp;gt;h^-&amp;lt;/math&amp;gt; is the height on the left (negative) side. &lt;br /&gt;
If we take the limit as &amp;lt;math&amp;gt;x_1\to x_2&amp;lt;/math&amp;gt; we then obtain the following&lt;br /&gt;
identity&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 h^{+}\partial_t s(t) - h^{-}\partial_t s(t) -&lt;br /&gt;
u^{+} h^{+} + u^{-} h^{-} = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;u^+&amp;lt;/math&amp;gt; is the height on the right (positive) side of &lt;br /&gt;
the jump and &amp;lt;math&amp;gt;u^-&amp;lt;/math&amp;gt; is the height on the left (negative) side. &lt;br /&gt;
&lt;br /&gt;
We now need to consider the equation for conservation of momentum. In integral form&lt;br /&gt;
this is &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \int_{x_1}^{x_2} \rho h u \mathrm{d}x &lt;br /&gt;
= \left. \rho u^2 h \right|_{x_1}^{x_2} &lt;br /&gt;
+ \int_0^{h(x_1)} P(x_1,z,t) \mathrm{d}z - &lt;br /&gt;
\int_0^{h(x_2)} P(x_2,z,t) \mathrm{d}z&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where the pressure &amp;lt;math&amp;gt;P&amp;lt;/math&amp;gt; is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
P = \rho g \left(h - z\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
(i.e. we have hydrostatic equilibrium).  We can apply a similar argument as before to obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 h^{+}u^{+}\partial_t s(t) - h^{-}u^{-}\partial_t s(t) = &lt;br /&gt;
\left(u^{+}\right)^2 h^{+} - \left(u^{-}\right)^2 h^{-}&lt;br /&gt;
+ \frac{1}{2} g  \left(h^{+}\right)^2 - \frac{1}{2} g  \left(h^{-}\right)^2  &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Hydraulic Jump ===&lt;br /&gt;
&lt;br /&gt;
For a hydraulic jump, &amp;lt;math&amp;gt;\dot{s}(t) = 0&amp;lt;/math&amp;gt;, which means that we must solve &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u^{+} h^{+} - u^{-} h^{-} = 0 \,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\left(u^{+}\right)^2 h^{+} - \left(u^{-}\right)^2 h^{-}&lt;br /&gt;
+ \frac{1}{2} g  \left(h^{+}\right)^2 - \frac{1}{2} g  \left(h^{-}\right)^2  =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
If we introduce the variables &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
H = \frac{h^{+}}{h^{-}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathrm{Fr} = \frac{u^{-}}{\sqrt{gh^{-}}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\mathrm{Fr}&amp;lt;/math&amp;gt; is the &#039;&#039;Froude&#039;&#039; number&lt;br /&gt;
which is equivalent to the Mach number for gas dynamics.  &lt;br /&gt;
Then we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
H^2 -1 = 2 \mathrm{Fr}^2 \left(1 - \frac{1}{H}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
This expression has the roots&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
H=1, \quad H=\frac{1}{2}\left(-1\pm\sqrt{1 + 8 \mathrm{Fr}^2}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
The only physically meaningful solution is the root which satisfies&lt;br /&gt;
&amp;lt;math&amp;gt;H&amp;gt;1&amp;lt;/math&amp;gt;.  This is only true providing &amp;lt;math&amp;gt;\mathrm{Fr} &amp;gt; 1&amp;lt;/math&amp;gt;, which means&lt;br /&gt;
that we can only obtain a hydraulic jump if the flow is supercritical.  &lt;br /&gt;
&lt;br /&gt;
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)&lt;br /&gt;
{{#ev:youtube|5etwhZ0d2GU}}&lt;br /&gt;
&lt;br /&gt;
=== Shallow Water Bore ===&lt;br /&gt;
We now consider  a bore, in which &lt;br /&gt;
the shock wave advances into still water. &lt;br /&gt;
We denote the fluid speed by &amp;lt;math&amp;gt;V = u^{-}&amp;lt;/math&amp;gt;. &lt;br /&gt;
We denote the height on the wall side&lt;br /&gt;
by &amp;lt;math&amp;gt;h_1&amp;lt;/math&amp;gt; and the height on the other side must be &amp;lt;math&amp;gt;h_0&amp;lt;/math&amp;gt;, i.e.&lt;br /&gt;
&amp;lt;math&amp;gt;h^{+} = h_0&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;h^{-} = h_1&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;u^{+} = 0&amp;lt;/math&amp;gt;.&lt;br /&gt;
This means that&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 h_{0}\partial_t s(t) - h_{1}\partial_t s(t) &lt;br /&gt;
 + V h_{1}= 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 - h_{1}V\partial_t s(t) = - \left(V\right)^2 h_{1}&lt;br /&gt;
+ \frac{1}{2} g  \left(h_{0}\right)^2 - \frac{1}{2} g  \left(h_{1}\right)^2  &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which can be solved to obtain the shock speed and the height of the moving fluid. &lt;br /&gt;
&lt;br /&gt;
Below is a video of surfing on the [http://en.wikipedia.org/wiki/Severn Severn] bore, do not believe everything they&lt;br /&gt;
say. You might also want to check out the [http://en.wikipedia.org/wiki/Pororoca Pororoca]&lt;br /&gt;
a tidal bore on the Amazon. &lt;br /&gt;
{{#ev:youtube|0jtkyuuMgVQ}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Simple Nonlinear Waves]]&lt;br /&gt;
[[Category:Nonlinear Water-Wave Theory]]&lt;br /&gt;
[[Category:Shallow Depth]]&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Traffic_Waves&amp;diff=12963</id>
		<title>Traffic Waves</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Traffic_Waves&amp;diff=12963"/>
		<updated>2010-11-06T09:49:53Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: /* Speed of the shock */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Traffic Waves&lt;br /&gt;
 | next chapter = [[Nonlinear Shallow Water Waves]]&lt;br /&gt;
 | previous chapter = [[Method of Characteristics for Linear Equations]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{complete pages}}&lt;br /&gt;
&lt;br /&gt;
We consider here some simple equations which model traffic flow. This problem is discussed in&lt;br /&gt;
[[Billingham and King 2000]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Reference]]&lt;br /&gt;
&lt;br /&gt;
== Equations ==&lt;br /&gt;
&lt;br /&gt;
We consider a single lane of road, and we measure distance along the road with &lt;br /&gt;
the variable &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt; is time. &lt;br /&gt;
We define the following variables&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&amp;amp;\rho(x,t) &amp;amp;: &amp;amp;\mbox{car density (cars/km)} \\&lt;br /&gt;
&amp;amp; v(\rho)         &amp;amp;: &amp;amp;\mbox{car velocity (km/hour)} \\&lt;br /&gt;
&amp;amp; q(x,t) =\rho v         &amp;amp;: &amp;amp;\mbox{car flow rate (cars/hour)}  \\&lt;br /&gt;
\end{matrix} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If we consider a finite length of road &amp;lt;math&amp;gt;x_1\leq x \leq x_2&amp;lt;/math&amp;gt; then the net flow of cars&lt;br /&gt;
in and out must be balanced by the change in density. This means that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\partial}{\partial t} \int_{x_1}^{x_2} \rho(x,t) \mathrm{d}x = -q(x_2,t) + q(x_1,t)&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We now consider continuous densities (which is obviously an approximation) and &lt;br /&gt;
set &amp;lt;math&amp;gt;x_2 = x_1 + \Delta x&amp;lt;/math&amp;gt; and we obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\partial}{\partial t} \rho(x_1,t) = -\frac{q(x_2,t) + q(x_1,t)}{\Delta x}&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and if we take the limit as &amp;lt;math&amp;gt;\Delta x \to 0&amp;lt;/math&amp;gt; we obtain the differential equation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\partial \rho}{\partial t}  + \frac{\partial q}{\partial x} = 0&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that this equation has been derived purely from the need to conserve cars (it is a conservation equation) and &lt;br /&gt;
is not possible to solve this equation until we have derived a connection between &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt;&lt;br /&gt;
and &amp;lt;math&amp;gt;q&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
== Equation for &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; only ==&lt;br /&gt;
&lt;br /&gt;
At the moment we assume that we have some expression for &amp;lt;math&amp;gt;v(\rho)&amp;lt;/math&amp;gt;&lt;br /&gt;
If we substitute the expression for &amp;lt;math&amp;gt;q = v\rho&amp;lt;/math&amp;gt; into our differential equation we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\partial \rho}{\partial t}  + \frac{\partial }{\partial x} \left(v(\rho)\rho\right) = 0&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which gives us &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\partial \rho}{\partial t}  + \left(v^{\prime}(\rho)\rho + v(\rho)\right)&lt;br /&gt;
\frac{\partial \rho }{\partial x} = 0&lt;br /&gt;
 &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; &lt;br /&gt;
\frac{\partial \rho}{\partial t}  + c(\rho)\frac{\partial \rho }{\partial x} = 0&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;c(\rho) =  \left(v^{\prime}(\rho)\rho + v(\rho)\right)&amp;lt;/math&amp;gt;&lt;br /&gt;
is the &#039;&#039;&#039;kinematic wave speed&#039;&#039;&#039;. Note that this is not the speed of the cars, but&lt;br /&gt;
the speed at which disturbances in the density travel.&lt;br /&gt;
&lt;br /&gt;
== A simple relationship between &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;q&amp;lt;/math&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The relationship between &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;q&amp;lt;/math&amp;gt; is an equation of state and&lt;br /&gt;
there is no &#039;&#039;exact&#039;&#039; equation since it depends on many unknowns. One of the&lt;br /&gt;
simplest relationship between &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;q&amp;lt;/math&amp;gt; is derived from&lt;br /&gt;
the following assumptions&lt;br /&gt;
&lt;br /&gt;
* When the density &amp;lt;math&amp;gt;\rho = 0&amp;lt;/math&amp;gt; the speed is &amp;lt;math&amp;gt;v=v_0&amp;lt;/math&amp;gt;&lt;br /&gt;
* When the density is &amp;lt;math&amp;gt;\rho = \rho_{\max} &amp;lt;/math&amp;gt; the speed is &amp;lt;math&amp;gt;v=0&amp;lt;/math&amp;gt;&lt;br /&gt;
* The speed is a linear function of &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; between these two values. &lt;br /&gt;
&lt;br /&gt;
This also gives good fit with measured data. We will either consider the general case or use this simple&lt;br /&gt;
relationship. Using this we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
v(\rho) = v_0\frac{\rho_{\max} - \rho}{\rho_{\max}}&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The flux of cars is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
q = \rho v(\rho) = v_0\frac{\rho(\rho_{\max} - \rho)}{\rho_{\max}}&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and the wave speed is &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
c(\rho) =  \left(v^{\prime}(\rho)\rho + v(\rho)\right) = -\frac{v_0}{\rho_{\max}}\rho + v_0\frac{\rho_{\max} - \rho}{\rho_{\max}}&lt;br /&gt;
= v_0\frac{\rho_{\max} - 2\rho}{\rho_{\max}}&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt;&lt;br /&gt;
! &amp;lt;math&amp;gt;q&amp;lt;/math&amp;gt;&lt;br /&gt;
! &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Velocity.jpg|thumb|350px|&amp;lt;math&amp;gt;v(\rho)&amp;lt;/math&amp;gt; versus &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt;]]&lt;br /&gt;
| [[Image:Q_flux.jpg|thumb|350px|&amp;lt;math&amp;gt;q(\rho)&amp;lt;/math&amp;gt; versus &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt;]]&lt;br /&gt;
| [[Image:C_speed.jpg|thumb|350px|&amp;lt;math&amp;gt;\rho(\rho)&amp;lt;/math&amp;gt; versus &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt;]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Small Amplitude Disturbances ==&lt;br /&gt;
&lt;br /&gt;
We can linearise the model by assuming that the variation in density is small so &lt;br /&gt;
that we can write&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\rho = \rho_0 + \tilde{\rho}&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where we assume that &amp;lt;math&amp;gt;\tilde{\rho}&amp;lt;/math&amp;gt; is small. This allows us to write the equations as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\partial \tilde{\rho}}{\partial t}  + c(\rho_0) \frac{\partial \tilde{\rho}}{\partial x}  = 0&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where the main difference between this and the full equation is that the wave speed &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is&lt;br /&gt;
a constant. This is the linearised equation. Note that this linearisation does not give a good model because &lt;br /&gt;
traffic density does not vary only a small amount about some mean (as is the case for accoustic waves where the &lt;br /&gt;
density of air is roughly constant). &lt;br /&gt;
&lt;br /&gt;
Under these assumptions the solution to the equation is &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\tilde{\rho} = f(x - c(\rho_0)t) &lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt; is determined by the initial condition. This represents &lt;br /&gt;
disturbances which travel with speed &amp;lt;math&amp;gt;c(\rho_0)&amp;lt;/math&amp;gt; in the positive&lt;br /&gt;
&amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; direction. &lt;br /&gt;
&lt;br /&gt;
We now consider the &#039;&#039;&#039;characteristic curves&#039;&#039;&#039; which are curves along which the density&lt;br /&gt;
&amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; is a constant. These are give by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
x = X(t) = x_0 + c(\rho_0) t.\,&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which are just straight lines of constant slope.  We will see shortly that the full (nonlinear)&lt;br /&gt;
equations also possess characteristics.&lt;br /&gt;
&lt;br /&gt;
== Nonlinear Initial Value Problem == &lt;br /&gt;
&lt;br /&gt;
We wish to solve &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\partial \rho}{\partial t}  + c(\rho) \frac{\partial \rho}{\partial x}  = 0&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
subject to the initial conditions&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\rho(x,0) = \rho_0(x) \,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
It turns out that the concept of characteristic curves is very important for this problem. &lt;br /&gt;
&lt;br /&gt;
If we want &amp;lt;math&amp;gt;\rho(X(t),t)&amp;lt;/math&amp;gt; to be a constant then we require&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\mathrm{d}}{\mathrm{d}t}\rho(X(t),t) = \frac{\mathrm{d} X}{\mathrm{d}t} \frac{\partial \rho}{\partial x} + &lt;br /&gt;
\frac{\partial \rho}{\partial t} = 0. &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Comparing this to the governing partial differential equation we can see that we require&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\mathrm{d} X}{\mathrm{d}t}  = c(\rho) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This means that the characteristics are straight lines (since &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; is constant) with&lt;br /&gt;
slope given by &amp;lt;math&amp;gt; c(\rho_0(x_0))&amp;lt;/math&amp;gt; so that the equation for the characteristics is &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
X(t)  = x_0 + c(\rho_0(x_0))t \,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This does not allow us to write down a solution to the initial value problem,&lt;br /&gt;
all we can do is write&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\rho(x_0 + c(\rho_0(x_0))t,t) = \rho_0(x_0)\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which allows us to calculate the solution stepping forward in time, but not to determine the solution given&lt;br /&gt;
a value of &amp;lt;math&amp;gt;(x,t)&amp;lt;/math&amp;gt; (because we have no way of knowing what &amp;lt;math&amp;gt;c(\rho_0(x_0))&amp;lt;/math&amp;gt; is.  &lt;br /&gt;
&lt;br /&gt;
The characteristics are a family of straight lines which will all have different slopes. If two characteristics&lt;br /&gt;
meet, our solution method will break down because there will be two values of the density &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt;. &lt;br /&gt;
This gives rise to a &#039;&#039;&#039;shock&#039;&#039;&#039;. It turns&lt;br /&gt;
out that this the formation of shocks is a product of the equations themselves and not with the solution method.&lt;br /&gt;
We will see shortly that special methods are required to treat these shocks. &lt;br /&gt;
&lt;br /&gt;
=== Case when no shocks are formed ===&lt;br /&gt;
&lt;br /&gt;
The characteristic curves will fill the space without meeting provided that the wave speed &amp;lt;math&amp;gt;c(\rho_0)&amp;lt;/math&amp;gt;&lt;br /&gt;
is a monotonically increasing function of the distance &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;. If we work with our previous model we&lt;br /&gt;
have &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
v(\rho) = v_0\frac{\rho_{\max} - \rho}{\rho_{\max}}&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
c(\rho) = v_0\frac{\rho_{\max} - 2\rho}{\rho_{\max}}&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
so that &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is a monotonically decreasing function of density &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt;. This means&lt;br /&gt;
that the wave speed &amp;lt;math&amp;gt;c(\rho_0)&amp;lt;/math&amp;gt; will be&lt;br /&gt;
a monotonically increasing function of the distance &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; if an only if the density is a&lt;br /&gt;
monotonically decreasing function. In this case the solution can be calculated straightforwardly &lt;br /&gt;
by expansion of the initial density. &lt;br /&gt;
&lt;br /&gt;
==== No shock example ====&lt;br /&gt;
&lt;br /&gt;
We consider the case when &amp;lt;math&amp;gt;\rho_{\max} = v_0 = 1&amp;lt;/math&amp;gt; and where the initial density is given&lt;br /&gt;
by &amp;lt;math&amp;gt;\rho_0 = 1/2(1- \tanh(x))&amp;lt;/math&amp;gt;. The figures below show the initial density, the initial speed,&lt;br /&gt;
the characteristics and &amp;lt;math&amp;gt;\rho(x,t)&amp;lt;/math&amp;gt; for this case.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt;&lt;br /&gt;
! &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Traffic example1 rho.jpg|thumb|350px| &amp;lt;math&amp;gt;\rho_0 = 1/2(1- \tanh(x))&amp;lt;/math&amp;gt; ]]&lt;br /&gt;
| [[Image:Traffic_example1_c.jpg|thumb|350px|&amp;lt;math&amp;gt;c(\rho_0)&amp;lt;/math&amp;gt;]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! characteristics&lt;br /&gt;
! &amp;lt;math&amp;gt;\rho(x,t)&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Traffic_example1_characteristics.jpg|thumb|350px|Characterisitics for  &amp;lt;math&amp;gt;\rho_0 = 1/2(1- \tanh(x))&amp;lt;/math&amp;gt;]]&lt;br /&gt;
| [[Image:Traffic_example11.gif|thumb|350px|&amp;lt;math&amp;gt;\rho(x,t) for &amp;lt;/math&amp;gt;&amp;lt;math&amp;gt;\rho_0 = 1/2(1- \tanh(x))&amp;lt;/math&amp;gt;]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Riemann problem and the expansion fan ====&lt;br /&gt;
&lt;br /&gt;
We can consider a simple problem in which there is a jump in the initial density&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\rho(x,0) = &lt;br /&gt;
\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
\rho_{L},&amp;amp; x &amp;lt; 0 \\&lt;br /&gt;
\rho_{R},&amp;amp; x &amp;gt; 0 &lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\rho_{L} &amp;gt; \rho_{R}&amp;lt;/math&amp;gt; so that we do not form a shock. In this case&lt;br /&gt;
the characteristics on each side of &amp;lt;math&amp;gt;x=0&amp;lt;/math&amp;gt; have a different slope and the &lt;br /&gt;
question is what happens between. It is easiest to think about the following problem&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\rho(x,0) = &lt;br /&gt;
\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
\rho_{L},&amp;amp; x &amp;lt; -\epsilon \\&lt;br /&gt;
\frac{\rho_{R}-\rho_{L}}{2\epsilon}x + \frac{\rho_{R}+\rho_{L}}{2} &amp;amp; -\epsilon \leq x \leq \epsilon \\&lt;br /&gt;
\rho_{R},&amp;amp; x &amp;gt; \epsilon &lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We can then see that we have lines of uniformly varying slope for &amp;lt;math&amp;gt;-\epsilon&amp;lt;x&amp;lt;\epsilon&amp;lt;/math&amp;gt;&lt;br /&gt;
with slope between &amp;lt;math&amp;gt;c(\rho_L)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c(\rho_R)&amp;lt;/math&amp;gt;. If we then take the limit&lt;br /&gt;
as &amp;lt;math&amp;gt;\epsilon \to 0&amp;lt;/math&amp;gt; we obtain an expansion fan emanating from &amp;lt;math&amp;gt;x=0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If we assume that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
c(\rho) = v_0\frac{\rho_{\max} - 2\rho}{\rho_{\max}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
then we know that on the lines of the expansion fan (which all start at &amp;lt;math&amp;gt;x=0&amp;lt;/math&amp;gt;) we have&lt;br /&gt;
&amp;lt;math&amp;gt;c(\rho) = x/t&amp;lt;/math&amp;gt;. We can rearrange this and solve for &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and obtain&lt;br /&gt;
&amp;lt;math&amp;gt;\rho =\frac{ 1}{2} \rho_{\max} (1-x/v_0 t)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The solution is then given by  &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\rho(x,t) = &lt;br /&gt;
\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
\rho_{L},&amp;amp; x &amp;lt; c(\rho_L) t\\&lt;br /&gt;
\frac{ \rho_{\max}}{2} (1-x/v_0 t),&amp;amp; c(\rho_L) t \leq x \leq  c(\rho_R) t\\&lt;br /&gt;
\rho_{R},&amp;amp; x &amp;gt;  c(\rho_R) t&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This solution is known as an &#039;&#039;&#039;expansion fan&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We consider the case when &amp;lt;math&amp;gt;\rho_{\max} = v_0 = 1&amp;lt;/math&amp;gt; and where the initial density is given&lt;br /&gt;
by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\rho(x,0) = &lt;br /&gt;
\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
0.6,&amp;amp; x &amp;lt; 0 \\&lt;br /&gt;
0.3,&amp;amp; x &amp;gt; 0 &lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;. The figures below show the initial density, the initial speed,&lt;br /&gt;
the characteristics and &amp;lt;math&amp;gt;\rho(x,t)&amp;lt;/math&amp;gt; for this case.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt;&lt;br /&gt;
! &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Expansion_fan_rho.jpg|thumb|350px| &amp;lt;math&amp;gt;\rho_0&amp;lt;/math&amp;gt; ]]&lt;br /&gt;
| [[Image:Expansion_fan_c.jpg|thumb|350px|&amp;lt;math&amp;gt;c(\rho_0)&amp;lt;/math&amp;gt;]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! characteristics&lt;br /&gt;
! &amp;lt;math&amp;gt;\rho(x,t)&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Expansion_fan_characteristics.jpg|thumb|350px|Characterisitics]]&lt;br /&gt;
| [[Image:Expansion_fan1.gif|thumb|350px|&amp;lt;math&amp;gt;\rho(x,t)&amp;lt;/math&amp;gt;]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Shocks ===&lt;br /&gt;
&lt;br /&gt;
So far we have only considered the case when &amp;lt;math&amp;gt;c(x_0)&amp;lt;/math&amp;gt; is monotonically increasing so that&lt;br /&gt;
two characteristics never cross. We now consider the case when characteristics can meet. &lt;br /&gt;
A movie of this case is shown below. &lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|Suugn-p5C1M}}&lt;br /&gt;
&lt;br /&gt;
We can easily see that&lt;br /&gt;
the first characteristics to meet will be neighbouring characteristics. Consider two characteristics&lt;br /&gt;
with &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
X_1(t) = x_0 + c(x_0)t\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
X_2(t) = x_0 + \delta x + c(x_0+\delta x)t\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
Then these curves will meet at time &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; where &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
x_0 + c(x_0)T = x_0 + \delta x + c(x_0+\delta x)T\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
which implies that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
T = -\frac{1}{c^{\prime}(x_0)}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
Note the following&lt;br /&gt;
* If &amp;lt;math&amp;gt;c^{\prime}(x) &amp;gt; 0 &amp;lt;/math&amp;gt; then no shock will form. &lt;br /&gt;
* The shock first forms at the minimum positive value of &lt;br /&gt;
&amp;lt;math&amp;gt; - \frac{1}{c^{\prime}(x)} &amp;lt;/math&amp;gt;  for &amp;lt;math&amp;gt; -\infty &amp;lt; x &amp;lt;\infty &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==== Shock Fitting ====&lt;br /&gt;
&lt;br /&gt;
If we calculate the solution using our formula &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\rho(x_0 + c(\rho_0(x_0))t,t) = \rho(x_0)\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
then we find that the solution becomes multivalued in the case when a shock forms.&lt;br /&gt;
We then have to fit a shock. One way to do this is by imposing the condition that equal&lt;br /&gt;
areas are removed and added when we chose the position of the shock. &lt;br /&gt;
This corresponds to the condition that&lt;br /&gt;
the number of cars must be conserved&lt;br /&gt;
&lt;br /&gt;
==== Speed of the shock ====&lt;br /&gt;
&lt;br /&gt;
If we consider the case when there is a shock at &amp;lt;math&amp;gt;s(t)&amp;lt;/math&amp;gt; with &lt;br /&gt;
&amp;lt;math&amp;gt;\rho = \rho^{-}&amp;lt;/math&amp;gt; at &amp;lt;math&amp;gt;s=s^{-}&amp;lt;/math&amp;gt; &lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;\rho = \rho^{+}&amp;lt;/math&amp;gt; at &amp;lt;math&amp;gt;s=s^{+}&amp;lt;/math&amp;gt;&lt;br /&gt;
(where &amp;lt;math&amp;gt;s^{-}&amp;lt;/math&amp;gt;&lt;br /&gt;
is just less than s(t) and &amp;lt;math&amp;gt;s^{+}&amp;lt;/math&amp;gt;&lt;br /&gt;
is just greater than s(t) ). If we substitute&lt;br /&gt;
this into the governing integral equation we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\partial}{\partial t} \left( \int_{x_1}^{s(t)} + \int_{s(t)}^{x_2}\right)&lt;br /&gt;
 \rho(x,t)\mathrm{d}x = q(x_1,t) - q(x_2,t)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and hence&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
 \int_{x_1}^{x_2}&lt;br /&gt;
\frac{\partial \rho(x,t)}{\partial t} \mathrm{d}x + \frac{\mathrm{d}s}{\mathrm{d}t}\rho^{-} &lt;br /&gt;
- \frac{\mathrm{d}s}{\mathrm{d}t}\rho^{+}  = q(x_1,t) - q(x_2,t)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we now take the limit as &amp;lt;math&amp;gt;x_1\to x_2&amp;lt;/math&amp;gt; we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\mathrm{d}s}{\mathrm{d}t}\rho^{-} &lt;br /&gt;
- \frac{\mathrm{d}s}{\mathrm{d}t}\rho^{+}  = q(\rho^{-}) - q(\rho^{+})&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
so that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\mathrm{d}s}{\mathrm{d}t} = \frac{q(\rho^{-}) - q(\rho^{+})}&lt;br /&gt;
{\rho^{-} - \rho^{+}}  &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Shock example ====&lt;br /&gt;
&lt;br /&gt;
We consider the case when &amp;lt;math&amp;gt;\rho_{\max} = v_0 = 1&amp;lt;/math&amp;gt; and where the initial density is given&lt;br /&gt;
by &amp;lt;math&amp;gt;\rho_0 = 1/2(1 + \tanh(x))&amp;lt;/math&amp;gt;. The figures below show the initial density, the initial speed,&lt;br /&gt;
the characteristics and &amp;lt;math&amp;gt;\rho(x,t)&amp;lt;/math&amp;gt; for this case.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt;&lt;br /&gt;
! &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Traffic example2 rho.jpg|thumb|350px| &amp;lt;math&amp;gt;\rho_0 = 1/2(1+ \tanh(x))&amp;lt;/math&amp;gt; ]]&lt;br /&gt;
| [[Image:Traffic_example2_c.jpg|thumb|350px|&amp;lt;math&amp;gt;c(\rho_0)&amp;lt;/math&amp;gt;]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! characteristics&lt;br /&gt;
! &amp;lt;math&amp;gt;\rho(x,t)&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Traffic_example2_characteristics.jpg|thumb|350px|Characterisitics for  &amp;lt;math&amp;gt;\rho_0 = 1/2(1+ \tanh(x))&amp;lt;/math&amp;gt;]]&lt;br /&gt;
| [[Image:Traffic_example2.gif|thumb|350px|&amp;lt;math&amp;gt;\rho(x,t) for &amp;lt;/math&amp;gt;&amp;lt;math&amp;gt;\rho_0 = 1/2(1+ \tanh(x))&amp;lt;/math&amp;gt; Dotted solution is without shock fitting.]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Riemann problem ====&lt;br /&gt;
&lt;br /&gt;
We now consider the Riemann problem &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\rho(x,0) = &lt;br /&gt;
\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
\rho_{L},&amp;amp; x &amp;lt; 0 \\&lt;br /&gt;
\rho_{R},&amp;amp; x &amp;gt; 0 &lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\rho_{L} &amp;lt; \rho_{R}&amp;lt;/math&amp;gt;. In this case a shock forms immediately and&lt;br /&gt;
the characteristics terminate at the shock. The shock moves with constant speed given by&lt;br /&gt;
the equation for the motion of the shock (or can be found by the equal areas rule). We obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\rho(x,t) = &lt;br /&gt;
\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
\rho_{L},&amp;amp; x &amp;lt; \frac{1}{2} \left(c(\rho_{L}) + c(\rho_{R}) \right) t  \\&lt;br /&gt;
\rho_{R},&amp;amp; x &amp;gt; \frac{1}{2} \left(c(\rho_{L}) + c(\rho_{R}) \right) t &lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We consider the case when &amp;lt;math&amp;gt;\rho_{\max} = v_0 = 1&amp;lt;/math&amp;gt; and where the initial density is given&lt;br /&gt;
by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\rho(x,0) = &lt;br /&gt;
\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
0.3,&amp;amp; x &amp;lt; 0 \\&lt;br /&gt;
0.6,&amp;amp; x &amp;gt; 0 &lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The figures below show the initial density, the initial speed,&lt;br /&gt;
the characteristics, and &amp;lt;math&amp;gt;\rho(x,t)&amp;lt;/math&amp;gt; for this case.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt;&lt;br /&gt;
! &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Shock_rho.jpg|thumb|350px| &amp;lt;math&amp;gt;\rho_0&amp;lt;/math&amp;gt; ]]&lt;br /&gt;
| [[Image:Shock_c.jpg|thumb|350px|&amp;lt;math&amp;gt;c(\rho_0)&amp;lt;/math&amp;gt;]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! characteristics&lt;br /&gt;
! &amp;lt;math&amp;gt;\rho(x,t)&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Shock_characteristics.jpg|thumb|350px|Characterisitics with shock shown in green.]]&lt;br /&gt;
| [[Image:Shock3.gif|thumb|350px|&amp;lt;math&amp;gt;\rho(x,t)&amp;lt;/math&amp;gt; with the red dotted line showing the solution without shock fitting]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:Simple Nonlinear Waves]]&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Connection_betwen_KdV_and_the_Schrodinger_Equation&amp;diff=12961</id>
		<title>Connection betwen KdV and the Schrodinger Equation</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Connection_betwen_KdV_and_the_Schrodinger_Equation&amp;diff=12961"/>
		<updated>2010-11-06T09:48:24Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: /* Reflectionless Potential */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Connection betwen KdV and the Schrodinger Equation&lt;br /&gt;
 | next chapter = [[Example Calculations for the KdV and IST]]&lt;br /&gt;
 | previous chapter = [[Properties of the Linear Schrodinger Equation]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
If we substitute the relationship&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{x}^{2}w+uw=-\lambda w&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
into the KdV after some manipulation we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{t}\lambda w^{2}+\partial_{x}\left(  w\partial_{x}Q-\partial&lt;br /&gt;
_{x}wQ\right)  =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;Q=\partial_{t}w+\partial_{x}^{3}w-3\left(  \lambda-u\right)&lt;br /&gt;
\partial_{x}w.&amp;lt;/math&amp;gt; If we integrate this equation then we obtain the result that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{t}\lambda=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
provided that the eigenfunction &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; is bounded (which is true for the bound&lt;br /&gt;
state eigenfunctions). This shows that the discrete eigenvalues are unchanged&lt;br /&gt;
and &amp;lt;math&amp;gt;u\left(  x,t\right)  &amp;lt;/math&amp;gt; evolves according to the KdV. Many other&lt;br /&gt;
properties can be found&lt;br /&gt;
&lt;br /&gt;
==Scattering Data==&lt;br /&gt;
&lt;br /&gt;
For the discrete spectrum the eigenfunctions behave like&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{n}\left(  x\right)  =c_{n}\left(  t\right)  e^{-k_{n}x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
as &amp;lt;math&amp;gt;x\rightarrow\infty&amp;lt;/math&amp;gt; with&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty}^{\infty}\left(  w_{n}\left(  x\right)  \right)  ^{2}\mathrm{d}x=1&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The continuous spectrum looks like&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x,t\right)  \approx \mathrm{e}^{-\mathrm{i}kx}+r\left(  k,t\right)  \mathrm{e}^{\mathrm{i}kx}&lt;br /&gt;
,\ \ \ x\rightarrow-\infty&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x,t\right)  \approx a\left(  k,t\right)  \mathrm{e}^{-\mathrm{i}kx},\ \ \ x\rightarrow&lt;br /&gt;
\infty&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; is the reflection coefficient and &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; is the transmission&lt;br /&gt;
coefficient. This gives us the scattering data at &amp;lt;math&amp;gt;t=0&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
S\left(  \lambda,0\right)  =\left(  \left\{  k_{n},c_{n}\left(  0\right)&lt;br /&gt;
\right\}  _{n=1}^{N},r\left(  k,0\right)  ,a\left(  k,0\right)  \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The scattering data evolves as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
k_{n}=k_{n}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
c_{n}\left(  t\right)  =c_{n}\left(  0\right)  e^{4k_{n}^{3}t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
r\left(  k,t\right)  =r\left(  k,0\right)  e^{8ik^{3}t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
a\left(  k,t\right)  =a\left(  k,0\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We can recover &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; from scattering data. We write&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
F\left(  x,t\right)  =\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)  e^{-k_{n}&lt;br /&gt;
x}+\frac{1}{2\pi}\int_{-\infty}^{\infty}r\left(  k,t\right)  \mathrm{e}^{\mathrm{i}kx}\mathrm{d}k&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Then solve&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
K\left(  x,y;t\right)  +F\left(  x+y;t\right)  +\int_{x}^{\infty}K\left(&lt;br /&gt;
x,z;t\right)  F\left(  z+y;t\right)  \mathrm{d}z=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This is a linear integral equation called the \emph{Gelfand-Levitan-Marchenko&lt;br /&gt;
}equation. We then find &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; from&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left(  x,t\right)  =2\partial_{x}K\left(  x,x,t\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Reflectionless Potential==&lt;br /&gt;
&lt;br /&gt;
In general the IST is difficult to solve. However, there is a simplification&lt;br /&gt;
we can make when we have a reflectionless potential (which we will see gives&lt;br /&gt;
rise to the soliton solutions). The reflectionless potential is the case when&lt;br /&gt;
&amp;lt;math&amp;gt;r\left(  k,0\right)  =0&amp;lt;/math&amp;gt; for all values of &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; for some &amp;lt;math&amp;gt;u.&amp;lt;/math&amp;gt; In this case&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
F\left(  x,t\right)  =\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)  e^{-k_{n}x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
then&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
K\left(  x,y,t\right)  +\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)&lt;br /&gt;
e^{-k_{n}\left(  x+y\right)  }+\int_{x}^{\infty}K\left(  x,z,t\right)&lt;br /&gt;
\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)  e^{-k_{n}\left(  y+z\right)  }\mathrm{d}z=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
From the equation we can see that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
K\left(  x,y,t\right)  =-\sum_{m=1}^{N}v_{m}\left(  x,t\right)  e^{-k_{m}y}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we substitute this into the equation,&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\sum_{n=1}^{N}v_{n}\left(  x,t\right)  e^{-k_{n}y}+\sum_{n=1}^{N}c_{n}&lt;br /&gt;
^{2}\left(  t\right)  e^{-k_{n}\left(  x+y\right)  }+\int_{x}^{\infty}&lt;br /&gt;
-\sum_{m=1}^{N}v_{m}\left(  x,t\right)  e^{-k_{m}z}\sum_{n=1}^{N}c_{n}&lt;br /&gt;
^{2}\left(  t\right)  e^{-k_{n}\left(  y+z\right)  }\mathrm{d}z=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which leads to&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\sum_{n=1}^{N}  v_{n}\left(  x,t\right)  e^{-k_{n}y}&lt;br /&gt;
+\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)  e^{-k_{n}\left(  x+y\right)  }&lt;br /&gt;
-\sum_{n=1}^{N}\sum_{m=1}^{N}\frac{ c_{n}^{2}\left(&lt;br /&gt;
t\right)  }{k_{n}+k_{m}}v_{m}\left(  x\right)  e^{-k_{m}x}e^{-k_{n}\left(&lt;br /&gt;
y+x\right)  }=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and we can eliminate the sum over &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and the&lt;br /&gt;
&amp;lt;math&amp;gt;e^{-k_{n}y}&amp;lt;/math&amp;gt; to obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-v_{n}\left(  x,t\right)  +c_{n}^2\left(  t\right)  e^{-k_{n}x}-\sum_{m=1}&lt;br /&gt;
^{N}\frac{c_{n}^2\left(  t\right)   }{k_{n}+k_{m}}&lt;br /&gt;
v_{m}\left(  x,t\right)  e^{-\left(  k_{m}+k_{n}\right)  x}=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which is an algebraic (finite dimensional system) for the unknows &amp;lt;math&amp;gt;v_{n}.&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
We can write this as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\left(  \mathbf{I}+\mathbf{C}\right)  \vec{v}=\vec{f}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;f_{m}=c_{m}^2\left(  t\right)  e^{-k_{m}x}&amp;lt;/math&amp;gt; and&lt;br /&gt;
the elements of &amp;lt;math&amp;gt;mathbf{C}&amp;lt;/math&amp;gt; are given by&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
c_{mn}=\sum_{m=1}^{N}\frac{c_{n}^2\left(  t\right)}&lt;br /&gt;
{k_{n}+k_{m}}e^{-\left(  k_{m}+k_{n}\right)  x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This gives us&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
K\left(  x,y,t\right)  =-\sum_{m=1}^{N} \left(&lt;br /&gt;
\mathbf{I}+\mathbf{C}\right)  ^{-1}\vec{f}e^{-k_{m}y}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We then find &amp;lt;math&amp;gt;u(x,t)&amp;lt;/math&amp;gt; from &amp;lt;math&amp;gt;K&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Single Soliton Example ===&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;n=1&amp;lt;/math&amp;gt; (a single soliton&lt;br /&gt;
solution) we get&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
K\left(  x,x,t\right)   &amp;amp;  =-\frac{c_{1}^2\left(  t\right)  &lt;br /&gt;
e^{-2k_{1}x}}{1+\frac{c_{1}^2\left(  t\right)  }&lt;br /&gt;
{2k_{1}}e^{-2 k_{1} x}}\\&lt;br /&gt;
&amp;amp;  =\frac{-1}{e^{-2k_{1}x + 8k_{1}^{3}t-\alpha} + 1/2k_1}&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;e^{-\alpha}=1/c_{0}^{2}\left(  0\right)  .&amp;lt;/math&amp;gt; Therefore&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
u\left(  x,t\right)   &amp;amp;  =2\partial_{x}K\left(  x,x,t\right)  \\&lt;br /&gt;
&amp;amp;  =\frac{4k_{1}e^{2k_{1}x-8k_{1}^{3}t-\alpha}}{\left( e^{2k_{1}&lt;br /&gt;
x-8k_{1}^{3}t-\alpha} + 1/2k_1\right)  ^{2}}\\&lt;br /&gt;
&amp;amp;  =\frac{8k_{1}^{2}}{\left(  \sqrt{2k_{1}}e^{\theta}+e^{-\theta}/\sqrt&lt;br /&gt;
{2k_{1}}\right)  ^{2}}\\&lt;br /&gt;
&amp;amp;  =2k_{1}^{2}\mbox{sech}^{2}\left\{  k_{1}\left(  x-x_{0}\right)  -4k_{1}&lt;br /&gt;
^{3}t\right\}&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\theta=k_{1}x-4k^{3}t-\alpha/2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\sqrt{2k}e^{-\alpha/2}=e^{-kx_{0}&lt;br /&gt;
}&amp;lt;/math&amp;gt;. This is of course the single soliton solution.&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Connection_betwen_KdV_and_the_Schrodinger_Equation&amp;diff=12959</id>
		<title>Connection betwen KdV and the Schrodinger Equation</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Connection_betwen_KdV_and_the_Schrodinger_Equation&amp;diff=12959"/>
		<updated>2010-11-06T09:47:39Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: /* Scattering Data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Connection betwen KdV and the Schrodinger Equation&lt;br /&gt;
 | next chapter = [[Example Calculations for the KdV and IST]]&lt;br /&gt;
 | previous chapter = [[Properties of the Linear Schrodinger Equation]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
If we substitute the relationship&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{x}^{2}w+uw=-\lambda w&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
into the KdV after some manipulation we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{t}\lambda w^{2}+\partial_{x}\left(  w\partial_{x}Q-\partial&lt;br /&gt;
_{x}wQ\right)  =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;Q=\partial_{t}w+\partial_{x}^{3}w-3\left(  \lambda-u\right)&lt;br /&gt;
\partial_{x}w.&amp;lt;/math&amp;gt; If we integrate this equation then we obtain the result that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{t}\lambda=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
provided that the eigenfunction &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; is bounded (which is true for the bound&lt;br /&gt;
state eigenfunctions). This shows that the discrete eigenvalues are unchanged&lt;br /&gt;
and &amp;lt;math&amp;gt;u\left(  x,t\right)  &amp;lt;/math&amp;gt; evolves according to the KdV. Many other&lt;br /&gt;
properties can be found&lt;br /&gt;
&lt;br /&gt;
==Scattering Data==&lt;br /&gt;
&lt;br /&gt;
For the discrete spectrum the eigenfunctions behave like&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{n}\left(  x\right)  =c_{n}\left(  t\right)  e^{-k_{n}x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
as &amp;lt;math&amp;gt;x\rightarrow\infty&amp;lt;/math&amp;gt; with&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty}^{\infty}\left(  w_{n}\left(  x\right)  \right)  ^{2}\mathrm{d}x=1&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The continuous spectrum looks like&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x,t\right)  \approx \mathrm{e}^{-\mathrm{i}kx}+r\left(  k,t\right)  \mathrm{e}^{\mathrm{i}kx}&lt;br /&gt;
,\ \ \ x\rightarrow-\infty&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x,t\right)  \approx a\left(  k,t\right)  \mathrm{e}^{-\mathrm{i}kx},\ \ \ x\rightarrow&lt;br /&gt;
\infty&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; is the reflection coefficient and &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; is the transmission&lt;br /&gt;
coefficient. This gives us the scattering data at &amp;lt;math&amp;gt;t=0&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
S\left(  \lambda,0\right)  =\left(  \left\{  k_{n},c_{n}\left(  0\right)&lt;br /&gt;
\right\}  _{n=1}^{N},r\left(  k,0\right)  ,a\left(  k,0\right)  \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The scattering data evolves as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
k_{n}=k_{n}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
c_{n}\left(  t\right)  =c_{n}\left(  0\right)  e^{4k_{n}^{3}t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
r\left(  k,t\right)  =r\left(  k,0\right)  e^{8ik^{3}t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
a\left(  k,t\right)  =a\left(  k,0\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We can recover &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; from scattering data. We write&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
F\left(  x,t\right)  =\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)  e^{-k_{n}&lt;br /&gt;
x}+\frac{1}{2\pi}\int_{-\infty}^{\infty}r\left(  k,t\right)  \mathrm{e}^{\mathrm{i}kx}\mathrm{d}k&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Then solve&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
K\left(  x,y;t\right)  +F\left(  x+y;t\right)  +\int_{x}^{\infty}K\left(&lt;br /&gt;
x,z;t\right)  F\left(  z+y;t\right)  \mathrm{d}z=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This is a linear integral equation called the \emph{Gelfand-Levitan-Marchenko&lt;br /&gt;
}equation. We then find &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; from&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left(  x,t\right)  =2\partial_{x}K\left(  x,x,t\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Reflectionless Potential==&lt;br /&gt;
&lt;br /&gt;
In general the IST is difficult to solve. However, there is a simplification&lt;br /&gt;
we can make when we have a reflectionless potential (which we will see gives&lt;br /&gt;
rise to the soliton solutions). The reflectionless potential is the case when&lt;br /&gt;
&amp;lt;math&amp;gt;r\left(  k,0\right)  =0&amp;lt;/math&amp;gt; for all values of &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; for some &amp;lt;math&amp;gt;u.&amp;lt;/math&amp;gt; In this case&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
F\left(  x,t\right)  =\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)  e^{-k_{n}x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
then&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
K\left(  x,y,t\right)  +\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)&lt;br /&gt;
e^{-k_{n}\left(  x+y\right)  }+\int_{x}^{\infty}K\left(  x,z,t\right)&lt;br /&gt;
\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)  e^{-k_{n}\left(  y+z\right)  }dz=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
From the equation we can see that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
K\left(  x,y,t\right)  =-\sum_{m=1}^{N}v_{m}\left(  x,t\right)  e^{-k_{m}y}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we substitute this into the equation,&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\sum_{n=1}^{N}v_{n}\left(  x,t\right)  e^{-k_{n}y}+\sum_{n=1}^{N}c_{n}&lt;br /&gt;
^{2}\left(  t\right)  e^{-k_{n}\left(  x+y\right)  }+\int_{x}^{\infty}&lt;br /&gt;
-\sum_{m=1}^{N}v_{m}\left(  x,t\right)  e^{-k_{m}z}\sum_{n=1}^{N}c_{n}&lt;br /&gt;
^{2}\left(  t\right)  e^{-k_{n}\left(  y+z\right)  }dz=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which leads to&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\sum_{n=1}^{N}  v_{n}\left(  x,t\right)  e^{-k_{n}y}&lt;br /&gt;
+\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)  e^{-k_{n}\left(  x+y\right)  }&lt;br /&gt;
-\sum_{n=1}^{N}\sum_{m=1}^{N}\frac{ c_{n}^{2}\left(&lt;br /&gt;
t\right)  }{k_{n}+k_{m}}v_{m}\left(  x\right)  e^{-k_{m}x}e^{-k_{n}\left(&lt;br /&gt;
y+x\right)  }=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and we can eliminate the sum over &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and the&lt;br /&gt;
&amp;lt;math&amp;gt;e^{-k_{n}y}&amp;lt;/math&amp;gt; to obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-v_{n}\left(  x,t\right)  +c_{n}^2\left(  t\right)  e^{-k_{n}x}-\sum_{m=1}&lt;br /&gt;
^{N}\frac{c_{n}^2\left(  t\right)   }{k_{n}+k_{m}}&lt;br /&gt;
v_{m}\left(  x,t\right)  e^{-\left(  k_{m}+k_{n}\right)  x}=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which is an algebraic (finite dimensional system) for the unknows &amp;lt;math&amp;gt;v_{n}.&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
We can write this as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\left(  \mathbf{I}+\mathbf{C}\right)  \vec{v}=\vec{f}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;f_{m}=c_{m}^2\left(  t\right)  e^{-k_{m}x}&amp;lt;/math&amp;gt; and&lt;br /&gt;
the elements of &amp;lt;math&amp;gt;mathbf{C}&amp;lt;/math&amp;gt; are given by&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
c_{mn}=\sum_{m=1}^{N}\frac{c_{n}^2\left(  t\right)}&lt;br /&gt;
{k_{n}+k_{m}}e^{-\left(  k_{m}+k_{n}\right)  x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This gives us&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
K\left(  x,y,t\right)  =-\sum_{m=1}^{N} \left(&lt;br /&gt;
\mathbf{I}+\mathbf{C}\right)  ^{-1}\vec{f}e^{-k_{m}y}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We then find &amp;lt;math&amp;gt;u(x,t)&amp;lt;/math&amp;gt; from &amp;lt;math&amp;gt;K&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Single Soliton Example ===&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;n=1&amp;lt;/math&amp;gt; (a single soliton&lt;br /&gt;
solution) we get&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
K\left(  x,x,t\right)   &amp;amp;  =-\frac{c_{1}^2\left(  t\right)  &lt;br /&gt;
e^{-2k_{1}x}}{1+\frac{c_{1}^2\left(  t\right)  }&lt;br /&gt;
{2k_{1}}e^{-2 k_{1} x}}\\&lt;br /&gt;
&amp;amp;  =\frac{-1}{e^{-2k_{1}x + 8k_{1}^{3}t-\alpha} + 1/2k_1}&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;e^{-\alpha}=1/c_{0}^{2}\left(  0\right)  .&amp;lt;/math&amp;gt; Therefore&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
u\left(  x,t\right)   &amp;amp;  =2\partial_{x}K\left(  x,x,t\right)  \\&lt;br /&gt;
&amp;amp;  =\frac{4k_{1}e^{2k_{1}x-8k_{1}^{3}t-\alpha}}{\left( e^{2k_{1}&lt;br /&gt;
x-8k_{1}^{3}t-\alpha} + 1/2k_1\right)  ^{2}}\\&lt;br /&gt;
&amp;amp;  =\frac{8k_{1}^{2}}{\left(  \sqrt{2k_{1}}e^{\theta}+e^{-\theta}/\sqrt&lt;br /&gt;
{2k_{1}}\right)  ^{2}}\\&lt;br /&gt;
&amp;amp;  =2k_{1}^{2}\mbox{sech}^{2}\left\{  k_{1}\left(  x-x_{0}\right)  -4k_{1}&lt;br /&gt;
^{3}t\right\}&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\theta=k_{1}x-4k^{3}t-\alpha/2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\sqrt{2k}e^{-\alpha/2}=e^{-kx_{0}&lt;br /&gt;
}&amp;lt;/math&amp;gt;. This is of course the single soliton solution.&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Properties_of_the_Linear_Schrodinger_Equation&amp;diff=12957</id>
		<title>Properties of the Linear Schrodinger Equation</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Properties_of_the_Linear_Schrodinger_Equation&amp;diff=12957"/>
		<updated>2010-11-05T15:13:21Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: /* Example 1: \delta function potential */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Properties of the Linear Schrodinger Equation&lt;br /&gt;
 | next chapter = [[Connection betwen KdV and the Schrodinger Equation]]&lt;br /&gt;
 | previous chapter = [[Introduction to the Inverse Scattering Transform]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The linear Schrodinger equation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{x}^{2}w+uw=-\lambda w&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
has two kinds of solutions for &amp;lt;math&amp;gt;u\rightarrow0&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;x\rightarrow\pm\infty.&amp;lt;/math&amp;gt; The&lt;br /&gt;
first are waves and the second are bound solutions. It is well known that&lt;br /&gt;
there are at most a finite number of bound solutions (provided &amp;lt;math&amp;gt;u\rightarrow0&amp;lt;/math&amp;gt;&lt;br /&gt;
as &amp;lt;math&amp;gt;x\pm\infty&amp;lt;/math&amp;gt; sufficiently rapidly) and a continum of solutions for the&lt;br /&gt;
incident waves. This is easiest seen through the following examples&lt;br /&gt;
&lt;br /&gt;
==Example 1: &amp;lt;math&amp;gt;\delta&amp;lt;/math&amp;gt; function potential==&lt;br /&gt;
&lt;br /&gt;
We consider here the case when &amp;lt;math&amp;gt;u\left(  x,0\right)  = u_0 \delta\left(  x\right)&lt;br /&gt;
.&amp;lt;/math&amp;gt; Note that this function can be thought of as the limit as of the potential&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
0 &amp;amp; x\notin\left[  -\varepsilon,\varepsilon\right] \\&lt;br /&gt;
\frac{u_{0}}{2\varepsilon} &amp;amp; x\in\left[  -\varepsilon,\varepsilon\right]&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
In this case we need to solve&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{x}^{2}w+ u_0\delta(x) w=-\lambda w&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We consider the case of &amp;lt;math&amp;gt;\lambda&amp;lt;0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\lambda&amp;gt;0&amp;lt;/math&amp;gt; separately. For the first&lt;br /&gt;
case we write &amp;lt;math&amp;gt;\lambda=-k^{2}&amp;lt;/math&amp;gt; and we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
ae^{kx}, &amp;amp; x&amp;lt;0\\&lt;br /&gt;
be^{-kx}, &amp;amp; x&amp;gt;0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We have two conditions at &amp;lt;math&amp;gt;x=0,&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; must be continuous at &amp;lt;math&amp;gt;0&amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt;\partial_{x}w\left(  0^{+}\right)  -\partial_{x}w\left(  0^{-}\right)&lt;br /&gt;
+u_0 w\left(  0\right)  =0.&amp;lt;/math&amp;gt; This final condition is obtained by integrating `across&#039; zero as follows&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\int_{0^{-}}^{0^{+}} \partial_x^2 w +\delta(x) w + \lambda w \ \mathrm{d}x = 0.&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This gives the condition that &amp;lt;math&amp;gt;a=b&amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt;k=u_{0}/2.&amp;lt;/math&amp;gt; We need to normalise the eigenfunctions so that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty}^{\infty}\left(  w\left(  x\right)  \right)  ^{2}\mathrm{d}x=1.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
2\int_{0}^{\infty}\left(  ae^{-u_{0}x/2}\right)  ^{2}\mathrm{d}x=1&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which means that &amp;lt;math&amp;gt;a=\sqrt{u_{0}/2}.&amp;lt;/math&amp;gt; Therefore, there is only one discrete&lt;br /&gt;
spectral point which we denote by &amp;lt;math&amp;gt;k_{1}=u_{0}/2&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{1}\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
\sqrt{k_{1}}e^{k_{1}x}, &amp;amp; x&amp;lt;0\\&lt;br /&gt;
\sqrt{k_{1}}e^{-k_{1}x}, &amp;amp; x&amp;gt;0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The continuous eigenfunctions correspond to &amp;lt;math&amp;gt;\lambda=k^{2}&amp;gt;0&amp;lt;/math&amp;gt; are of the form&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
\mathrm{e}^{-\mathrm{i}kx}+r\mathrm{e}^{\mathrm{i}kx}, &amp;amp; x&amp;lt;0\\&lt;br /&gt;
a\mathrm{e}^{-\mathrm{i}kx}, &amp;amp; x&amp;gt;0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Again we have the conditions that &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; must be continuous at &amp;lt;math&amp;gt;0&amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt;\partial_{x}w\left(  0^{+}\right)  -\partial_{x}w\left(  0^{-}\right)&lt;br /&gt;
+u_{0}w\left(  0\right)  =0.&amp;lt;/math&amp;gt; This gives us&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
1+r  &amp;amp;  =a\\&lt;br /&gt;
-ika+ik-ikr  &amp;amp;  =-au_{0}&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which has solution&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
r  &amp;amp;  =\frac{u_{0}}{2ik-u_{0}}\\&lt;br /&gt;
a  &amp;amp;  =\frac{2ik}{2ik-u_{0}}&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example 2: Hat Function Potential==&lt;br /&gt;
&lt;br /&gt;
The properties of the eigenfunction is perhaps seem most easily through the&lt;br /&gt;
following example&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
0 &amp;amp; x\notin\left[  -\varsigma,\varsigma\right] \\&lt;br /&gt;
b &amp;amp; x\in\left[  -\varsigma,\varsigma\right]&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;b&amp;gt;0.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Case when &amp;lt;math&amp;gt;\lambda&amp;lt;0&amp;lt;/math&amp;gt;===&lt;br /&gt;
&lt;br /&gt;
If we solve this equation for the case when &amp;lt;math&amp;gt;\lambda&amp;lt;0,&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\lambda=-k^{2}&amp;lt;/math&amp;gt; we&lt;br /&gt;
get&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
a_{1}e^{kx}, &amp;amp; x&amp;lt;-\varsigma\\&lt;br /&gt;
b_{1}\cos\kappa x+b_{2}\sin\kappa x &amp;amp; -\varsigma&amp;lt;x&amp;lt;\varsigma\\&lt;br /&gt;
a_{2}e^{-kx} &amp;amp; x&amp;gt;\varsigma&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\kappa=\sqrt{b-k^{2}}&amp;lt;/math&amp;gt; which means that &amp;lt;math&amp;gt;0\leq k\leq\sqrt{b}&amp;lt;/math&amp;gt; (there is&lt;br /&gt;
no solution for &amp;lt;math&amp;gt;k&amp;gt;\sqrt{b}).&amp;lt;/math&amp;gt; We then match &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; and its derivative at&lt;br /&gt;
&amp;lt;math&amp;gt;x=\pm\varsigma&amp;lt;/math&amp;gt; to solve for &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;. This leads to two system of&lt;br /&gt;
equation, one for the even (&amp;lt;math&amp;gt;a_{1}=a_{2}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b_{2}=0&amp;lt;/math&amp;gt; ) and one for the odd&lt;br /&gt;
solutions (&amp;lt;math&amp;gt;a_{1}=-a_{2}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b_{1}=0)&amp;lt;/math&amp;gt;. The solution for the even solutions&lt;br /&gt;
is&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
e^{-k\varsigma} &amp;amp; -\cos\kappa\varsigma\\&lt;br /&gt;
ke^{-k\varsigma} &amp;amp; -\kappa\sin\kappa\varsigma&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  \left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
a_{1}\\&lt;br /&gt;
b_{1}&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  =\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
0\\&lt;br /&gt;
0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This has non trivial solutions when&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\det\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
e^{-k\varsigma} &amp;amp; -\cos\kappa\varsigma\\&lt;br /&gt;
ke^{-k\varsigma} &amp;amp; -\kappa\sin\kappa\varsigma&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which gives us the equation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\kappa e^{-k\varsigma}\sin\kappa\varsigma+k\cos\kappa\varsigma&lt;br /&gt;
e^{-k\varsigma}=0&lt;br /&gt;
&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;&lt;br /&gt;
\tan\kappa\varsigma=\frac{k}{\kappa}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We know that &amp;lt;math&amp;gt;0&amp;lt;\kappa&amp;lt;\sqrt{b}&amp;lt;/math&amp;gt; and if we plot this we see that we obtain a&lt;br /&gt;
finite number of solutions.&lt;br /&gt;
&lt;br /&gt;
The solution for the odd solutions is&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
e^{-k\varsigma} &amp;amp; -\sin\kappa\varsigma\\&lt;br /&gt;
ke^{-k\varsigma} &amp;amp; \cos\kappa\varsigma&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  \left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
a_{1}\\&lt;br /&gt;
b_{1}&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  =\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
0\\&lt;br /&gt;
0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This can non trivial solutions when&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\det\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
e^{-k\varsigma} &amp;amp; -\sin\kappa\varsigma\\&lt;br /&gt;
ke^{-k\varsigma} &amp;amp; \kappa\cos\kappa\varsigma&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which gives us the equation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\kappa e^{-k\varsigma}a\cos\kappa\varsigma+k\sin\kappa\varsigma e^{-k\varsigma}=0&lt;br /&gt;
&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;&lt;br /&gt;
\tan\varsigma\kappa=-\frac{\kappa}{k}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Case when &amp;lt;math&amp;gt;\lambda&amp;gt;0&amp;lt;/math&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;math&amp;gt;\lambda&amp;gt;0&amp;lt;/math&amp;gt; we write &amp;lt;math&amp;gt;\lambda=k^{2}&amp;lt;/math&amp;gt; and we obtain solution&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
\mathrm{e}^{-\mathrm{i}kx}+r\mathrm{e}^{\mathrm{i}kx}, &amp;amp; x&amp;lt;-\varsigma\\&lt;br /&gt;
b_{1}\cos\kappa x+b_{2}\sin\kappa x &amp;amp; -\varsigma&amp;lt;x&amp;lt;\varsigma\\&lt;br /&gt;
a\mathrm{e}^{-\mathrm{i}kx} &amp;amp; x&amp;gt;\varsigma&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\kappa=\sqrt{b+k^{2}}.&amp;lt;/math&amp;gt; Matching &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; and its derivaties at &amp;lt;math&amp;gt;x=\pm1&amp;lt;/math&amp;gt; we&lt;br /&gt;
obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
-\mathrm{e}^{-\mathrm{i}k\varsigma} &amp;amp; \cos\kappa\varsigma &amp;amp; -\sin\kappa\varsigma &amp;amp; 0\\&lt;br /&gt;
ik\mathrm{e}^{-\mathrm{i}k\varsigma} &amp;amp; \kappa\sin\kappa\varsigma &amp;amp; \kappa\cos\kappa&lt;br /&gt;
\varsigma &amp;amp; 0\\&lt;br /&gt;
0 &amp;amp; \cos\kappa\varsigma &amp;amp; \sin\kappa\varsigma &amp;amp; -\mathrm{e}^{-\mathrm{i}k\varsigma}\\&lt;br /&gt;
0 &amp;amp; -\kappa\sin\kappa\varsigma &amp;amp; \kappa\cos\kappa\varsigma &amp;amp;&lt;br /&gt;
ik\mathrm{e}^{-\mathrm{i}k\varsigma}&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  \left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
r\\&lt;br /&gt;
b_{1}\\&lt;br /&gt;
b_{2}\\&lt;br /&gt;
a&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  =\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
\mathrm{e}^{\mathrm{i}k}\\&lt;br /&gt;
ik\mathrm{e}^{-\mathrm{i}k}\\&lt;br /&gt;
0\\&lt;br /&gt;
0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Linear_Wave-Body_Interaction&amp;diff=12955</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=12955"/>
		<updated>2010-11-05T15:10:30Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: /* Haskind relations of exciting forces */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Ocean Wave Interaction with Ships and Offshore Structures&lt;br /&gt;
 | chapter title = Linear Wave-Body Interaction&lt;br /&gt;
 | next chapter = [[Long Wavelength Approximations]]&lt;br /&gt;
 | previous chapter =  [[Ship Kelvin Wake]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{incomplete pages}}&lt;br /&gt;
&lt;br /&gt;
[[Image:Rigid_body.jpg|thumb|right|600px|Rigid body motions]]&lt;br /&gt;
&lt;br /&gt;
We consider a [[Linear Plane Progressive Regular Waves|Linear Plane Progressive Regular Wave]] in the&lt;br /&gt;
[[Frequency Domain Problem|Frequency Domain]] interacting with a floating body in two dimensions (the main concepts survive almost with no change in the more practical three-dimensional problem).&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
We derive here the equations of motion for a body in [[Linear Plane Progressive Regular Waves]] in the frequency domain in &lt;br /&gt;
two dimensions. We begin with the equations in the time domian. The simplest problems is [[Waves reflecting off a vertical wall]]&lt;br /&gt;
&lt;br /&gt;
== Equations for a Floating Body in the Time Domain ==&lt;br /&gt;
&lt;br /&gt;
We begin with the equations for a floating two-dimensional body in the time domain.&lt;br /&gt;
&lt;br /&gt;
{{equations of motion time domain without body condition}}&lt;br /&gt;
&lt;br /&gt;
{{two dimensional floating body time domain}}&lt;br /&gt;
&lt;br /&gt;
More details can be found in [[:Category:Time-Dependent Linear Water Waves|Time-Dependent Linear Water Waves]]&lt;br /&gt;
&lt;br /&gt;
== Equations for a Floating Body in the Frequency Domain ==&lt;br /&gt;
&lt;br /&gt;
The dynamic condition is the equation of motion for the structure in the [[Frequency Domain Problem|frequency domain]]&lt;br /&gt;
can be found from the time domain equations and we introduce the following notation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\xi_{\nu} = \zeta_{\nu}e^{-\mathrm{i}\omega t}\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This give us&lt;br /&gt;
{{standard linear wave scattering equations without body condition}}&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\omega^2 \sum_{\nu} M_{\mu\nu}\zeta_{\nu}=\mathrm{i}\omega\rho\iint_{\partial\Omega}\phi n_{\mu}\, \mathrm{d}S&lt;br /&gt;
- \sum_{\nu} C_{\mu\nu}\zeta_{\nu},\quad \textrm{for} \qquad \mu=1,3,5,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The equations of motion for &amp;lt;math&amp;gt; \zeta_\nu\,&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. We use the standard numbering of the modes of motion.&lt;br /&gt;
&lt;br /&gt;
== Equations for a Fixed Body in Frequency Domain ==&lt;br /&gt;
&lt;br /&gt;
The equations for a fixed body are&lt;br /&gt;
&lt;br /&gt;
{{standard linear wave scattering equations without body condition}}&lt;br /&gt;
{{frequency domain equations for a rigid body}}&lt;br /&gt;
plus the radiation conditions.  &lt;br /&gt;
&lt;br /&gt;
We decompose the potential as&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\phi = \phi^{\mathrm{I}} + \phi^{\mathrm{D}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\phi^{\mathrm{I}}&amp;lt;/math&amp;gt; is the incident potential and &amp;lt;math&amp;gt;\phi^{\mathrm{D}}&amp;lt;/math&amp;gt;&lt;br /&gt;
is the diffracted potential.  The boundary condition for the diffracted potential is&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\Delta\phi^{\mathrm{D}}=0, \, -h&amp;lt;z&amp;lt;0,\,\,\,\mathbf{x} \in \Omega&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_n\phi^{\mathrm{D}} = 0, \, z=-h,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
 \partial_n \phi^{\mathrm{D}}  = \alpha \phi,\,z=0,\,\,\mathbf{x} \in \partial\Omega_{F},&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
plus &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
 \partial_n \phi^{\mathrm{D}}  = - \partial_n \phi^{\mathrm{I}},\,\, \mathbf{x} \in \partial\Omega_{B},&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Code to calculate the solution (using a slighly modified method) can be found in&lt;br /&gt;
[[Boundary Element Method for a Fixed Body in Finite Depth]]&lt;br /&gt;
&lt;br /&gt;
== Equations for the Radiation Potential in Frequency Domain ==&lt;br /&gt;
&lt;br /&gt;
We decompose the body motion into the rigid body modes of motion. Associated with&lt;br /&gt;
each of these modes is a potential which must be solved for.&lt;br /&gt;
The equations for the radiation potential in the frequency domain are&lt;br /&gt;
&lt;br /&gt;
{{standard linear wave scattering equations without body condition}}&lt;br /&gt;
{{frequency domain equations for the radiation modes}}&lt;br /&gt;
&lt;br /&gt;
{{sommerfeld radiation condition two dimensions for radiation}}&lt;br /&gt;
&lt;br /&gt;
Code to calculate the radiation potential can be found in &lt;br /&gt;
[[Boundary Element Method for the Radiation Potential in Finite Depth]]&lt;br /&gt;
&lt;br /&gt;
We denote the solution for each of the radiation potentials by&lt;br /&gt;
&amp;lt;math&amp;gt;\phi_\nu^{\mathrm{R}}&amp;lt;/math&amp;gt; and the total potential is written as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\phi = \phi^{\mathrm{I}} +  \phi^{\mathrm{D}} +&lt;br /&gt;
\sum_\nu \zeta_\nu \phi_\nu^{\mathrm{R}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Final System of Equations ==&lt;br /&gt;
&lt;br /&gt;
We substitute the expansion for the potential into the equations in the frequency domain and we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\omega^2 \sum_{\nu} M_{\mu\nu}\zeta_{\nu}=-\mathrm{i}\omega\rho\iint_{\partial\Omega_{B}}&lt;br /&gt;
\left(\phi^{\mathrm{I}} +  \phi^{\mathrm{D}} +&lt;br /&gt;
\sum_{\nu} \zeta_\nu \phi_{\nu}^{\mathrm{R}}\right) \mathbf{n}_{\mu}\, dS&lt;br /&gt;
- \sum_{\nu}  C_{\mu\nu}\xi_{\nu},\quad \textrm{for} \qquad \mu=1,3,5,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{added mass damping and force matrices definition}}&lt;br /&gt;
&lt;br /&gt;
Then the equations can be expressed as follows.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;  \left[-\omega^2 \left(\mathbf{M} + \mathbf{A} \right) + &lt;br /&gt;
\mathrm{i}\omega \mathbf{B} + \mathbf{C} \right] \vec{\zeta} = \mathbf{f} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\mathbf{M}&amp;lt;/math&amp;gt; is the mass matrix,  &amp;lt;math&amp;gt;\mathbf{A}&amp;lt;/math&amp;gt; is the added mass matrix,&lt;br /&gt;
&amp;lt;math&amp;gt;\mathbf{B}&amp;lt;/math&amp;gt; is the damping matrix, &amp;lt;math&amp;gt;\mathbf{C}&amp;lt;/math&amp;gt; is the hydrostatic matrix,&lt;br /&gt;
&amp;lt;math&amp;gt;\vec{\zeta}&amp;lt;/math&amp;gt; is the vector of body displacements and &amp;lt;math&amp;gt;\mathbf{f}&amp;lt;/math&amp;gt; is the force. &lt;br /&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 two dimensional problem for the sake of clarity.&lt;br /&gt;
&lt;br /&gt;
== Symmetric body ==&lt;br /&gt;
&lt;br /&gt;
For a body which is [[:Category:Symmetry in Two Dimensions|Symmetric in Two Dimensions]]&lt;br /&gt;
the Heave is decoupled from Surge and Roll. &lt;br /&gt;
In other words the Surge and Roll motions do not influence Heave and vice versa.&lt;br /&gt;
&lt;br /&gt;
== Matlab Code ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*A program to solve for pitch and heave and only for two geometries can be found here [http://www.math.auckland.ac.nz/~meylan/code/boundary_element/rigid_body_motion.m rigid_body_motion.m]&lt;br /&gt;
&lt;br /&gt;
* a program to calculate the solution for a specific geometry (with plot as output as shown) can be found here [http://www.math.auckland.ac.nz/~meylan/code/boundary_element/wave_bem_example_floating.m wave_bem_example_floating.m] &lt;br /&gt;
&lt;br /&gt;
[[Image:Wave_bem_example_floating_RT2.jpg|300px|right|thumb|The reflection (solid line) and transmission (dashed line)&lt;br /&gt;
for a dock for heave and pitch (red), heave only (blue) and pitch only (black)]]&lt;br /&gt;
&lt;br /&gt;
=== Additional code ===&lt;br /&gt;
&lt;br /&gt;
This program requires&lt;br /&gt;
* A program to calculate the geometery [http://www.math.auckland.ac.nz/~meylan/code/boundary_element/circlebody_twod.m  circlebody_twod.m]&lt;br /&gt;
* {{fixed body bem code}}&lt;br /&gt;
* {{floating body radiation code}}&lt;br /&gt;
* {{free surface dispersion equation code}}&lt;br /&gt;
* {{boundary element code}}&lt;br /&gt;
&lt;br /&gt;
== Symmetry-reciprocity relations ==&lt;br /&gt;
&lt;br /&gt;
It will be shown that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A_{ij}(\omega) = A_{ji}(\omega) \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; B_{ij}(\omega) = B_{ji}(\omega) \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Along the same lines it will be shown that the exciting force &amp;lt;math&amp;gt;\mathbf{X}_j\,&amp;lt;/math&amp;gt; can be expressed in terms of &amp;lt;math&amp;gt; \psi_j\,&amp;lt;/math&amp;gt; circumventing the solution for the diffraction potential.&lt;br /&gt;
The core result needed for the proof of the above properties is [http://en.wikipedia.org/wiki/Green&#039;s_identities Green&#039;s second identity]&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iint_S \left( \psi_1 \frac{\partial\psi_2}{\partial n} - \psi_2 \frac{\partial\psi_1}{\partial n} \right) \mathrm{d}S = 0 \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\nabla^2 \psi_i=0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{{energy_region_plates}}&lt;br /&gt;
&lt;br /&gt;
[[Image:Symmetry_boundary.jpg|thumb|right|600px|Boundary]]&lt;br /&gt;
&lt;br /&gt;
In the surface wave-body problem define the closed surfaces as shown in figure on the right.&lt;br /&gt;
Let &amp;lt;math&amp;gt; \phi_j\,&amp;lt;/math&amp;gt; be rediation or diffraction potentials. Over the boundaries &amp;lt;math&amp;gt;S^\pm\,&amp;lt;/math&amp;gt; we have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; S^+: \quad \phi_j \ \sim \ \frac{igA_j^+}{\omega} e^{Kz-iKx} \,&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; \frac{\partial\phi_j}{\partial n} = \frac{\partial \phi_j}{\partial x} \ \sim \ -iK\phi_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; S^-: \quad \phi_j \ \sim \ \frac{igA_j^-}{\omega} e^{Kz+iKx} \,&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; \frac{\partial\phi_j}{\partial n} = - \frac{\partial \phi_j}{\partial x} \ \sim \ - iK\phi_j \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On &amp;lt;math&amp;gt; S_F: \qquad \frac{\partial\phi_j}{\partial z} = K\phi_j, \qquad \frac{\partial \Phi_j}{\partial n} = \frac{\partial \phi_j}{\partial z} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On &amp;lt;math&amp;gt; S_\infty: \qquad \left| \phi_j \right|, \quad \left| \nabla \phi_j \right| \to 0 &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Applying Green&#039;s identity to any pair of the radiation potentials &amp;lt;math&amp;gt; \psi_i, \psi_j \,&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iint_{S_B} \left[ \psi_i \frac{\partial\psi_j}{\partial n} - \psi_j \frac{\partial\psi_i}{\partial n} \right] \mathrm{d}S = - \iint_{S_F} \left[ \psi_i \frac{\partial\psi_j}{\partial z} - \psi_j \frac{\partial\psi_i}{\partial z} \right] \mathrm{d}S &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; - \iint_{S_+} \left[ \psi_i \frac{\partial\psi_j}{\partial x} - \psi_j \frac{\partial\psi_i}{\partial x} \right] \mathrm{d}S&lt;br /&gt;
 + \iint_{S_-} \left[ \psi_i \frac{\partial\psi_j}{\partial x} - \psi_j \frac{\partial\psi_i}{\partial x} \right] \mathrm{d}S = 0 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It follows that:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iint_{S_B} \psi_i \frac{\partial\psi_j}{\partial n} \mathrm{d}S = \iint_{S_B} \psi_j \frac{\partial\psi_i}{\partial n} \mathrm{d}S &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; A_{ij}(\omega) = A_{ji}(\omega), \qquad B_{ij}(\omega) = B_{ji}(\omega). \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Haskind relations of exciting forces ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathbf{X}_i(\omega) = - i\omega\rho\iint_{S_B} (\phi_I + \phi_7) n_i \mathrm{d}S &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; = - \rho \iint_{S_B} (\phi_I + \phi_7) \frac{\partial \phi_i}{\partial n} \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the radiation velocity potential &amp;lt;math&amp;gt; \phi_i \,&amp;lt;/math&amp;gt; is known to satisfy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\partial\phi_i}{\partial n} = i\omega n_i, \quad \mbox{on} \ S_B &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\partial\phi_7}{\partial n} = \frac{\partial\phi_I}{\partial n}, \quad \mbox{on} \ S_B &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Both &amp;lt;math&amp;gt; \phi_i\,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; \phi_7\,&amp;lt;/math&amp;gt; satisfy the condition of outgoing waves at infinity. By virtue of [http://en.wikipedia.org/wiki/Green&#039;s_identities Green&#039;s second identity]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iint_{S_B} \phi_7 \frac{\partial\phi_i}{\partial n} \mathrm{d}S = \iint_{S_B} \phi_i \frac{\partial\phi_7}{\partial n} \mathrm{d}S = -\iint_{S_B} \phi_i \frac{\partial\phi_I}{\partial n} \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Haskind expression for the exciting force follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathbf{X}_i(\omega) = \rho \iint_{S_B} \left[ \phi_I \frac{\partial\phi_i}{\partial n} - \phi_i \frac{\partial\phi_I}{\partial n} \right] \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The symmetry of the &amp;lt;math&amp;gt; A_{ij}(\omega), B_{ij}(\omega) \,&amp;lt;/math&amp;gt; matrices applies in 2D and 3D. The application of Green&#039;s Theorem in 3D is very similar using the far-field representation for the potential &amp;lt;math&amp;gt; \phi_j\,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \phi_j \sim \frac{A_j(\theta)}{\sqrt{R}} e^{KZ-iKR} + O\left(\frac{1}{R^{3/2}}\right) &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; \frac{\partial\phi_j}{\partial n} = \frac{\partial\phi_j}{\partial R} \sim - i K \phi_j + O\left(\frac{1}{R^{3/2}}\right) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt; R \,&amp;lt;/math&amp;gt; is a radius from the body out to infinity and the &amp;lt;math&amp;gt; R^{-\frac{1}{2}} \,&amp;lt;/math&amp;gt; decay arises from the energy conservation principle. Details of the 3D proof may be found in [[Mei 1983]] and [[Wehausen and Laitone 1960]]&lt;br /&gt;
&lt;br /&gt;
The use of the Haskind relations for the exciting forces does not require the solution of the diffraction problem. This is convenient and often more accurate.&lt;br /&gt;
&lt;br /&gt;
The Haskind relations take other forms which will not be presented here but are detailed in [[Wehausen and Laitone 1960]]. The ones that are used in practice relate the exciting forces to the damping coefficients.&lt;br /&gt;
&lt;br /&gt;
These take the form:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;2D&amp;lt;/u&amp;gt;:      &amp;lt;math&amp;gt; B_{ii} = \frac{\left| \mathbf{X}_i \right|^2}{2\rho g V_g}, \quad V_g = \frac{g}{2\omega}, &amp;lt;/math&amp;gt;       Deep water&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;3D&amp;lt;/u&amp;gt;:      &amp;lt;math&amp;gt; B_{33} = \frac{K}{4\rho g V_g} \left| \mathbf{X}_3 \right|^2 \,&amp;lt;/math&amp;gt;      --- Heave&lt;br /&gt;
&lt;br /&gt;
(Axisymmetric bodies)      &amp;lt;math&amp;gt; B_{22} = \frac{K}{8\rho g V_g} \left| \mathbf{X}_2 \right|^2 \,&amp;lt;/math&amp;gt;      --- Sway&lt;br /&gt;
&lt;br /&gt;
So knowledge of &amp;lt;math&amp;gt; \mathbf{X}_i(\omega)\,&amp;lt;/math&amp;gt; allows the direct evaluation of the diagonal damping coefficients. These expressions are useful in deriving theoretical results in wave-body interactions to be discussed later.&lt;br /&gt;
&lt;br /&gt;
The two-dimensional theory of wave-body interactions in the frequency domain extends to three dimencions very directly with little difficulty.&lt;br /&gt;
&lt;br /&gt;
The statement of the 6 d.o.f. seakeeping problem is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \sum_{j=1}^6 \left[ - \omega^2 \left( M_{ij} + A_{ij} \right) + i \omega B_{ij} + C_{ij} \right] \Pi_j = \mathbf{X}_j, \quad i=1,\cdots,6 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mbox{Body inertia matrix including moments of inertia for rotational modes. For details refer to MH} \, &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_{ij}(\omega): \mbox{Added mass matrix} \,&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_{ij}(\omega): \mbox{Damping matrix} \, &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_{ij}: \mbox{Hydrostatic and static inertia restoring matrix. For details refer to MH} \, &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; \mathbf{X}_i(\omega): \mbox{Wave exciting forces and moments} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At zero speed the definitions of the added-mass, damping matrices and exciting forces are identical to those in two dimensions.&lt;br /&gt;
&lt;br /&gt;
The boundary value problems satisfied by the radiation potentials &amp;lt;math&amp;gt;\phi_j, \ j=1,\cdots,6 \,&amp;lt;/math&amp;gt; and the diffraction potential &amp;lt;math&amp;gt; \phi_7 \,&amp;lt;/math&amp;gt; are as follows:&lt;br /&gt;
&lt;br /&gt;
Free-surface condition:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; -\omega^2 \phi_j + g \frac{\partial\phi_j}{\partial Z} = 0, \quad z=0 \quad j=1,\cdots,7 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Body-boundary conditions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\partial\phi_7}{\partial n} = -\frac{\partial\phi_I}{\partial n}, \quad \mbox{on} \quad S_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; \phi_I = \frac{i g A}{\omega} e^{KZ-iKX\cos\beta-iKY\sin\beta+i\omega t} &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; \frac{\partial\phi_j}{\partial n} = i\omega n_j, \quad j=1,\cdots,6 \, &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; n_j = \begin{Bmatrix}&lt;br /&gt;
  &amp;amp; n_j, \qquad &amp;amp; j=1,2,3 \\&lt;br /&gt;
  &amp;amp; \left( \vec{X} \times \vec{n} \right)_{j+3}, \quad j=4,5,6&lt;br /&gt;
\end{Bmatrix} &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; i=1: \ \mbox{Surge} \qquad i=2: \ \mbox{Sway} \qquad i=3: \ \mbox{Heave} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; i=4: \ \mbox{Roll} \qquad i=5: \ \mbox{Pitch} \qquad i=6: \ \mbox{Yaw} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At large distances from the body the velocity potentials satisfy the radiation condition:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \phi_j (R,\theta) \sim \frac{A_j(\theta)}{\sqrt{R}} e^{KZ-iKR} + O \left( \frac{1}{R^{3/2}} \right) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; K = \frac{\omega^2}{g}. \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This radiation condition is essential for the formulation and solution of the boundary value problems for &amp;lt;math&amp;gt;\phi_j\,&amp;lt;/math&amp;gt; using panel methods which are the standard solution technique at zero and forward speed.&lt;br /&gt;
&lt;br /&gt;
Qualitative behaviour of the forces, coefficients and motions of floating bodies&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; - \omega^2 \phi + g \phi_Z =0 \quad \begin{cases}&lt;br /&gt;
  \phi_Z=0,\quad \omega=0  \\&lt;br /&gt;
  \phi=0, \quad \omega \to \infty&lt;br /&gt;
\end{cases} &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_{33}(\omega), \sim \omega, \mbox{at low} \ \omega \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The 2D Heave added mass is singular at low frequencies. It is finite in 3D&lt;br /&gt;
&lt;br /&gt;
The 2D Heave damping coefficient is decaying to zero linearly in 2D and superlinearly in 3D. A two-dimensional section is a better wavemaker than a three-dimensional one&lt;br /&gt;
&lt;br /&gt;
A 2D section oscillating in Sway is less effective a wavemaker at low frequencies than the same section oscillating in Heave&lt;br /&gt;
&lt;br /&gt;
The zero-frequency limit of the Sway added mass is finite and similar to the infinite frequency limit of the Heave added mass.&lt;br /&gt;
&lt;br /&gt;
In long waves the Heave exciting force tends to the Heave restoring coefficient times the ambient wave amplitude the free surface behaves like a flat surface moving up and down.&lt;br /&gt;
&lt;br /&gt;
In long waves the Sway exciting force tends to zero. Proof will follow&lt;br /&gt;
&lt;br /&gt;
In short waves all forces tend to zero.&lt;br /&gt;
&lt;br /&gt;
Pitch exciting moment (same applies to Roll) tends to zero. Long waves have a small slope which is proportional to &amp;lt;math&amp;gt; KA&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt; K\,&amp;lt;/math&amp;gt; is the wave number and &amp;lt;math&amp;gt; A\,&amp;lt;/math&amp;gt; is the wave amplitude.&lt;br /&gt;
&lt;br /&gt;
Prove that to leading order for &amp;lt;math&amp;gt;KA\to 0 \,&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \left| X_S(\omega) \right| \sim KA C_{55}\,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;C_{55}\,&amp;lt;/math&amp;gt; is the Pitch (&amp;lt;math&amp;gt; C_{44} \,&amp;lt;/math&amp;gt; for Roll) hydrostatic restoring coefficient. [NB: very long waves look like a flat surface inclined at &amp;lt;math&amp;gt; KA\,&amp;lt;/math&amp;gt; ].&lt;br /&gt;
&lt;br /&gt;
== Body motions in regular waves ==&lt;br /&gt;
&lt;br /&gt;
Heave:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \Pi_3 = \frac{\mathbf{X}_3(\omega)}{-\omega^2(A_{33} + M) + i\omega B_{33} +C_{33} } &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Resonance:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \omega^2 = \frac{C_{33}}{M+A_{33}} = \frac{\rho g A \omega}{M + A_{33} (\omega)} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In principle the above equation is nonlinear for &amp;lt;math&amp;gt;\omega\,&amp;lt;/math&amp;gt;. Will be approximated below&lt;br /&gt;
&lt;br /&gt;
At resonance: &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \Pi_3 = \frac{\mathbf{X}_3(\omega^*)}{i\omega^* B_{33}(\omega^*)} \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Invoking the relation between the damping coefficient and the exicting force in 3D:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\left| \Pi_3 \right|}{A} = \frac{\left| \mathbf{X}_3(\omega) \right|}{\omega \frac{K}{4\rho g V_g} \left| \mathbf{X}_3 \right|^2}, \quad V_g=\frac{g}{2\omega} &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; =\frac{2\rho g}{\omega^3 \left|\mathbf{X}_3(\omega)\right|}, \quad \mbox{at resonance} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This counter-intuitive result shows that for a body undergoing a pure Heave oscillation, the modulus of the Heave response at resonance is inversely proportional to the modulus of the Heave exciting force.&lt;br /&gt;
&lt;br /&gt;
Viscous effects not discussed here may affect Heave response at resonance&lt;br /&gt;
&lt;br /&gt;
The behavior of the Sway response can be found in an analagous manner,&lt;br /&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 articles 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] and&lt;br /&gt;
[http://ocw.mit.edu/NR/rdonlyres/Mechanical-Engineering/2-24Spring-2002/C5323823-0180-45EA-B165-15856948A0A2/0/lecture10.pdf here]&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Linear_Wave-Body_Interaction&amp;diff=12953</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=12953"/>
		<updated>2010-11-05T15:09:48Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: /* Haskind relations of exciting forces */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Ocean Wave Interaction with Ships and Offshore Structures&lt;br /&gt;
 | chapter title = Linear Wave-Body Interaction&lt;br /&gt;
 | next chapter = [[Long Wavelength Approximations]]&lt;br /&gt;
 | previous chapter =  [[Ship Kelvin Wake]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{incomplete pages}}&lt;br /&gt;
&lt;br /&gt;
[[Image:Rigid_body.jpg|thumb|right|600px|Rigid body motions]]&lt;br /&gt;
&lt;br /&gt;
We consider a [[Linear Plane Progressive Regular Waves|Linear Plane Progressive Regular Wave]] in the&lt;br /&gt;
[[Frequency Domain Problem|Frequency Domain]] interacting with a floating body in two dimensions (the main concepts survive almost with no change in the more practical three-dimensional problem).&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
We derive here the equations of motion for a body in [[Linear Plane Progressive Regular Waves]] in the frequency domain in &lt;br /&gt;
two dimensions. We begin with the equations in the time domian. The simplest problems is [[Waves reflecting off a vertical wall]]&lt;br /&gt;
&lt;br /&gt;
== Equations for a Floating Body in the Time Domain ==&lt;br /&gt;
&lt;br /&gt;
We begin with the equations for a floating two-dimensional body in the time domain.&lt;br /&gt;
&lt;br /&gt;
{{equations of motion time domain without body condition}}&lt;br /&gt;
&lt;br /&gt;
{{two dimensional floating body time domain}}&lt;br /&gt;
&lt;br /&gt;
More details can be found in [[:Category:Time-Dependent Linear Water Waves|Time-Dependent Linear Water Waves]]&lt;br /&gt;
&lt;br /&gt;
== Equations for a Floating Body in the Frequency Domain ==&lt;br /&gt;
&lt;br /&gt;
The dynamic condition is the equation of motion for the structure in the [[Frequency Domain Problem|frequency domain]]&lt;br /&gt;
can be found from the time domain equations and we introduce the following notation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\xi_{\nu} = \zeta_{\nu}e^{-\mathrm{i}\omega t}\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This give us&lt;br /&gt;
{{standard linear wave scattering equations without body condition}}&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\omega^2 \sum_{\nu} M_{\mu\nu}\zeta_{\nu}=\mathrm{i}\omega\rho\iint_{\partial\Omega}\phi n_{\mu}\, \mathrm{d}S&lt;br /&gt;
- \sum_{\nu} C_{\mu\nu}\zeta_{\nu},\quad \textrm{for} \qquad \mu=1,3,5,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The equations of motion for &amp;lt;math&amp;gt; \zeta_\nu\,&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. We use the standard numbering of the modes of motion.&lt;br /&gt;
&lt;br /&gt;
== Equations for a Fixed Body in Frequency Domain ==&lt;br /&gt;
&lt;br /&gt;
The equations for a fixed body are&lt;br /&gt;
&lt;br /&gt;
{{standard linear wave scattering equations without body condition}}&lt;br /&gt;
{{frequency domain equations for a rigid body}}&lt;br /&gt;
plus the radiation conditions.  &lt;br /&gt;
&lt;br /&gt;
We decompose the potential as&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\phi = \phi^{\mathrm{I}} + \phi^{\mathrm{D}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\phi^{\mathrm{I}}&amp;lt;/math&amp;gt; is the incident potential and &amp;lt;math&amp;gt;\phi^{\mathrm{D}}&amp;lt;/math&amp;gt;&lt;br /&gt;
is the diffracted potential.  The boundary condition for the diffracted potential is&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\Delta\phi^{\mathrm{D}}=0, \, -h&amp;lt;z&amp;lt;0,\,\,\,\mathbf{x} \in \Omega&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_n\phi^{\mathrm{D}} = 0, \, z=-h,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
 \partial_n \phi^{\mathrm{D}}  = \alpha \phi,\,z=0,\,\,\mathbf{x} \in \partial\Omega_{F},&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
plus &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
 \partial_n \phi^{\mathrm{D}}  = - \partial_n \phi^{\mathrm{I}},\,\, \mathbf{x} \in \partial\Omega_{B},&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Code to calculate the solution (using a slighly modified method) can be found in&lt;br /&gt;
[[Boundary Element Method for a Fixed Body in Finite Depth]]&lt;br /&gt;
&lt;br /&gt;
== Equations for the Radiation Potential in Frequency Domain ==&lt;br /&gt;
&lt;br /&gt;
We decompose the body motion into the rigid body modes of motion. Associated with&lt;br /&gt;
each of these modes is a potential which must be solved for.&lt;br /&gt;
The equations for the radiation potential in the frequency domain are&lt;br /&gt;
&lt;br /&gt;
{{standard linear wave scattering equations without body condition}}&lt;br /&gt;
{{frequency domain equations for the radiation modes}}&lt;br /&gt;
&lt;br /&gt;
{{sommerfeld radiation condition two dimensions for radiation}}&lt;br /&gt;
&lt;br /&gt;
Code to calculate the radiation potential can be found in &lt;br /&gt;
[[Boundary Element Method for the Radiation Potential in Finite Depth]]&lt;br /&gt;
&lt;br /&gt;
We denote the solution for each of the radiation potentials by&lt;br /&gt;
&amp;lt;math&amp;gt;\phi_\nu^{\mathrm{R}}&amp;lt;/math&amp;gt; and the total potential is written as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\phi = \phi^{\mathrm{I}} +  \phi^{\mathrm{D}} +&lt;br /&gt;
\sum_\nu \zeta_\nu \phi_\nu^{\mathrm{R}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Final System of Equations ==&lt;br /&gt;
&lt;br /&gt;
We substitute the expansion for the potential into the equations in the frequency domain and we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\omega^2 \sum_{\nu} M_{\mu\nu}\zeta_{\nu}=-\mathrm{i}\omega\rho\iint_{\partial\Omega_{B}}&lt;br /&gt;
\left(\phi^{\mathrm{I}} +  \phi^{\mathrm{D}} +&lt;br /&gt;
\sum_{\nu} \zeta_\nu \phi_{\nu}^{\mathrm{R}}\right) \mathbf{n}_{\mu}\, dS&lt;br /&gt;
- \sum_{\nu}  C_{\mu\nu}\xi_{\nu},\quad \textrm{for} \qquad \mu=1,3,5,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{added mass damping and force matrices definition}}&lt;br /&gt;
&lt;br /&gt;
Then the equations can be expressed as follows.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;  \left[-\omega^2 \left(\mathbf{M} + \mathbf{A} \right) + &lt;br /&gt;
\mathrm{i}\omega \mathbf{B} + \mathbf{C} \right] \vec{\zeta} = \mathbf{f} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\mathbf{M}&amp;lt;/math&amp;gt; is the mass matrix,  &amp;lt;math&amp;gt;\mathbf{A}&amp;lt;/math&amp;gt; is the added mass matrix,&lt;br /&gt;
&amp;lt;math&amp;gt;\mathbf{B}&amp;lt;/math&amp;gt; is the damping matrix, &amp;lt;math&amp;gt;\mathbf{C}&amp;lt;/math&amp;gt; is the hydrostatic matrix,&lt;br /&gt;
&amp;lt;math&amp;gt;\vec{\zeta}&amp;lt;/math&amp;gt; is the vector of body displacements and &amp;lt;math&amp;gt;\mathbf{f}&amp;lt;/math&amp;gt; is the force. &lt;br /&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 two dimensional problem for the sake of clarity.&lt;br /&gt;
&lt;br /&gt;
== Symmetric body ==&lt;br /&gt;
&lt;br /&gt;
For a body which is [[:Category:Symmetry in Two Dimensions|Symmetric in Two Dimensions]]&lt;br /&gt;
the Heave is decoupled from Surge and Roll. &lt;br /&gt;
In other words the Surge and Roll motions do not influence Heave and vice versa.&lt;br /&gt;
&lt;br /&gt;
== Matlab Code ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*A program to solve for pitch and heave and only for two geometries can be found here [http://www.math.auckland.ac.nz/~meylan/code/boundary_element/rigid_body_motion.m rigid_body_motion.m]&lt;br /&gt;
&lt;br /&gt;
* a program to calculate the solution for a specific geometry (with plot as output as shown) can be found here [http://www.math.auckland.ac.nz/~meylan/code/boundary_element/wave_bem_example_floating.m wave_bem_example_floating.m] &lt;br /&gt;
&lt;br /&gt;
[[Image:Wave_bem_example_floating_RT2.jpg|300px|right|thumb|The reflection (solid line) and transmission (dashed line)&lt;br /&gt;
for a dock for heave and pitch (red), heave only (blue) and pitch only (black)]]&lt;br /&gt;
&lt;br /&gt;
=== Additional code ===&lt;br /&gt;
&lt;br /&gt;
This program requires&lt;br /&gt;
* A program to calculate the geometery [http://www.math.auckland.ac.nz/~meylan/code/boundary_element/circlebody_twod.m  circlebody_twod.m]&lt;br /&gt;
* {{fixed body bem code}}&lt;br /&gt;
* {{floating body radiation code}}&lt;br /&gt;
* {{free surface dispersion equation code}}&lt;br /&gt;
* {{boundary element code}}&lt;br /&gt;
&lt;br /&gt;
== Symmetry-reciprocity relations ==&lt;br /&gt;
&lt;br /&gt;
It will be shown that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A_{ij}(\omega) = A_{ji}(\omega) \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; B_{ij}(\omega) = B_{ji}(\omega) \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Along the same lines it will be shown that the exciting force &amp;lt;math&amp;gt;\mathbf{X}_j\,&amp;lt;/math&amp;gt; can be expressed in terms of &amp;lt;math&amp;gt; \psi_j\,&amp;lt;/math&amp;gt; circumventing the solution for the diffraction potential.&lt;br /&gt;
The core result needed for the proof of the above properties is [http://en.wikipedia.org/wiki/Green&#039;s_identities Green&#039;s second identity]&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iint_S \left( \psi_1 \frac{\partial\psi_2}{\partial n} - \psi_2 \frac{\partial\psi_1}{\partial n} \right) \mathrm{d}S = 0 \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\nabla^2 \psi_i=0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{{energy_region_plates}}&lt;br /&gt;
&lt;br /&gt;
[[Image:Symmetry_boundary.jpg|thumb|right|600px|Boundary]]&lt;br /&gt;
&lt;br /&gt;
In the surface wave-body problem define the closed surfaces as shown in figure on the right.&lt;br /&gt;
Let &amp;lt;math&amp;gt; \phi_j\,&amp;lt;/math&amp;gt; be rediation or diffraction potentials. Over the boundaries &amp;lt;math&amp;gt;S^\pm\,&amp;lt;/math&amp;gt; we have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; S^+: \quad \phi_j \ \sim \ \frac{igA_j^+}{\omega} e^{Kz-iKx} \,&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; \frac{\partial\phi_j}{\partial n} = \frac{\partial \phi_j}{\partial x} \ \sim \ -iK\phi_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; S^-: \quad \phi_j \ \sim \ \frac{igA_j^-}{\omega} e^{Kz+iKx} \,&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; \frac{\partial\phi_j}{\partial n} = - \frac{\partial \phi_j}{\partial x} \ \sim \ - iK\phi_j \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On &amp;lt;math&amp;gt; S_F: \qquad \frac{\partial\phi_j}{\partial z} = K\phi_j, \qquad \frac{\partial \Phi_j}{\partial n} = \frac{\partial \phi_j}{\partial z} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On &amp;lt;math&amp;gt; S_\infty: \qquad \left| \phi_j \right|, \quad \left| \nabla \phi_j \right| \to 0 &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Applying Green&#039;s identity to any pair of the radiation potentials &amp;lt;math&amp;gt; \psi_i, \psi_j \,&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iint_{S_B} \left[ \psi_i \frac{\partial\psi_j}{\partial n} - \psi_j \frac{\partial\psi_i}{\partial n} \right] \mathrm{d}S = - \iint_{S_F} \left[ \psi_i \frac{\partial\psi_j}{\partial z} - \psi_j \frac{\partial\psi_i}{\partial z} \right] \mathrm{d}S &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; - \iint_{S_+} \left[ \psi_i \frac{\partial\psi_j}{\partial x} - \psi_j \frac{\partial\psi_i}{\partial x} \right] \mathrm{d}S&lt;br /&gt;
 + \iint_{S_-} \left[ \psi_i \frac{\partial\psi_j}{\partial x} - \psi_j \frac{\partial\psi_i}{\partial x} \right] \mathrm{d}S = 0 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It follows that:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iint_{S_B} \psi_i \frac{\partial\psi_j}{\partial n} \mathrm{d}S = \iint_{S_B} \psi_j \frac{\partial\psi_i}{\partial n} \mathrm{d}S &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; A_{ij}(\omega) = A_{ji}(\omega), \qquad B_{ij}(\omega) = B_{ji}(\omega). \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Haskind relations of exciting forces ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathbf{X}_i(\omega) = - i\omega\rho\iint_{S_B} (\phi_I + \phi_7) n_i \mathrm{d}S &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; = - \rho \iint_{S_B} (\phi_I + \phi_7) \frac{\partial \phi_i}{\partial n} \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the radiation velocity potential &amp;lt;math&amp;gt; \phi_i \,&amp;lt;/math&amp;gt; is known to satisfy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\partial\phi_i}{\partial n} = i\omega n_i, \quad \mbox{on} \ S_B &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\partial\phi_7}{\partial n} = \frac{\partial\phi_I}{\partial n}, \quad \mbox{on} \ S_B &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Both &amp;lt;math&amp;gt; \phi_i\,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; \phi_7\,&amp;lt;/math&amp;gt; satisfy the condition of outgoing waves at infinity. By virtue of [http://en.wikipedia.org/wiki/Green&#039;s_identities Green&#039;s second identity]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \iint_{S_B} \phi_7 \frac{\partial\phi_i}{\partial n} \mathrm{d}S = \iint_{S_B} \phi_i \frac{\partial\phi_7}{\partial n} \mathrm{d}S = -\iint_{S_B} \phi_i \frac{\partial\phi_I}{\partial n} \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Haskind expression for the exciting force follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mathbf{X}_i(\omega) = \rho \iint_{S_B} \left[ \phi_I \frac{\partial\phi_i}{\partial n} - \phi_i \frac{\partial\phi_I}{\partial n} \right] \mathrm{d}S &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The symmetry of the &amp;lt;math&amp;gt; A_{ij}(\omega), B_{ij}(\omega) \,&amp;lt;/math&amp;gt; matrices applies in 2D and 3D. The application of Green&#039;s Theorem in 3D is very similar using the far-field representation for the potential &amp;lt;math&amp;gt; \phi_j\,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \phi_j \sim \frac{A_j(\theta)}{\sqrt{R}} e^{KZ-iKR} + O\left(\frac{1}{R^{3/2}}\right) &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; \frac{\partial\phi_j}{\partial n} = \frac{\partial\phi_j}{\partial R} \sim - i K \phi_j + O\left(\frac{1}{R^{3/2}}\right) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt; R \,&amp;lt;/math&amp;gt; is a radius from the body out to infinity and the &amp;lt;math&amp;gt; R^{-\frac{1}{2}} \,&amp;lt;/math&amp;gt; decay arises from the energy conservation principle. Details of the 3D proof may be found in [[Mei 1983]] and [[Wehausen and Laitone 1960]]&lt;br /&gt;
&lt;br /&gt;
The use of the Haskind relations for the exciting forces does not require the solution of the diffraction problem. This is convenient and often more accurate.&lt;br /&gt;
&lt;br /&gt;
The Haskind relations take other forms which will not be presented here but are detailed in [[Wehausen and Laitone 1960]]. The ones that are used in practice relate the exciting forces to the damping coefficients.&lt;br /&gt;
&lt;br /&gt;
These take the form:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;2D&amp;lt;/u&amp;gt;:      &amp;lt;math&amp;gt; B_ii = \frac{\left| \mathbf{X}_i \right|^2}{2\rho g V_g}, \quad V_g = \frac{g}{2\omega}, &amp;lt;/math&amp;gt;       Deep water&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;3D&amp;lt;/u&amp;gt;:      &amp;lt;math&amp;gt; B_33 = \frac{K}{4\rho g V_g} \left| \mathbf{X}_3 \right|^2 \,&amp;lt;/math&amp;gt;      --- Heave&lt;br /&gt;
&lt;br /&gt;
(Axisymmetric bodies)      &amp;lt;math&amp;gt; B_22 = \frac{K}{8\rho g V_g} \left| \mathbf{X}_2 \right|^2 \,&amp;lt;/math&amp;gt;      --- Sway&lt;br /&gt;
&lt;br /&gt;
So knowledge of &amp;lt;math&amp;gt; \mathbf{X}_i(\omega)\,&amp;lt;/math&amp;gt; allows the direct evaluation of the diagonal damping coefficients. These expressions are useful in deriving theoretical results in wave-body interactions to be discussed later.&lt;br /&gt;
&lt;br /&gt;
The two-dimensional theory of wave-body interactions in the frequency domain extends to three dimencions very directly with little difficulty.&lt;br /&gt;
&lt;br /&gt;
The statement of the 6 d.o.f. seakeeping problem is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \sum_{j=1}^6 \left[ - \omega^2 \left( M_{ij} + A_{ij} \right) + i \omega B_{ij} + C_{ij} \right] \Pi_j = \mathbf{X}_j, \quad i=1,\cdots,6 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \mbox{Body inertia matrix including moments of inertia for rotational modes. For details refer to MH} \, &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_{ij}(\omega): \mbox{Added mass matrix} \,&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_{ij}(\omega): \mbox{Damping matrix} \, &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_{ij}: \mbox{Hydrostatic and static inertia restoring matrix. For details refer to MH} \, &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; \mathbf{X}_i(\omega): \mbox{Wave exciting forces and moments} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At zero speed the definitions of the added-mass, damping matrices and exciting forces are identical to those in two dimensions.&lt;br /&gt;
&lt;br /&gt;
The boundary value problems satisfied by the radiation potentials &amp;lt;math&amp;gt;\phi_j, \ j=1,\cdots,6 \,&amp;lt;/math&amp;gt; and the diffraction potential &amp;lt;math&amp;gt; \phi_7 \,&amp;lt;/math&amp;gt; are as follows:&lt;br /&gt;
&lt;br /&gt;
Free-surface condition:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; -\omega^2 \phi_j + g \frac{\partial\phi_j}{\partial Z} = 0, \quad z=0 \quad j=1,\cdots,7 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Body-boundary conditions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\partial\phi_7}{\partial n} = -\frac{\partial\phi_I}{\partial n}, \quad \mbox{on} \quad S_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; \phi_I = \frac{i g A}{\omega} e^{KZ-iKX\cos\beta-iKY\sin\beta+i\omega t} &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; \frac{\partial\phi_j}{\partial n} = i\omega n_j, \quad j=1,\cdots,6 \, &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; n_j = \begin{Bmatrix}&lt;br /&gt;
  &amp;amp; n_j, \qquad &amp;amp; j=1,2,3 \\&lt;br /&gt;
  &amp;amp; \left( \vec{X} \times \vec{n} \right)_{j+3}, \quad j=4,5,6&lt;br /&gt;
\end{Bmatrix} &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; i=1: \ \mbox{Surge} \qquad i=2: \ \mbox{Sway} \qquad i=3: \ \mbox{Heave} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; i=4: \ \mbox{Roll} \qquad i=5: \ \mbox{Pitch} \qquad i=6: \ \mbox{Yaw} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At large distances from the body the velocity potentials satisfy the radiation condition:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \phi_j (R,\theta) \sim \frac{A_j(\theta)}{\sqrt{R}} e^{KZ-iKR} + O \left( \frac{1}{R^{3/2}} \right) &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; K = \frac{\omega^2}{g}. \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This radiation condition is essential for the formulation and solution of the boundary value problems for &amp;lt;math&amp;gt;\phi_j\,&amp;lt;/math&amp;gt; using panel methods which are the standard solution technique at zero and forward speed.&lt;br /&gt;
&lt;br /&gt;
Qualitative behaviour of the forces, coefficients and motions of floating bodies&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; - \omega^2 \phi + g \phi_Z =0 \quad \begin{cases}&lt;br /&gt;
  \phi_Z=0,\quad \omega=0  \\&lt;br /&gt;
  \phi=0, \quad \omega \to \infty&lt;br /&gt;
\end{cases} &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_{33}(\omega), \sim \omega, \mbox{at low} \ \omega \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The 2D Heave added mass is singular at low frequencies. It is finite in 3D&lt;br /&gt;
&lt;br /&gt;
The 2D Heave damping coefficient is decaying to zero linearly in 2D and superlinearly in 3D. A two-dimensional section is a better wavemaker than a three-dimensional one&lt;br /&gt;
&lt;br /&gt;
A 2D section oscillating in Sway is less effective a wavemaker at low frequencies than the same section oscillating in Heave&lt;br /&gt;
&lt;br /&gt;
The zero-frequency limit of the Sway added mass is finite and similar to the infinite frequency limit of the Heave added mass.&lt;br /&gt;
&lt;br /&gt;
In long waves the Heave exciting force tends to the Heave restoring coefficient times the ambient wave amplitude the free surface behaves like a flat surface moving up and down.&lt;br /&gt;
&lt;br /&gt;
In long waves the Sway exciting force tends to zero. Proof will follow&lt;br /&gt;
&lt;br /&gt;
In short waves all forces tend to zero.&lt;br /&gt;
&lt;br /&gt;
Pitch exciting moment (same applies to Roll) tends to zero. Long waves have a small slope which is proportional to &amp;lt;math&amp;gt; KA&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt; K\,&amp;lt;/math&amp;gt; is the wave number and &amp;lt;math&amp;gt; A\,&amp;lt;/math&amp;gt; is the wave amplitude.&lt;br /&gt;
&lt;br /&gt;
Prove that to leading order for &amp;lt;math&amp;gt;KA\to 0 \,&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \left| X_S(\omega) \right| \sim KA C_{55}\,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;C_{55}\,&amp;lt;/math&amp;gt; is the Pitch (&amp;lt;math&amp;gt; C_{44} \,&amp;lt;/math&amp;gt; for Roll) hydrostatic restoring coefficient. [NB: very long waves look like a flat surface inclined at &amp;lt;math&amp;gt; KA\,&amp;lt;/math&amp;gt; ].&lt;br /&gt;
&lt;br /&gt;
== Body motions in regular waves ==&lt;br /&gt;
&lt;br /&gt;
Heave:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \Pi_3 = \frac{\mathbf{X}_3(\omega)}{-\omega^2(A_{33} + M) + i\omega B_{33} +C_{33} } &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Resonance:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \omega^2 = \frac{C_{33}}{M+A_{33}} = \frac{\rho g A \omega}{M + A_{33} (\omega)} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In principle the above equation is nonlinear for &amp;lt;math&amp;gt;\omega\,&amp;lt;/math&amp;gt;. Will be approximated below&lt;br /&gt;
&lt;br /&gt;
At resonance: &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \Pi_3 = \frac{\mathbf{X}_3(\omega^*)}{i\omega^* B_{33}(\omega^*)} \,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Invoking the relation between the damping coefficient and the exicting force in 3D:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \frac{\left| \Pi_3 \right|}{A} = \frac{\left| \mathbf{X}_3(\omega) \right|}{\omega \frac{K}{4\rho g V_g} \left| \mathbf{X}_3 \right|^2}, \quad V_g=\frac{g}{2\omega} &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; =\frac{2\rho g}{\omega^3 \left|\mathbf{X}_3(\omega)\right|}, \quad \mbox{at resonance} &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This counter-intuitive result shows that for a body undergoing a pure Heave oscillation, the modulus of the Heave response at resonance is inversely proportional to the modulus of the Heave exciting force.&lt;br /&gt;
&lt;br /&gt;
Viscous effects not discussed here may affect Heave response at resonance&lt;br /&gt;
&lt;br /&gt;
The behavior of the Sway response can be found in an analagous manner,&lt;br /&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 articles 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] and&lt;br /&gt;
[http://ocw.mit.edu/NR/rdonlyres/Mechanical-Engineering/2-24Spring-2002/C5323823-0180-45EA-B165-15856948A0A2/0/lecture10.pdf here]&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Conservation_Laws_and_Boundary_Conditions&amp;diff=12501</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=12501"/>
		<updated>2010-09-02T14:08:34Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: /* Definition of force and moment in terms of fluid pressure */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Ocean Wave Interaction with Ships and Offshore Structures&lt;br /&gt;
 | chapter title = Conservation Laws and Boundary Conditions&lt;br /&gt;
 | next chapter = [[Linear and Second-Order Wave Theory]]&lt;br /&gt;
 | previous chapter = &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{complete pages}}&lt;br /&gt;
&lt;br /&gt;
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 [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;
== Coordinate system and velocity potential ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Coordinate_system.png|right|thumb|500px|Coordinate 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{Coordinate system} \\&lt;br /&gt;
&amp;amp;\mathbf{x}        &amp;amp;: &amp;amp;\mbox{Fixed Eulerian Vector} \\&lt;br /&gt;
&amp;amp; \mathbf{v}        &amp;amp;: &amp;amp;\mbox{Flow Velocity Vector at} \  \mathbf{x} \\&lt;br /&gt;
&amp;amp;\zeta          &amp;amp;: &amp;amp;\mbox{Free Surface Elevation} \\&lt;br /&gt;
&amp;amp;\mathbf{g}         &amp;amp;: &amp;amp;\mbox{Acceleration due to gravity}&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], i.e. 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 \mathbf{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 throughout 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 \mathbf{v} = 0&amp;lt;/math&amp;gt; then we can express the irrotational vector as the gradient of a scalar function, i.e. &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\mathbf{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(\mathbf{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 than 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 \mathbf{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; &lt;br /&gt;
\nabla \cdot \nabla \Phi = 0 \Rightarrow \nabla^2 \Phi = 0 &lt;br /&gt;
&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; &lt;br /&gt;
\partial_x^2 \Phi + \partial_y^2\Phi + \partial_z^2\Phi = 0, &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which is [http://en.wikipedia.org/wiki/Laplaces_equation Laplace&#039;s equation].&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_%28fluid_dynamics%29 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;
\partial_t \mathbf{v} + (\mathbf{v}\cdot \nabla)\mathbf{v}= - \frac1{\rho} \nabla P + \mathbf{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(\mathbf{x}, t) &amp;lt;/math&amp;gt; is the fluid Pressure at &amp;lt;math&amp;gt;(\mathbf{x}, t)&amp;lt;/math&amp;gt; and &lt;br /&gt;
&amp;lt;math&amp;gt; \mathbf{g}= - \mathbf{k} g &amp;lt;/math&amp;gt; is the acceleration due to gravity where &lt;br /&gt;
&amp;lt;math&amp;gt; \mathbf{k} &amp;lt;/math&amp;gt; is the unit vector pointing in the positive &amp;lt;math&amp;gt;z&amp;lt;/math&amp;gt;-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 following vector identity&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; (\mathbf{v} \cdot \nabla) \mathbf{v} = \frac 1{2} \nabla (\mathbf{v} \cdot \mathbf{v}) - \mathbf{v}\times ( \nabla \times \mathbf{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 \mathbf{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; \partial_t \mathbf{v} + \frac{1}{2} \nabla (\mathbf{v} \cdot \mathbf{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 = \mathbf{k} &amp;lt;/math&amp;gt;. &lt;br /&gt;
We now substitute &amp;lt;math&amp;gt; \mathbf{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 (\partial_t \Phi + \frac{1}{2} \nabla \Phi \cdot \nabla \Phi + \frac {P}{\rho} + 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( \mathbf{x}, t) =0 \quad \Longrightarrow \quad F (\mathbf{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 from the equation above.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \partial_t \Phi + \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} = - \partial_t\Phi-\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 (it can be thought of as defining the reference pressure. &lt;br /&gt;
It is also worth noting that the &lt;br /&gt;
angular momentum conservation principle is contained in&lt;br /&gt;
&amp;lt;math&amp;gt; \nabla \times \mathbf{v} = 0. &amp;lt;/math&amp;gt;&lt;br /&gt;
In particular, 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;
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 &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,t)&amp;lt;/math&amp;gt; at the free surface. The dynamic condition is derived from the Bernoulli&#039;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. &lt;br /&gt;
&lt;br /&gt;
=== Method I ===&lt;br /&gt;
&lt;br /&gt;
We derive the dynamic condition directly from Bernoulli&#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+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 (\partial_t + \mathbf{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 (\partial_t + \mathbf{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; \partial_t\zeta + \partial_x\Phi \partial_x\zeta + \partial_y\Phi \partial_y\zeta = \partial_z\Phi, \qquad \mbox{on} \ 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; \partial_t\Phi + \frac{1}{2} \nabla \Phi \cdot \nabla \Phi + g \zeta = C - \frac{P_a}{\rho}, \qquad \mbox{on} \ 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;
[[Image:Force_coordinates2.png|right|thumb|500px|Force coordinates]]&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; \mathbf{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; with surface &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt; f(\mathbf{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_{\Omega} \nabla f \mathrm{d}v = -\iint_{\partial\Omega} f_{s} \mathbf{n} \mathrm{d}s &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_{{\Omega}} \partial_x f \mathrm{d}v = - \iint_{\partial\Omega} f n_1 \mathrm{d}s &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_{{\Omega}} \partial_y f \mathrm{d}v = - \iint_{\partial\Omega} f n_2 \mathrm{d}s &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_{{\Omega}} \partial_z f \mathrm{d}v = - \iint_{\partial\Omega} f n_3 \mathrm{d}s &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; \mathbf{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_{\Omega} \nabla \cdot \mathbf{v} = - \iint_{\partial\Omega} \mathbf{v} \cdot \mathbf{n} \mathrm{d}s &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The scalar identity is often 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;
The force &amp;lt;math&amp;gt;\mathbf{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;
\mathbf{F} = \iint_{\partial\Omega} P\mathbf{n}\mathrm{d}s&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;\mathbf{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;
\mathbf{M} = \iint_{\partial\Omega} P(\mathbf{x}\times\mathbf{n})\mathrm{d}s&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; P = 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 \{ \partial_t\Phi + \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 \{ \partial_t\Phi + \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 ( \partial_t + \mathbf{v} \cdot \nabla \right ) \left ( \partial_t\Phi + \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;
[[Category:Linear Water-Wave Theory]]&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Conservation_Laws_and_Boundary_Conditions&amp;diff=12499</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=12499"/>
		<updated>2010-09-02T14:07:41Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: /* Definition of force and moment in terms of fluid pressure */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Ocean Wave Interaction with Ships and Offshore Structures&lt;br /&gt;
 | chapter title = Conservation Laws and Boundary Conditions&lt;br /&gt;
 | next chapter = [[Linear and Second-Order Wave Theory]]&lt;br /&gt;
 | previous chapter = &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{complete pages}}&lt;br /&gt;
&lt;br /&gt;
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 [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;
== Coordinate system and velocity potential ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Coordinate_system.png|right|thumb|500px|Coordinate 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{Coordinate system} \\&lt;br /&gt;
&amp;amp;\mathbf{x}        &amp;amp;: &amp;amp;\mbox{Fixed Eulerian Vector} \\&lt;br /&gt;
&amp;amp; \mathbf{v}        &amp;amp;: &amp;amp;\mbox{Flow Velocity Vector at} \  \mathbf{x} \\&lt;br /&gt;
&amp;amp;\zeta          &amp;amp;: &amp;amp;\mbox{Free Surface Elevation} \\&lt;br /&gt;
&amp;amp;\mathbf{g}         &amp;amp;: &amp;amp;\mbox{Acceleration due to gravity}&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], i.e. 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 \mathbf{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 throughout 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 \mathbf{v} = 0&amp;lt;/math&amp;gt; then we can express the irrotational vector as the gradient of a scalar function, i.e. &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\mathbf{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(\mathbf{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 than 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 \mathbf{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; &lt;br /&gt;
\nabla \cdot \nabla \Phi = 0 \Rightarrow \nabla^2 \Phi = 0 &lt;br /&gt;
&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; &lt;br /&gt;
\partial_x^2 \Phi + \partial_y^2\Phi + \partial_z^2\Phi = 0, &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which is [http://en.wikipedia.org/wiki/Laplaces_equation Laplace&#039;s equation].&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_%28fluid_dynamics%29 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;
\partial_t \mathbf{v} + (\mathbf{v}\cdot \nabla)\mathbf{v}= - \frac1{\rho} \nabla P + \mathbf{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(\mathbf{x}, t) &amp;lt;/math&amp;gt; is the fluid Pressure at &amp;lt;math&amp;gt;(\mathbf{x}, t)&amp;lt;/math&amp;gt; and &lt;br /&gt;
&amp;lt;math&amp;gt; \mathbf{g}= - \mathbf{k} g &amp;lt;/math&amp;gt; is the acceleration due to gravity where &lt;br /&gt;
&amp;lt;math&amp;gt; \mathbf{k} &amp;lt;/math&amp;gt; is the unit vector pointing in the positive &amp;lt;math&amp;gt;z&amp;lt;/math&amp;gt;-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 following vector identity&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; (\mathbf{v} \cdot \nabla) \mathbf{v} = \frac 1{2} \nabla (\mathbf{v} \cdot \mathbf{v}) - \mathbf{v}\times ( \nabla \times \mathbf{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 \mathbf{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; \partial_t \mathbf{v} + \frac{1}{2} \nabla (\mathbf{v} \cdot \mathbf{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 = \mathbf{k} &amp;lt;/math&amp;gt;. &lt;br /&gt;
We now substitute &amp;lt;math&amp;gt; \mathbf{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 (\partial_t \Phi + \frac{1}{2} \nabla \Phi \cdot \nabla \Phi + \frac {P}{\rho} + 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( \mathbf{x}, t) =0 \quad \Longrightarrow \quad F (\mathbf{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 from the equation above.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \partial_t \Phi + \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} = - \partial_t\Phi-\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 (it can be thought of as defining the reference pressure. &lt;br /&gt;
It is also worth noting that the &lt;br /&gt;
angular momentum conservation principle is contained in&lt;br /&gt;
&amp;lt;math&amp;gt; \nabla \times \mathbf{v} = 0. &amp;lt;/math&amp;gt;&lt;br /&gt;
In particular, 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;
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 &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,t)&amp;lt;/math&amp;gt; at the free surface. The dynamic condition is derived from the Bernoulli&#039;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. &lt;br /&gt;
&lt;br /&gt;
=== Method I ===&lt;br /&gt;
&lt;br /&gt;
We derive the dynamic condition directly from Bernoulli&#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+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 (\partial_t + \mathbf{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 (\partial_t + \mathbf{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; \partial_t\zeta + \partial_x\Phi \partial_x\zeta + \partial_y\Phi \partial_y\zeta = \partial_z\Phi, \qquad \mbox{on} \ 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; \partial_t\Phi + \frac{1}{2} \nabla \Phi \cdot \nabla \Phi + g \zeta = C - \frac{P_a}{\rho}, \qquad \mbox{on} \ 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;
[[Image:Force_coordinates2.png|right|thumb|500px|Force coordinates]]&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; \mathbf{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; with surface &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt; f(\mathbf{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_{\Omega} \nabla f \mathrm{d}v = -\iint_{\partial\Omega} f_{s} \mathbf{n} \mathrm{d}s &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_{{\Omega}} \partial_x f \mathrm{d}v = - \iint_{\partial\Omega} f n_1 \mathrm{d}s &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_{{\Omega}} \partial_y f \mathrm{d}v = - \iint_{\partial\Omega} f n_2 \mathrm{d}s &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_{{\Omega}} \partial_z f \mathrm{d}v = - \iint_{\partial\Omega} f n_3 \mathrm{d}s &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; \mathbf{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_{\Omega} \nabla \cdot \mathbf{v} = - \iint_{\partial\Omega} \mathbf{v} \cdot \mathbf{n} \mathrm{d}s &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The scalar identity is often 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;
The force &amp;lt;math&amp;gt;\mathbf{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;
\mathbf{F} = \iint_{\partial\Omega} P\mathbf{n}\mathrm{d}s&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;\mathbf{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;
\mathbf{M} = \iint_{\partial\Omega} P(\mathbf{x}\times\mathbf{n})\mathrm{d}s&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; \P = 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 \{ \partial_t\Phi + \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 \{ \partial_t\Phi + \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 ( \partial_t + \mathbf{v} \cdot \nabla \right ) \left ( \partial_t\Phi + \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;
[[Category:Linear Water-Wave Theory]]&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Conservation_Laws_and_Boundary_Conditions&amp;diff=12495</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=12495"/>
		<updated>2010-08-28T07:11:52Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: /* Method I */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Ocean Wave Interaction with Ships and Offshore Structures&lt;br /&gt;
 | chapter title = Conservation Laws and Boundary Conditions&lt;br /&gt;
 | next chapter = [[Linear and Second-Order Wave Theory]]&lt;br /&gt;
 | previous chapter = &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{complete pages}}&lt;br /&gt;
&lt;br /&gt;
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 [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;
== Coordinate system and velocity potential ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Coordinate_system.png|right|thumb|500px|Coordinate 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{Coordinate system} \\&lt;br /&gt;
&amp;amp;\mathbf{x}        &amp;amp;: &amp;amp;\mbox{Fixed Eulerian Vector} \\&lt;br /&gt;
&amp;amp; \mathbf{v}        &amp;amp;: &amp;amp;\mbox{Flow Velocity Vector at} \  \mathbf{x} \\&lt;br /&gt;
&amp;amp;\zeta          &amp;amp;: &amp;amp;\mbox{Free Surface Elevation} \\&lt;br /&gt;
&amp;amp;\mathbf{g}         &amp;amp;: &amp;amp;\mbox{Acceleration due to gravity}&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], i.e. 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 \mathbf{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 throughout 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 \mathbf{v} = 0&amp;lt;/math&amp;gt; then we can express the irrotational vector as the gradient of a scalar function, i.e. &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\mathbf{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(\mathbf{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 than 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 \mathbf{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; &lt;br /&gt;
\nabla \cdot \nabla \Phi = 0 \Rightarrow \nabla^2 \Phi = 0 &lt;br /&gt;
&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; &lt;br /&gt;
\partial_x^2 \Phi + \partial_y^2\Phi + \partial_z^2\Phi = 0, &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which is [http://en.wikipedia.org/wiki/Laplaces_equation Laplace&#039;s equation].&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_%28fluid_dynamics%29 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;
\partial_t \mathbf{v} + (\mathbf{v}\cdot \nabla)\mathbf{v}= - \frac1{\rho} \nabla P + \mathbf{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(\mathbf{x}, t) &amp;lt;/math&amp;gt; is the fluid Pressure at &amp;lt;math&amp;gt;(\mathbf{x}, t)&amp;lt;/math&amp;gt; and &lt;br /&gt;
&amp;lt;math&amp;gt; \mathbf{g}= - \mathbf{k} g &amp;lt;/math&amp;gt; is the acceleration due to gravity where &lt;br /&gt;
&amp;lt;math&amp;gt; \mathbf{k} &amp;lt;/math&amp;gt; is the unit vector pointing in the positive &amp;lt;math&amp;gt;z&amp;lt;/math&amp;gt;-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 following vector identity&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; (\mathbf{v} \cdot \nabla) \mathbf{v} = \frac 1{2} \nabla (\mathbf{v} \cdot \mathbf{v}) - \mathbf{v}\times ( \nabla \times \mathbf{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 \mathbf{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; \partial_t \mathbf{v} + \frac{1}{2} \nabla (\mathbf{v} \cdot \mathbf{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 = \mathbf{k} &amp;lt;/math&amp;gt;. &lt;br /&gt;
We now substitute &amp;lt;math&amp;gt; \mathbf{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 (\partial_t \Phi + \frac{1}{2} \nabla \Phi \cdot \nabla \Phi + \frac {P}{\rho} + 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( \mathbf{x}, t) =0 \quad \Longrightarrow \quad F (\mathbf{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 from the equation above.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \partial_t \Phi + \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} = - \partial_t\Phi-\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 (it can be thought of as defining the reference pressure. &lt;br /&gt;
It is also worth noting that the &lt;br /&gt;
angular momentum conservation principle is contained in&lt;br /&gt;
&amp;lt;math&amp;gt; \nabla \times \mathbf{v} = 0. &amp;lt;/math&amp;gt;&lt;br /&gt;
In particular, 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;
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 &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,t)&amp;lt;/math&amp;gt; at the free surface. The dynamic condition is derived from the Bernoulli&#039;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. &lt;br /&gt;
&lt;br /&gt;
=== Method I ===&lt;br /&gt;
&lt;br /&gt;
We derive the dynamic condition directly from Bernoulli&#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+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 (\partial_t + \mathbf{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 (\partial_t + \mathbf{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; \partial_t\zeta + \partial_x\Phi \partial_x\zeta + \partial_y\Phi \partial_y\zeta = \partial_z\Phi, \qquad \mbox{on} \ 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; \partial_t\Phi + \frac{1}{2} \nabla \Phi \cdot \nabla \Phi + g \zeta = C - \frac{P_a}{\rho}, \qquad \mbox{on} \ 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;
[[Image:Force_coordinates2.png|right|thumb|500px|Force coordinates]]&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; \mathbf{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; with surface &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt; f(\mathbf{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_{\Omega} \nabla f \mathrm{d}v = -\iint_{\partial\Omega} f_{s} \mathbf{n} \mathrm{d}s &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_{{\Omega}} \partial_x f \mathrm{d}v = - \iint_{\partial\Omega} f n_1 \mathrm{d}s &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_{{\Omega}} \partial_y f \mathrm{d}v = - \iint_{\partial\Omega} f n_2 \mathrm{d}s &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_{{\Omega}} \partial_z f \mathrm{d}v = - \iint_{\partial\Omega} f n_3 \mathrm{d}s &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; \mathbf{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_{\Omega} \nabla \cdot \mathbf{v} = - \iint_{\partial\Omega} \mathbf{v} \cdot \mathbf{n} \mathrm{d}s &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The scalar identity is often 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;
The force &amp;lt;math&amp;gt;\mathbf{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;
\mathbf{F} = \iint_{\partial\Omega} P\mathbf{n}\mathrm{d}s&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;\mathbf{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;
\mathbf{M} = \iint_{\partial\Omega} P(\mathbf{x}\times\mathbf{v})\mathrm{d}s&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 \{ \partial_t\Phi + \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 \{ \partial_t\Phi + \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 ( \partial_t + \mathbf{v} \cdot \nabla \right ) \left ( \partial_t\Phi + \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;
[[Category:Linear Water-Wave Theory]]&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Conservation_Laws_and_Boundary_Conditions&amp;diff=12493</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=12493"/>
		<updated>2010-08-28T07:03:26Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: /* Method I */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Ocean Wave Interaction with Ships and Offshore Structures&lt;br /&gt;
 | chapter title = Conservation Laws and Boundary Conditions&lt;br /&gt;
 | next chapter = [[Linear and Second-Order Wave Theory]]&lt;br /&gt;
 | previous chapter = &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{complete pages}}&lt;br /&gt;
&lt;br /&gt;
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 [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;
== Coordinate system and velocity potential ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Coordinate_system.png|right|thumb|500px|Coordinate 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{Coordinate system} \\&lt;br /&gt;
&amp;amp;\mathbf{x}        &amp;amp;: &amp;amp;\mbox{Fixed Eulerian Vector} \\&lt;br /&gt;
&amp;amp; \mathbf{v}        &amp;amp;: &amp;amp;\mbox{Flow Velocity Vector at} \  \mathbf{x} \\&lt;br /&gt;
&amp;amp;\zeta          &amp;amp;: &amp;amp;\mbox{Free Surface Elevation} \\&lt;br /&gt;
&amp;amp;\mathbf{g}         &amp;amp;: &amp;amp;\mbox{Acceleration due to gravity}&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], i.e. 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 \mathbf{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 throughout 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 \mathbf{v} = 0&amp;lt;/math&amp;gt; then we can express the irrotational vector as the gradient of a scalar function, i.e. &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\mathbf{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(\mathbf{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 than 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 \mathbf{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; &lt;br /&gt;
\nabla \cdot \nabla \Phi = 0 \Rightarrow \nabla^2 \Phi = 0 &lt;br /&gt;
&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; &lt;br /&gt;
\partial_x^2 \Phi + \partial_y^2\Phi + \partial_z^2\Phi = 0, &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which is [http://en.wikipedia.org/wiki/Laplaces_equation Laplace&#039;s equation].&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_%28fluid_dynamics%29 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;
\partial_t \mathbf{v} + (\mathbf{v}\cdot \nabla)\mathbf{v}= - \frac1{\rho} \nabla P + \mathbf{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(\mathbf{x}, t) &amp;lt;/math&amp;gt; is the fluid Pressure at &amp;lt;math&amp;gt;(\mathbf{x}, t)&amp;lt;/math&amp;gt; and &lt;br /&gt;
&amp;lt;math&amp;gt; \mathbf{g}= - \mathbf{k} g &amp;lt;/math&amp;gt; is the acceleration due to gravity where &lt;br /&gt;
&amp;lt;math&amp;gt; \mathbf{k} &amp;lt;/math&amp;gt; is the unit vector pointing in the positive &amp;lt;math&amp;gt;z&amp;lt;/math&amp;gt;-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 following vector identity&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; (\mathbf{v} \cdot \nabla) \mathbf{v} = \frac 1{2} \nabla (\mathbf{v} \cdot \mathbf{v}) - \mathbf{v}\times ( \nabla \times \mathbf{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 \mathbf{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; \partial_t \mathbf{v} + \frac{1}{2} \nabla (\mathbf{v} \cdot \mathbf{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 = \mathbf{k} &amp;lt;/math&amp;gt;. &lt;br /&gt;
We now substitute &amp;lt;math&amp;gt; \mathbf{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 (\partial_t \Phi + \frac{1}{2} \nabla \Phi \cdot \nabla \Phi + \frac {P}{\rho} + 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( \mathbf{x}, t) =0 \quad \Longrightarrow \quad F (\mathbf{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 from the equation above.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \partial_t \Phi + \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} = - \partial_t\Phi-\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 (it can be thought of as defining the reference pressure. &lt;br /&gt;
It is also worth noting that the &lt;br /&gt;
angular momentum conservation principle is contained in&lt;br /&gt;
&amp;lt;math&amp;gt; \nabla \times \mathbf{v} = 0. &amp;lt;/math&amp;gt;&lt;br /&gt;
In particular, 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;
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 &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,t)&amp;lt;/math&amp;gt; at the free surface. The dynamic condition is derived from the Bernoulli&#039;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. &lt;br /&gt;
&lt;br /&gt;
=== Method I ===&lt;br /&gt;
&lt;br /&gt;
We derive the dynamic condition directly from Bernoulli&#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+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 (\partial_t + \mathbf{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 (\partial_t + \mathbf{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; \partial_t\zeta + \partial_x\Phi \partial_x\zeta + \partial_y\Phi \partial_y\zeta = \partial_z\Phi, \, 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; \partial_t\Phi + \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;
[[Image:Force_coordinates2.png|right|thumb|500px|Force coordinates]]&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; \mathbf{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; with surface &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt; f(\mathbf{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_{\Omega} \nabla f \mathrm{d}v = -\iint_{\partial\Omega} f_{s} \mathbf{n} \mathrm{d}s &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_{{\Omega}} \partial_x f \mathrm{d}v = - \iint_{\partial\Omega} f n_1 \mathrm{d}s &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_{{\Omega}} \partial_y f \mathrm{d}v = - \iint_{\partial\Omega} f n_2 \mathrm{d}s &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_{{\Omega}} \partial_z f \mathrm{d}v = - \iint_{\partial\Omega} f n_3 \mathrm{d}s &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; \mathbf{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_{\Omega} \nabla \cdot \mathbf{v} = - \iint_{\partial\Omega} \mathbf{v} \cdot \mathbf{n} \mathrm{d}s &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The scalar identity is often 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;
The force &amp;lt;math&amp;gt;\mathbf{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;
\mathbf{F} = \iint_{\partial\Omega} P\mathbf{n}\mathrm{d}s&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;\mathbf{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;
\mathbf{M} = \iint_{\partial\Omega} P(\mathbf{x}\times\mathbf{v})\mathrm{d}s&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 \{ \partial_t\Phi + \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 \{ \partial_t\Phi + \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 ( \partial_t + \mathbf{v} \cdot \nabla \right ) \left ( \partial_t\Phi + \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;
[[Category:Linear Water-Wave Theory]]&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Conservation_Laws_and_Boundary_Conditions&amp;diff=12491</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=12491"/>
		<updated>2010-08-28T07:01:39Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: /* Method I */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Ocean Wave Interaction with Ships and Offshore Structures&lt;br /&gt;
 | chapter title = Conservation Laws and Boundary Conditions&lt;br /&gt;
 | next chapter = [[Linear and Second-Order Wave Theory]]&lt;br /&gt;
 | previous chapter = &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{complete pages}}&lt;br /&gt;
&lt;br /&gt;
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 [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;
== Coordinate system and velocity potential ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Coordinate_system.png|right|thumb|500px|Coordinate 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{Coordinate system} \\&lt;br /&gt;
&amp;amp;\mathbf{x}        &amp;amp;: &amp;amp;\mbox{Fixed Eulerian Vector} \\&lt;br /&gt;
&amp;amp; \mathbf{v}        &amp;amp;: &amp;amp;\mbox{Flow Velocity Vector at} \  \mathbf{x} \\&lt;br /&gt;
&amp;amp;\zeta          &amp;amp;: &amp;amp;\mbox{Free Surface Elevation} \\&lt;br /&gt;
&amp;amp;\mathbf{g}         &amp;amp;: &amp;amp;\mbox{Acceleration due to gravity}&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], i.e. 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 \mathbf{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 throughout 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 \mathbf{v} = 0&amp;lt;/math&amp;gt; then we can express the irrotational vector as the gradient of a scalar function, i.e. &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\mathbf{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(\mathbf{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 than 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 \mathbf{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; &lt;br /&gt;
\nabla \cdot \nabla \Phi = 0 \Rightarrow \nabla^2 \Phi = 0 &lt;br /&gt;
&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; &lt;br /&gt;
\partial_x^2 \Phi + \partial_y^2\Phi + \partial_z^2\Phi = 0, &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which is [http://en.wikipedia.org/wiki/Laplaces_equation Laplace&#039;s equation].&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_%28fluid_dynamics%29 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;
\partial_t \mathbf{v} + (\mathbf{v}\cdot \nabla)\mathbf{v}= - \frac1{\rho} \nabla P + \mathbf{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(\mathbf{x}, t) &amp;lt;/math&amp;gt; is the fluid Pressure at &amp;lt;math&amp;gt;(\mathbf{x}, t)&amp;lt;/math&amp;gt; and &lt;br /&gt;
&amp;lt;math&amp;gt; \mathbf{g}= - \mathbf{k} g &amp;lt;/math&amp;gt; is the acceleration due to gravity where &lt;br /&gt;
&amp;lt;math&amp;gt; \mathbf{k} &amp;lt;/math&amp;gt; is the unit vector pointing in the positive &amp;lt;math&amp;gt;z&amp;lt;/math&amp;gt;-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 following vector identity&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; (\mathbf{v} \cdot \nabla) \mathbf{v} = \frac 1{2} \nabla (\mathbf{v} \cdot \mathbf{v}) - \mathbf{v}\times ( \nabla \times \mathbf{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 \mathbf{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; \partial_t \mathbf{v} + \frac{1}{2} \nabla (\mathbf{v} \cdot \mathbf{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 = \mathbf{k} &amp;lt;/math&amp;gt;. &lt;br /&gt;
We now substitute &amp;lt;math&amp;gt; \mathbf{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 (\partial_t \Phi + \frac{1}{2} \nabla \Phi \cdot \nabla \Phi + \frac {P}{\rho} + 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( \mathbf{x}, t) =0 \quad \Longrightarrow \quad F (\mathbf{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 from the equation above.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \partial_t \Phi + \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} = - \partial_t\Phi-\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 (it can be thought of as defining the reference pressure. &lt;br /&gt;
It is also worth noting that the &lt;br /&gt;
angular momentum conservation principle is contained in&lt;br /&gt;
&amp;lt;math&amp;gt; \nabla \times \mathbf{v} = 0. &amp;lt;/math&amp;gt;&lt;br /&gt;
In particular, 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;
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 &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,t)&amp;lt;/math&amp;gt; at the free surface. The dynamic condition is derived from the Bernoulli&#039;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. &lt;br /&gt;
&lt;br /&gt;
=== Method I ===&lt;br /&gt;
&lt;br /&gt;
We derive the dynamic condition directly from Bernoulli&#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+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 (\partial_t + \mathbf{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 (\partial_t + \mathbf{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; \partial_t\zeta + \partial_x\Phi \partial_x\zeta + \partial_y\Phi \partial_y\zeta = \partial_z\Phi, \, 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; \partial_t\Phi + \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;
[[Image:Force_coordinates2.png|right|thumb|500px|Force coordinates]]&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; \mathbf{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; with surface &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt; f(\mathbf{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_{\Omega} \nabla f \mathrm{d}v = -\iint_{\partial\Omega} f_{s} \mathbf{n} \mathrm{d}s &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_{{\Omega}} \partial_x f \mathrm{d}v = - \iint_{\partial\Omega} f n_1 \mathrm{d}s &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_{{\Omega}} \partial_y f \mathrm{d}v = - \iint_{\partial\Omega} f n_2 \mathrm{d}s &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_{{\Omega}} \partial_z f \mathrm{d}v = - \iint_{\partial\Omega} f n_3 \mathrm{d}s &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; \mathbf{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_{\Omega} \nabla \cdot \mathbf{v} = - \iint_{\partial\Omega} \mathbf{v} \cdot \mathbf{n} \mathrm{d}s &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The scalar identity is often 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;
The force &amp;lt;math&amp;gt;\mathbf{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;
\mathbf{F} = \iint_{\partial\Omega} P\mathbf{n}\mathrm{d}s&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;\mathbf{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;
\mathbf{M} = \iint_{\partial\Omega} P(\mathbf{x}\times\mathbf{v})\mathrm{d}s&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 \{ \partial_t\Phi + \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 \{ \partial_t\Phi + \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 ( \partial_t + \mathbf{v} \cdot \nabla \right ) \left ( \partial_t\Phi + \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;
[[Category:Linear Water-Wave Theory]]&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Conservation_Laws_and_Boundary_Conditions&amp;diff=12489</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=12489"/>
		<updated>2010-08-28T06:58:25Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: /* Conservation of linear momentum */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Ocean Wave Interaction with Ships and Offshore Structures&lt;br /&gt;
 | chapter title = Conservation Laws and Boundary Conditions&lt;br /&gt;
 | next chapter = [[Linear and Second-Order Wave Theory]]&lt;br /&gt;
 | previous chapter = &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{complete pages}}&lt;br /&gt;
&lt;br /&gt;
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 [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;
== Coordinate system and velocity potential ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Coordinate_system.png|right|thumb|500px|Coordinate 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{Coordinate system} \\&lt;br /&gt;
&amp;amp;\mathbf{x}        &amp;amp;: &amp;amp;\mbox{Fixed Eulerian Vector} \\&lt;br /&gt;
&amp;amp; \mathbf{v}        &amp;amp;: &amp;amp;\mbox{Flow Velocity Vector at} \  \mathbf{x} \\&lt;br /&gt;
&amp;amp;\zeta          &amp;amp;: &amp;amp;\mbox{Free Surface Elevation} \\&lt;br /&gt;
&amp;amp;\mathbf{g}         &amp;amp;: &amp;amp;\mbox{Acceleration due to gravity}&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], i.e. 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 \mathbf{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 throughout 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 \mathbf{v} = 0&amp;lt;/math&amp;gt; then we can express the irrotational vector as the gradient of a scalar function, i.e. &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\mathbf{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(\mathbf{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 than 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 \mathbf{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; &lt;br /&gt;
\nabla \cdot \nabla \Phi = 0 \Rightarrow \nabla^2 \Phi = 0 &lt;br /&gt;
&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; &lt;br /&gt;
\partial_x^2 \Phi + \partial_y^2\Phi + \partial_z^2\Phi = 0, &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which is [http://en.wikipedia.org/wiki/Laplaces_equation Laplace&#039;s equation].&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_%28fluid_dynamics%29 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;
\partial_t \mathbf{v} + (\mathbf{v}\cdot \nabla)\mathbf{v}= - \frac1{\rho} \nabla P + \mathbf{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(\mathbf{x}, t) &amp;lt;/math&amp;gt; is the fluid Pressure at &amp;lt;math&amp;gt;(\mathbf{x}, t)&amp;lt;/math&amp;gt; and &lt;br /&gt;
&amp;lt;math&amp;gt; \mathbf{g}= - \mathbf{k} g &amp;lt;/math&amp;gt; is the acceleration due to gravity where &lt;br /&gt;
&amp;lt;math&amp;gt; \mathbf{k} &amp;lt;/math&amp;gt; is the unit vector pointing in the positive &amp;lt;math&amp;gt;z&amp;lt;/math&amp;gt;-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 following vector identity&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; (\mathbf{v} \cdot \nabla) \mathbf{v} = \frac 1{2} \nabla (\mathbf{v} \cdot \mathbf{v}) - \mathbf{v}\times ( \nabla \times \mathbf{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 \mathbf{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; \partial_t \mathbf{v} + \frac{1}{2} \nabla (\mathbf{v} \cdot \mathbf{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 = \mathbf{k} &amp;lt;/math&amp;gt;. &lt;br /&gt;
We now substitute &amp;lt;math&amp;gt; \mathbf{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 (\partial_t \Phi + \frac{1}{2} \nabla \Phi \cdot \nabla \Phi + \frac {P}{\rho} + 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( \mathbf{x}, t) =0 \quad \Longrightarrow \quad F (\mathbf{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 from the equation above.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \partial_t \Phi + \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} = - \partial_t\Phi-\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 (it can be thought of as defining the reference pressure. &lt;br /&gt;
It is also worth noting that the &lt;br /&gt;
angular momentum conservation principle is contained in&lt;br /&gt;
&amp;lt;math&amp;gt; \nabla \times \mathbf{v} = 0. &amp;lt;/math&amp;gt;&lt;br /&gt;
In particular, 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;
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 &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,t)&amp;lt;/math&amp;gt; at the free surface. The dynamic condition is derived from the Bernoulli&#039;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. &lt;br /&gt;
&lt;br /&gt;
=== Method I ===&lt;br /&gt;
&lt;br /&gt;
We derive the dynamic condition directly from Bernoulli&#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 (\partial_t + \mathbf{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 (\partial_t + \mathbf{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; \partial_t\zeta + \partial_x\Phi \partial_x\zeta + \partial_y\Phi \partial_y\zeta = \partial_z\Phi, \, 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; \partial_t\Phi + \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;
[[Image:Force_coordinates2.png|right|thumb|500px|Force coordinates]]&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; \mathbf{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; with surface &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt; f(\mathbf{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_{\Omega} \nabla f \mathrm{d}v = -\iint_{\partial\Omega} f_{s} \mathbf{n} \mathrm{d}s &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_{{\Omega}} \partial_x f \mathrm{d}v = - \iint_{\partial\Omega} f n_1 \mathrm{d}s &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_{{\Omega}} \partial_y f \mathrm{d}v = - \iint_{\partial\Omega} f n_2 \mathrm{d}s &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_{{\Omega}} \partial_z f \mathrm{d}v = - \iint_{\partial\Omega} f n_3 \mathrm{d}s &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; \mathbf{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_{\Omega} \nabla \cdot \mathbf{v} = - \iint_{\partial\Omega} \mathbf{v} \cdot \mathbf{n} \mathrm{d}s &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The scalar identity is often 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;
The force &amp;lt;math&amp;gt;\mathbf{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;
\mathbf{F} = \iint_{\partial\Omega} P\mathbf{n}\mathrm{d}s&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;\mathbf{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;
\mathbf{M} = \iint_{\partial\Omega} P(\mathbf{x}\times\mathbf{v})\mathrm{d}s&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 \{ \partial_t\Phi + \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 \{ \partial_t\Phi + \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 ( \partial_t + \mathbf{v} \cdot \nabla \right ) \left ( \partial_t\Phi + \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;
[[Category:Linear Water-Wave Theory]]&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Why_you_should_contribute&amp;diff=12487</id>
		<title>Why you should contribute</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Why_you_should_contribute&amp;diff=12487"/>
		<updated>2010-08-28T06:50:51Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;If you read this wiki you should contribute.  Basically, we need readers to make contributions for this wiki to really work. No matter how little you know about the mathematical theory you will find typos and small errors on pages as you read them. If you start to work through the mathematics you will find errors in the equations, gaps in the derivations or points which confuse you and where you had to think hard to make progress.  &lt;br /&gt;
&lt;br /&gt;
If you make a contribution to fix these typos, add in extra information, or make requests you will be contributing in a very meaningful way. We know it is a slight hassle to [[Sign up instructions|sign up]] (and we only require this because of problems with spam) but it is not all that difficult and does not require you to divulge your mother&#039;s middle name or equivalent. &lt;br /&gt;
&lt;br /&gt;
Finally, we notice every edit and it makes us feel great that you have gone to all this trouble.&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Introduction_to_KdV&amp;diff=12435</id>
		<title>Introduction to KdV</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Introduction_to_KdV&amp;diff=12435"/>
		<updated>2010-08-20T10:34:44Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Introduction to KdV&lt;br /&gt;
 | next chapter = [[Numerical Solution of the KdV]]&lt;br /&gt;
 | previous chapter = [[Nonlinear Shallow Water Waves]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{complete pages}}&lt;br /&gt;
&lt;br /&gt;
The KdV (Korteweg-De Vries) equation is one of the most important non-linear&lt;br /&gt;
pde&#039;s. It was originally derived to model shallow water waves with weak&lt;br /&gt;
nonlinearities, but it has a wide variety of applications. The derivation of &lt;br /&gt;
the KdV is given in [[KdV Equation Derivation]]. The KdV equation&lt;br /&gt;
is written as &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+6u\partial _{x}u+\partial _{x}^{3}u=0. &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
More information about it can be found at [http://en.wikipedia.org/wiki/Korteweg%E2%80%93de_Vries_equation Korteweg de Vries equation]&lt;br /&gt;
&lt;br /&gt;
==Travelling Wave Solution==&lt;br /&gt;
&lt;br /&gt;
The KdV equation posesses travelling wave solutions. One particular&lt;br /&gt;
travelling wave solution is called a soltion and it was discovered&lt;br /&gt;
experimentally by [http://en.wikipedia.org/wiki/John_Scott_Russell John Scott Russell] &lt;br /&gt;
in 1834. However, it was not understood&lt;br /&gt;
theoretically until the work of [http://en.wikipedia.org/wiki/Diederik_Korteweg Korteweg] and &lt;br /&gt;
[http://en.wikipedia.org/wiki/Gustav_de_Vries de Vries] in 1895.&lt;br /&gt;
&lt;br /&gt;
We begin with the assumption that the wave travels with contant form, i.e.&lt;br /&gt;
is of the form &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left( x,t\right) =f\left( x-ct\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that in this equation the parameter &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is an unknown as is the&lt;br /&gt;
function &amp;lt;math&amp;gt;f.&amp;lt;/math&amp;gt; &lt;br /&gt;
Only very special values of &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt; will give travelling&lt;br /&gt;
waves. &lt;br /&gt;
We introduce the coordinate &amp;lt;math&amp;gt;\zeta = x - ct&amp;lt;/math&amp;gt;.&lt;br /&gt;
If we substitute this expression into the KdV equation we obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-c\frac{\mathrm{d}f}{\mathrm{d}\zeta}+6f\frac{\mathrm{d}f}{\mathrm{d}\zeta}+\frac{\mathrm{d}^{3}f}{\mathrm{d}\zeta^{3}}=0 &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We can integrate this with respect to &amp;lt;math&amp;gt;\zeta&amp;lt;/math&amp;gt; to obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-cf+3f^{2}+\frac{\mathrm{d}^{2}f}{\mathrm{d}\zeta^{2}}=A_{1} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is a constant of integration.&lt;br /&gt;
&lt;br /&gt;
If think about this equation as Newton&#039;s second law in a potential well &amp;lt;math&amp;gt;&lt;br /&gt;
V(f) &amp;lt;/math&amp;gt; for which the equation is &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}^{2}f}{\mathrm{d}\zeta^{2}}= -\frac{\mathrm{d}V}{\mathrm{d}f} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
then the potential well is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
V\left( f\right) =-A_{0}-A_{1}f-c\frac{f^{2}}{2}+f^{3} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore our equation for &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt; may be thought of as the motion of a particle&lt;br /&gt;
in a cubic well.&lt;br /&gt;
&lt;br /&gt;
The constant &amp;lt;math&amp;gt;A_0&amp;lt;/math&amp;gt; has no effect on our solution so we can set it to be zero. &lt;br /&gt;
We can choose the constant &amp;lt;math&amp;gt;A_{1}=0&amp;lt;/math&amp;gt; and then we have a&lt;br /&gt;
maximum at &amp;lt;math&amp;gt;f=0&amp;lt;/math&amp;gt;. There is a solution which rolls from this at &amp;lt;math&amp;gt;t=-\infty &amp;lt;/math&amp;gt;&lt;br /&gt;
and then runs up the other side and finally returns to the maximum at &amp;lt;math&amp;gt;&lt;br /&gt;
t=\infty .&amp;lt;/math&amp;gt; This corresponds to a solitary wave solution.&lt;br /&gt;
&lt;br /&gt;
We can also think about the equation as a first order system using &amp;lt;math&amp;gt;&lt;br /&gt;
f^{^{\prime }}=v.&amp;lt;/math&amp;gt; This gives us &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\frac{\mathrm{d}v}{\mathrm{d}\zeta} &amp;amp;=&amp;amp;A_{1}+cf-3f^{2} \\&lt;br /&gt;
\frac{\mathrm{d}f}{\mathrm{d}\zeta} &amp;amp;=&amp;amp;v&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we chose &amp;lt;math&amp;gt;A_{1}=0&amp;lt;/math&amp;gt; then we obtain two equilibria at &amp;lt;math&amp;gt;(f,v)=\left(&lt;br /&gt;
0,0\right) &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;(3/c,0).&amp;lt;/math&amp;gt; If we analysis these equilibria we find the&lt;br /&gt;
first is a saddle and the second is a nonlinear center (it is neither repelling nor&lt;br /&gt;
attracting). There is a&lt;br /&gt;
homoclinic connection which connects the equilibrium point at the origin. This holoclinic&lt;br /&gt;
connection represents the solitary wave.  Within this homoclinic connection &lt;br /&gt;
lie periodic orbits which represent the cnoidal waves.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We can also integrate the equation &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-cf+3f^{2}+\frac{\mathrm{d}^{2}f}{\mathrm{d}x^{2}}=A_{1} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
by multiplying by &amp;lt;math&amp;gt;f^{\prime }&amp;lt;/math&amp;gt;and integrating. This gives us &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\left( f^{^{\prime }}\right) ^{2}}{2}=A_{0}+A_{1}f + c\frac{&lt;br /&gt;
f^{2}}{2}-f^{3} = -V(f)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
It is no coincidence that the right hand side is the potential energy, because this&lt;br /&gt;
is nothing more that the equation for conservation of energy (or the first&lt;br /&gt;
integral of the Lagrangian system) which does not depend on &amp;lt;math&amp;gt;\zeta&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This is a separable equation and the only challenge is to integrate &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int \frac{1}{\sqrt{-V(f)}} \mathrm{d}f.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Formula for the solitary wave==&lt;br /&gt;
&lt;br /&gt;
We know that the solitary wave solution is found when &amp;lt;math&amp;gt;&lt;br /&gt;
A_{0}=A_{1}=0.&amp;lt;/math&amp;gt; This gives us&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\left( f^{^{\prime }}\right) ^{2}=f^{2}\left( c-2f\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This can be solved by separation of variables to give &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int \frac{\mathrm{d}f}{f\sqrt{c-2f}}=\int \mathrm{d}\zeta &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We then substitute &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
f=\frac{1}{2}c\,\mathrm{sech}^{2}\left( s\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and note that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
c-2f=c\left( 1-\mathrm{sech}^{2}\left( s\right) \right) =c\tanh ^{2}\left( f\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}f}{\mathrm{d}s}=-c\frac{\sinh \left( f\right) }{\cosh ^{3}\left( f\right) } &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This means that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\int \frac{\mathrm{d}f}{f\sqrt{c-2f}} &amp;amp;=&amp;amp;-\frac{2}{\sqrt{c}}\int \frac{\sinh \left(&lt;br /&gt;
f\right) }{\mathrm{sech}^{2}\left( s\right) \tanh \left( f\right) \cosh ^{3}\left(&lt;br /&gt;
f\right) }\mathrm{d}s \\&lt;br /&gt;
&amp;amp;=&amp;amp;-\frac{2}{\sqrt{c}}s&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This gives us&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\frac{2}{\sqrt{s}}=\zeta+a &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
f=\frac{1}{2}c\,\mathrm{sech}^{2}\left( \frac{\sqrt{c}}{2}\left( \zeta+a\right) \right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Of course we assumed that &amp;lt;math&amp;gt;x=x-ct&amp;lt;/math&amp;gt; so the formula for the solitary wave is&lt;br /&gt;
given by&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
f\left( x-ct\right) =\frac{1}{2}c\,\mathrm{sech}^{2}\left[ \frac{\sqrt{c}}{2}\left(&lt;br /&gt;
x-ct+a\right) \right] &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that a solution exists for each &lt;br /&gt;
&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;, and that the amplitude is proportional to &amp;lt;math&amp;gt;c.&amp;lt;/math&amp;gt; All of this was&lt;br /&gt;
discovered experimentally by &lt;br /&gt;
[http://en.wikipedia.org/wiki/John_Scott_Russell John Scott Russell].&lt;br /&gt;
&lt;br /&gt;
==Formula for the cnodal wave==&lt;br /&gt;
&lt;br /&gt;
If we consider the case when the solution oscillates between two values &amp;lt;math&amp;gt;F_2&amp;lt;F_3&amp;lt;/math&amp;gt;&lt;br /&gt;
(which we can assume are also roots of &amp;lt;math&amp;gt;V(f)&amp;lt;/math&amp;gt; without loss of generality) then &lt;br /&gt;
we can integrate the equation to obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
f\left( \zeta\right) =F_2+(F_3 - F_2) \mathrm{cn}^{2}\left( \gamma \zeta ;k\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;cn&amp;lt;/math&amp;gt; is a Jacobi Elliptic function and&lt;br /&gt;
&amp;lt;math&amp;gt;\gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; are constants which depend on &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;. &lt;br /&gt;
We can write this equation as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
f\left( x-ct\right) =a+b \mathrm{cn}^{2}\left( \gamma (x-ct);k\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;a=k^2\gamma^2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c = 6b + 4(2k^2 -1)\gamma^2&amp;lt;/math&amp;gt;.&lt;br /&gt;
These waves are known as [http://en.wikipedia.org/wiki/Cnoidal_wave cnoidal waves].&lt;br /&gt;
&lt;br /&gt;
In the limit the two solutions agree. We also obtain a sinusoidal solution in the limit of &lt;br /&gt;
small amplitude.&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Nonlinear_Shallow_Water_Waves&amp;diff=12433</id>
		<title>Nonlinear Shallow Water Waves</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Nonlinear_Shallow_Water_Waves&amp;diff=12433"/>
		<updated>2010-08-20T10:32:30Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Nonlinear Shallow Water Waves&lt;br /&gt;
 | next chapter = [[Introduction to KdV]]&lt;br /&gt;
 | previous chapter = [[Traffic Waves]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{complete pages}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
We assume that water is incompressible,&lt;br /&gt;
viscous effects are negligible and that the typical wave lengths are much larger than the water depth. &lt;br /&gt;
This allows us to assume [[:Category:Shallow Depth|Shallow Depth]]. We assume that the problem has not variation&lt;br /&gt;
in either the &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;z&amp;lt;/math&amp;gt; direction. The fluid is governed by two parameters, &lt;br /&gt;
&amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;, the velocity of the water, and &amp;lt;math&amp;gt;h&amp;lt;/math&amp;gt; the water depth (note that this is not the still water depth since the problem&lt;br /&gt;
is nonlinear). &lt;br /&gt;
&lt;br /&gt;
The theory we present here is discussed in [[Stoker 1957]], [[Billingham and King 2000]] and [[Johnson 1997]].&lt;br /&gt;
&lt;br /&gt;
== Equations of Motion ==&lt;br /&gt;
&lt;br /&gt;
The equation for the conservation of mass can derived by considering a a region &amp;lt;math&amp;gt;[x,x+\Delta x]&amp;lt;/math&amp;gt;&lt;br /&gt;
Conservation of mass then implies that &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\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)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
If we take the limit as &amp;lt;math&amp;gt;\Delta x \to 0&amp;lt;/math&amp;gt; we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t h(x ,t) + \partial_x (h(x ,t)u(x ,t)) = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A second equation comes from conservation of momentum. In integral form&lt;br /&gt;
this is &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \int_{x}^{x + \Delta x} \rho h u \mathrm{d}x &lt;br /&gt;
= \left. \rho u^2 h \right|_{x}^{x + \Delta x} &lt;br /&gt;
+ \int_0^{h(x)} P(x,z,t) \mathrm{d}z - &lt;br /&gt;
\int_0^{h(x + \Delta x)} P(x+\Delta x,z,t) \mathrm{d}z&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\rho \,&amp;lt;/math&amp;gt; denotes density, and the pressure &amp;lt;math&amp;gt;P \,&amp;lt;/math&amp;gt; is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
P = \rho g \left(h - z\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
(i.e. we have hydrostatic equilibrium).  This then gives us&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \int_{x}^{x + \Delta x} \rho h u \mathrm{d}x &lt;br /&gt;
= -\left. \rho u^2 h \right|_{x}^{x + \Delta x} &lt;br /&gt;
+ \frac{1}{2}\rho g {h(x)}^2 - &lt;br /&gt;
 \frac{1}{2}\rho g  {h(x + \Delta x)}^2 &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
If we then take the limit as &amp;lt;math&amp;gt;\Delta x \to 0&amp;lt;/math&amp;gt; we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t  \left( h u \right) &lt;br /&gt;
+ \partial_x \left(u^2 h + \frac{1}{2} gh^2\right) =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
We can simplify this using the equation derived from conservation of mass to &lt;br /&gt;
to obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t u + u \partial_x u + g \partial_x h = 0  &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The equations &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t h + u \partial_x h + h \partial_x u = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t u + u \partial_x u + g \partial_x h = 0  &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
are called the nonlinear shallow water equations. They determine the horizontal water velocity and the local water depth.&lt;br /&gt;
&lt;br /&gt;
We can rewrite them in terms of the local wave speed &amp;lt;math&amp;gt;c(x, t) = \sqrt{gh(x, t)}&amp;lt;/math&amp;gt; as follows:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;2\partial_t c + 2u\partial_x c + c\partial_x u = 0 &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\partial_t u + u\partial_x u + 2c \partial_x c = 0 &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
These equation are almost identical to those of compressible gas dynamics. Much of our understanding&lt;br /&gt;
of the equations for water have been found by researchers studying compressible gas dynamics.&lt;br /&gt;
&lt;br /&gt;
== Linearized Equations ==&lt;br /&gt;
&lt;br /&gt;
We can linearize these equations by assuming that &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; is small and that &lt;br /&gt;
&amp;lt;math&amp;gt;h=h_0 + \zeta &amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;h_0&amp;lt;/math&amp;gt; is the average water depth&lt;br /&gt;
and &amp;lt;math&amp;gt;\zeta&amp;lt;/math&amp;gt; is also assumed small. This gives us&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \zeta + h_0\partial_x u = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t u + g \partial_x \zeta = 0  &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
These linear shallow water equations which can be &lt;br /&gt;
derived from the linear equations for water of finite&lt;br /&gt;
depth and taking the limit of small depth (see [[:Category:Shallow Depth|Shallow Depth]]).&lt;br /&gt;
&lt;br /&gt;
== Characteristics ==&lt;br /&gt;
&lt;br /&gt;
The equations possess characteristics. &lt;br /&gt;
Adding and subtracting the two equations above we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\partial (u \pm 2c)}{\partial t}+ (u \pm c)\frac{\partial (u \pm 2c)}{\partial x} = 0 &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
This means that &lt;br /&gt;
on the &amp;lt;math&amp;gt;\;C_+&amp;lt;/math&amp;gt; characteristic, given by &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d} X_+}{\mathrm{d} t} = u + c = u + \sqrt{gh}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
the &amp;lt;math&amp;gt;\;C_+&amp;lt;/math&amp;gt; invariant &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
R_+ = u + 2c = u + 2\sqrt{gh}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt; &lt;br /&gt;
is a constant,&lt;br /&gt;
and on the &amp;lt;math&amp;gt;\;C_-&amp;lt;/math&amp;gt; characteristic, given by &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d} X_-}{\mathrm{d} t} = u - c = u - \sqrt{gh}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
the &amp;lt;math&amp;gt;\;C_-&amp;lt;/math&amp;gt; invariant &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
R_- = u - 2c = u - 2\sqrt{gh}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt; &lt;br /&gt;
is a constant.&lt;br /&gt;
&lt;br /&gt;
The functions &amp;lt;math&amp;gt;R_{\pm} (u ,c) = u \pm 2c&amp;lt;/math&amp;gt;, are called the Riemannian invariants.&lt;br /&gt;
&lt;br /&gt;
== Simple Waves ==&lt;br /&gt;
&lt;br /&gt;
The problem as formulated can be solved by advancing the solution along the characteristics, but&lt;br /&gt;
this will in general be quite difficult analytically. However, there is a special class of problems,&lt;br /&gt;
called &#039;&#039;Simple Waves&#039;&#039; in which the solution only changes on one characteristic.  &lt;br /&gt;
They are best illustrated through some examples. Note that the characteristic can meet forming&lt;br /&gt;
a shock, which is called a [http://en.wikipedia.org/wiki/Tidal_bore bore] or a &lt;br /&gt;
[http://en.wikipedia.org/wiki/Hydraulic_jump hydraulic jump]&lt;br /&gt;
when it occurs on the surface of the water. &lt;br /&gt;
&lt;br /&gt;
=== The dam break problem ===&lt;br /&gt;
Assume the water occupies the region &amp;lt;math&amp;gt;{x &amp;lt; 0 ; 0 &amp;lt; z &amp;lt; h_0 }&amp;lt;/math&amp;gt; initially held back by a dam at &amp;lt;math&amp;gt;x = 0&amp;lt;/math&amp;gt;. &lt;br /&gt;
At &amp;lt;math&amp;gt;t = 0&amp;lt;/math&amp;gt;, the dam is removed (breaks). What is the height of the water &lt;br /&gt;
&amp;lt;math&amp;gt;h(x,t) \,&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;t &amp;gt; 0? \,&amp;lt;/math&amp;gt; The initial condition is therefore&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;h(x,0) = \begin{cases}&lt;br /&gt;
 h_0, &amp;amp; x &amp;lt; 0 \\&lt;br /&gt;
 0, &amp;amp; x &amp;gt; 0&lt;br /&gt;
 \end{cases} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;u(x ,0) = 0. \,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
On the characteristic that originates at &amp;lt;math&amp;gt;t = 0&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;x &amp;lt; 0&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
R_\pm = u \pm 2\sqrt{gh} = \pm 2\sqrt{gh_0} = \pm 2c_0 &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;c_0 = \sqrt{gh_0}&amp;lt;/math&amp;gt; is the initial (linear) wave speed.&lt;br /&gt;
&lt;br /&gt;
Therefore, if a &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; and a &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt; characteristic from this region intersect, then &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u + 2\sqrt{gh} = 2c_0 , \;\mathrm{and}\; u - 2\sqrt{gh} = -2c_0  &lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and hence, &amp;lt;math&amp;gt;u = 0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;h = h_0&amp;lt;/math&amp;gt;. &lt;br /&gt;
Moreover, &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d} X_\pm}{\mathrm{d} t} = u \pm \sqrt{gh} = \pm c_0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
so these characteristics are straight lines in the region &amp;lt;math&amp;gt;\big\{x &amp;lt; -c_0 t \big\}&amp;lt;/math&amp;gt;&lt;br /&gt;
(the undisturbed region).&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;\;C_+&amp;lt;/math&amp;gt; characteristic leave the region a&amp;lt;math&amp;gt;\big\{x &amp;lt; -c_0 t \big\}&amp;lt;/math&amp;gt; &lt;br /&gt;
and enter &amp;lt;math&amp;gt;\big\{x &amp;gt; -c_0 t \big\}&amp;lt;/math&amp;gt;. For now we will assume that these characteristics fill the domain&lt;br /&gt;
(and show that this is true shortly).&lt;br /&gt;
For &amp;lt;math&amp;gt;\big\{x &amp;gt; -c_0 t \big\}&amp;lt;/math&amp;gt;, the &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt; characteristics are given by  &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d} X_-}{\mathrm{d} t} = u - \sqrt{gh}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and on each of the &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt; characteristics &amp;lt;math&amp;gt;R_- = u - 2\sqrt{gh}&amp;lt;/math&amp;gt; is constant.&lt;br /&gt;
However, since this region is filled with &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristics where &amp;lt;math&amp;gt;R_+ = u + 2\sqrt{gh} = 2c_0&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;h&amp;lt;/math&amp;gt; &lt;br /&gt;
must be constant on each &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt; characteristic. &lt;br /&gt;
This also means that the &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt; characteristics must be straight lines.&lt;br /&gt;
&lt;br /&gt;
Since the fluid occupies &amp;lt;math&amp;gt;\big\{x &amp;lt; 0 \big\}&amp;lt;/math&amp;gt; at &amp;lt;math&amp;gt;t = 0&amp;lt;/math&amp;gt;, &lt;br /&gt;
these &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt; characteristics must start at the origin, with &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X_-(t) = \left(u - \sqrt{gh}\right)t&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which in turn implies that&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u - \sqrt{gh} = \frac{x}{t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt; &lt;br /&gt;
We also have &amp;lt;math&amp;gt;R_+ = u + 2\sqrt{gh} = 2c_0&amp;lt;/math&amp;gt; from the &lt;br /&gt;
&amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristics. We can solve these equations &lt;br /&gt;
at each point in &amp;lt;math&amp;gt;\big\{x &amp;gt; -c_0 t \big\}&amp;lt;/math&amp;gt;. Solving for &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;h&amp;lt;/math&amp;gt; gives&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
h(x, t) = &lt;br /&gt;
\begin{cases}&lt;br /&gt;
\frac{h_0}{9}\left(2 - \frac{x}{c_0 t}\right)^2, \quad -c_0 t &amp;lt; x&amp;lt; 2 c_0 t,\\&lt;br /&gt;
h_0,\quad x &amp;lt;-c_0 t,&lt;br /&gt;
\end{cases}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u(x, t) = &lt;br /&gt;
\begin{cases}&lt;br /&gt;
\frac{2}{3} \left (c_0 + \frac{x}{t} \right ), \quad -c_0 t &amp;lt; x&amp;lt; 2 c_0 t,\\&lt;br /&gt;
0,\quad x &amp;lt;-c_0 t.&lt;br /&gt;
\end{cases}  &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Where we have assumed that, since &amp;lt;math&amp;gt;h = 0&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;x = 2c_0 t,&amp;lt;/math&amp;gt; &lt;br /&gt;
the  &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristic only exist in the region &amp;lt;math&amp;gt;\big\{x &amp;lt; 2c_0 t \big\}&amp;lt;/math&amp;gt;,&lt;br /&gt;
We will verify this by explicitly calculating them.    &lt;br /&gt;
&lt;br /&gt;
It remains to determine the &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristic, which originated in &amp;lt;math&amp;gt;\big\{x &amp;lt; 0 \big\}&amp;lt;/math&amp;gt;,&lt;br /&gt;
and show they &lt;br /&gt;
will fill the domain &amp;lt;math&amp;gt;\big\{x &amp;lt; 2c_0 t \big\}&amp;lt;/math&amp;gt;. For &amp;lt;math&amp;gt;\big\{x &amp;lt; -c_0 t \big\}&amp;lt;/math&amp;gt;, &lt;br /&gt;
the &amp;lt;math&amp;gt;\;C_+&amp;lt;/math&amp;gt; characteristics are straight lines with slope &amp;lt;math&amp;gt;c_0&amp;lt;/math&amp;gt; and are given by &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X_+ (t) = -x_0 + c_0 t, \quad \left(x_0 &amp;gt; 0,\;\; t &amp;lt; \frac{x_0}{2c_0}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
When &amp;lt;math&amp;gt;t = \frac{x_0}{2c_0},\;\;\ X_{+} (t) = -c_0 t&amp;lt;/math&amp;gt; so that for &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
t &amp;gt; \frac{x_0}{2c_0}, \quad \frac{\mathrm{d} X_{+} (t)}{\mathrm{d} t} = u + \sqrt{gh}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt; &lt;br /&gt;
and substituting the solution we found for &amp;lt;math&amp;gt;h&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}X_{+} (t)}{\mathrm{d} t} = \frac{4}{3}c_0 + \frac{X_{+} (t)}{3t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Solving this ODE  subject to &amp;lt;math&amp;gt;X_+ \left(\frac{x_0}{2c_0}\right) = -\frac{x_0}{2}&amp;lt;/math&amp;gt; gives&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X_+ (t) = 2c_0 t - 3\left(\frac{x_0}{2}\right)^{2/3}(c_0 t)^{1/3},\;\;&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
the equation for a characteristic curve.&lt;br /&gt;
The curves indeed fill the domain &amp;lt;math&amp;gt;\big\{x &amp;lt; 2c_0 t \big\}&amp;lt;/math&amp;gt; &lt;br /&gt;
and all satisfy &amp;lt;math&amp;gt;\big\{X_+ (t) &amp;lt; 2c_0 t \big\}&amp;lt;/math&amp;gt;.  To summarize, the&lt;br /&gt;
&amp;lt;math&amp;gt;C^{+}&amp;lt;/math&amp;gt;  characteristics are given by &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X_+ (t) =&lt;br /&gt;
\begin{cases}&lt;br /&gt;
 2c_0 t - 3\left(\frac{x_0}{2}\right)^{2/3}(c_0 t)^{1/3},\quad t&amp;gt; x_0/2 c_0\\&lt;br /&gt;
 -x_0 + c_0 t, \quad 0\ &amp;lt; t &amp;lt; x_0/2 c_0&lt;br /&gt;
\end{cases}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt;&lt;br /&gt;
! &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Characteristics_dam_break.jpg|thumb|right|500px|Characteristics for the dam &lt;br /&gt;
break problem, blue for &amp;lt;math&amp;gt;C_{+}&amp;lt;/math&amp;gt; and red for &amp;lt;math&amp;gt;C_{-}&amp;lt;/math&amp;gt;. The solid red lines&lt;br /&gt;
show the curves &amp;lt;math&amp;gt;x=-c_0 t&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x=2c_0 t&amp;lt;/math&amp;gt; (note we have assumed&lt;br /&gt;
here that &amp;lt;math&amp;gt;c_0 =1&amp;lt;/math&amp;gt;]]&lt;br /&gt;
| [[Image:Dambreak.gif|thumb|right|500px|Evolution of the fluid surface &amp;lt;math&amp;gt;h(x,t)&amp;lt;/math&amp;gt; for the Dam Break problem]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Shocks ==&lt;br /&gt;
&lt;br /&gt;
For a unique solution two exist there must be a single &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt;&lt;br /&gt;
characteristic through each point. When two characteristics of the same kind meet we &lt;br /&gt;
have a shock forming. &lt;br /&gt;
&lt;br /&gt;
=== Accelerating Piston ===&lt;br /&gt;
&lt;br /&gt;
We now consider the problem of water initially at rest occupying the &lt;br /&gt;
half space &amp;lt;math&amp;gt;x&amp;gt;0&amp;lt;/math&amp;gt; which is initially at rest. At &amp;lt;math&amp;gt;t=0&amp;lt;/math&amp;gt;&lt;br /&gt;
the piston at &amp;lt;math&amp;gt;x=0&amp;lt;/math&amp;gt; begins to move to the right with constant&lt;br /&gt;
acceleration &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; so that the position of the piston is given by&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{1}{2}at^2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
We assume that the &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt; characteristics which originate in the&lt;br /&gt;
water at &amp;lt;math&amp;gt;t=0&amp;lt;/math&amp;gt; fill the fluid. On these characteristics&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
R_- = u - 2 c = -2c_0 \,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and this condition must hold throughout the fluid.  &lt;br /&gt;
On the &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristics we know that&lt;br /&gt;
&amp;lt;math&amp;gt; R_+ = u + 2 c &amp;lt;/math&amp;gt; must be a constant and hence on the &lt;br /&gt;
&amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristics &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;&lt;br /&gt;
must be constant and hence the &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristics must&lt;br /&gt;
be straight lines.  Note that this does not mean that the &lt;br /&gt;
&amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristics have the same slope and there is no&lt;br /&gt;
requirement that the &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt; characteristics are straight lines.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristic originate from the fluid&lt;br /&gt;
or from the front of the piston. We consider those which originate from&lt;br /&gt;
the piston.  The  &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristic which originates from&lt;br /&gt;
the piston at &amp;lt;math&amp;gt;t=t_0&amp;lt;/math&amp;gt; must satisfy&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u+2c = a t_0 + 2c_{\textrm{plate}} \,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt; a t_0&amp;lt;/math&amp;gt; is the velocity of the piston at time &amp;lt;math&amp;gt;t=t_0&amp;lt;/math&amp;gt;&lt;br /&gt;
and &amp;lt;math&amp;gt;c_{\textrm{plate}}&amp;lt;/math&amp;gt; is the speed (related to height) at the plate. &lt;br /&gt;
We know that &amp;lt;math&amp;gt; R_- = u - 2 c =-2c_0&amp;lt;/math&amp;gt; through out the fluid, so that if&lt;br /&gt;
we solve this at the plate (where &amp;lt;math&amp;gt;u=at_0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c=c_{\textrm{plate}}&amp;lt;/math&amp;gt;)&lt;br /&gt;
then we get &amp;lt;math&amp;gt;c_{\textrm{plate}} = at_0/2 + c_0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On the &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristics &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;&lt;br /&gt;
are constant and therefore&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}X_+}{\mathrm{d}t} = u+c = at_0 + \left( \frac{1}{2}at_0 + c_0 \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Hence&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X_+(t,t_0) = \left( \frac{3}{2} a t_0 + c_0 \right) t - c_0 t_0 -a t_0^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
using the condition &amp;lt;math&amp;gt;X_+(t_0) = \frac{1}{2} a t_0^2&amp;lt;/math&amp;gt; (the initial value which&lt;br /&gt;
comes from the position of the piston at &amp;lt;math&amp;gt;t=t_0&amp;lt;/math&amp;gt;).&lt;br /&gt;
The slope of these lines increases and eventually meet to form a shock. &lt;br /&gt;
We find this point of intersection by considering neighboring characteristics&lt;br /&gt;
and determining when they first intersect. &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X_+(t,t_0 + \Delta t) = X_+(t,t_0) + \Delta t \frac{\partial X_+}{\partial t_0} (t,t_0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
It follows that neighbouring characteristics will meet when &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\partial X_+}{\partial t_0} (t,t_0) = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which implies that &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
t = \frac{2c_0}{3a} + \frac{4}{3}t_0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
The first time that a shock forms is the minimum value of this equation.&lt;br /&gt;
For this piston example, this occurs when &amp;lt;math&amp;gt;t_0 = 0&amp;lt;/math&amp;gt; and the value&lt;br /&gt;
of &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;t = 2c_0/(3a)&amp;lt;/math&amp;gt;. At this point&lt;br /&gt;
a shock is formed and we can no longer find a unique solution by following the &lt;br /&gt;
characteristics.&lt;br /&gt;
&lt;br /&gt;
=== Piston Moving with Constant Velocity ===&lt;br /&gt;
&lt;br /&gt;
This example is also known as the Moving Wall Problem, and is connected to Shallow Water Bores.  &lt;br /&gt;
&lt;br /&gt;
We consider the case of a piston, with positive constant velocity &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; (which is initially at &amp;lt;math&amp;gt;x=0&amp;lt;/math&amp;gt;), advancing into a semi-infinite expanse of&lt;br /&gt;
fluid that is initially at rest with depth &amp;lt;math&amp;gt;h_0&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristics which originate in the fluid&lt;br /&gt;
at &amp;lt;math&amp;gt;t=0&amp;lt;/math&amp;gt; have slope&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\mathrm{d} X_+}{\mathrm{d}t} = \sqrt{gh_0}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and the &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristic which originate at the piston at &lt;br /&gt;
&amp;lt;math&amp;gt;t=0&amp;lt;/math&amp;gt; must satisfy&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\mathrm{d} X_+}{\mathrm{d}t} = \sqrt{gh_0} + V &amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
so that these two characteristics will intersect at &amp;lt;math&amp;gt;t=0&amp;lt;/math&amp;gt;.&lt;br /&gt;
Therefore a shock forms immediately and we can track this by determining the&lt;br /&gt;
speed of the shock&lt;br /&gt;
&lt;br /&gt;
=== Speed of the shock ===&lt;br /&gt;
&lt;br /&gt;
We need the conservation equations in integral form to determine the speed&lt;br /&gt;
of the shock.  Conservation of mass, written as an integral is &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \int_{x_1}^{x_2} \rho h \mathrm{d}x &lt;br /&gt;
+ \left. \rho u h \right|_{x_2}^{x_1} =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
If the shock is located at &amp;lt;math&amp;gt;s(t)&amp;lt;/math&amp;gt;&lt;br /&gt;
which we assume is located between &amp;lt;math&amp;gt;x_1&amp;lt;/math&amp;gt;&lt;br /&gt;
and &amp;lt;math&amp;gt;x_2&amp;lt;/math&amp;gt;, then &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \int_{x_1}^{x_2} h \mathrm{d}x &lt;br /&gt;
= \partial_t \left( \int_{x_1}^{s(t)} + &lt;br /&gt;
\int_{s(t)}^{x_2} \right) h \mathrm{d}x&lt;br /&gt;
= \left( \int_{x_1}^{s(t)} + &lt;br /&gt;
\int_{s(t)}^{x_2} \right) \partial_t h \mathrm{d}x + h^{+} \partial_t s(t) - h^{-}\partial_t s(t),&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;h^+&amp;lt;/math&amp;gt; is the height on the right (positive) side of &lt;br /&gt;
the jump and &amp;lt;math&amp;gt;h^-&amp;lt;/math&amp;gt; is the height on the left (negative) side. &lt;br /&gt;
If we take the limit as &amp;lt;math&amp;gt;x_1\to x_2&amp;lt;/math&amp;gt; we then obtain the following&lt;br /&gt;
identity&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 h^{+}\partial_t s(t) - h^{-}\partial_t s(t) -&lt;br /&gt;
u^{+} h^{+} + u^{-} h^{-} = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;u^+&amp;lt;/math&amp;gt; is the height on the right (positive) side of &lt;br /&gt;
the jump and &amp;lt;math&amp;gt;u^-&amp;lt;/math&amp;gt; is the height on the left (negative) side. &lt;br /&gt;
&lt;br /&gt;
We now need to consider the equation for conservation of momentum. In integral form&lt;br /&gt;
this is &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \int_{x_1}^{x_2} \rho h u \mathrm{d}x &lt;br /&gt;
= \left. \rho u^2 h \right|_{x_1}^{x_2} &lt;br /&gt;
+ \int_0^{h(x_1)} P(x_1,z,t) \mathrm{d}z - &lt;br /&gt;
\int_0^{h(x_2)} P(x_2,z,t) \mathrm{d}z&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where the pressure &amp;lt;math&amp;gt;P&amp;lt;/math&amp;gt; is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
P = \rho g \left(h - z\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
(i.e. we have hydrostatic equilibrium).  We can apply a similar argument as before to obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 h^{+}u^{+}\partial_t s(t) - h^{-}u^{-}\partial_t s(t) = &lt;br /&gt;
\left(u^{+}\right)^2 h^{+} - \left(u^{-}\right)^2 h^{-}&lt;br /&gt;
+ \frac{1}{2} g  \left(h^{+}\right)^2 - \frac{1}{2} g  \left(h^{-}\right)^2  &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Hydraulic Jump ===&lt;br /&gt;
&lt;br /&gt;
For a hydraulic jump, &amp;lt;math&amp;gt;\dot{s}(t) = 0&amp;lt;/math&amp;gt;, which means that we must solve &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u^{+} h^{+} - u^{-} h^{-} = 0 \,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\left(u^{+}\right)^2 h^{+} - \left(u^{-}\right)^2 h^{-}&lt;br /&gt;
+ \frac{1}{2} g  \left(h^{+}\right)^2 - \frac{1}{2} g  \left(h^{-}\right)^2  =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
If we introduce the variables &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
H = \frac{h^{+}}{h^{-}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathrm{Fr} = \frac{u^{-}}{\sqrt{gh^{-}}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\mathrm{Fr}&amp;lt;/math&amp;gt; is the &#039;&#039;Froude&#039;&#039; number&lt;br /&gt;
which is equivalent to the Mach number for gas dynamics.  &lt;br /&gt;
Then we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
H^2 -1 = 2 \mathrm{Fr}^2 \left(1 - \frac{1}{H}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
This expression has the roots&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
H=1, \quad H=\frac{1}{2}\left(-1\pm\sqrt{1 + 8 \mathrm{Fr}^2}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
The only physically meaningful solution is the root which satisfies&lt;br /&gt;
&amp;lt;math&amp;gt;H&amp;gt;1&amp;lt;/math&amp;gt;.  This is only true providing &amp;lt;math&amp;gt;\mathrm{Fr} &amp;gt; 1&amp;lt;/math&amp;gt;, which means&lt;br /&gt;
that we can only obtain a hydraulic jump if the flow is supercritical.  &lt;br /&gt;
&lt;br /&gt;
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)&lt;br /&gt;
{{#ev:youtube|5etwhZ0d2GU}}&lt;br /&gt;
&lt;br /&gt;
=== Shallow Water Bore ===&lt;br /&gt;
We now consider  a bore, in which &lt;br /&gt;
the shock wave advances into still water. &lt;br /&gt;
We denote the fluid speed by &amp;lt;math&amp;gt;V = u^{-}&amp;lt;/math&amp;gt;. &lt;br /&gt;
We denote the height on the wall side&lt;br /&gt;
by &amp;lt;math&amp;gt;h_1&amp;lt;/math&amp;gt; and the height on the other side must be &amp;lt;math&amp;gt;h_0&amp;lt;/math&amp;gt;, i.e.&lt;br /&gt;
&amp;lt;math&amp;gt;h^{+} = h_0&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;h^{-} = h_1&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;u^{+} = 0&amp;lt;/math&amp;gt;.&lt;br /&gt;
This means that&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 h_{0}\partial_t s(t) - h_{1}\partial_t s(t) &lt;br /&gt;
 + V h_{1}= 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 - h_{1}V\partial_t s(t) = - \left(V\right)^2 h_{1}&lt;br /&gt;
+ \frac{1}{2} g  \left(h_{0}\right)^2 - \frac{1}{2} g  \left(h_{1}\right)^2  &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which can be solved to obtain the shock speed and the height of the moving fluid. &lt;br /&gt;
&lt;br /&gt;
Below is a video of surfing on the [http://en.wikipedia.org/wiki/Severn Severn] bore, do not believe everything they&lt;br /&gt;
say. You might also want to check out the [http://en.wikipedia.org/wiki/Pororoca Pororoca]&lt;br /&gt;
a tidal bore on the Amazon. &lt;br /&gt;
{{#ev:youtube|0jtkyuuMgVQ}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Simple Nonlinear Waves]]&lt;br /&gt;
[[Category:Nonlinear Water-Wave Theory]]&lt;br /&gt;
[[Category:Shallow Depth]]&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Traffic_Waves&amp;diff=12431</id>
		<title>Traffic Waves</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Traffic_Waves&amp;diff=12431"/>
		<updated>2010-08-20T10:30:12Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Traffic Waves&lt;br /&gt;
 | next chapter = [[Nonlinear Shallow Water Waves]]&lt;br /&gt;
 | previous chapter = [[Method of Characteristics for Linear Equations]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{complete pages}}&lt;br /&gt;
&lt;br /&gt;
We consider here some simple equations which model traffic flow. This problem is discussed in&lt;br /&gt;
[[Billingham and King 2000]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Reference]]&lt;br /&gt;
&lt;br /&gt;
== Equations ==&lt;br /&gt;
&lt;br /&gt;
We consider a single lane of road, and we measure distance along the road with &lt;br /&gt;
the variable &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt; is time. &lt;br /&gt;
We define the following variables&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&amp;amp;\rho(x,t) &amp;amp;: &amp;amp;\mbox{car density (cars/km)} \\&lt;br /&gt;
&amp;amp; v(\rho)         &amp;amp;: &amp;amp;\mbox{car velocity (km/hour)} \\&lt;br /&gt;
&amp;amp; q(x,t) =\rho v         &amp;amp;: &amp;amp;\mbox{car flow rate (cars/hour)}  \\&lt;br /&gt;
\end{matrix} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If we consider a finite length of road &amp;lt;math&amp;gt;x_1\leq x \leq x_2&amp;lt;/math&amp;gt; then the net flow of cars&lt;br /&gt;
in and out must be balanced by the change in density. This means that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\partial}{\partial t} \int_{x_1}^{x_2} \rho(x,t) \mathrm{d}x = -q(x_2,t) + q(x_1,t)&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We now consider continuous densities (which is obviously an approximation) and &lt;br /&gt;
set &amp;lt;math&amp;gt;x_2 = x_1 + \Delta x&amp;lt;/math&amp;gt; and we obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\partial}{\partial t} \rho(x_1,t) = -\frac{q(x_2,t) + q(x_1,t)}{\Delta x}&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and if we take the limit as &amp;lt;math&amp;gt;\Delta x \to 0&amp;lt;/math&amp;gt; we obtain the differential equation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\partial \rho}{\partial t}  + \frac{\partial q}{\partial x} = 0&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that this equation has been derived purely from the need to conserve cars (it is a conservation equation) and &lt;br /&gt;
is not possible to solve this equation until we have derived a connection between &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt;&lt;br /&gt;
and &amp;lt;math&amp;gt;q&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
== Equation for &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; only ==&lt;br /&gt;
&lt;br /&gt;
At the moment we assume that we have some expression for &amp;lt;math&amp;gt;v(\rho)&amp;lt;/math&amp;gt;&lt;br /&gt;
If we substitute the expression for &amp;lt;math&amp;gt;q = v\rho&amp;lt;/math&amp;gt; into our differential equation we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\partial \rho}{\partial t}  + \frac{\partial }{\partial x} \left(v(\rho)\rho\right) = 0&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which gives us &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\partial \rho}{\partial t}  + \left(v^{\prime}(\rho)\rho + v(\rho)\right)&lt;br /&gt;
\frac{\partial \rho }{\partial x} = 0&lt;br /&gt;
 &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; &lt;br /&gt;
\frac{\partial \rho}{\partial t}  + c(\rho)\frac{\partial \rho }{\partial x} = 0&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;c(\rho) =  \left(v^{\prime}(\rho)\rho + v(\rho)\right)&amp;lt;/math&amp;gt;&lt;br /&gt;
is the &#039;&#039;&#039;kinematic wave speed&#039;&#039;&#039;. Note that this is not the speed of the cars, but&lt;br /&gt;
the speed at which disturbances in the density travel.&lt;br /&gt;
&lt;br /&gt;
== A simple relationship between &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;q&amp;lt;/math&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The relationship between &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;q&amp;lt;/math&amp;gt; is an equation of state and&lt;br /&gt;
there is no &#039;&#039;exact&#039;&#039; equation since it depends on many unknowns. One of the&lt;br /&gt;
simplest relationship between &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;q&amp;lt;/math&amp;gt; is derived from&lt;br /&gt;
the following assumptions&lt;br /&gt;
&lt;br /&gt;
* When the density &amp;lt;math&amp;gt;\rho = 0&amp;lt;/math&amp;gt; the speed is &amp;lt;math&amp;gt;v=v_0&amp;lt;/math&amp;gt;&lt;br /&gt;
* When the density is &amp;lt;math&amp;gt;\rho = \rho_{\max} &amp;lt;/math&amp;gt; the speed is &amp;lt;math&amp;gt;v=0&amp;lt;/math&amp;gt;&lt;br /&gt;
* The speed is a linear function of &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; between these two values. &lt;br /&gt;
&lt;br /&gt;
This also gives good fit with measured data. We will either consider the general case or use this simple&lt;br /&gt;
relationship. Using this we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
v(\rho) = v_0\frac{\rho_{\max} - \rho}{\rho_{\max}}&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The flux of cars is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
q = \rho v(\rho) = v_0\frac{\rho(\rho_{\max} - \rho)}{\rho_{\max}}&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and the wave speed is &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
c(\rho) =  \left(v^{\prime}(\rho)\rho + v(\rho)\right) = -\frac{v_0}{\rho_{\max}}\rho + v_0\frac{\rho_{\max} - \rho}{\rho_{\max}}&lt;br /&gt;
= v_0\frac{\rho_{\max} - 2\rho}{\rho_{\max}}&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt;&lt;br /&gt;
! &amp;lt;math&amp;gt;q&amp;lt;/math&amp;gt;&lt;br /&gt;
! &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Velocity.jpg|thumb|350px|&amp;lt;math&amp;gt;v(\rho)&amp;lt;/math&amp;gt; versus &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt;]]&lt;br /&gt;
| [[Image:Q_flux.jpg|thumb|350px|&amp;lt;math&amp;gt;q(\rho)&amp;lt;/math&amp;gt; versus &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt;]]&lt;br /&gt;
| [[Image:C_speed.jpg|thumb|350px|&amp;lt;math&amp;gt;\rho(\rho)&amp;lt;/math&amp;gt; versus &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt;]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Small Amplitude Disturbances ==&lt;br /&gt;
&lt;br /&gt;
We can linearise the model by assuming that the variation in density is small so &lt;br /&gt;
that we can write&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\rho = \rho_0 + \tilde{\rho}&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where we assume that &amp;lt;math&amp;gt;\tilde{\rho}&amp;lt;/math&amp;gt; is small. This allows us to write the equations as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\partial \tilde{\rho}}{\partial t}  + c(\rho_0) \frac{\partial \tilde{\rho}}{\partial x}  = 0&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where the main difference between this and the full equation is that the wave speed &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is&lt;br /&gt;
a constant. This is the linearised equation. Note that this linearisation does not give a good model because &lt;br /&gt;
traffic density does not vary only a small amount about some mean (as is the case for accoustic waves where the &lt;br /&gt;
density of air is roughly constant). &lt;br /&gt;
&lt;br /&gt;
Under these assumptions the solution to the equation is &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\tilde{\rho} = f(x - c(\rho_0)t) &lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt; is determined by the initial condition. This represents &lt;br /&gt;
disturbances which travel with speed &amp;lt;math&amp;gt;c(\rho_0)&amp;lt;/math&amp;gt; in the positive&lt;br /&gt;
&amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; direction. &lt;br /&gt;
&lt;br /&gt;
We now consider the &#039;&#039;&#039;characteristic curves&#039;&#039;&#039; which are curves along which the density&lt;br /&gt;
&amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; is a constant. These are give by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
x = X(t) = x_0 + c(\rho_0) t.\,&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which are just straight lines of constant slope.  We will see shortly that the full (nonlinear)&lt;br /&gt;
equations also possess characteristics.&lt;br /&gt;
&lt;br /&gt;
== Nonlinear Initial Value Problem == &lt;br /&gt;
&lt;br /&gt;
We wish to solve &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\partial \rho}{\partial t}  + c(\rho) \frac{\partial \rho}{\partial x}  = 0&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
subject to the initial conditions&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\rho(x,0) = \rho_0(x) \,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
It turns out that the concept of characteristic curves is very important for this problem. &lt;br /&gt;
&lt;br /&gt;
If we want &amp;lt;math&amp;gt;\rho(X(t),t)&amp;lt;/math&amp;gt; to be a constant then we require&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\mathrm{d}}{\mathrm{d}t}\rho(X(t),t) = \frac{\mathrm{d} X}{\mathrm{d}t} \frac{\partial \rho}{\partial x} + &lt;br /&gt;
\frac{\partial \rho}{\partial t} = 0. &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Comparing this to the governing partial differential equation we can see that we require&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\mathrm{d} X}{\mathrm{d}t}  = c(\rho) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This means that the characteristics are straight lines (since &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; is constant) with&lt;br /&gt;
slope given by &amp;lt;math&amp;gt; c(\rho_0(x_0))&amp;lt;/math&amp;gt; so that the equation for the characteristics is &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
X(t)  = x_0 + c(\rho_0(x_0))t \,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This does not allow us to write down a solution to the initial value problem,&lt;br /&gt;
all we can do is write&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\rho(x_0 + c(\rho_0(x_0))t,t) = \rho_0(x_0)\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which allows us to calculate the solution stepping forward in time, but not to determine the solution given&lt;br /&gt;
a value of &amp;lt;math&amp;gt;(x,t)&amp;lt;/math&amp;gt; (because we have no way of knowing what &amp;lt;math&amp;gt;c(\rho_0(x_0))&amp;lt;/math&amp;gt; is.  &lt;br /&gt;
&lt;br /&gt;
The characteristics are a family of straight lines which will all have different slopes. If two characteristics&lt;br /&gt;
meet, our solution method will break down because there will be two values of the density &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt;. &lt;br /&gt;
This gives rise to a &#039;&#039;&#039;shock&#039;&#039;&#039;. It turns&lt;br /&gt;
out that this the formation of shocks is a product of the equations themselves and not with the solution method.&lt;br /&gt;
We will see shortly that special methods are required to treat these shocks. &lt;br /&gt;
&lt;br /&gt;
=== Case when no shocks are formed ===&lt;br /&gt;
&lt;br /&gt;
The characteristic curves will fill the space without meeting provided that the wave speed &amp;lt;math&amp;gt;c(\rho_0)&amp;lt;/math&amp;gt;&lt;br /&gt;
is a monotonically increasing function of the distance &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;. If we work with our previous model we&lt;br /&gt;
have &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
v(\rho) = v_0\frac{\rho_{\max} - \rho}{\rho_{\max}}&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
c(\rho) = v_0\frac{\rho_{\max} - 2\rho}{\rho_{\max}}&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
so that &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is a monotonically decreasing function of density &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt;. This means&lt;br /&gt;
that the wave speed &amp;lt;math&amp;gt;c(\rho_0)&amp;lt;/math&amp;gt; will be&lt;br /&gt;
a monotonically increasing function of the distance &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; if an only if the density is a&lt;br /&gt;
monotonically decreasing function. In this case the solution can be calculated straightforwardly &lt;br /&gt;
by expansion of the initial density. &lt;br /&gt;
&lt;br /&gt;
==== No shock example ====&lt;br /&gt;
&lt;br /&gt;
We consider the case when &amp;lt;math&amp;gt;\rho_{\max} = v_0 = 1&amp;lt;/math&amp;gt; and where the initial density is given&lt;br /&gt;
by &amp;lt;math&amp;gt;\rho_0 = 1/2(1- \tanh(x))&amp;lt;/math&amp;gt;. The figures below show the initial density, the initial speed,&lt;br /&gt;
the characteristics and &amp;lt;math&amp;gt;\rho(x,t)&amp;lt;/math&amp;gt; for this case.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt;&lt;br /&gt;
! &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Traffic example1 rho.jpg|thumb|350px| &amp;lt;math&amp;gt;\rho_0 = 1/2(1- \tanh(x))&amp;lt;/math&amp;gt; ]]&lt;br /&gt;
| [[Image:Traffic_example1_c.jpg|thumb|350px|&amp;lt;math&amp;gt;c(\rho_0)&amp;lt;/math&amp;gt;]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! characteristics&lt;br /&gt;
! &amp;lt;math&amp;gt;\rho(x,t)&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Traffic_example1_characteristics.jpg|thumb|350px|Characterisitics for  &amp;lt;math&amp;gt;\rho_0 = 1/2(1- \tanh(x))&amp;lt;/math&amp;gt;]]&lt;br /&gt;
| [[Image:Traffic_example11.gif|thumb|350px|&amp;lt;math&amp;gt;\rho(x,t) for &amp;lt;/math&amp;gt;&amp;lt;math&amp;gt;\rho_0 = 1/2(1- \tanh(x))&amp;lt;/math&amp;gt;]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Riemann problem and the expansion fan ====&lt;br /&gt;
&lt;br /&gt;
We can consider a simple problem in which there is a jump in the initial density&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\rho(x,0) = &lt;br /&gt;
\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
\rho_{L},&amp;amp; x &amp;lt; 0 \\&lt;br /&gt;
\rho_{R},&amp;amp; x &amp;gt; 0 &lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\rho_{L} &amp;gt; \rho_{R}&amp;lt;/math&amp;gt; so that we do not form a shock. In this case&lt;br /&gt;
the characteristics on each side of &amp;lt;math&amp;gt;x=0&amp;lt;/math&amp;gt; have a different slope and the &lt;br /&gt;
question is what happens between. It is easiest to think about the following problem&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\rho(x,0) = &lt;br /&gt;
\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
\rho_{L},&amp;amp; x &amp;lt; -\epsilon \\&lt;br /&gt;
\frac{\rho_{R}-\rho_{L}}{2\epsilon}x + \frac{\rho_{R}+\rho_{L}}{2} &amp;amp; -\epsilon \leq x \leq \epsilon \\&lt;br /&gt;
\rho_{R},&amp;amp; x &amp;gt; \epsilon &lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We can then see that we have lines of uniformly varying slope for &amp;lt;math&amp;gt;-\epsilon&amp;lt;x&amp;lt;\epsilon&amp;lt;/math&amp;gt;&lt;br /&gt;
with slope between &amp;lt;math&amp;gt;c(\rho_L)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c(\rho_R)&amp;lt;/math&amp;gt;. If we then take the limit&lt;br /&gt;
as &amp;lt;math&amp;gt;\epsilon \to 0&amp;lt;/math&amp;gt; we obtain an expansion fan emanating from &amp;lt;math&amp;gt;x=0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If we assume that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
c(\rho) = v_0\frac{\rho_{\max} - 2\rho}{\rho_{\max}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
then we know that on the lines of the expansion fan (which all start at &amp;lt;math&amp;gt;x=0&amp;lt;/math&amp;gt;) we have&lt;br /&gt;
&amp;lt;math&amp;gt;c(\rho) = x/t&amp;lt;/math&amp;gt;. We can rearrange this and solve for &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and obtain&lt;br /&gt;
&amp;lt;math&amp;gt;\rho =\frac{ 1}{2} \rho_{\max} (1-x/v_0 t)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The solution is then given by  &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\rho(x,t) = &lt;br /&gt;
\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
\rho_{L},&amp;amp; x &amp;lt; c(\rho_L) t\\&lt;br /&gt;
\frac{ \rho_{\max}}{2} (1-x/v_0 t),&amp;amp; c(\rho_L) t \leq x \leq  c(\rho_R) t\\&lt;br /&gt;
\rho_{R},&amp;amp; x &amp;gt;  c(\rho_R) t&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This solution is known as an &#039;&#039;&#039;expansion fan&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We consider the case when &amp;lt;math&amp;gt;\rho_{\max} = v_0 = 1&amp;lt;/math&amp;gt; and where the initial density is given&lt;br /&gt;
by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\rho(x,0) = &lt;br /&gt;
\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
0.6,&amp;amp; x &amp;lt; 0 \\&lt;br /&gt;
0.3,&amp;amp; x &amp;gt; 0 &lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;. The figures below show the initial density, the initial speed,&lt;br /&gt;
the characteristics and &amp;lt;math&amp;gt;\rho(x,t)&amp;lt;/math&amp;gt; for this case.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt;&lt;br /&gt;
! &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Expansion_fan_rho.jpg|thumb|350px| &amp;lt;math&amp;gt;\rho_0&amp;lt;/math&amp;gt; ]]&lt;br /&gt;
| [[Image:Expansion_fan_c.jpg|thumb|350px|&amp;lt;math&amp;gt;c(\rho_0)&amp;lt;/math&amp;gt;]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! characteristics&lt;br /&gt;
! &amp;lt;math&amp;gt;\rho(x,t)&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Expansion_fan_characteristics.jpg|thumb|350px|Characterisitics]]&lt;br /&gt;
| [[Image:Expansion_fan1.gif|thumb|350px|&amp;lt;math&amp;gt;\rho(x,t)&amp;lt;/math&amp;gt;]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Shocks ===&lt;br /&gt;
&lt;br /&gt;
So far we have only considered the case when &amp;lt;math&amp;gt;c(x_0)&amp;lt;/math&amp;gt; is monotonically increasing so that&lt;br /&gt;
two characteristics never cross. We now consider the case when characteristics can meet. &lt;br /&gt;
A movie of this case is shown below. &lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|Suugn-p5C1M}}&lt;br /&gt;
&lt;br /&gt;
We can easily see that&lt;br /&gt;
the first characteristics to meet will be neighbouring characteristics. Consider two characteristics&lt;br /&gt;
with &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
X_1(t) = x_0 + c(x_0)t\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
X_2(t) = x_0 + \delta x + c(x_0+\delta x)t\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
Then these curves will meet at time &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; where &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
x_0 + c(x_0)T = x_0 + \delta x + c(x_0+\delta x)T\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
which implies that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
T = -\frac{1}{c^{\prime}(x_0)}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
Note the following&lt;br /&gt;
* If &amp;lt;math&amp;gt;c^{\prime}(x) &amp;gt; 0 &amp;lt;/math&amp;gt; then no shock will form. &lt;br /&gt;
* The shock first forms at the minimum positive value of &lt;br /&gt;
&amp;lt;math&amp;gt; - \frac{1}{c^{\prime}(x)} &amp;lt;/math&amp;gt;  for &amp;lt;math&amp;gt; -\infty &amp;lt; x &amp;lt;\infty &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==== Shock Fitting ====&lt;br /&gt;
&lt;br /&gt;
If we calculate the solution using our formula &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\rho(x_0 + c(\rho_0(x_0))t,t) = \rho(x_0)\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
then we find that the solution becomes multivalued in the case when a shock forms.&lt;br /&gt;
We then have to fit a shock. One way to do this is by imposing the condition that equal&lt;br /&gt;
areas are removed and added when we chose the position of the shock. &lt;br /&gt;
This corresponds to the condition that&lt;br /&gt;
the number of cars must be conserved&lt;br /&gt;
&lt;br /&gt;
==== Speed of the shock ====&lt;br /&gt;
&lt;br /&gt;
If we consider the case when there is a shock at &amp;lt;math&amp;gt;s(t)&amp;lt;/math&amp;gt; with &lt;br /&gt;
&amp;lt;math&amp;gt;\rho = \rho^{-}&amp;lt;/math&amp;gt; at &amp;lt;math&amp;gt;s=s^{-}&amp;lt;/math&amp;gt; &lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;\rho = \rho^{+}&amp;lt;/math&amp;gt; at &amp;lt;math&amp;gt;s=s^{+}&amp;lt;/math&amp;gt;&lt;br /&gt;
(where &amp;lt;math&amp;gt;s^{-}&amp;lt;/math&amp;gt;&lt;br /&gt;
is just less than s(t) and &amp;lt;math&amp;gt;s^{+}&amp;lt;/math&amp;gt;&lt;br /&gt;
is just greater than s(t) ). If we substitute&lt;br /&gt;
this into the governing integral equation we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\partial}{\partial t} \left( \int_{x_1}^{s(t)} + \int_{s(t)}^{x_2}\right)&lt;br /&gt;
 \rho(x,t)\mathrm{d}x = q(x_1,t) - q(x_2,t)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and hence&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
 \int_{x_1}^{x_2}&lt;br /&gt;
\frac{\partial \rho(x,t)}{\partial t} dx + \frac{\mathrm{d}s}{\mathrm{d}t}\rho^{-} &lt;br /&gt;
- \frac{\mathrm{d}s}{\mathrm{d}t}\rho^{+}  = q(x_1,t) - q(x_2,t)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we now take the limit as &amp;lt;math&amp;gt;x_1\to x_2&amp;lt;/math&amp;gt; we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\mathrm{d}s}{\mathrm{d}t}\rho^{-} &lt;br /&gt;
- \frac{\mathrm{d}s}{\mathrm{d}t}\rho^{+}  = q(\rho^{-}) - q(\rho^{+})&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
so that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\mathrm{d}s}{\mathrm{d}t} = \frac{q(\rho^{-}) - q(\rho^{+})}&lt;br /&gt;
{\rho^{-} - \rho^{+}}  &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Shock example ====&lt;br /&gt;
&lt;br /&gt;
We consider the case when &amp;lt;math&amp;gt;\rho_{\max} = v_0 = 1&amp;lt;/math&amp;gt; and where the initial density is given&lt;br /&gt;
by &amp;lt;math&amp;gt;\rho_0 = 1/2(1 + \tanh(x))&amp;lt;/math&amp;gt;. The figures below show the initial density, the initial speed,&lt;br /&gt;
the characteristics and &amp;lt;math&amp;gt;\rho(x,t)&amp;lt;/math&amp;gt; for this case.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt;&lt;br /&gt;
! &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Traffic example2 rho.jpg|thumb|350px| &amp;lt;math&amp;gt;\rho_0 = 1/2(1+ \tanh(x))&amp;lt;/math&amp;gt; ]]&lt;br /&gt;
| [[Image:Traffic_example2_c.jpg|thumb|350px|&amp;lt;math&amp;gt;c(\rho_0)&amp;lt;/math&amp;gt;]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! characteristics&lt;br /&gt;
! &amp;lt;math&amp;gt;\rho(x,t)&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Traffic_example2_characteristics.jpg|thumb|350px|Characterisitics for  &amp;lt;math&amp;gt;\rho_0 = 1/2(1+ \tanh(x))&amp;lt;/math&amp;gt;]]&lt;br /&gt;
| [[Image:Traffic_example2.gif|thumb|350px|&amp;lt;math&amp;gt;\rho(x,t) for &amp;lt;/math&amp;gt;&amp;lt;math&amp;gt;\rho_0 = 1/2(1+ \tanh(x))&amp;lt;/math&amp;gt; Dotted solution is without shock fitting.]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Riemann problem ====&lt;br /&gt;
&lt;br /&gt;
We now consider the Riemann problem &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\rho(x,0) = &lt;br /&gt;
\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
\rho_{L},&amp;amp; x &amp;lt; 0 \\&lt;br /&gt;
\rho_{R},&amp;amp; x &amp;gt; 0 &lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\rho_{L} &amp;lt; \rho_{R}&amp;lt;/math&amp;gt;. In this case a shock forms immediately and&lt;br /&gt;
the characteristics terminate at the shock. The shock moves with constant speed given by&lt;br /&gt;
the equation for the motion of the shock (or can be found by the equal areas rule). We obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\rho(x,t) = &lt;br /&gt;
\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
\rho_{L},&amp;amp; x &amp;lt; \frac{1}{2} \left(c(\rho_{L}) + c(\rho_{R}) \right) t  \\&lt;br /&gt;
\rho_{R},&amp;amp; x &amp;gt; \frac{1}{2} \left(c(\rho_{L}) + c(\rho_{R}) \right) t &lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We consider the case when &amp;lt;math&amp;gt;\rho_{\max} = v_0 = 1&amp;lt;/math&amp;gt; and where the initial density is given&lt;br /&gt;
by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\rho(x,0) = &lt;br /&gt;
\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
0.3,&amp;amp; x &amp;lt; 0 \\&lt;br /&gt;
0.6,&amp;amp; x &amp;gt; 0 &lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The figures below show the initial density, the initial speed,&lt;br /&gt;
the characteristics, and &amp;lt;math&amp;gt;\rho(x,t)&amp;lt;/math&amp;gt; for this case.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt;&lt;br /&gt;
! &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Shock_rho.jpg|thumb|350px| &amp;lt;math&amp;gt;\rho_0&amp;lt;/math&amp;gt; ]]&lt;br /&gt;
| [[Image:Shock_c.jpg|thumb|350px|&amp;lt;math&amp;gt;c(\rho_0)&amp;lt;/math&amp;gt;]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! characteristics&lt;br /&gt;
! &amp;lt;math&amp;gt;\rho(x,t)&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Shock_characteristics.jpg|thumb|350px|Characterisitics with shock shown in green.]]&lt;br /&gt;
| [[Image:Shock3.gif|thumb|350px|&amp;lt;math&amp;gt;\rho(x,t)&amp;lt;/math&amp;gt; with the red dotted line showing the solution without shock fitting]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:789]]&lt;br /&gt;
[[Category:Simple Nonlinear Waves]]&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Method_of_Characteristics_for_Linear_Equations&amp;diff=12421</id>
		<title>Method of Characteristics for Linear Equations</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Method_of_Characteristics_for_Linear_Equations&amp;diff=12421"/>
		<updated>2010-08-19T14:35:11Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Method of Characteristics for Linear Equations&lt;br /&gt;
 | next chapter = [[Traffic Waves]]&lt;br /&gt;
 | previous chapter = &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{complete pages}}&lt;br /&gt;
&lt;br /&gt;
We present here a brief account of the method of characteristic for linear waves. &lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
The method of characteristics is an important method for hyperbolic PDE&#039;s which&lt;br /&gt;
applies to both linear and nonlinear equations. &lt;br /&gt;
&lt;br /&gt;
We begin with the simplest wave equation &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t u + \partial_x u = 0,\,\,-\infty&amp;lt;x&amp;lt;\infty,\,\,t&amp;gt;0,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
subject to the initial conditions&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 \left. u \right|_{t=0} = f(x)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We consider the solution along the curve &amp;lt;math&amp;gt;(x,t) = (X(t),t)&amp;lt;/math&amp;gt;. We then have&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d} }{\mathrm{d} t} u(X(t),t) = \partial_t u + \frac{\mathrm{d} X}{\mathrm{d}t}\partial_x u = \partial_x u \left(\frac{\mathrm{d} X}{\mathrm{d}t} - 1 \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore along the curve &amp;lt;math&amp;gt;\frac{\mathrm{d} X}{\mathrm{d}t} = 1&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;u(x,t)&amp;lt;/math&amp;gt; must be a constant. &lt;br /&gt;
These are nothing but the straight lines &amp;lt;math&amp;gt;x = t+c&amp;lt;/math&amp;gt;&lt;br /&gt;
This means that we have&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u(x,t) = u(t+c,t) = u(c,0) = f(c) = f(x-t)\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore the solution is &amp;lt;math&amp;gt;u(x,t) = f(x-t)\,&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== General Form ==&lt;br /&gt;
&lt;br /&gt;
If we consider the equation &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t u + a(x,t)\partial_x u = 0,\,\,-\infty&amp;lt;x&amp;lt;\infty,\,\,t&amp;gt;0,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
then we can apply the method of characteristics.&lt;br /&gt;
We consider the solution along the curve &amp;lt;math&amp;gt;(x,t) = (X(t),t)&amp;lt;/math&amp;gt;. We then have&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d} }{\mathrm{d} t} u(X(t),t) = \partial_t u + \frac{\mathrm{d} X}{\mathrm{d}t}\partial_x u = \partial_x u \left(\frac{\mathrm{d} X}{\mathrm{d}t} - a(x,t) \right).&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
This gives us the following o.d.e. for the characteristic curves (along which the solution is a constant)&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d} X}{\mathrm{d} t} =  a(x,t) .&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Example 1 ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Characteristic_linear1.jpg|thumb|right|350px|Characteristic for Example 1]]&lt;br /&gt;
Consider the equation &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t u + x \partial_x u = 0,\,\,-\infty&amp;lt;x&amp;lt;\infty,\,\,t&amp;gt;0,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
subject to the initial conditions&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 \left. u \right|_{t=0} = f(x)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We consider the solution along the curve &amp;lt;math&amp;gt;(x,t) = (X(t),t)&amp;lt;/math&amp;gt;. We then have&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d} }{\mathrm{d} t} u(X(t),t) = \partial_t u + \frac{\mathrm{d}X}{\mathrm{d}t}\partial_x u = \partial_x u \left(\frac{\mathrm{d} X}{\mathrm{d}t} - x \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore along the curve &amp;lt;math&amp;gt;\frac{\mathrm{d} X}{\mathrm{d}t} = x&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;u(x,t)&amp;lt;/math&amp;gt; must be a constant. &lt;br /&gt;
These are the curves &amp;lt;math&amp;gt;x = ce^t&amp;lt;/math&amp;gt;&lt;br /&gt;
This means that we have&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u(x,t) = u(ce^t,t) = u(c,0) = f(c) = f(xe^{-t})\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore the solution is given &amp;lt;math&amp;gt;u(x,t) = f(xe^{-t})\,&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
[[Image:Waterfall_linear1.jpg|thumb|right|350px|Solution for Example 1 with &amp;lt;math&amp;gt;f(x) = e^{-x^2}&amp;lt;/math&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
== Example 2 ==&lt;br /&gt;
&lt;br /&gt;
Consider the equation&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t u + t \partial_x u = 0,\,\,-\infty&amp;lt;x&amp;lt;\infty,\,\,t&amp;gt;0,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
subject to the initial conditions&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 \left. u \right|_{t=0} = f(x)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We consider the solution along the curve &amp;lt;math&amp;gt;(x,t) = (X(t),t)&amp;lt;/math&amp;gt;. We then have&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d} }{\mathrm{d} t} u(X(t),t) = \partial_t u + \frac{\mathrm{d} X}{\mathrm{d}t}\partial_x u = \partial_x u \left(\frac{\mathrm{d} X}{\mathrm{d}t} - t \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore along the curve &amp;lt;math&amp;gt;\frac{\mathrm{d} X}{\mathrm{d}t} = t&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;u(x,t)&amp;lt;/math&amp;gt; must be a constant. &lt;br /&gt;
These are the curves &amp;lt;math&amp;gt;x = t^2/2+c&amp;lt;/math&amp;gt;&lt;br /&gt;
This means that we have&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u(x,t) = u(t^2/2 + c,t) = u(c,0) = f(c) = f(x - t^2/2)\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore the solution is given &amp;lt;math&amp;gt;u(x,t) = f(x - t^2/2)\,&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Non-homogeneous Example ==&lt;br /&gt;
&lt;br /&gt;
We can also use the method of characteristics in the non-homogeneous case. We show this through an example&lt;br /&gt;
Consider the equation &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t u + t \partial_x u = xt,\,\,-\infty&amp;lt;x&amp;lt;\infty,\,\,t&amp;gt;0,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
subject to the initial conditions&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 \left. u \right|_{t=0} = f(x)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We consider the solution along the curve &amp;lt;math&amp;gt;(x,t) = (X(t),t)&amp;lt;/math&amp;gt;. We then have&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d} U}{\mathrm{d} t} = \partial_t u + \frac{\mathrm{d} X}{\mathrm{d}t}\partial_x u = \partial_x u \left(\frac{\mathrm{d}X}{\mathrm{d}t} - t \right) + xt&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore along the curve &amp;lt;math&amp;gt;\frac{\mathrm{d} X}{\mathrm{d}t} = t&amp;lt;/math&amp;gt; which are the curves &amp;lt;math&amp;gt;x = t^2/2+c&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}}{\mathrm{d}t}u(x,t) = xt = t^3/2 + c t&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u(t^2/2+c,t) = t^4/8 + c t^2/2 + c_2\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Now&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u(c,0) = c_2 = f(c)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore the solution is given &amp;lt;math&amp;gt;u(x,t) = t^4/8 + (x -t^2/2) t^2/2 + f(x-t^2/2)\,&amp;lt;/math&amp;gt; or&lt;br /&gt;
&amp;lt;math&amp;gt;u(x,t) = -t^4/8 + x t^2/2 + f(x-t^2/2)\,&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=User_talk:Meylan&amp;diff=12419</id>
		<title>User talk:Meylan</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=User_talk:Meylan&amp;diff=12419"/>
		<updated>2010-08-19T13:49:59Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: /* Boundary Element Method for a Fixed Body in Finite Depth */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Dr. Meylan, what about putting links which would be useful for water waves community under &#039;&#039;&#039;Links&#039;&#039;&#039;? &lt;br /&gt;
[[User:Adi Kurniawan|Adi Kurniawan]] 15:44, 6 April 2009 (NZST)&lt;br /&gt;
&lt;br /&gt;
== Boundary Element Method for a Fixed Body in Finite Depth ==&lt;br /&gt;
&lt;br /&gt;
1) Sections 4.2 and 4.3 seem to be the same.&lt;br /&gt;
&lt;br /&gt;
2) I tried running the Matlab code, but the plot of R and T did not look like the one shown in the figure. --[[User:Adi Kurniawan|Adi Kurniawan]] 13:49, 19 August 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=User_talk:Meylan&amp;diff=12417</id>
		<title>User talk:Meylan</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=User_talk:Meylan&amp;diff=12417"/>
		<updated>2010-08-19T13:49:21Z</updated>

		<summary type="html">&lt;p&gt;Adi Kurniawan: /* Boundary Element Method for a Fixed Body in Finite Depth */ new section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Dr. Meylan, what about putting links which would be useful for water waves community under &#039;&#039;&#039;Links&#039;&#039;&#039;? &lt;br /&gt;
[[User:Adi Kurniawan|Adi Kurniawan]] 15:44, 6 April 2009 (NZST)&lt;br /&gt;
&lt;br /&gt;
== Boundary Element Method for a Fixed Body in Finite Depth ==&lt;br /&gt;
&lt;br /&gt;
1) Sections 4.2 and 4.3 seem to be the same.&lt;br /&gt;
2) I tried running the Matlab code, but the plot of R and T did not look like the one shown in the figure.&lt;/div&gt;</summary>
		<author><name>Adi Kurniawan</name></author>
	</entry>
</feed>