Strategy class for generating Stokes wave.
More...
#include </home/runner/work/IBAMR/IBAMR/include/ibamr/StokesWaveGeneratorStrategy.h>
Strategy class for generating Stokes wave.
◆ getFromInput()
Get wave parameters from input db.
◆ getSurfaceElevation()
virtual double IBAMR::StokesWaveGeneratorStrategy::getSurfaceElevation |
( |
double |
x, |
|
|
double |
time |
|
) |
| const |
|
pure virtual |
◆ getVelocity()
virtual double IBAMR::StokesWaveGeneratorStrategy::getVelocity |
( |
double |
x, |
|
|
double |
z_plus_d, |
|
|
double |
time, |
|
|
int |
comp_idx |
|
) |
| const |
|
pure virtual |
◆ d_deep_water_limit
bool IBAMR::StokesWaveGeneratorStrategy::d_deep_water_limit = false |
|
protected |
If we are calculating in deep water limit.
◆ d_depth
double IBAMR::StokesWaveGeneratorStrategy::d_depth |
|
protected |
Wave parameters.
- Parameters
-
d_wave_number | : Wave number of dominant wave component [$2\pi/m$] |
d_amplitude | : Amplitude of the dominant wave component [m] |
d_depth | : Depth of water, from sea bed to still water level [m] |
d_gravity | : Acceleration due to gravity [$m/s^2$] |
d_omega | : Angular frequency [$2 \pi/s$] (optional) |
\NOTE The class calculates a more accurate value of omega from the expansion coefficients and the provided value in not used.
◆ d_object_name
std::string IBAMR::StokesWaveGeneratorStrategy::d_object_name |
|
protected |
The documentation for this class was generated from the following files:
- /home/runner/work/IBAMR/IBAMR/include/ibamr/StokesWaveGeneratorStrategy.h
- /home/runner/work/IBAMR/IBAMR/src/wave_generation/StokesWaveGeneratorStrategy.cpp