Nonlinear interaction based ‘smoother’ for high frequencies. More...
Functions/Subroutines | |
| subroutine | w3snls (A, CG, WN, DEPTH, UABS, DT, SNL, AA) |
| High-frequeny filter based on the nonlinear interactions for an uresolved quadruplet. More... | |
| subroutine | insnls |
| Initializations for the Snl / filter source term for high frequencies. More... | |
Variables | |
| real, parameter | abmax = 0.25 |
Nonlinear interaction based ‘smoother’ for high frequencies.
| subroutine w3snlsmd::insnls |
Initializations for the Snl / filter source term for high frequencies.
Precompute weight functions and store in array.
Definition at line 667 of file w3snlsmd.F90.
References w3gdatmd::cnlsa, w3gdatmd::dth, w3servmd::extcde(), constants::grav, w3gdatmd::igrid, w3gdatmd::mpars, w3odatmd::ndse, w3odatmd::ndst, w3gdatmd::nfrx, w3gdatmd::nk, w3gdatmd::nsph, w3gdatmd::nspl, w3gdatmd::nth, w3gdatmd::nthx, constants::rade, w3gdatmd::snsst, w3servmd::strace(), constants::tpiinv, w3dispmd::wavnu2(), and w3gdatmd::xfr.
Referenced by w3iogrmd::w3iogr().
| subroutine w3snlsmd::w3snls | ( | real, dimension(nth,nfr), intent(in) | A, |
| real, dimension(nfr), intent(in) | CG, | ||
| real, dimension(nfr), intent(in) | WN, | ||
| real, intent(in) | DEPTH, | ||
| real, intent(in) | UABS, | ||
| real, intent(in) | DT, | ||
| real, dimension(nth,nfr), intent(out), optional | SNL, | ||
| real, dimension(nth,nfr), intent(out), optional | AA | ||
| ) |
High-frequeny filter based on the nonlinear interactions for an uresolved quadruplet.
Compute interactions for a quadruplet that is not resolved by the discrete spectral rsolution, and then reduces to a simple five-point stencil. Furthermore interactions are filtered by frequency to allow for high-frequency impact only, and the integration schem is embedded, and reduces to a filter technique for large time steps or strong interactions.
| [in] | A | Action spectrum A(ITH,IK) as a function of direction (rad) and wavenumber. |
| [in] | CG | Group velocities (dimension NK). |
| [in] | WN | Wavenumbers (dimension NK). |
| [in] | DEPTH | Water depth in meters. |
| [in] | UABS | Wind speed (m/s). |
| [in] | DT | Numerical time step (s). |
| [out] | SNL | Nonlinear source term. |
| [out] | AA | Averaged spectrum. |
Definition at line 132 of file w3snlsmd.F90.
References w3gdatmd::cnlsc, w3gdatmd::cnlsc1, w3gdatmd::cnlsc2, w3gdatmd::cnlsc3, w3gdatmd::cnlsfm, w3gdatmd::dth, expand(), w3gdatmd::fachfa, constants::grav, w3odatmd::ndse, w3odatmd::ndst, w3gdatmd::nfrx, w3gdatmd::nk, w3gdatmd::nsph, w3gdatmd::nspl, w3gdatmd::nth, w3gdatmd::nthx, w3arrymd::prt2ds(), w3gdatmd::sig, w3gdatmd::snsst, w3servmd::strace(), constants::tpi, constants::tpiinv, w3dispmd::wavnu1(), and w3gdatmd::xfr.
Referenced by w3srcemd::w3srce().
| real, parameter w3snlsmd::abmax = 0.25 |
Definition at line 101 of file w3snlsmd.F90.