chrono::fsi::tdpf::ChTdpfSeaState Struct Reference

Description

Complete declarative description of a sea state.

Mirrors seastack::hydro::SeaStateDefinition.

#include <ChFsiTdpfTypes.h>

Public Attributes

std::string type = "none"
 Sea state kind: "none" (still water), "regular", or "irregular". More...
 
double depth = 0.0
 water depth [m]; 0 = take value from the HDF5 file
 
double g = 0.0
 gravitational acceleration [m/s^2]; 0 = take value from the HDF5 file
 
double amplitude = 0.0
 wave amplitude [m]
 
double omega = 0.0
 angular frequency [rad/s]
 
double direction_deg = 0.0
 propagation direction [deg], 0 = +X
 
double phase_rad = 0.0
 phase [rad]
 
std::vector< ChTdpfSeaStatePartitionpartitions
 One partition for a unimodal sea state; two or more for bimodal/multi-modal.
 
std::string eta_file_path
 If set, wave components are extracted from this elevation time series via DFT instead of being sampled from a parametric spectrum.
 
int n_omega = 512
 number of frequency bins
 
int n_theta = 1
 number of directional bins (1 = long-crested)
 
double omega_min = 0.0
 minimum angular frequency [rad/s]; 0 = auto
 
double omega_max = 0.0
 maximum angular frequency [rad/s]; 0 = auto
 
int seed = 42
 random seed for phase generation
 

Member Data Documentation

◆ type

std::string chrono::fsi::tdpf::ChTdpfSeaState::type = "none"

Sea state kind: "none" (still water), "regular", or "irregular".

"none" installs a no-wave model; excitation forces are then identically zero.


The documentation for this struct was generated from the following file:
  • /builds/uwsbel/chrono/src/chrono_fsi/tdpf/ChFsiTdpfTypes.h