Solves the wave dispersion relation using the newton-raphson method including currents in matlab

The following Matlab project contains the source code and Matlab examples used for solves the wave dispersion relation using the newton-raphson method including currents . Solves the wave dispersion relation   sig^2 = g*wk*tanh(wk*h)  where   g = gravity [L/T^2]   h = water depth [L]   sig = Relative angular frequency [rad/T]   sig = wa - wk*cos(wd)*u - wk*cos(wd)*v = wa - wk*uk [rad/T]   uk = cos(wd)*u + sin(wd)*v [L/T]   u = current velocity in x direction [L/T]   v = current velocity in y direction [L/T]  The Newton-Raphson Method is given by    wk(n+1) = wk(n) - f(k(n))/fp(k(n))  where    f = g*wk*tanh(wk*h) - sig^2    fp = g*(tanh(wk*h) - h*wk*(tanh(wk*h)^2-1)) + 2*uk*sig  Makes initial guess using  Guo, J.

The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

Project Files: 

File NameSize
license.txt 1312
wavenumber.m 3597

SocialTags: