sdt_DCCM2012 Function

public pure elemental function sdt_DCCM2012(spectrum, sdt_coefficient, ustar) result(tendency)

proc~~sdt_dccm2012~~UsesGraph proc~sdt_dccm2012 sdt_DCCM2012 module~mod_spectrum mod_spectrum module~mod_spectrum->proc~sdt_dccm2012 json_module json_module json_module->module~mod_spectrum module~mod_utility mod_utility module~mod_utility->module~mod_spectrum module~mod_precision mod_precision module~mod_precision->module~mod_spectrum module~mod_precision->module~mod_utility module~mod_const mod_const module~mod_precision->module~mod_const datetime_module datetime_module datetime_module->module~mod_spectrum module~mod_const->module~mod_spectrum iso_c_binding iso_c_binding iso_c_binding->module~mod_spectrum iso_fortran_env iso_fortran_env iso_fortran_env->module~mod_precision
Help

Returns a spectrum instance with the wave dissipation due to turbulence ($S_{dt}$) tendency formulated by Donelan et al. (2012).

The result instance has the units of 1/s. This source function can be evaluated once and stored if wavenumber array, air and water densities, and friction velocity are held constant.

References:

Donelan, M. A., M. Curcic, S. S. Chen, and A. K. Magnusson, 2012: Modeling waves and wind stress, J. Geophys. Res. Oceans, 117, C00J23, doi:10.1029/2011JC007787.

Arguments

Type IntentOptional AttributesName
type(spectrum_type), intent(in) :: spectrum

Spectrum instance

real(kind=rk), intent(in) :: sdt_coefficient

Linear coefficient of the turbulent dissipation function

real(kind=rk), intent(in) :: ustar

Air-side friction velocity [m/s]

Return Value type(spectrum_type)

Result tendency instance

Calls

proc~~sdt_dccm2012~~CallsGraph proc~sdt_dccm2012 sdt_DCCM2012 getairdensity getairdensity proc~sdt_dccm2012->getairdensity getwavenumber2d getwavenumber2d proc~sdt_dccm2012->getwavenumber2d getwaterdensity getwaterdensity proc~sdt_dccm2012->getwaterdensity
Help

Source Code


Source Code

pure elemental function sdt_DCCM2012(spectrum,sdt_coefficient,ustar)&
  result(tendency)

  !! Returns a spectrum instance with the wave dissipation due to turbulence
  !! ($S_{dt}$) tendency formulated by Donelan et al. (2012).
  !!
  !! The result instance has the units of 1/s. This source function can be
  !! evaluated once and stored if wavenumber array, air and water densities, and
  !! friction velocity are held constant.
  !!
  !! References:
  !!
  !! Donelan, M. A., M. Curcic, S. S. Chen, and A. K. Magnusson, 2012: Modeling
  !! waves and wind stress, *J. Geophys. Res. Oceans*, **117**, C00J23,
  !! doi:10.1029/2011JC007787.

  use mod_spectrum,only:spectrum_type

  type(spectrum_type),intent(in) :: spectrum
    !! Spectrum instance
  real(kind=rk),intent(in) :: sdt_coefficient
    !! Linear coefficient of the turbulent dissipation function
  real(kind=rk),intent(in) :: ustar
    !! Air-side friction velocity [m/s]
  type(spectrum_type) :: tendency
    !! Result tendency instance

  tendency = sdt_coefficient * sqrt(spectrum % getAirDensity()&
    / spectrum % getWaterDensity()) * ustar * spectrum % getWavenumber2d()

endfunction sdt_DCCM2012


advect1dRank1 advect1dRank2 advect2dRank2 advectCentered2ndOrder advectCentered2ndOrder1dRank0 advectCentered2ndOrder1dRank1 advectCentered2ndOrder1dRank2 advectCentered2ndOrder2dRank0 advectCentered2ndOrder2dRank1 advectCentered2ndOrder2dRank2 advectUpwind1stOrder advectUpwind1stOrder1dRank0 advectUpwind1stOrder1dRank1 advectUpwind1stOrder1dRank2 advectUpwind1stOrder2dRank0 advectUpwind1stOrder2dRank1 advectUpwind1stOrder2dRank2 assign_array_1d assign_array_2d assign_spectrum_array_1d assign_spectrum_array_2d backward_euler backward_euler_domain backward_euler_spectrum constructor constructor constructor_1d constructor_2d diff diff_1d diff_2d diff_periodic diff_periodic_1d diff_periodic_2d domain_add_domain domain_add_real domain_div_domain domain_div_real domain_mult_domain domain_mult_real domain_sub_domain domain_sub_real domain_type domain_unary_minus donelanHamiltonHui donelanHamiltonHuiDirectionalSpectrum donelanHamiltonHuiDirectionalSpreading elevation eq eq exact_exponential exact_exponential_domain exact_exponential_spectrum forward_euler forward_euler_domain forward_euler_spectrum frequencyMoment frequencyMoment ge getAirDensity getAirDensity getAmplitude getAxisX getAxisY getCurrent_u getCurrent_u getCurrent_v getCurrent_v getDepth getDepth getDepthLevels getDirections getDirections getDirections2d getElevation getElevation getFrequency getFrequency getFrequency2d getGravity getGravity getGrid getGridRotation getGridSpacingX getGridSpacingXWithHalo getGridSpacingY getGridSpacingYWithHalo getGroupSpeed getGroupSpeed getGroupSpeed2d getLatitude getLongitude getLowerBounds getLowerBounds getPhaseSpeed getPhaseSpeed getPhaseSpeed2d getSpectrum getSpectrum getSpectrumArray getSurfaceTension getSurfaceTension getUpperBounds getUpperBounds getWaterDensity getWaterDensity getWaveAction getWavelength getWavenumber getWavenumber2d getWavenumberSpacing gravityClairaut grid_type gt horizontalAcceleration horizontalVelocity integrate integrate_domain integrate_spectrum isAllocated isAllocated isMonochromatic isOmnidirectional jonswap jonswapPeakFrequency le lt meanPeriod meanPeriod meanPeriodZeroCrossing meanPeriodZeroCrossing meanSquareSlope meanSquareSlopeDirectional momentum_x momentum_y momentumFlux_xx momentumFlux_xy momentumFlux_yy neq neq nondimensionalDepth nondimensionalEnergy nondimensionalFetch nondimensionalFrequency nondimensionalRoughness_H1986 nondimensionalRoughness_S1974 nondimensionalTime omnidirectionalSpectrum ones ones_int ones_real peakedness peakFrequency peakFrequencyDiscrete phillips piersonMoskowitz piersonMoskowitzPeakFrequency pressure range range_int range_real readJSON real2d_mult_spectrum real_add_domain real_add_spectrum real_div_domain real_div_spectrum real_mult_domain real_mult_spectrum real_sub_domain real_sub_spectrum saturationSpectrum sbf_DCCM2012 sbf_JONSWAP sds_DCCM2012 sdt_DCCM2012 setAirDensity setAirDensity setCurrent1d setCurrent2d setDepth setDepth setElevation setElevation setGravity setGravity setSpectrum1d setSpectrum1d setSpectrum2d setSpectrum2d setSpectrumArray1d1d setSpectrumArray1d2d setSpectrumArray2d2d setSurfaceTension setSurfaceTension setWaterDensity setWaterDensity significantSurfaceOrbitalVelocity significantWaveHeight significantWaveHeight sin_DCCM2012 snl_DCCM2012 spectrum_add_real spectrum_add_spectrum spectrum_div_real spectrum_div_spectrum spectrum_mult_real spectrum_mult_real2d spectrum_mult_spectrum spectrum_sub_real spectrum_sub_spectrum spectrum_type spectrum_unary_minus stokesDrift stokesDrift2d tile tile_1d_int tile_1d_real tile_2d_int tile_2d_real tile_3d_int tile_3d_real ursellNumber verticalAcceleration verticalVelocity waveAge wavenumber wavenumberMoment wavenumberMoment wavenumberSpectrum writeJSON writeJSON zeros zeros_int zeros_real