seaSpectrum
A model of the spectrum of omnidirectional motion of the sea surface.
| Library |
|
Description
Use the function seaSpectrum to create a spectrum model to use in an argument SpectralModel functions seaSurface.
Syntax
Function call
-
seaspect = seaSpectrum()— creates an objectseaspect, whose properties are set by default.The spectrum of the sea surface and the default wave propagation function are based on the Elfouhaily model [1]. The Elfuhaili model is an omnidirectional wind-dependent spectrum. The wave spectrum consists of the frequency spectrum and the angular function of wave propagation. The wave propagation function is symmetric with respect to the wind direction and depends on both the wave number and the wind speed.
-
seaspect = seaSpectrum(Name=Value)— sets properties specified by one or more arguments of the type «name-value». Unspecified properties retain their default values.
Arguments
Input arguments «name-value»
Specify optional argument pairs as Name=Value, where Name — the name of the argument, and Value — the appropriate value. You can specify multiple pairs «name-value».
# SpectrumSource — Omnidirectional spectrum source
+
"Auto" (by default) | "Custom"
Details
An omnidirectional wave spectrum source specified using one of the following methods:
-
"Auto"— creates the spectrum of the Elfuhaili Sea. The facility offers properties that allow you to customize the spectrum of the Elfuhaili Sea. -
"Custom"— allows you to set an omnidirectional wave spectrum using argumentsCustomSpectrumandWaveVectorSpacing.
| Типы данных |
|
# Resolution — resolution of the sea surface
+
8 (by default) | scalar | vector
Details
The resolution of the sea surface, set as a positive scalar or vector of positive length values 2. The resolution vector has the form [resolutionX resolutionY], where resolutionX and resolutionY denote the resolution along the axes and accordingly. If the resolution is a scalar, then the resolution along the axes is and identically.
The physical length of the sea surface is calculated as the difference between the limits of the argument Boundary functions seaSurface on the axes and . The length of the sea surface has intervals between counts specified by the argument Resolution. The length should not be less than 0.02 m, because the wave motion is lower 0.02 m is minimal. The units of measurement are meters.
| Типы данных |
|
# CustomSpectrum — Omnidirectional wave spectrum
+
the matrix
Details
An omnidirectional wave spectrum defined as a size matrix on . Measurements and the length of the inverse fast Fourier transform (OBFT) is determined when data on the height of the sea surface is returned along the axes and accordingly.
The resolution for the user case is calculated as
where — the physical length of the sea surface, calculated as the difference between the limits of the argument Boundary functions seaSurface on the axes and .
Dependencies
To use this argument, set for the argument SpectrumSource meaning "Custom".
| Типы данных |
|
# WaveVectorSpacing — the distance between the wave vectors in space
+
2*π/1024 (by default) | scalar | vector
Details
The positive distance between the wave vectors in space, defined as a scalar or length vector 2 like [kx ky]. This argument represents the distance between the wave vectors along the axes and accordingly. The units of measurement are rad/m. This argument is usually set to
where — the physical length of the sea surface, calculated as the difference between the limits of the argument Boundary functions seaSurface on the axes and .
Dependencies
To use this argument, set for the argument SpectrumSource meaning "Custom".
| Типы данных |
|
Literature
-
Elfouhaily, T., B. Chapron, K. Katsaros, and D. Vandemark. «A Unified Directional Spectrum for Long and Short Wind-Driven Waves.» Journal of Geophysical Research: Oceans 102, no. C7 (July 15, 1997): 15781-96. https://doi.org/10.1029/97JC00467
-
Tessendorf, Jerry. «Simulating Ocean Water.» Presented at SigGraph, 1999 – 2004.