pressureresponse#
[Kp, f] = pressureresponse(f, h, heightfrombed, kCalcMethod, dispout)
Description#
Calculate a pressure response factor
Inputs#
- f
Frequency in (Hz)
- h
Water depth in (m)
- heightfrombed
Height from bed that Kp calculated at in (m)
- kCalcMethod=’beji’;
- Wave number calculation method‘hunt’: Hunt (1979), ‘beji’: Beji (2013), ‘vatankhah’: Vatankhah and Aghashariatmadari (2013)‘goda’: Goda (2010), ‘exact’: calculate exact value
- dispout=’no’;
- Define to display outputs or not (‘yes’: display, ‘no’: not display)Note: inputs can be as a single value or a 1-D vertical array
Outputs#
- Kp
Pressure response factor
- f
Frequency (Hz)
Examples#
[Kp,f]=pressureresponse(0.2,1,0.2,'beji','no');
[Kp,f]=pressureresponse([0.2;0.25],[0.5;0.6],0.2,'exact','yes');
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.