Parmeterization of the unresolved obstacles. More...
Functions/Subroutines | |
| subroutine, public | uost_initgrid (IGRID, FILELOCAL, FILESHADOW, LOCALFACTOR, SHADOWFACTOR) |
| Allocate the UOST variables for a given grid, and load them from file. More... | |
| subroutine, public | uost_setgrid (IGRID) |
| Sets the current grid in the sourceterm object. More... | |
| subroutine, public | uost_srctrmcompute (IX, IY, SPEC, CG, DT, U10ABS, U10DIR, S, D) |
| Estimates the UOST source term for a give spectrum. More... | |
| subroutine | uost_sourceterm_compute_ld (THIS, IX, IY, SPEC, CG, DT, U10ABS, U10DIR, S, D) |
| Method of the class UOST_SOURCETERM. More... | |
Parmeterization of the unresolved obstacles.
| subroutine, public w3uostmd::uost_initgrid | ( | integer, intent(in) | IGRID, |
| character(len=*), intent(in) | FILELOCAL, | ||
| character(len=*), intent(in) | FILESHADOW, | ||
| real, intent(in) | LOCALFACTOR, | ||
| real, intent(in) | SHADOWFACTOR | ||
| ) |
Allocate the UOST variables for a given grid, and load them from file.
| [in] | IGRID | Id of the grid being initialized. |
| [in] | FILELOCAL | File from where the alpha/beta coefficient for the local dissipation are loaded. |
| [in] | FILESHADOW | File from where the alpha/beta coefficient for the shadow effect are loaded. |
| [in] | LOCALFACTOR | Adjustment parameter for the local dissipation alpha and beta. |
| [in] | SHADOWFACTOR | Adjustment parameter for the shadow dissipation alpha and beta. |
Definition at line 123 of file w3uostmd.F90.
References w3gdatmd::grids, w3odatmd::ndso, w3gdatmd::sgrds, and w3servmd::strace().
Referenced by w3iogrmd::w3iogr().
| subroutine, public w3uostmd::uost_setgrid | ( | integer, intent(in) | IGRID | ) |
Sets the current grid in the sourceterm object.
| [in] | IGRID | Id of the actual grid. |
Definition at line 232 of file w3uostmd.F90.
References w3gdatmd::grids, w3gdatmd::sgrds, and w3servmd::strace().
Referenced by w3initmd::w3init(), and w3wavemd::w3wave().
| subroutine w3uostmd::uost_sourceterm_compute_ld | ( | class(uost_sourceterm), intent(inout) | THIS, |
| integer, intent(in) | IX, | ||
| integer, intent(in) | IY, | ||
| real, dimension(this%sgd%nspec), intent(in) | SPEC, | ||
| real, dimension(this%sgd%nk), intent(in) | CG, | ||
| real, intent(in) | DT, | ||
| real, intent(in) | U10ABS, | ||
| real, intent(in) | U10DIR, | ||
| real, dimension(this%sgd%nspec), intent(out) | S, | ||
| real, dimension(this%sgd%nspec), intent(out) | D | ||
| ) |
Method of the class UOST_SOURCETERM.
Computation of the local dissipation of the spectrum.
| [in,out] | THIS | Instance of UOST_SOURCETERM passed to the method. |
| [in] | IX | X coordinates of actual call. |
| [in] | IY | Y coordinates of actual call. |
| [in] | SPEC | Input spectrum. |
| [in] | CG | Group velocity. |
| [in] | DT | Time step. |
| [in] | U10ABS | Absolute value of U10. |
| [in] | U10DIR | Direction of U10. |
| [out] | S | Source term. |
| [out] | D | Differential of the source term over the spectrum. |
Definition at line 794 of file w3uostmd.F90.
References w3servmd::strace().
| subroutine, public w3uostmd::uost_srctrmcompute | ( | integer, intent(in) | IX, |
| integer, intent(in) | IY, | ||
| real, dimension(srctrm%sgd%nspec), intent(in) | SPEC, | ||
| real, dimension(srctrm%sgd%nk), intent(in) | CG, | ||
| real, intent(in) | DT, | ||
| real, intent(in) | U10ABS, | ||
| real, intent(in) | U10DIR, | ||
| real, dimension(srctrm%sgd%nspec), intent(out) | S, | ||
| real, dimension(srctrm%sgd%nspec), intent(out) | D | ||
| ) |
Estimates the UOST source term for a give spectrum.
| [in] | IX | |
| [in] | IY | |
| [in] | SPEC | |
| [in] | CG | |
| [in] | DT | |
| [in] | U10ABS | |
| [in] | U10DIR | |
| [out] | S | |
| [out] | D |
Definition at line 299 of file w3uostmd.F90.
References file(), w3odatmd::ndse, w3odatmd::ndso, constants::pi, and w3servmd::strace().
Referenced by w3srcemd::w3srce().