wavepowerfrompsd#

[E, Pw] = wavepowerfrompsd(h, f, Syy, Rho, kCalcMethod)

Description#

Calculate wave energy and wave power from power spectral density

Inputs#

h

Water depth in (m)

f

frequency in (Hz)

Syy

Wave power spectral density in (m^2/Hz)

Rho=1000;

Water density in (kg/m^3)

kCalcMethod=’beji’;
Wave number calculation method
‘hunt’: Hunt (1979), ‘beji’: Beji (2013), ‘vatankhah’: Vatankhah and Aghashariatmadari (2013)
‘goda’: Goda (2010), ‘exact’: calculate exact value

Outputs#

E

Wave Energy in (Joule/m^2)

Pw

Wave Power in (Watt/m)

Examples#

[E,Pw]=wavepowerfrompsd(1,[0;0.1;0.2;0.3;0.4;0.5],[0;1e-5;1e-4;1e-3;1e-4;1e-5],1000,'beji');

References#

Beji, S. (2013). Improved explicit approximation of linear dispersion relationship for gravity waves. Coastal Engineering, 73, 11-12.

Goda, Y. (2010). Random seas and design of maritime structures. World scientific.

Hunt, J. N. (1979). Direct solution of wave dispersion equation. Journal of the Waterway Port Coastal and Ocean Division, 105(4), 457-459.

Vatankhah, A. R., & Aghashariatmadari, Z. (2013). Improved explicit approximation of linear dispersion relationship for gravity waves: A discussion. Coastal engineering, 78, 21-22.