This PR adds a non-FFT variant of a linear random wave model for comparison and benchmarking.
Simulations for wave energy devices usually have some variant of a wave model comprised of a sum over linear waves with randomised phases. The sums are typically computed by simple loops over the components and the amplitudes are drawn from a suitable wave spectrum. While not efficient for simulating a wave field where samples must be taken at many points, the models is practical for simulating linear wave body interactions where the field is evaluated at the origin at each time step.
Details
Superposition of num_waves waves.
Sampled at constant angular frequency: max_omega / num_waves.
Amplitudes determined by the Pierson-Moskowitz spectrum.
Wave direction may be set.
Waves do not spread, all waves propagate in the same direction.
Waves are assigned random phases.
Plots of wave elevation and pressure.
Other
Minor formatting changes to LinearRegularWaveSimulation for consistency.
Usage
A limited set of parameters may be configured for the model and visual plugins.
This PR adds a non-FFT variant of a linear random wave model for comparison and benchmarking.
Simulations for wave energy devices usually have some variant of a wave model comprised of a sum over linear waves with randomised phases. The sums are typically computed by simple loops over the components and the amplitudes are drawn from a suitable wave spectrum. While not efficient for simulating a wave field where samples must be taken at many points, the models is practical for simulating linear wave body interactions where the field is evaluated at the origin at each time step.
Details
Other
Usage
A limited set of parameters may be configured for the model and visual plugins.
Future work