Properties🔗
- Regular waves
Model equations🔗
The wave height is modelled by the equation:
\[\eta = \frac{H}{2} \cos (k x -\omega t + \phi) + k \frac{H^2}{4} \frac{3 - \sigma^2}{4 \sigma^3} \cos \left(2(k x - \omega t + \phi)\right)\]Where:
- \(H\)
- wave height
- \(k\)
- wave number
- \(\omega\)
- angular frequency
- \(\sigma\)
- radian wave frequency
- \(\phi\)
- phase shift
- \(t\)
- time
Default model coefficients🔗
Usage🔗
Inlet patch example
<patch>
{
alpha alpha.water;
waveModel StokesII;
nPaddle 1;
waveHeight 0.05;
waveAngle 0.0;
rampTime 3.0;
activeAbsorption yes;
wavePeriod 3.0;
}
Further information🔗
Source code:
References:
- …
Tutorials: