SCALE-RM
|
module ATMOSPHERE / Physics Cumulus Parameterization More...
Functions/Subroutines | |
subroutine, public | atmos_phy_cp_kf_setup (CP_TYPE) |
Setup. More... | |
subroutine, public | atmos_phy_cp_kf (DENS, MOMZ, MOMX, MOMY, RHOT, QTRC, DENS_t_CP, MOMZ_t_CP, MOMX_t_CP, MOMY_t_CP, RHOT_t_CP, RHOQ_t_CP, MFLX_cloudbase, SFLX_convrain, cloudtop, cloudbase, cldfrac_dp, cldfrac_sh, nca, w0avg) |
subroutine | kf_wmean (W0_avg, DENS, MOMZ) |
running mean vertical wind speed More... | |
subroutine | cp_kf_param (RATE_in, TRIGGER_in, KF_DT_in, DELCAPE_in, DEEPLIFETIME_in, SHALLOWLIFETIME_in, DEPTH_USL_in, KF_prec_in, KF_threshold_in, KF_LOG_in, stepkf_in) |
subroutine | cp_kf_main (dens, MOMZ, MOMX, MOMY, RHOT, QTRC_in, w0avg, nca, DT_DENS, DT_RHOT, DT_RHOQ, rainrate_cp, cldfrac_sh, cldfrac_dp, timecp, cloudtop, zlcl, I_convflag) |
subroutine | kf_lutab |
Variables | |
real(dp), save, public | kf_dtsec = 300._RP |
module ATMOSPHERE / Physics Cumulus Parameterization
WRF was developed at the National Center for Atmospheric Research (NCAR) which is operated by the University Corporation for Atmospheric Research (UCAR). NCAR and UCAR make no proprietary claims, either statutory or otherwise, to this version and release of WRF and consider WRF to be in the public domain for use by any person or entity for any purpose without any fee or charge. UCAR requests that any WRF user include this notice on any partial or full copies of WRF. WRF is provided on an "AS IS" basis and any warranties, either express or implied, including but not limited to implied warranties of non-infringement, originality, merchantability and fitness for a particular purpose, are disclaimed. In no event shall UCAR be liable for any damages, whatsoever, whether direct, indirect, consequential or special, that arise out of or in connection with the access, use or performance of WRF, including infringement actions.
WRF® is a registered trademark of the University Corporation for Atmospheric Research (UCAR).
name | type | default value | comment |
---|---|---|---|
PARAM_ATMOS_PHY_CP_KF_RATE | real(RP) | 0.03_RP | ratio of cloud water and precipitation (Ogura and Cho 1973) |
PARAM_ATMOS_PHY_CP_KF_TRIGGER | integer | 1 | trigger function type 1:KF2004 3:NO2007 |
PARAM_ATMOS_PHY_CP_KF_DT | real(DP) | 5.0_DP | KF convection check time interval [min] |
PARAM_ATMOS_PHY_CP_KF_DLCAPE | real(RP) | 0.1_RP | cape decleace rate |
PARAM_ATMOS_PHY_CP_KF_DLIFETIME | real(RP) | 1800.0_RP | minimum lifetime scale of deep convection [sec] |
PARAM_ATMOS_PHY_CP_KF_SLIFETIME | real(RP) | 2400.0_RP | lifetime of shallow convection [sec] |
PARAM_ATMOS_PHY_CP_KF_DEPTH_USL | real(RP) | 300.0_RP | depth of updraft source layer [hPa] |
PARAM_ATMOS_PHY_CP_KF_PREC | integer | 1 | precipitation type 1:Ogura-Cho(1973) 2:Kessler |
PARAM_ATMOS_PHY_CP_KF_THRES | real(RP) | 1.E-3_RP | autoconversion rate for Kessler |
PARAM_ATMOS_PHY_CP_KF_LOG | logical | .false. | output log? |
PARAM_ATMOS_PHY_CP_KF_WADAPT | logical | .true. | |
PARAM_ATMOS_PHY_CP_KF_W_TIME | integer | 16 |
name | description | unit | variable |
---|---|---|---|
KF_LIFETIME | lifetime of KF scheme | s | lifetime |
RP) | KF_CONVFLAG | CONVECTION FLAG | real(I_convflag |
subroutine, public scale_atmos_phy_cp_kf::atmos_phy_cp_kf_setup | ( | character(len=*), intent(in) | CP_TYPE | ) |
Setup.
Definition at line 147 of file scale_atmos_phy_cp_kf.F90.
References cp_kf_param(), scale_grid::dx, scale_grid::dy, scale_atmos_hydrometeor::i_qc, scale_atmos_hydrometeor::i_qi, scale_atmos_hydrometeor::i_qr, scale_atmos_hydrometeor::i_qs, scale_atmos_hydrometeor::i_qv, scale_grid_index::ia, scale_grid_index::ie, scale_stdio::io_fid_conf, scale_stdio::io_fid_log, scale_stdio::io_fid_nml, scale_stdio::io_l, scale_stdio::io_nml, scale_grid_index::is, scale_grid_index::ja, scale_grid_index::je, scale_grid_index::js, scale_grid_index::ka, scale_grid_index::ke, kf_lutab(), scale_grid_index::ks, scale_process::prc_mpistop(), scale_grid_real::real_cz, scale_time::time_dtsec, and scale_time::time_dtsec_atmos_phy_cp.
Referenced by scale_atmos_phy_cp::atmos_phy_cp_setup().
subroutine, public scale_atmos_phy_cp_kf::atmos_phy_cp_kf | ( | real(rp), dimension (ka,ia,ja), intent(in) | DENS, |
real(rp), dimension (ka,ia,ja), intent(in) | MOMZ, | ||
real(rp), dimension (ka,ia,ja), intent(in) | MOMX, | ||
real(rp), dimension (ka,ia,ja), intent(in) | MOMY, | ||
real(rp), dimension (ka,ia,ja), intent(in) | RHOT, | ||
real(rp), dimension (ka,ia,ja,qa), intent(in) | QTRC, | ||
real(rp), dimension (ka,ia,ja), intent(inout) | DENS_t_CP, | ||
real(rp), dimension (ka,ia,ja), intent(inout) | MOMZ_t_CP, | ||
real(rp), dimension (ka,ia,ja), intent(inout) | MOMX_t_CP, | ||
real(rp), dimension (ka,ia,ja), intent(inout) | MOMY_t_CP, | ||
real(rp), dimension (ka,ia,ja), intent(inout) | RHOT_t_CP, | ||
real(rp), dimension (ka,ia,ja,qa_mp), intent(inout) | RHOQ_t_CP, | ||
real(rp), dimension(ia,ja), intent(inout) | MFLX_cloudbase, | ||
real(rp), dimension (ia,ja), intent(inout) | SFLX_convrain, | ||
real(rp), dimension (ia,ja), intent(inout) | cloudtop, | ||
real(rp), dimension (ia,ja), intent(inout) | cloudbase, | ||
real(rp), dimension (ka,ia,ja), intent(inout) | cldfrac_dp, | ||
real(rp), dimension (ka,ia,ja), intent(inout) | cldfrac_sh, | ||
real(rp), dimension (ia,ja), intent(inout) | nca, | ||
real(rp), dimension (ka,ia,ja), intent(inout) | w0avg | ||
) |
Definition at line 330 of file scale_atmos_phy_cp_kf.F90.
References cp_kf_main(), scale_stdio::io_fid_log, scale_stdio::io_l, kf_wmean(), scale_prof::prof_rapend(), scale_prof::prof_rapstart(), and scale_atmos_phy_mp::qa_mp.
Referenced by scale_atmos_phy_cp::atmos_phy_cp_setup().
subroutine scale_atmos_phy_cp_kf::kf_wmean | ( | real(rp), dimension(ka,ia,ja), intent(inout) | W0_avg, |
real(rp), dimension (ka,ia,ja), intent(in) | DENS, | ||
real(rp), dimension (ka,ia,ja), intent(in) | MOMZ | ||
) |
running mean vertical wind speed
Definition at line 421 of file scale_atmos_phy_cp_kf.F90.
References scale_grid_index::ie, scale_grid_index::is, scale_grid_index::je, scale_grid_index::js, scale_grid_index::ke, kf_dtsec, scale_grid_index::ks, and scale_time::time_dtsec.
Referenced by atmos_phy_cp_kf().
subroutine scale_atmos_phy_cp_kf::cp_kf_param | ( | real(rp), intent(in) | RATE_in, |
integer, intent(inout) | TRIGGER_in, | ||
real(dp), intent(in) | KF_DT_in, | ||
real(rp), intent(in) | DELCAPE_in, | ||
real(rp), intent(in) | DEEPLIFETIME_in, | ||
real(rp), intent(in) | SHALLOWLIFETIME_in, | ||
real(rp), intent(in) | DEPTH_USL_in, | ||
integer, intent(in) | KF_prec_in, | ||
real(rp), intent(in) | KF_threshold_in, | ||
logical, intent(in) | KF_LOG_in, | ||
integer, intent(in) | stepkf_in | ||
) |
Definition at line 471 of file scale_atmos_phy_cp_kf.F90.
References scale_stdio::io_fid_log, scale_stdio::io_l, kf_dtsec, and scale_process::prc_mpistop().
Referenced by atmos_phy_cp_kf_setup().
subroutine scale_atmos_phy_cp_kf::cp_kf_main | ( | real(rp), dimension(ka,ia,ja), intent(in) | dens, |
real(rp), dimension(ka,ia,ja), intent(in) | MOMZ, | ||
real(rp), dimension(ka,ia,ja), intent(in) | MOMX, | ||
real(rp), dimension(ka,ia,ja), intent(in) | MOMY, | ||
real(rp), dimension(ka,ia,ja), intent(in) | RHOT, | ||
real(rp), dimension(ka,ia,ja,qa), intent(in) | QTRC_in, | ||
real(rp), dimension(ka,ia,ja), intent(in) | w0avg, | ||
real(rp), dimension(ia,ja), intent(inout) | nca, | ||
real(rp), dimension(ka,ia,ja), intent(inout) | DT_DENS, | ||
real(rp), dimension(ka,ia,ja), intent(inout) | DT_RHOT, | ||
real(rp), dimension(ka,ia,ja,qs_mp:qe_mp), intent(inout) | DT_RHOQ, | ||
real(rp), dimension(ia,ja), intent(inout) | rainrate_cp, | ||
real(rp), dimension(ka,ia,ja), intent(inout) | cldfrac_sh, | ||
real(rp), dimension(ka,ia,ja), intent(inout) | cldfrac_dp, | ||
real(rp), dimension(ia,ja), intent(inout) | timecp, | ||
real(rp), dimension(ia,ja), intent(inout) | cloudtop, | ||
real(rp), dimension(ia,ja), intent(inout) | zlcl, | ||
integer, dimension(ia,ja), intent(inout) | I_convflag | ||
) |
I_convflag = 0 ==> deep convection = 1 ==> shallow convection = 2 ==> NONE !!
Definition at line 536 of file scale_atmos_phy_cp_kf.F90.
References scale_const::const_cpdry, scale_const::const_emelt, scale_const::const_grav, scale_const::const_pre00, scale_const::const_rdry, scale_const::const_tem00, scale_atmos_hydrometeor::i_qc, scale_atmos_hydrometeor::i_qi, scale_atmos_hydrometeor::i_qr, scale_atmos_hydrometeor::i_qs, scale_atmos_hydrometeor::i_qv, scale_grid_index::ie, scale_stdio::io_fid_log, scale_stdio::io_l, scale_grid_index::is, scale_grid_index::je, scale_grid_index::js, scale_grid_index::ke, kf_dtsec, scale_grid_index::ks, scale_process::prc_mpistop(), scale_atmos_phy_mp::qa_mp, scale_atmos_phy_mp::qe_mp, scale_atmos_phy_mp::qs_mp, scale_grid_real::real_fz, scale_time::time_dtsec_atmos_phy_cp, scale_tracer::tracer_cv, scale_tracer::tracer_mass, and scale_tracer::tracer_r.
Referenced by atmos_phy_cp_kf().
subroutine scale_atmos_phy_cp_kf::kf_lutab | ( | ) |
Definition at line 3642 of file scale_atmos_phy_cp_kf.F90.
References scale_const::const_cpdry, scale_const::const_grav, and scale_const::const_pre00.
Referenced by atmos_phy_cp_kf_setup().
real(dp), save, public scale_atmos_phy_cp_kf::kf_dtsec = 300._RP |
Definition at line 63 of file scale_atmos_phy_cp_kf.F90.
Referenced by cp_kf_main(), cp_kf_param(), and kf_wmean().