Source term module for swell dissipation. More...
Functions/Subroutines | |
| subroutine, public | w3swl4 (A, CG, WN, DAIR, S, D) |
| FIXME. More... | |
| subroutine, public | w3swl6 (A, CG, WN, S, D) |
| Turbulent dissipation of narrow-banded swell. More... | |
Source term module for swell dissipation.
Source term for swell dissipation based on different physics that can be independently selected from the input and whitecapping dissipation terms in the model setup.
| subroutine, public w3swldmd::w3swl4 | ( | real, dimension(nspec), intent(in) | A, |
| real, dimension(nk), intent(in) | CG, | ||
| real, dimension(nk), intent(in) | WN, | ||
| real, intent(in) | DAIR, | ||
| real, dimension(nspec), intent(out) | S, | ||
| real, dimension(nspec), intent(out) | D | ||
| ) |
FIXME.
A, S, D all stored as 1-D arrays with dimension NTH*NK (column by column).
| [in] | A | Action density spectrum. |
| [in] | CG | Group velocities. |
| [in] | WN | Wavenumbers. |
| [in] | DAIR | Air density. |
| [out] | S | Source term. |
| [out] | D | Diagonal term of the derivative. |
Definition at line 94 of file w3swldmd.F90.
References w3gdatmd::dden, constants::dwat, w3gdatmd::fte, constants::grav, w3gdatmd::nk, w3gdatmd::nspec, w3gdatmd::nth, w3gdatmd::sig2, w3servmd::strace(), and w3gdatmd::swl6b1.
| subroutine, public w3swldmd::w3swl6 | ( | real, dimension(nspec), intent(in) | A, |
| real, dimension(nk), intent(in) | CG, | ||
| real, dimension(nk), intent(in) | WN, | ||
| real, dimension(nspec), intent(out) | S, | ||
| real, dimension(nspec), intent(out) | D | ||
| ) |
Turbulent dissipation of narrow-banded swell.
A, S, D all stored as 1-D arrays with dimension NTH*NK (column by column).
Described in Babanin (2011, Section 7.5). Babanin 2011: Cambridge Press, 295-321, 463pp.
S = D * A
| [in] | A | Action density spectrum. |
| [in] | CG | Group velocities. |
| [in] | WN | Wavenumbers. |
| [out] | S | Source term. |
| [out] | D | Diagonal term of the derivative. |
Definition at line 252 of file w3swldmd.F90.
References w3gdatmd::dden, w3gdatmd::dth, w3gdatmd::fte, w3gdatmd::ftwn, constants::grav, w3odatmd::ndst, w3gdatmd::nk, w3gdatmd::nspec, w3gdatmd::nth, w3gdatmd::sig, w3servmd::strace(), w3gdatmd::swl6b1, and w3gdatmd::swl6cstb1.
Referenced by gxexpo(), w3exnc(), w3expo(), and w3srcemd::w3srce().