Skip to main content

Stokes V

Properties

  • Regular waves

Model equations

The wave height is modelled by the equation:

η=λkcos(kxωt+ϕ)+(λ2B22+λ4B24)λcos(2(kxωt+ϕ))+(λ3B33+λ5B35)λcos(3(kxωt+ϕ))+(λ4B44)λcos(4(kxωt+ϕ))+(λ5B55)λcos(5(kxωt+ϕ)) \eta = \frac{\lambda}{k} \cos (k x -\omega t + \phi) + \frac{(\lambda^2 B_{22} + \lambda^4 B_{24})}{\lambda} \cos\left(2(k x - \omega t + \phi)\right) + \frac{(\lambda^3 B_{33} + \lambda^5 B_{35})}{\lambda} \cos\left(3(k x - \omega t + \phi)\right) + \frac{(\lambda^4 B_{44})}{\lambda} \cos\left(4(k x - \omega t + \phi)\right) + \frac{(\lambda^5 B_{55})}{\lambda} \cos\left(5(k x - \omega t + \phi)\right)

Where:

λ\lambda : first order wave amplitude

kk : wave number

ω\omega : angular frequency

ϕ\phi : phase shift

BxxB_{xx} : coefficients in the fifth order solution

tt : time

Default model coefficients

Usage

Inlet patch example

<patch>
{
alpha alpha.water;
waveModel StokesV;
nPaddle 1;
waveHeight 0.1;
waveAngle 0.0;
rampTime 4.0;
activeAbsorption yes;
wavePeriod 2.0;
}

Further information

Source code:

References:

  • ...

Tutorials: