CCPP Scientific Documentation
v5.0.0
subroutine, public micro_mg3_0::micro_mg_tend ( integer, intent(in)  mgncol,
integer, intent(in)  nlev,
real(r8), intent(in)  deltatin,
real(r8), dimension(mgncol,nlev), intent(in)  t,
real(r8), dimension(mgncol,nlev), intent(in)  q,
real(r8), dimension(mgncol,nlev), intent(in)  qcn,
real(r8), dimension(mgncol,nlev), intent(in)  qin,
real(r8), dimension(mgncol,nlev), intent(in)  ncn,
real(r8), dimension(mgncol,nlev), intent(in)  nin,
real(r8), dimension(mgncol,nlev), intent(in)  qrn,
real(r8), dimension(mgncol,nlev), intent(in)  qsn,
real(r8), dimension(mgncol,nlev), intent(in)  nrn,
real(r8), dimension(mgncol,nlev), intent(in)  nsn 
)
Authors
Hugh Morrison, Andrew Gettelman, NCAR, Peter Caldwell, LLNL e-mail: morri.nosp@m.son@.nosp@m.ucar..nosp@m.edu, andre.nosp@m.w@uc.nosp@m.ar.ed.nosp@m.u

MG3 micro_mg_tend General Algorithm

Parameters
[in]mgncolnumber of microphysics columns
[in]nlevnumber of layers
[in]deltatintime step (s)
[in]tinput temperature (K)
[in]qinput h20 vapor mixing ratio (kg/kg)
[in]qcncloud water mixing ratio (kg/kg)
[in]qincloud ice mixing ratio (kg/kg)
[in]ncncloud water number conc (1/kg)
[in]nincloud ice number conc (1/kg)
[in]qrnrain mixing ratio (kg/kg)
[in]qsnsnow mixing ratio (kg/kg)
[in]nrnrain number conc (1/kg)
[in]nsnsnow number conc (1/kg)
  • Assign variable deltat to deltatin
  • Copies of input concentrations that may be changed internally.
  • Calculation liquid/ice cloud fraction
  • Initialize local variables
  • initialize microphysics output
  • initialize precip output
  • initialize rain size
  • initialize variables for trop_mozart
  • initialize microphysical tendencies
  • initialize in-cloud and in-precip quantities to zero
  • initialize precip fallspeeds to zero
  • initialize limiter for output
  • initialize ccn activated number tendency (npccn)
  • initialize precip at surface

References micro_mg_utils::accrete_cloud_ice_snow(), micro_mg_utils::accrete_cloud_water_rain(), micro_mg_utils::accrete_cloud_water_snow(), micro_mg_utils::accrete_rain_snow(), agtmp, allow_sed_supersat, micro_mg_utils::avg_diameter(), micro_mg_utils::bergeron_process_snow(), bgtmp, calc_rercld(), micro_mg_utils::contact_freezing(), cpp, csmax, csmin, dcs, do_cldice, do_ice_gmao, do_liq_liu, do_sb_physics, epsqs, micro_mg_utils::evaporate_sublimate_precip(), four, funcphys::fpvsi(), funcphys::fpvsl(), g, gamma_bg_plus1, gamma_bg_plus4, gamma_bi_plus1, gamma_bi_plus4, gamma_bj_plus1, gamma_bj_plus4, gamma_br_plus1, gamma_br_plus4, gamma_bs_plus1, gamma_bs_plus4, half, micro_mg_utils::heterogeneous_rain_freezing(), micro_mg_utils::ice_autoconversion(), micro_mg_utils::ice_deposition_sublimation(), icenuct, micro_mg_utils::immersion_freezing(), micro_mg_utils::kk2000_liq_autoconversion(), micro_mg_utils::mg_ice_props, micro_mg_utils::mg_liq_props, micro_mg_utils::mg_rain_props, micro_mg_berg_eff_factor, micro_mg_precip_frac_method, microp_uniform, mindbz, minrefl, nccons, ncnst, ngcons, ngnst, nicons, ninst, omeps, one, oneo6, r, rainfrze, rhogtmp, rhosu, rv, micro_mg_utils::sb2001v2_accre_cld_water_rain(), micro_mg_utils::sb2001v2_liq_autoconversion(), micro_mg_utils::secondary_ice_production(), micro_mg_utils::self_collection_rain(), micro_mg_utils::snow_self_aggregation(), snowmelt, sublim_factor, ten, three, tmelt, ts_au, ts_au_min, two, use_hetfrz_classnuc, xlf, xxls, xxls_squared, xxlv, xxlv_squared, and zero.

Referenced by m_micro::m_micro_run().

Here is the call graph for this function: