This is the Rayleigh friction calculation with total energy conservation. More...
Role of Rayleigh friction, it attempts to resolve two issues:
local_name | standard_name | long_name | units | type | dimensions | kind | intent | optional |
---|---|---|---|---|---|---|---|---|
lsidea | flag_idealized_physics | flag for idealized physics | flag | logical | () | in | False | |
im | horizontal_loop_extent | horizontal loop extent | count | integer | () | in | False | |
km | vertical_dimension | number of vertical layers | count | integer | () | in | False | |
A | tendency_of_y_wind_due_to_model_physics | meridional wind tendency due to model physics | m s-2 | real | (horizontal_dimension, vertical_dimension) | kind_phys | inout | False |
B | tendency_of_x_wind_due_to_model_physics | zonal wind tendency due to model physics | m s-2 | real | (horizontal_dimension, vertical_dimension) | kind_phys | inout | False |
C | tendency_of_air_temperature_due_to_model_physics | air temperature tendency due to model physics | K s-1 | real | (horizontal_dimension, vertical_dimension) | kind_phys | inout | False |
u1 | x_wind | zonal wind | m s-1 | real | (horizontal_dimension, vertical_dimension) | kind_phys | in | False |
v1 | y_wind | meridional wind | m s-1 | real | (horizontal_dimension, vertical_dimension) | kind_phys | in | False |
dt | time_step_for_physics | physics time step | s | real | () | kind_phys | in | False |
cp | specific_heat_of_dry_air_at_constant_pressure | specific heat of dry air at constant pressure | J kg-1 K-1 | real | () | kind_phys | in | False |
levr | number_of_vertical_layers_for_radiation_calculations | number of vertical layers for radiation calculations | count | integer | () | in | False | |
pgr | surface_air_pressure | surface pressure | Pa | real | (horizontal_dimension) | kind_phys | in | False |
prsl | air_pressure | mid-layer pressure | Pa | real | (horizontal_dimension, vertical_dimension) | kind_phys | in | False |
prslrd0 | pressure_cutoff_for_rayleigh_damping | pressure level above which to apply Rayleigh damping | Pa | real | () | kind_phys | in | False |
ral_ts | time_scale_for_rayleigh_damping | time scale for Rayleigh damping | d | real | () | kind_phys | in | False |
ldiag3d | flag_diagnostics_3D | flag for calculating 3-D diagnostic fields | flag | logical | () | in | False | |
du3dt | cumulative_change_in_x_wind_due_to_rayleigh_damping | cumulative change in zonal wind due to Rayleigh damping | m s-1 | real | (horizontal_dimension, vertical_dimension) | kind_phys | inout | False |
dv3dt | cumulative_change_in_y_wind_due_to_rayleigh_damping | cumulative change in meridional wind due to Rayleigh damping | m s-1 | real | (horizontal_dimension, vertical_dimension) | kind_phys | inout | False |
dt3dt | cumulative_change_in_temperature_due_to_rayleigh_damping | cumulative change in temperature due to Rayleigh damping | K | real | (horizontal_dimension, vertical_dimension) | kind_phys | inout | False |
errmsg | ccpp_error_message | error message for error handling in CCPP | none | character | () | len=* | out | False |
errflg | ccpp_error_flag | error flag for error handling in CCPP | flag | integer | () | out | False |
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) |