Skip to content

eulerjs API / @eulerjs/marine / SeaState

SeaState ​

Defined in: packages/marine/src/waves/spectrum.ts:8

The JONSWAP spectrum of a wind sea, after Horvath's "Empirical directional wave spectra for computer graphics" (2015): how much of the sea's energy there is at each frequency, from the wind's speed and how far it has blown over open water, and how that energy spreads about the wind's direction (Mitsuyasu's cos²ˢ(θ/2), narrower near the peak). Deep water throughout.

Properties ​

PropertyTypeDescriptionDefined in
fetchnumberHow far the wind has blown over open water, in metres.packages/marine/src/waves/spectrum.ts:12
gravitynumber-packages/marine/src/waves/spectrum.ts:15
peakEnhancementnumberThe peak enhancement γ: 3.3 for a young sea, 1 for the Pierson–Moskowitz spectrum of a fully grown one.packages/marine/src/waves/spectrum.ts:14
windSpeednumberWind speed ten metres up, in m/s.packages/marine/src/waves/spectrum.ts:10

Released under the MIT License.