TODO implement currents averaged over the effective depth layer for modulation of phase speed.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(spectrum_type), | intent(in) | :: | spectrum | Input spectrum instance |
||
real(kind=rk), | intent(in) | :: | wspd | Input wind speed [m/s] |
||
real(kind=rk), | intent(in) | :: | wdir | Input wind direction [rad], mathematical convention |
||
real(kind=rk), | intent(in) | :: | input_height | Height of input wind speed [m/s] |
||
real(kind=rk), | intent(in) | :: | ustar | Air-side friction velocity [m/s] |
||
real(kind=rk), | intent(in) | :: | vonkarman | Von Karman constant |
Returns a spectrum instance with the wave dissipation ($S_{ds}$) tendency formulated by Donelan et al. (2012).
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(spectrum_type), | intent(in) | :: | spectrum | Linear coefficient of the dissipation function |
||
real(kind=rk), | intent(in) | :: | sds_coefficient | Linear coefficient of the dissipation function |
||
real(kind=rk), | intent(in) | :: | sds_power | The exponent of the saturation spectrum |
||
real(kind=rk), | intent(in) | :: | mss_coefficient | Linear coefficient of the mean square slope adjustment to Sds |
Result tendency instance
Returns a spectrum instance with the wave dissipation due to turbulence ($S_{dt}$) tendency formulated by Donelan et al. (2012).
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(spectrum_type), | intent(in) | :: | spectrum | Spectrum instance |
||
real(kind=rk), | intent(in) | :: | sdt_coefficient | Linear coefficient of the turbulent dissipation function |
||
real(kind=rk), | intent(in) | :: | ustar | Air-side friction velocity [m/s] |
Result tendency instance
Returns a spectrum instance with the wave dissipation tendency due to bottom friction and percolation, formulated by Donelan et al. (2012).
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(spectrum_type), | intent(in) | :: | spectrum | Spectrum instance |
||
real(kind=rk), | intent(in) | :: | friction_coefficient | Bottom friction coefficient [m/s] |
||
real(kind=rk), | intent(in) | :: | percolation_coefficient | Bottom permeability coefficient [m/s] |
Result tendency instance
Returns a spectrum instance with the bottom friction ($S_{bot}$) tendency based on JONSWAP field data (Hasselmann et al., 1973). It is also the default parameterization scheme used in the WAM model (WAMDIG, 1988).
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(spectrum_type), | intent(in) | :: | spectrum | Spectrum instance |
||
real(kind=rk), | intent(in) | :: | friction_coefficient | Bottom friction coefficient [m/s] |
Result tendency instance
Returns a spectrum instance with the non-linear wave-wave energy transfer ($S_{nl}$) tendency formulated by Donelan et al. (2012).
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(spectrum_type), | intent(in) | :: | spectrum | Spectrum instance |
||
type(spectrum_type), | intent(in) | :: | sds_tendency | Spectral dissipation tendency instance |
||
real(kind=rk), | intent(in) | :: | snl_coefficient | Linear coefficient of the dissipation function |
Result tendency instance