SCALE-RM
|
module atmosphere / saturation More...
Functions/Subroutines | |
subroutine, public | atmos_saturation_setup |
Setup. More... | |
subroutine | atmos_saturation_alpha_0d (temp, alpha) |
calc liquid/ice separation factor (0D) More... | |
subroutine | atmos_saturation_dqs_dtem_dens_liq_3d (KA, KS, KE, IA, IS, IE, JA, JS, JE, temp, dens, dqsdtem) |
subroutine | atmos_saturation_dqs_dtem_dens_ice_3d (KA, KS, KE, IA, IS, IE, JA, JS, JE, temp, dens, dqsdtem) |
subroutine | atmos_saturation_dqs_dtem_dpre_liq_3d (KA, KS, KE, IA, IS, IE, JA, JS, JE, temp, pres, qdry, dqsat_dT, dqsat_dP) |
subroutine | atmos_saturation_dqs_dtem_dpre_ice_3d (KA, KS, KE, IA, IS, IE, JA, JS, JE, temp, pres, qdry, dqsat_dT, dqsat_dP) |
subroutine | atmos_saturation_tdew_liq_1d (KA, KS, KE, DENS, TEMP, QV, Tdew, converged) |
subroutine | atmos_saturation_pote_0d (DENS, POTT, TEMP, QV, POTE) |
calculate equivalent potential temperature Bolton, D., 1980: The computation of equivalent potential temperature. Monthly Weather Rev., 108, 1046-1053. PT_E = PT exp( L QV / (CPdry T) f ) f ~ 1.0784 ( 1 + 0.810 QV ) Here T_L is temperature at the lifting condensation level and T_L ~ 55 + 2840 / ( CPdry/Rdry log(T) - log(P_v) - 4.805 ) More... | |
subroutine | atmos_saturation_pote_1d (KA, KS, KE, DENS, POTT, TEMP, QV, POTE) |
subroutine | atmos_saturation_moist_conversion_dens_all_0d (DENS, Emoist0, TEMP, QV, QC, QI, CPtot, CVtot, converged) |
Iterative moist conversion (liquid/ice mixture) at constant density (volume) More... | |
subroutine | atmos_saturation_moist_conversion_pres_liq_0d (PRES, Entr, Qdry, QV, QC, Rtot, CPtot, TEMP, converged) |
Iterative moist conversion for liquid water at constant pressure. More... | |
module atmosphere / saturation
name | type | default value | comment |
---|---|---|---|
ATMOS_SATURATION_ULIMIT_TEMP | real(RP) | 273.15_RP | upper limit temperature |
ATMOS_SATURATION_LLIMIT_TEMP | real(RP) | 233.15_RP | lower limit temperature |
subroutine, public scale_atmos_saturation::atmos_saturation_setup | ( | ) |
Setup.
Definition at line 211 of file scale_atmos_saturation.F90.
References scale_atmos_hydrometeor::atmos_hydrometeor_setup(), scale_const::const_ci, scale_const::const_cl, scale_const::const_cpvap, scale_const::const_cvvap, scale_const::const_lhs0, scale_const::const_lhs00, scale_const::const_lhv0, scale_const::const_lhv00, scale_const::const_thermodyn_type, scale_io::io_fid_conf, and scale_prc::prc_abort().
Referenced by scale_atmos_adiabat::atmos_adiabat_setup(), mod_rm_driver::rm_driver(), and mod_rm_prep::rm_prep().
subroutine scale_atmos_saturation::atmos_saturation_alpha_0d | ( | real(rp), intent(in) | temp, |
real(rp), intent(out) | alpha | ||
) |
calc liquid/ice separation factor (0D)
[in] | temp | temperature [K] |
[out] | alpha | liquid/ice separation factor (0-1) |
Definition at line 292 of file scale_atmos_saturation.F90.
subroutine scale_atmos_saturation::atmos_saturation_dqs_dtem_dens_liq_3d | ( | integer, intent(in) | KA, |
integer, intent(in) | KS, | ||
integer, intent(in) | KE, | ||
integer, intent(in) | IA, | ||
integer, intent(in) | IS, | ||
integer, intent(in) | IE, | ||
integer, intent(in) | JA, | ||
integer, intent(in) | JS, | ||
integer, intent(in) | JE, | ||
real(rp), dimension (ka,ia,ja), intent(in) | temp, | ||
real(rp), dimension (ka,ia,ja), intent(in) | dens, | ||
real(rp), dimension(ka,ia,ja), intent(out) | dqsdtem | ||
) |
[in] | temp | temperature [K] |
[in] | dens | temperature [K] |
[out] | dqsdtem | (d qsw/d T)_{rho} |
Definition at line 1352 of file scale_atmos_saturation.F90.
subroutine scale_atmos_saturation::atmos_saturation_dqs_dtem_dens_ice_3d | ( | integer, intent(in) | KA, |
integer, intent(in) | KS, | ||
integer, intent(in) | KE, | ||
integer, intent(in) | IA, | ||
integer, intent(in) | IS, | ||
integer, intent(in) | IE, | ||
integer, intent(in) | JA, | ||
integer, intent(in) | JS, | ||
integer, intent(in) | JE, | ||
real(rp), dimension (ka,ia,ja), intent(in) | temp, | ||
real(rp), dimension (ka,ia,ja), intent(in) | dens, | ||
real(rp), dimension(ka,ia,ja), intent(out) | dqsdtem | ||
) |
Definition at line 1417 of file scale_atmos_saturation.F90.
subroutine scale_atmos_saturation::atmos_saturation_dqs_dtem_dpre_liq_3d | ( | integer, intent(in) | KA, |
integer, intent(in) | KS, | ||
integer, intent(in) | KE, | ||
integer, intent(in) | IA, | ||
integer, intent(in) | IS, | ||
integer, intent(in) | IE, | ||
integer, intent(in) | JA, | ||
integer, intent(in) | JS, | ||
integer, intent(in) | JE, | ||
real(rp), dimension (ka,ia,ja), intent(in) | temp, | ||
real(rp), dimension (ka,ia,ja), intent(in) | pres, | ||
real(rp), dimension (ka,ia,ja), intent(in) | qdry, | ||
real(rp), dimension(ka,ia,ja), intent(out) | dqsat_dT, | ||
real(rp), dimension(ka,ia,ja), intent(out) | dqsat_dP | ||
) |
Definition at line 1534 of file scale_atmos_saturation.F90.
subroutine scale_atmos_saturation::atmos_saturation_dqs_dtem_dpre_ice_3d | ( | integer, intent(in) | KA, |
integer, intent(in) | KS, | ||
integer, intent(in) | KE, | ||
integer, intent(in) | IA, | ||
integer, intent(in) | IS, | ||
integer, intent(in) | IE, | ||
integer, intent(in) | JA, | ||
integer, intent(in) | JS, | ||
integer, intent(in) | JE, | ||
real(rp), dimension (ka,ia,ja), intent(in) | temp, | ||
real(rp), dimension (ka,ia,ja), intent(in) | pres, | ||
real(rp), dimension (ka,ia,ja), intent(in) | qdry, | ||
real(rp), dimension(ka,ia,ja), intent(out) | dqsat_dT, | ||
real(rp), dimension(ka,ia,ja), intent(out) | dqsat_dP | ||
) |
Definition at line 1610 of file scale_atmos_saturation.F90.
References scale_const::const_undef, and scale_precision::rp.
subroutine scale_atmos_saturation::atmos_saturation_tdew_liq_1d | ( | integer, intent(in) | KA, |
integer, intent(in) | KS, | ||
integer, intent(in) | KE, | ||
real(rp), dimension(ka), intent(in) | DENS, | ||
real(rp), dimension(ka), intent(in) | TEMP, | ||
real(rp), dimension (ka), intent(in) | QV, | ||
real(rp), dimension(ka), intent(out) | Tdew, | ||
logical, intent(out) | converged | ||
) |
Definition at line 1760 of file scale_atmos_saturation.F90.
References scale_prc::prc_abort().
subroutine scale_atmos_saturation::atmos_saturation_pote_0d | ( | real(rp), intent(in) | DENS, |
real(rp), intent(in) | POTT, | ||
real(rp), intent(in) | TEMP, | ||
real(rp), intent(in) | QV, | ||
real(rp), intent(out) | POTE | ||
) |
calculate equivalent potential temperature Bolton, D., 1980: The computation of equivalent potential temperature. Monthly Weather Rev., 108, 1046-1053. PT_E = PT exp( L QV / (CPdry T) f ) f ~ 1.0784 ( 1 + 0.810 QV ) Here T_L is temperature at the lifting condensation level and T_L ~ 55 + 2840 / ( CPdry/Rdry log(T) - log(P_v) - 4.805 )
Definition at line 1832 of file scale_atmos_saturation.F90.
References scale_const::const_cpdry, and scale_const::const_rdry.
Referenced by atmos_saturation_pote_1d().
subroutine scale_atmos_saturation::atmos_saturation_pote_1d | ( | integer, intent(in) | KA, |
integer, intent(in) | KS, | ||
integer, intent(in) | KE, | ||
real(rp), dimension(ka), intent(in) | DENS, | ||
real(rp), dimension(ka), intent(in) | POTT, | ||
real(rp), dimension(ka), intent(in) | TEMP, | ||
real(rp), dimension (ka), intent(in) | QV, | ||
real(rp), dimension(ka), intent(out) | POTE | ||
) |
Definition at line 1863 of file scale_atmos_saturation.F90.
References atmos_saturation_pote_0d(), scale_atmos_hydrometeor::cp_vapor, scale_atmos_hydrometeor::cp_water, scale_atmos_hydrometeor::cv_vapor, scale_atmos_hydrometeor::cv_water, scale_atmos_hydrometeor::lhv, scale_prc::prc_abort(), and scale_precision::rp.
subroutine scale_atmos_saturation::atmos_saturation_moist_conversion_dens_all_0d | ( | real(rp), intent(in) | DENS, |
real(rp), intent(in) | Emoist0, | ||
real(rp), intent(inout) | TEMP, | ||
real(rp), intent(inout) | QV, | ||
real(rp), intent(inout) | QC, | ||
real(rp), intent(inout) | QI, | ||
real(rp), intent(inout) | CPtot, | ||
real(rp), intent(inout) | CVtot, | ||
logical, intent(out) | converged | ||
) |
Iterative moist conversion (liquid/ice mixture) at constant density (volume)
Definition at line 2024 of file scale_atmos_saturation.F90.
References scale_atmos_hydrometeor::cp_ice, scale_atmos_hydrometeor::cp_vapor, scale_atmos_hydrometeor::cp_water, scale_atmos_hydrometeor::cv_ice, scale_atmos_hydrometeor::cv_vapor, scale_atmos_hydrometeor::cv_water, scale_atmos_hydrometeor::lhf, scale_atmos_hydrometeor::lhv, scale_prc::prc_abort(), and scale_precision::rp.
subroutine scale_atmos_saturation::atmos_saturation_moist_conversion_pres_liq_0d | ( | real(rp), intent(in) | PRES, |
real(rp), intent(in) | Entr, | ||
real(rp), intent(in) | Qdry, | ||
real(rp), intent(inout) | QV, | ||
real(rp), intent(inout) | QC, | ||
real(rp), intent(inout) | Rtot, | ||
real(rp), intent(inout) | CPtot, | ||
real(rp), intent(out) | TEMP, | ||
logical, intent(out) | converged | ||
) |
Iterative moist conversion for liquid water at constant pressure.
Definition at line 2151 of file scale_atmos_saturation.F90.
References scale_const::const_eps, scale_const::const_lhv0, scale_atmos_hydrometeor::cp_vapor, and scale_atmos_hydrometeor::cp_water.