CCPP SciDoc v7.0.0  v7.0.0
Common Community Physics Package Developed at DTC
 
Loading...
Searching...
No Matches

◆ rascnv_run()

subroutine, public rascnv::rascnv_run ( integer, intent(in) im,
integer, intent(in) k,
integer, intent(in) itc,
integer, intent(in) ntc,
integer, intent(in) ntr,
real(kind=kind_phys), intent(in) dt,
real(kind=kind_phys), intent(in) dtf,
real(kind=kind_phys), dimension(:), intent(in) ccwf,
real(kind=kind_phys), dimension(:), intent(in) area,
real(kind=kind_phys), intent(in) dxmin,
real(kind=kind_phys), intent(in) dxinv,
real(kind=kind_phys), dimension(:), intent(in) psauras,
real(kind=kind_phys), dimension(:), intent(in) prauras,
real(kind=kind_phys), dimension(:), intent(in) wminras,
real(kind=kind_phys), dimension(:), intent(in) dlqf,
logical, intent(in) flipv,
integer, intent(in) me,
real(kind=kind_phys), dimension(:,:), intent(in) rannum,
integer, intent(in) nrcm,
integer, intent(in) mp_phys,
integer, intent(in) mp_phys_mg,
integer, intent(in) ntk,
integer, intent(in) kdt,
real(kind=kind_phys), dimension(:,:), intent(in) rhc,
real(kind=kind_phys), dimension(:,:), intent(inout) tin,
real(kind=kind_phys), dimension(:,:), intent(inout) qin,
real(kind=kind_phys), dimension(:,:), intent(inout) uin,
real(kind=kind_phys), dimension(:,:), intent(inout) vin,
real(kind=kind_phys), dimension(:,:,:), intent(inout) ccin,
real(kind=kind_phys), dimension(:), intent(in) fscav,
real(kind=kind_phys), dimension(:,:), intent(in) prsi,
real(kind=kind_phys), dimension(:,:), intent(in) prsl,
real(kind=kind_phys), dimension(:,:), intent(in) prsik,
real(kind=kind_phys), dimension(:,:), intent(in) prslk,
real(kind=kind_phys), dimension(:,:), intent(in) phil,
real(kind=kind_phys), dimension(:,:), intent(in) phii,
integer, dimension(:), intent(in) kpbl,
real(kind=kind_phys), dimension(:), intent(in) cdrag,
real(kind=kind_phys), dimension(:), intent(out) rainc,
integer, dimension(:), intent(out) kbot,
integer, dimension(:), intent(out) ktop,
integer, dimension(:), intent(inout) kcnv,
real(kind=kind_phys), dimension(:), intent(out), optional ddvel,
real(kind=kind_phys), dimension(:,:), intent(out), optional ud_mf,
real(kind=kind_phys), dimension(:,:), intent(out) dd_mf,
real(kind=kind_phys), dimension(:,:), intent(out) dt_mf,
real(kind=kind_phys), dimension(:,:), intent(inout), optional qlcn,
real(kind=kind_phys), dimension(:,:), intent(inout), optional qicn,
real(kind=kind_phys), dimension(:,:), intent(inout), optional w_upi,
real(kind=kind_phys), dimension(:,:), intent(inout), optional cf_upi,
real(kind=kind_phys), dimension(:,:), intent(inout), optional cnv_mfd,
real(kind=kind_phys), dimension(:,:), intent(inout), optional cnv_dqldt,
real(kind=kind_phys), dimension(:,:), intent(inout), optional clcn,
real(kind=kind_phys), dimension(:,:), intent(inout), optional cnv_fice,
real(kind=kind_phys), dimension(:,:), intent(inout), optional cnv_ndrop,
real(kind=kind_phys), dimension(:,:), intent(inout), optional cnv_nice,
character(len=*), intent(out) errmsg,
integer, intent(out) errflg )

Argument Table

rascnv_run argument table
local_namestandard_namelong_nameunitstypedimensionskindintent
imhorizontal_loop_extenthorizontal loop extentcountinteger()in
kvertical_layer_dimensionvertical layer dimensioncountinteger()in
itcindex_of_first_chemical_tracer_for_convectionindex of first chemical tracer transported/scavenged by convectionindexinteger()in
ntcnumber_of_chemical_tracersnumber of chemical tracerscountinteger()in
ntrnumber_of_tracers_for_samfnumber of tracers for scale-aware mass flux schemescountinteger()in
dttimestep_for_physicsphysics time stepsreal()kind_physin
dtftimestep_for_dynamicsdynamics timestepsreal()kind_physin
ccwftunable_parameter_for_critical_cloud_workfunction_in_relaxed_arakawa_schubert_deep_convectionmultiplication factor for tical_cloud_workfunctionnonereal(ccpp_constant_one:2)kind_physin
areacell_areaarea of the grid cellm2real(ccpp_constant_one:horizontal_loop_extent)kind_physin
dxminmin_grid_scaleminimum scaling factor for critical relative humiditym2 rad-2real()kind_physin
dxinvreciprocal_of_grid_scale_rangeinverse scaling factor for critical relative humidityrad2 m-2real()kind_physin
psaurasautoconversion_to_snow_coefficient_for_deep_convectionconversion coefficient from cloud ice to snow in rasnonereal(ccpp_constant_one:2)kind_physin
praurasautoconversion_to_rain_coefficient_for_deep_convectionconversion coefficient from cloud water to rain in rasnonereal(ccpp_constant_one:2)kind_physin
wminrascloud_condensate_autoconversion_threshold_coefficient_for_deep_convectionconversion coefficient from cloud liquid and ice to precipitation in rasnonereal(ccpp_constant_one:2)kind_physin
dlqfcloud_condensate_detrainment_coefficientcondensate fraction detrained with in a updraft layersnonereal(ccpp_constant_one:2)kind_physin
flipvflag_flipvertical flip logicalflaglogical()in
mempi_rankcurrent MPI-rankindexinteger()in
rannumrandom_numberrandom number array (0-1)nonereal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:number_of_random_numbers)kind_physin
nrcmnumber_of_random_numberssecond dimension of random number stream for RAScountinteger()in
mp_physcontrol_for_microphysics_schemechoice of microphysics schemeflaginteger()in
mp_phys_mgidentifier_for_morrison_gettelman_microphysics_schemechoice of Morrison-Gettelman microphysics schemeflaginteger()in
ntkindex_for_turbulent_kinetic_energy_convective_transport_tracerindex for turbulent kinetic energy in the convectively transported tracer arrayindexinteger()in
kdtindex_of_timestepcurrent forecast iterationindexinteger()in
rhccritical_relative_humiditycritical relative humidityfracreal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
tinair_temperature_of_new_stateupdated temperatureKreal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physinout
qinspecific_humidity_of_new_stateupdated vapor specific humiditykg kg-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physinout
uinx_wind_of_new_stateupdated x-direction windm s-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physinout
viny_wind_of_new_stateupdated y-direction windm s-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physinout
ccinconvective_transportable_tracersarray to contain cloud water and other convective trans. tracerskg kg-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension, ccpp_constant_one:number_of_tracers_for_convective_transport)kind_physinout
fscavchemical_tracer_scavenging_fractionsarray of aerosol scavenging coefficientsnonereal(ccpp_constant_one:number_of_chemical_tracers)kind_physin
prsiair_pressure_at_interfaceair pressure at model layer interfacesPareal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_interface_dimension)kind_physin
prslair_pressuremean layer pressurePareal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
prsikdimensionless_exner_function_at_interfacedimensionless Exner function at model layer interfacesnonereal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_interface_dimension)kind_physin
prslkdimensionless_exner_functiondimensionless Exner function at model layer centersnonereal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
philgeopotentialgeopotential at model layer centersm2 s-2real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
phiigeopotential_at_interfacegeopotential at model layer interfacesm2 s-2real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_interface_dimension)kind_physin
kpblvertical_index_at_top_of_atmosphere_boundary_layervertical index at top atmospheric boundary layerindexinteger(ccpp_constant_one:horizontal_loop_extent)in
cdragsurface_drag_coefficient_for_momentum_in_airsurface exchange coeff for momentumnonereal(ccpp_constant_one:horizontal_loop_extent)kind_physin
rainclwe_thickness_of_deep_convective_precipitation_amountdeep convective rainfall amount on physics timestepmreal(ccpp_constant_one:horizontal_loop_extent)kind_physout
kbotvertical_index_at_cloud_baseindex for cloud baseindexinteger(ccpp_constant_one:horizontal_loop_extent)out
ktopvertical_index_at_cloud_topindex for cloud topindexinteger(ccpp_constant_one:horizontal_loop_extent)out
kcnvflag_deep_convectiondeep convection: 0=no, 1=yesflaginteger(ccpp_constant_one:horizontal_loop_extent)inout
ddvelenhancement_to_wind_speed_at_surface_adjacent_layer_due_to_convectionsurface wind enhancement due to convectionm s-1real(ccpp_constant_one:horizontal_loop_extent)kind_physout
ud_mfinstantaneous_atmosphere_updraft_convective_mass_flux(updraft mass flux) * dtkg m-2real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physout
dd_mfinstantaneous_atmosphere_downdraft_convective_mass_flux(downdraft mass flux) * dtkg m-2real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physout
dt_mfinstantaneous_atmosphere_detrainment_convective_mass_flux(detrainment mass flux) * dtkg m-2real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physout
qlcnmass_fraction_of_convective_cloud_liquid_watermass fraction of convective cloud liquid waterkg kg-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physinout
qicnmass_fraction_of_convective_cloud_icemass fraction of convective cloud ice waterkg kg-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physinout
w_upivertical_velocity_for_updraftvertical velocity for updraftm s-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physinout
cf_upiconvective_cloud_fraction_for_microphysicsconvective cloud fraction for microphysicsfracreal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physinout
cnv_mfddetrained_mass_fluxdetrained mass fluxkg m-2 s-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physinout
cnv_dqldttendency_of_cloud_water_due_to_convective_microphysicstendency of cloud water due to convective microphysicskg m-2 s-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physinout
clcnconvective_cloud_volume_fractionconvective cloud volume fractionfracreal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physinout
cnv_ficeice_fraction_in_convective_towerice fraction in convective towerfracreal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physinout
cnv_ndropnumber_concentration_of_cloud_liquid_water_particles_for_detrainmentdroplet number concentration in convective detrainmentm-3real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physinout
cnv_nicenumber_concentration_of_ice_crystals_for_detrainmentcrystal number concentration in convective detrainmentm-3real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physinout
errmsgccpp_error_messageerror message for error handling in CCPPnonecharacter()len=*out
errflgccpp_error_codeerror code for error handling in CCPP1integer()out
  • Initialize CCPP error handling variables

Definition at line 284 of file rascnv.F90.

References cloud().

Here is the call graph for this function: