wavepower#

[E, Pw, Sxx, Syy] = wavepower(h, H, T, Rho, kCalcMethod)

Description#

Calculate wave power

Inputs#

h

Water depth in (m)

H
Wave height in (m), H can be approximated and replaced by Hrms for random waves
Hrms: root mean square wave height, Hrms=Hm0/sqrt(2)=Hs/sqrt(2)
Hm0: zero moment wave height, Hs: significant wave height
T
Wave period in (s), T can be approximated and replaced by mean wave period for random waves
If peak wave frequency (Tp) is used, calculated values represent peak wave
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
Note: inputs can be as a single value or a 1-D vertical array

Outputs#

E

Wave energy in (Joule/m^2)

Pw

Wave power in (Watt/m)

Sxx

Wave radiation stress in x direction in (N/m)

Syy

Wave radiation stress in y direction in (N/m)

Examples#

[E,Pw,Sxx,Syy]=wavepower(1,0.5,3,1000,'beji');

[E,Pw,Sxx,Syy]=wavepower([1;1.1],[0.5;0.6],[3;3.1],1000,'exact');

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.