This shape class describes general short crested spectral waves propagating in infinite water depth.
Xjx(x) = e − ikjxx, Yjy(y) = e − ikjyy, Zjy, jx(z) = ekjy, jxz
The set of real constants kjx and kjy resemble wave numbers in the x and y directions respectively. It follows that the kinematics is periodic in space
ϕ(x + Lx, y + Ly, z, t) = ϕ(x, y, z, t), ζ(x + Lx, y + Ly, t) = ζ(x, y, t)
where λmin is the shortest wave lengths resolved. The actual set of shape functions is uniquely defined by the five input parameters Δkx, Δky, nx, ny and d.
Note
The fields related to jx = jy = 0 are uniform in space (DC bias). Non-zero values of h0, 0(t) violates mass conservation. The amplitude c0, 0(t) adds a uniform time varying ambient pressure field not influencing the flow field. Consequently, these components will by default be suppressed in the kinematic calculations. However, there is an option in the API for including all DC values provided by the wave generator<wave-generator>
.
The fields related to jx = nx and jy = ± ny are expected to correspond to the Nyquist frequencies of the physical resolution applied in the wave generator<wave-generator>
. Hence, typical nx = ⌊nx, fft/2⌋ and ny = ⌊ny, fft/2⌋ where nx, fft and ny, fft are the physical spatial resolutions applied in the wave generator<wave-generator>
, in the x and y directions respectively.
Evaluation of kinematics in short-crested seas is in general computational demanding. Consequently, this API provides several alternative implementations in order to exploit eventual symmetric properties or numerical approximations.
Shape 4, impl 1: <shape_4_impl_1>
A general implementation.Shape 4, impl 2: <shape_4_impl_2>
Optimized for symmetric resolution Δkx = Δky and nx = ny.
shape_4_impl_1 shape_4_impl_2