SCALE-RM
|
module atmosphere / hydrostatic barance More...
Functions/Subroutines | |
subroutine, public | atmos_hydrostatic_setup |
Setup. More... | |
subroutine | atmos_hydrostatic_buildrho_1d (KA, KS, KE, pott, qv, qc, pres_sfc, pott_sfc, qv_sfc, qc_sfc, cz, fz, dens, temp, pres, temp_sfc, converged) |
Build up density from surface (1D) More... | |
subroutine | atmos_hydrostatic_buildrho_3d (KA, KS, KE, IA, IS, IE, JA, JS, JE, pott, qv, qc, pres_sfc, pott_sfc, qv_sfc, qc_sfc, cz, fz, area, dens, temp, pres, temp_sfc) |
Build up density from surface (3D) More... | |
subroutine | atmos_hydrostatic_buildrho_real_3d (KA, KS, KE, IA, IS, IE, JA, JS, JE, pott, qv, qc, cz, pres, dens, temp) |
Build up density from surface (3D), not to reverse from TOA. More... | |
subroutine | atmos_hydrostatic_buildrho_atmos_0d (pott_L2, qv_L2, qc_L2, dens_L1, pott_L1, qv_L1, qc_L1, dz, k, dens_L2, temp_L2, pres_L2, converged) |
Build up density (0D) More... | |
subroutine | atmos_hydrostatic_buildrho_atmos_1d (KA, KS, KE, pott, qv, qc, dz, dens, temp, pres, converged) |
Build up density from lowermost atmosphere (1D) More... | |
subroutine | atmos_hydrostatic_buildrho_atmos_rev_1d (KA, KS, KE, pott, qv, qc, dz, dens, temp, pres, converged) |
Build up density from upermost atmosphere (1D) More... | |
subroutine | atmos_hydrostatic_buildrho_atmos_rev_2d (IA, IS, IE, JA, JS, JE, pott_L1, qv_L1, qc_L1, dens_L2, pott_L2, qv_L2, qc_L2, dz, k, dens_L1, temp_L1, pres_L1) |
Build up density (2D) More... | |
subroutine | atmos_hydrostatic_buildrho_atmos_3d (KA, KS, KE, IA, IS, IE, JA, JS, JE, pott, qv, qc, dz, dens, temp, pres, kref) |
Build up density from lowermost atmosphere (3D) More... | |
subroutine | atmos_hydrostatic_buildrho_atmos_rev_3d (KA, KS, KE, IA, IS, IE, JA, JS, JE, pott, qv, qc, dz, dens, temp, pres, kref) |
Build up density from lowermost atmosphere (3D) More... | |
subroutine | atmos_hydrostatic_buildrho_bytemp_1d (KA, KS, KE, temp, qv, qc, pres_sfc, temp_sfc, qv_sfc, qc_sfc, cz, fz, dens, pott, pres, pott_sfc, converged) |
Build up density from surface (1D) More... | |
subroutine | atmos_hydrostatic_buildrho_bytemp_3d (KA, KS, KE, IA, IS, IE, JA, JS, JE, temp, qv, qc, pres_sfc, temp_sfc, qv_sfc, qc_sfc, cz, fz, dens, pott, pres, pott_sfc) |
Build up density from surface (3D) More... | |
subroutine | atmos_hydrostatic_buildrho_bytemp_atmos_1d (KA, KS, KE, temp, qv, qc, dz, dens, pott, pres, converged) |
Build up density from lowermost atmosphere (1D) More... | |
subroutine | atmos_hydrostatic_buildrho_bytemp_atmos_rev_1d (KA, KS, KE, temp, qv, qc, dz, dens, pott, pres, converged) |
Build up density from upermost atmosphere (1D) More... | |
subroutine | atmos_hydrostatic_buildrho_bytemp_atmos_3d (KA, KS, KE, IA, IS, IE, JA, JS, JE, temp, qv, qc, dz, dens, pott, pres) |
Build up density from lowermost atmosphere (3D) More... | |
subroutine | atmos_hydrostatic_barometric_law_mslp_0d (KA, KS, KE, pres, temp, qv, cz, mslp) |
Calculate mean sea-level pressure from barometric law (0D) More... | |
module atmosphere / hydrostatic barance
name | type | default value | comment |
---|---|---|---|
HYDROSTATIC_USELAPSERATE | logical | .false. | use lapse rate? |
HYDROSTATIC_BUILDRHO_REAL_KREF | integer | 1 | |
HYDROSTATIC_BAROMETRIC_LAW_MSLP_KREF | integer | 1 | reference layer for MSLP calculation |
subroutine, public scale_atmos_hydrostatic::atmos_hydrostatic_setup |
Setup.
Definition at line 120 of file scale_atmos_hydrostatic.F90.
References atmos_hydrostatic_buildrho_1d(), scale_const::const_eps, scale_io::io_fid_conf, scale_atmos_grid_cartesc_index::ka, scale_atmos_grid_cartesc_index::ke, scale_atmos_grid_cartesc_index::ks, and scale_prc::prc_abort().
Referenced by mod_rm_driver::rm_driver(), and mod_rm_prep::rm_prep().
subroutine scale_atmos_hydrostatic::atmos_hydrostatic_buildrho_1d | ( | integer, intent(in) | KA, |
integer, intent(in) | KS, | ||
integer, intent(in) | KE, | ||
real(rp), dimension(ka), intent(in) | pott, | ||
real(rp), dimension (ka), intent(in) | qv, | ||
real(rp), dimension (ka), intent(in) | qc, | ||
real(rp), intent(in) | pres_sfc, | ||
real(rp), intent(in) | pott_sfc, | ||
real(rp), intent(in) | qv_sfc, | ||
real(rp), intent(in) | qc_sfc, | ||
real(rp), dimension (ka), intent(in) | cz, | ||
real(rp), dimension (0:ka), intent(in) | fz, | ||
real(rp), dimension(ka), intent(out) | dens, | ||
real(rp), dimension(ka), intent(out) | temp, | ||
real(rp), dimension(ka), intent(out) | pres, | ||
real(rp), intent(out) | temp_sfc, | ||
logical, intent(out) | converged | ||
) |
Build up density from surface (1D)
[in] | pott | potential temperature [K] |
[in] | qv | water vapor [kg/kg] |
[in] | qc | liquid water [kg/kg] |
[in] | pres_sfc | surface pressure [Pa] |
[in] | pott_sfc | surface potential temperature [K] |
[in] | qv_sfc | surface water vapor [kg/kg] |
[in] | qc_sfc | surface liquid water [kg/kg] |
[out] | dens | density [kg/m3] |
[out] | temp | temperature [K] |
[out] | pres | pressure [Pa] |
[out] | temp_sfc | surface temperature [K] |
Definition at line 218 of file scale_atmos_hydrostatic.F90.
References atmos_hydrostatic_buildrho_atmos_0d(), atmos_hydrostatic_buildrho_atmos_1d(), scale_atmos_hydrometeor::cp_vapor, scale_atmos_hydrometeor::cp_water, scale_atmos_hydrometeor::cv_vapor, scale_atmos_hydrometeor::cv_water, and scale_prc::prc_abort().
Referenced by atmos_hydrostatic_buildrho_3d(), and atmos_hydrostatic_setup().
subroutine scale_atmos_hydrostatic::atmos_hydrostatic_buildrho_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) | pott, | ||
real(rp), dimension (ka,ia,ja), intent(in) | qv, | ||
real(rp), dimension (ka,ia,ja), intent(in) | qc, | ||
real(rp), dimension(ia,ja), intent(in) | pres_sfc, | ||
real(rp), dimension(ia,ja), intent(in) | pott_sfc, | ||
real(rp), dimension (ia,ja), intent(in) | qv_sfc, | ||
real(rp), dimension (ia,ja), intent(in) | qc_sfc, | ||
real(rp), dimension( ka,ia,ja), intent(in) | cz, | ||
real(rp), dimension(0:ka,ia,ja), intent(in) | fz, | ||
real(rp), dimension(ia,ja), intent(in) | area, | ||
real(rp), dimension(ka,ia,ja), intent(out) | dens, | ||
real(rp), dimension(ka,ia,ja), intent(out) | temp, | ||
real(rp), dimension(ka,ia,ja), intent(out) | pres, | ||
real(rp), dimension(ia,ja), intent(out) | temp_sfc | ||
) |
Build up density from surface (3D)
[in] | pott | potential temperature [K] |
[in] | qv | water vapor [kg/kg] |
[in] | qc | liquid water [kg/kg] |
[in] | pres_sfc | surface pressure [Pa] |
[in] | pott_sfc | surface potential temperature [K] |
[in] | qv_sfc | surface water vapor [kg/kg] |
[in] | qc_sfc | surface liquid water [kg/kg] |
[out] | dens | density [kg/m3] |
[out] | temp | temperature [K] |
[out] | pres | pressure [Pa] |
[out] | temp_sfc | surface temperature [K] |
Definition at line 346 of file scale_atmos_hydrostatic.F90.
References atmos_hydrostatic_buildrho_1d(), atmos_hydrostatic_buildrho_atmos_rev_2d(), atmos_hydrostatic_buildrho_atmos_rev_3d(), and scale_prc::prc_abort().
subroutine scale_atmos_hydrostatic::atmos_hydrostatic_buildrho_real_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) | pott, | ||
real(rp), dimension (ka,ia,ja), intent(in) | qv, | ||
real(rp), dimension (ka,ia,ja), intent(in) | qc, | ||
real(rp), dimension (ka,ia,ja), intent(in) | cz, | ||
real(rp), dimension(ka,ia,ja), intent(inout) | pres, | ||
real(rp), dimension(ka,ia,ja), intent(out) | dens, | ||
real(rp), dimension(ka,ia,ja), intent(out) | temp | ||
) |
Build up density from surface (3D), not to reverse from TOA.
[in] | pott | potential temperature [K] |
[in] | qv | water vapor [kg/kg] |
[in] | qc | liquid water [kg/kg] |
[in,out] | pres | pressure [Pa] |
[out] | dens | density [kg/m3] |
[out] | temp | temperature [K] |
Definition at line 511 of file scale_atmos_hydrostatic.F90.
References atmos_hydrostatic_buildrho_atmos_3d(), atmos_hydrostatic_buildrho_atmos_rev_3d(), scale_const::const_undef, scale_atmos_hydrometeor::cp_vapor, scale_atmos_hydrometeor::cp_water, scale_atmos_hydrometeor::cv_vapor, and scale_atmos_hydrometeor::cv_water.
subroutine scale_atmos_hydrostatic::atmos_hydrostatic_buildrho_atmos_0d | ( | real(rp), intent(in) | pott_L2, |
real(rp), intent(in) | qv_L2, | ||
real(rp), intent(in) | qc_L2, | ||
real(rp), intent(in) | dens_L1, | ||
real(rp), intent(in) | pott_L1, | ||
real(rp), intent(in) | qv_L1, | ||
real(rp), intent(in) | qc_L1, | ||
real(rp), intent(in) | dz, | ||
integer, intent(in) | k, | ||
real(rp), intent(out) | dens_L2, | ||
real(rp), intent(out) | temp_L2, | ||
real(rp), intent(out) | pres_L2, | ||
logical, intent(out) | converged | ||
) |
Build up density (0D)
[in] | pott_l2 | potential temperature at layer 2 [K] |
[in] | qv_l2 | water vapor at layer 2 [kg/kg] |
[in] | qc_l2 | liquid water at layer 2 [kg/kg] |
[in] | dens_l1 | density at layer 1 [Pa] |
[in] | pott_l1 | potential temperature at layer 1 [K] |
[in] | qv_l1 | water vapor at layer 1 [kg/kg] |
[in] | qc_l1 | liquid water at layer 1 [kg/kg] |
[in] | dz | distance from layer 1 to layer 2 [m] |
[in] | k | for monitor |
[out] | dens_l2 | density at layer 2 [kg/m3] |
[out] | temp_l2 | temperature at layer 2 [K] |
[out] | pres_l2 | pressure at layer 2 [Pa] |
Definition at line 652 of file scale_atmos_hydrostatic.F90.
References scale_atmos_hydrometeor::cp_vapor, scale_atmos_hydrometeor::cp_water, scale_atmos_hydrometeor::cv_vapor, scale_atmos_hydrometeor::cv_water, and scale_prc::prc_abort().
Referenced by atmos_hydrostatic_buildrho_1d(), atmos_hydrostatic_buildrho_atmos_rev_1d(), and atmos_hydrostatic_buildrho_atmos_rev_2d().
subroutine scale_atmos_hydrostatic::atmos_hydrostatic_buildrho_atmos_1d | ( | integer, intent(in) | KA, |
integer, intent(in) | KS, | ||
integer, intent(in) | KE, | ||
real(rp), dimension(ka), intent(in) | pott, | ||
real(rp), dimension (ka), intent(in) | qv, | ||
real(rp), dimension (ka), intent(in) | qc, | ||
real(rp), dimension (ka), intent(in) | dz, | ||
real(rp), dimension(ka), intent(inout) | dens, | ||
real(rp), dimension(ka), intent(inout) | temp, | ||
real(rp), dimension(ka), intent(inout) | pres, | ||
logical, intent(out) | converged | ||
) |
Build up density from lowermost atmosphere (1D)
[in] | pott | potential temperature [K] |
[in] | qv | water vapor [kg/kg] |
[in] | qc | liquid water [kg/kg] |
[in,out] | dens | density [kg/m3] |
[in,out] | temp | temperature [K] |
[in,out] | pres | pressure [Pa] |
Definition at line 759 of file scale_atmos_hydrostatic.F90.
References scale_const::const_eps, scale_const::const_undef, scale_atmos_hydrometeor::cp_vapor, scale_atmos_hydrometeor::cp_water, scale_atmos_hydrometeor::cv_vapor, scale_atmos_hydrometeor::cv_water, and scale_prc::prc_abort().
Referenced by atmos_hydrostatic_buildrho_1d(), and atmos_hydrostatic_buildrho_atmos_3d().
subroutine scale_atmos_hydrostatic::atmos_hydrostatic_buildrho_atmos_rev_1d | ( | integer, intent(in) | KA, |
integer, intent(in) | KS, | ||
integer, intent(in) | KE, | ||
real(rp), dimension(ka), intent(in) | pott, | ||
real(rp), dimension (ka), intent(in) | qv, | ||
real(rp), dimension (ka), intent(in) | qc, | ||
real(rp), dimension (ka), intent(in) | dz, | ||
real(rp), dimension(ka), intent(inout) | dens, | ||
real(rp), dimension(ka), intent(inout) | temp, | ||
real(rp), dimension(ka), intent(inout) | pres, | ||
logical, intent(out) | converged | ||
) |
Build up density from upermost atmosphere (1D)
[in] | pott | potential temperature [K] |
[in] | qv | water vapor [kg/kg] |
[in] | qc | liquid water [kg/kg] |
[in,out] | dens | density [kg/m3] |
[in,out] | temp | temperature [K] |
[in,out] | pres | pressure [Pa] |
Definition at line 879 of file scale_atmos_hydrostatic.F90.
References atmos_hydrostatic_buildrho_atmos_0d(), scale_atmos_hydrometeor::cp_vapor, scale_atmos_hydrometeor::cp_water, scale_atmos_hydrometeor::cv_vapor, scale_atmos_hydrometeor::cv_water, and scale_prc::prc_abort().
Referenced by atmos_hydrostatic_buildrho_atmos_rev_3d().
subroutine scale_atmos_hydrostatic::atmos_hydrostatic_buildrho_atmos_rev_2d | ( | 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(ia,ja), intent(in) | pott_L1, | ||
real(rp), dimension (ia,ja), intent(in) | qv_L1, | ||
real(rp), dimension (ia,ja), intent(in) | qc_L1, | ||
real(rp), dimension(ia,ja), intent(in) | dens_L2, | ||
real(rp), dimension(ia,ja), intent(in) | pott_L2, | ||
real(rp), dimension (ia,ja), intent(in) | qv_L2, | ||
real(rp), dimension (ia,ja), intent(in) | qc_L2, | ||
real(rp), dimension (ia,ja), intent(in) | dz, | ||
integer, intent(in) | k, | ||
real(rp), dimension(ia,ja), intent(out) | dens_L1, | ||
real(rp), dimension(ia,ja), intent(out) | temp_L1, | ||
real(rp), dimension(ia,ja), intent(out) | pres_L1 | ||
) |
Build up density (2D)
[in] | pott_l1 | potential temperature at layer 1 [K] |
[in] | qv_l1 | water vapor at layer 1 [kg/kg] |
[in] | qc_l1 | liquid water at layer 1 [kg/kg] |
[in] | dens_l2 | density at layer 2 [Pa] |
[in] | pott_l2 | potential temperature at layer 2 [K] |
[in] | qv_l2 | water vapor at layer 2 [kg/kg] |
[in] | qc_l2 | liquid water at layer 2 [kg/kg] |
[in] | dz | distance from layer 1 to layer 2 [m] |
[in] | k | for monitor |
[out] | dens_l1 | density at layer 1 [kg/m3] |
[out] | temp_l1 | temperature at layer 1 [K] |
[out] | pres_l1 | pressure at layer 1 [Pa] |
Definition at line 1050 of file scale_atmos_hydrostatic.F90.
References atmos_hydrostatic_buildrho_atmos_0d(), and scale_prc::prc_abort().
Referenced by atmos_hydrostatic_buildrho_3d().
subroutine scale_atmos_hydrostatic::atmos_hydrostatic_buildrho_atmos_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) | pott, | ||
real(rp), dimension (ka,ia,ja), intent(in) | qv, | ||
real(rp), dimension (ka,ia,ja), intent(in) | qc, | ||
real(rp), dimension (ka,ia,ja), intent(in) | dz, | ||
real(rp), dimension(ka,ia,ja), intent(inout) | dens, | ||
real(rp), dimension(ka,ia,ja), intent(inout) | temp, | ||
real(rp), dimension(ka,ia,ja), intent(inout) | pres, | ||
integer, dimension(ia,ja), intent(in), optional, target | kref | ||
) |
Build up density from lowermost atmosphere (3D)
[in] | pott | potential temperature [K] |
[in] | qv | water vapor [kg/kg] |
[in] | qc | liquid water [kg/kg] |
[in] | dz | distance between the layer (center) [m] |
[in,out] | dens | density [kg/m3] |
[in,out] | temp | temperature [K] |
[in,out] | pres | pressure [Pa] |
Definition at line 1110 of file scale_atmos_hydrostatic.F90.
References atmos_hydrostatic_buildrho_atmos_1d(), and scale_prc::prc_abort().
Referenced by atmos_hydrostatic_buildrho_real_3d().
subroutine scale_atmos_hydrostatic::atmos_hydrostatic_buildrho_atmos_rev_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) | pott, | ||
real(rp), dimension (ka,ia,ja), intent(in) | qv, | ||
real(rp), dimension (ka,ia,ja), intent(in) | qc, | ||
real(rp), dimension (ka,ia,ja), intent(in) | dz, | ||
real(rp), dimension(ka,ia,ja), intent(inout) | dens, | ||
real(rp), dimension(ka,ia,ja), intent(inout) | temp, | ||
real(rp), dimension(ka,ia,ja), intent(inout) | pres, | ||
integer, dimension(ia,ja), intent(in), optional, target | kref | ||
) |
Build up density from lowermost atmosphere (3D)
[in,out] | dens | density [kg/m3] |
[in,out] | temp | temperature [K] |
[in,out] | pres | pressure [Pa] |
[in] | pott | potential temperature [K] |
[in] | qv | water vapor [kg/kg] |
[in] | qc | liquid water [kg/kg] |
[in] | dz | distance between the layer (center) [m] |
Definition at line 1201 of file scale_atmos_hydrostatic.F90.
References atmos_hydrostatic_buildrho_atmos_rev_1d(), and scale_prc::prc_abort().
Referenced by atmos_hydrostatic_buildrho_3d(), and atmos_hydrostatic_buildrho_real_3d().
subroutine scale_atmos_hydrostatic::atmos_hydrostatic_buildrho_bytemp_1d | ( | integer, intent(in) | KA, |
integer, intent(in) | KS, | ||
integer, intent(in) | KE, | ||
real(rp), dimension(ka), intent(in) | temp, | ||
real(rp), dimension (ka), intent(in) | qv, | ||
real(rp), dimension (ka), intent(in) | qc, | ||
real(rp), intent(in) | pres_sfc, | ||
real(rp), intent(in) | temp_sfc, | ||
real(rp), intent(in) | qv_sfc, | ||
real(rp), intent(in) | qc_sfc, | ||
real(rp), dimension( ka), intent(in) | cz, | ||
real(rp), dimension(0:ka), intent(in) | fz, | ||
real(rp), dimension(ka), intent(out) | dens, | ||
real(rp), dimension(ka), intent(out) | pott, | ||
real(rp), dimension(ka), intent(out) | pres, | ||
real(rp), intent(out) | pott_sfc, | ||
logical, intent(out) | converged | ||
) |
Build up density from surface (1D)
[in] | temp | temperature [K] |
[in] | qv | water vapor [kg/kg] |
[in] | qc | liquid water [kg/kg] |
[in] | pres_sfc | surface pressure [Pa] |
[in] | temp_sfc | surface temperature [K] |
[in] | qv_sfc | surface water vapor [kg/kg] |
[in] | qc_sfc | surface liquid water [kg/kg] |
[out] | dens | density [kg/m3] |
[out] | pott | potential temperature [K] |
[out] | pres | pressure [Pa] |
[out] | pott_sfc | surface potential temperature [K] |
Definition at line 1296 of file scale_atmos_hydrostatic.F90.
References atmos_hydrostatic_buildrho_bytemp_atmos_1d(), scale_atmos_hydrometeor::cp_vapor, scale_atmos_hydrometeor::cp_water, scale_atmos_hydrometeor::cv_vapor, scale_atmos_hydrometeor::cv_water, and scale_prc::prc_abort().
Referenced by atmos_hydrostatic_buildrho_bytemp_3d().
subroutine scale_atmos_hydrostatic::atmos_hydrostatic_buildrho_bytemp_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) | qv, | ||
real(rp), dimension (ka,ia,ja), intent(in) | qc, | ||
real(rp), dimension(ia,ja), intent(in) | pres_sfc, | ||
real(rp), dimension(ia,ja), intent(in) | temp_sfc, | ||
real(rp), dimension (ia,ja), intent(in) | qv_sfc, | ||
real(rp), dimension (ia,ja), intent(in) | qc_sfc, | ||
real(rp), dimension(ka,ia,ja), intent(in) | cz, | ||
real(rp), dimension(ka,ia,ja), intent(in) | fz, | ||
real(rp), dimension(ka,ia,ja), intent(out) | dens, | ||
real(rp), dimension(ka,ia,ja), intent(out) | pott, | ||
real(rp), dimension(ka,ia,ja), intent(out) | pres, | ||
real(rp), dimension(ia,ja), intent(out) | pott_sfc | ||
) |
Build up density from surface (3D)
[in] | temp | temperature [K] |
[in] | qv | water vapor [kg/kg] |
[in] | qc | liquid water [kg/kg] |
[in] | pres_sfc | surface pressure [Pa] |
[in] | temp_sfc | surface temperature [K] |
[in] | qv_sfc | surface water vapor [kg/kg] |
[in] | qc_sfc | surface liquid water [kg/kg] |
[out] | dens | density [kg/m3] |
[out] | pott | potential temperature [K] |
[out] | pres | pressure [Pa] |
[out] | pott_sfc | surface potential temperature [K] |
Definition at line 1435 of file scale_atmos_hydrostatic.F90.
References atmos_hydrostatic_buildrho_bytemp_1d(), and scale_prc::prc_abort().
subroutine scale_atmos_hydrostatic::atmos_hydrostatic_buildrho_bytemp_atmos_1d | ( | integer, intent(in) | KA, |
integer, intent(in) | KS, | ||
integer, intent(in) | KE, | ||
real(rp), dimension(ka), intent(in) | temp, | ||
real(rp), dimension (ka), intent(in) | qv, | ||
real(rp), dimension (ka), intent(in) | qc, | ||
real(rp), dimension (ka), intent(in) | dz, | ||
real(rp), dimension(ka), intent(inout) | dens, | ||
real(rp), dimension(ka), intent(out) | pott, | ||
real(rp), dimension(ka), intent(out) | pres, | ||
logical, intent(out) | converged | ||
) |
Build up density from lowermost atmosphere (1D)
[in] | temp | temperature [K] |
[in] | qv | water vapor [kg/kg] |
[in] | qc | liquid water [kg/kg] |
[in,out] | dens | density [kg/m3] |
[out] | pott | potential temperature [K] |
[out] | pres | pressure [Pa] |
Definition at line 1516 of file scale_atmos_hydrostatic.F90.
References scale_atmos_hydrometeor::cp_vapor, scale_atmos_hydrometeor::cp_water, scale_atmos_hydrometeor::cv_vapor, scale_atmos_hydrometeor::cv_water, and scale_prc::prc_abort().
Referenced by atmos_hydrostatic_buildrho_bytemp_1d(), and atmos_hydrostatic_buildrho_bytemp_atmos_3d().
subroutine scale_atmos_hydrostatic::atmos_hydrostatic_buildrho_bytemp_atmos_rev_1d | ( | integer, intent(in) | KA, |
integer, intent(in) | KS, | ||
integer, intent(in) | KE, | ||
real(rp), dimension(ka), intent(in) | temp, | ||
real(rp), dimension (ka), intent(in) | qv, | ||
real(rp), dimension (ka), intent(in) | qc, | ||
real(rp), dimension (ka), intent(in) | dz, | ||
real(rp), dimension(ka), intent(inout) | dens, | ||
real(rp), dimension(ka), intent(out) | pott, | ||
real(rp), dimension(ka), intent(out) | pres, | ||
logical, intent(out) | converged | ||
) |
Build up density from upermost atmosphere (1D)
[in] | temp | temperature [K] |
[in] | qv | water vapor [kg/kg] |
[in] | qc | liquid water [kg/kg] |
[in,out] | dens | density [kg/m3] |
[out] | pott | potential temperature [K] |
[out] | pres | pressure [Pa] |
Definition at line 1631 of file scale_atmos_hydrostatic.F90.
References scale_atmos_hydrometeor::cp_vapor, scale_atmos_hydrometeor::cp_water, scale_atmos_hydrometeor::cv_vapor, scale_atmos_hydrometeor::cv_water, and scale_prc::prc_abort().
subroutine scale_atmos_hydrostatic::atmos_hydrostatic_buildrho_bytemp_atmos_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) | qv, | ||
real(rp), dimension (ka,ia,ja), intent(in) | qc, | ||
real(rp), dimension (ka,ia,ja), intent(in) | dz, | ||
real(rp), dimension(ka,ia,ja), intent(inout) | dens, | ||
real(rp), dimension(ka,ia,ja), intent(out) | pott, | ||
real(rp), dimension(ka,ia,ja), intent(out) | pres | ||
) |
Build up density from lowermost atmosphere (3D)
[in] | temp | temperature [K] |
[in] | qv | water vapor [kg/kg] |
[in] | qc | liquid water [kg/kg] |
[in,out] | dens | density [kg/m3] |
[out] | pott | potential temperature [K] |
[out] | pres | pressure [Pa] |
Definition at line 1739 of file scale_atmos_hydrostatic.F90.
References atmos_hydrostatic_buildrho_bytemp_atmos_1d(), and scale_prc::prc_abort().
subroutine scale_atmos_hydrostatic::atmos_hydrostatic_barometric_law_mslp_0d | ( | integer, intent(in) | KA, |
integer, intent(in) | KS, | ||
integer, intent(in) | KE, | ||
real(rp), dimension(ka), intent(in) | pres, | ||
real(rp), dimension(ka), intent(in) | temp, | ||
real(rp), dimension (ka), intent(in) | qv, | ||
real(rp), dimension (ka), intent(in) | cz, | ||
real(rp), intent(out) | mslp | ||
) |
Calculate mean sea-level pressure from barometric law (0D)
[in] | pres | pressure [Pa] |
[in] | temp | air temperature [K] |
[in] | qv | specific humidity [kg/kg] |
[in] | cz | height from MSL [m] |
[out] | mslp | mean sea-level pressure [Pa] |
Definition at line 1804 of file scale_atmos_hydrostatic.F90.