Dispersion relation for water waves

版本 1.1.0.0 (40.5 KB) 作者: Frederic Moisy
Dispersion relation, and its inverse, for surface waves (eg, finding wavenumber from frequency).
2.4K 次下载
更新时间 2010/4/30

查看许可证

This set of functions simply provides an easy way to work with the dispersion relation of surface waves, given by

omega(k) = sqrt ( tanh(k*h0) * (g*k + gamma*k^3/rho))

where omega is the pulsation (in rad/s), k the wavenumber (in 1/m), h0 the depth, g the gravity, gamma the surface tension and rho the density.

The function kfromw allows one to invert the dispersion relation, i.e. to give the value of omega for a given value of k.
(For infinite depth, kfromw simply inverts the cubic polynomial. For finite depth, a zero-finding method is used, starting from the infinite depth solution).

By default, the physical parameters (liquid densities, surface tension, etc.) are set for an air-water interface under usual conditions, with a water layer of infinite depth ("deep water waves"). Use the function wave_parameter to change those properties.

See the published file "demo" to learn more about this package.

引用格式

Frederic Moisy (2024). Dispersion relation for water waves (https://www.mathworks.com/matlabcentral/fileexchange/27391-dispersion-relation-for-water-waves), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R14
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Oceanography and Hydrology 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.1.0.0

typing errors

1.0.0.0