scientimate.wavepower#
E, Pw, Sxx, Syy = scientimate.wavepower(h, H, T, Rho=1000, kCalcMethod='beji')
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 wavesHrms: 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 wavesIf 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 valueNote: 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#
import scientimate as sm
import numpy as np
E,Pw,Sxx,Syy=sm.wavepower(1,0.5,3,1000,'beji')
E,Pw,Sxx,Syy=sm.wavepower([1,1.1],[0.5,0.6],[3,3.1],1000,'exact')
E,Pw,Sxx,Syy=sm.wavepower(np.array([1,1.1]),np.array([0.5,0.6]),np.array([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.