CCPP Scientific Documentation
v5.0.0
GFS Rayleigh Damping Module

This is the Rayleigh friction calculation with total energy conservation. More...

Detailed Description

Role of Rayleigh friction, it attempts to resolve two issues:

Argument Table

rayleigh_damp_run argument table
local_namestandard_namelong_nameunitstypedimensionskindintentoptional
lsideaflag_idealized_physicsflag for idealized physicsflaglogical()inFalse
imhorizontal_loop_extenthorizontal loop extentcountinteger()inFalse
kmvertical_dimensionnumber of vertical layerscountinteger()inFalse
Atendency_of_y_wind_due_to_model_physicsmeridional wind tendency due to model physicsm s-2real(horizontal_dimension, vertical_dimension)kind_physinoutFalse
Btendency_of_x_wind_due_to_model_physicszonal wind tendency due to model physicsm s-2real(horizontal_dimension, vertical_dimension)kind_physinoutFalse
Ctendency_of_air_temperature_due_to_model_physicsair temperature tendency due to model physicsK s-1real(horizontal_dimension, vertical_dimension)kind_physinoutFalse
u1x_windzonal windm s-1real(horizontal_dimension, vertical_dimension)kind_physinFalse
v1y_windmeridional windm s-1real(horizontal_dimension, vertical_dimension)kind_physinFalse
dttime_step_for_physicsphysics time stepsreal()kind_physinFalse
cpspecific_heat_of_dry_air_at_constant_pressurespecific heat of dry air at constant pressureJ kg-1 K-1real()kind_physinFalse
levrnumber_of_vertical_layers_for_radiation_calculationsnumber of vertical layers for radiation calculationscountinteger()inFalse
pgrsurface_air_pressuresurface pressurePareal(horizontal_dimension)kind_physinFalse
prslair_pressuremid-layer pressurePareal(horizontal_dimension, vertical_dimension)kind_physinFalse
prslrd0pressure_cutoff_for_rayleigh_dampingpressure level above which to apply Rayleigh dampingPareal()kind_physinFalse
ral_tstime_scale_for_rayleigh_dampingtime scale for Rayleigh dampingdreal()kind_physinFalse
ldiag3dflag_diagnostics_3Dflag for calculating 3-D diagnostic fieldsflaglogical()inFalse
du3dtcumulative_change_in_x_wind_due_to_rayleigh_dampingcumulative change in zonal wind due to Rayleigh dampingm s-1real(horizontal_dimension, vertical_dimension)kind_physinoutFalse
dv3dtcumulative_change_in_y_wind_due_to_rayleigh_dampingcumulative change in meridional wind due to Rayleigh dampingm s-1real(horizontal_dimension, vertical_dimension)kind_physinoutFalse
dt3dtcumulative_change_in_temperature_due_to_rayleigh_dampingcumulative change in temperature due to Rayleigh dampingKreal(horizontal_dimension, vertical_dimension)kind_physinoutFalse
errmsgccpp_error_messageerror message for error handling in CCPPnonecharacter()len=*outFalse
errflgccpp_error_flagerror flag for error handling in CCPPflaginteger()outFalse

GFS rayleigh_damp_runGeneral Algorithm

Functions/Subroutines

subroutine rayleigh_damp::rayleigh_damp_run ( lsidea, IM, KM, A, B, C, U1, V1, DT, CP, LEVR, pgr, PRSL, PRSLRD0, ral_ts, ldiag3d, du3dt, dv3dt, dt3dt, errmsg, errflg)