Tolman and Chalikov (1996) input and dissipation source terms. More...
Functions/Subroutines | |
| subroutine | w3spr2 (A, CG, WN, DEPTH, FPI, U, USTAR, EMEAN, FMEAN, WNMEAN, AMAX, ALFA, FP) |
| Calculate mean wave parameters for the use in the source term routines (Tolman and Chalikov). More... | |
| subroutine | w3sin2 (A, CG, K, U, UDIR, CD, Z0, FPI, S, D) |
| Calculate input source term. More... | |
| subroutine | w3sds2 (A, CG, K, FPI, USTAR, ALFA, S, D) |
| Calculate whitecapping source term and diagonal term of derivative. More... | |
| subroutine | inptab |
| Generate an interpolation table for the air-sea interaction parameter of Chalikov and Belevich (1993). More... | |
Tolman and Chalikov (1996) input and dissipation source terms.
Bundled with interpolation tables.
| subroutine w3src2md::inptab |
Generate an interpolation table for the air-sea interaction parameter of Chalikov and Belevich (1993).
The size of the table is set in parameter statements, the range is set by the input parameters of this routine. The first counter of the table corresponds to the nondimensional frequency
SIGMA Ul
SIGA = ---------- COS ( THETA - THETA ) (1)
g windThe second counter of the table represents the drag coefficient. The maximum values of both parameters are passed to the routine through the parameter list.
Definition at line 848 of file w3src2md.F90.
References w3odatmd::ndst, w3servmd::strace(), and w3beta().
Referenced by w3iogrmd::w3iogr().
| subroutine w3src2md::w3sds2 | ( | real, dimension(nth,nk), intent(in) | A, |
| real, dimension(nk), intent(in) | CG, | ||
| real, dimension(nk), intent(in) | K, | ||
| real, intent(in) | FPI, | ||
| real, intent(in) | USTAR, | ||
| real, dimension(nk), intent(in) | ALFA, | ||
| real, dimension(nth,nk), intent(out) | S, | ||
| real, dimension(nth,nk), intent(out) | D | ||
| ) |
Calculate whitecapping source term and diagonal term of derivative.
| [in] | A | Input action density spectrum. |
| [in] | CG | Group velocity array. |
| [in] | K | Wavenumber array. |
| [in] | FPI | 'Peak frequency' of input (rad/s). |
| [in] | USTAR | Friction velocity (m/s). |
| [in] | ALFA | Phillips' constant. |
| [out] | S | Source term (1-D version). |
| [out] | D | Diagonal term of derivative (1-D version). |
Definition at line 583 of file w3src2md.F90.
References w3gdatmd::cdsa0, w3gdatmd::cdsa1, w3gdatmd::cdsa2, w3gdatmd::cdsb0, w3gdatmd::cdsb1, w3gdatmd::cdsb2, w3gdatmd::cdsb3, w3gdatmd::dden, w3gdatmd::dth, w3gdatmd::facti1, w3gdatmd::facti2, w3gdatmd::fpimin, w3gdatmd::fte, constants::g1pi1i, constants::g2pi3i, constants::grav, w3odatmd::ndst, w3gdatmd::nk, w3gdatmd::nth, w3arrymd::outmat(), w3arrymd::prt2ds(), w3gdatmd::sdsaln, w3gdatmd::sig, w3servmd::strace(), constants::tpiinv, w3gdatmd::xf1, w3gdatmd::xf2, and w3gdatmd::xfh.
Referenced by gxexpo(), w3exnc(), w3expo(), and w3srcemd::w3srce().
| subroutine w3src2md::w3sin2 | ( | real, dimension(nspec), intent(in) | A, |
| real, dimension(nk), intent(in) | CG, | ||
| real, dimension(nspec), intent(in) | K, | ||
| real, intent(in) | U, | ||
| real, intent(in) | UDIR, | ||
| real, intent(in) | CD, | ||
| real, intent(in) | Z0, | ||
| real, intent(out) | FPI, | ||
| real, dimension(nspec), intent(out) | S, | ||
| real, dimension(nspec), intent(out) | D | ||
| ) |
Calculate input source term.
| [in] | A | Action density spectrum (1-D). |
| [in] | CG | Group velocities for k-axis of spectrum. |
| [in] | K | Wavenumber for entire spectrum (1-D). |
| [in] | U | Wind speed at reference height. |
| [in] | UDIR | Direction of U. |
| [in] | CD | Drag coefficient at wind level ZWIND. |
| [in] | Z0 | Corresponding z0. |
| [out] | FPI | Input 'peak' frequency. |
| [out] | S | Source term (1-D version). |
| [out] | D | Diagonal term of derivative (1-D version). |
Definition at line 309 of file w3src2md.F90.
References w3gdatmd::dden, w3gdatmd::ecos, w3gdatmd::esin, w3gdatmd::facti1, w3gdatmd::facti2, w3gdatmd::fpimin, w3gdatmd::fswell, w3gdatmd::fte, w3gdatmd::fttr, constants::grav, w3odatmd::ndst, w3gdatmd::nk, w3gdatmd::nspec, w3gdatmd::nth, w3arrymd::outmat(), w3arrymd::prt2ds(), constants::rade, w3gdatmd::sig, w3gdatmd::sig2, w3servmd::strace(), constants::tpi, w3gdatmd::xfr, and w3gdatmd::zwind.
Referenced by gxexpo(), w3exnc(), w3expo(), and w3srcemd::w3srce().
| subroutine w3src2md::w3spr2 | ( | real, dimension(nth,nk), intent(in) | A, |
| real, dimension(nk), intent(in) | CG, | ||
| real, dimension(nk), intent(in) | WN, | ||
| real, intent(in) | DEPTH, | ||
| real, intent(in) | FPI, | ||
| real, intent(in) | U, | ||
| real, intent(in) | USTAR, | ||
| real, intent(out) | EMEAN, | ||
| real, intent(out) | FMEAN, | ||
| real, intent(out) | WNMEAN, | ||
| real, intent(out) | AMAX, | ||
| real, dimension(nk), intent(out) | ALFA, | ||
| real, intent(out) | FP | ||
| ) |
Calculate mean wave parameters for the use in the source term routines (Tolman and Chalikov).
| [in] | A | Action density spectrum. |
| [in] | CG | Group velocities. |
| [in] | WN | Wavenumbers. |
| [in] | DEPTH | Water depth. |
| [in] | FPI | Peak input frequency. |
| [in] | U | Wind speed. |
| [in] | USTAR | Friction velocity. |
| [out] | EMEAN | Total energy (variance). |
| [out] | FMEAN | Mean frequency. |
| [out] | WNMEAN | Mean wavenumber. |
| [out] | AMAX | Maximum of action spectrum. |
| [out] | ALFA | Phillips' constant. |
| [out] | FP | Peak frequency. |
Definition at line 127 of file w3src2md.F90.
References w3gdatmd::cinxsi, w3gdatmd::dden, w3dispmd::dfac, w3dispmd::dsie, w3gdatmd::dth, w3dispmd::ecg1, w3dispmd::ewn1, w3gdatmd::fte, w3gdatmd::ftf, w3gdatmd::ftwn, constants::grav, w3dispmd::n1max, w3dispmd::nar1d, w3odatmd::ndst, w3gdatmd::nittin, w3gdatmd::nk, w3gdatmd::nth, w3gdatmd::sig, w3servmd::strace(), constants::tpiinv, and w3gdatmd::zwind.
Referenced by gxexpo(), w3exnc(), w3expo(), and w3srcemd::w3srce().