Changeset 2608 for palm/trunk/SOURCE/calc_liquid_water_content.f90
- Timestamp:
- Nov 13, 2017 2:04:26 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/calc_liquid_water_content.f90
r2292 r2608 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Calculation of supersaturation in external module (diagnostic_quantities_mod). 28 ! Change: correct calculation of saturation specific humidity to saturation 29 ! mixing ratio (the factor of 0.378 vanishes). 30 ! 31 ! 2292 2017-06-20 09:51:42Z schwenkel 27 32 ! Implementation of new microphysic scheme: cloud_scheme = 'morrison' 28 33 ! includes two more prognostic equations for cloud drop concentration (nc) … … 82 87 83 88 USE arrays_3d, & 84 ONLY: hyp, pt, q, qc, ql, qr 85 86 USE cloud_parameters, & 87 ONLY: l_d_cp, l_d_r, t_d_pt 89 ONLY: q, qc, ql, qr 88 90 89 91 USE control_parameters, & 90 92 ONLY: microphysics_morrison, microphysics_seifert 93 94 USE diagnostic_quantities_mod, & 95 ONLY: e_s, magnus, q_s, sat, supersaturation, t_l 91 96 92 97 USE indices, & … … 104 109 INTEGER(iwp) :: k !< 105 110 106 REAL(wp) :: alpha !<107 REAL(wp) :: e_s !<108 REAL(wp) :: q_s !<109 REAL(wp) :: t_l !<110 111 111 112 DO i = nxlg, nxrg … … 114 115 115 116 ! 116 !-- Compute the liquid water temperature 117 t_l = t_d_pt(k) * pt(k,j,i) 118 119 ! 120 !-- Compute saturation water vapor pressure at t_l 121 e_s = 610.78_wp * EXP( 17.269_wp * ( t_l - 273.16_wp ) / & 122 ( t_l - 35.86_wp ) ) 123 124 ! 125 !-- Compute approximation of saturation humidity 126 q_s = 0.622_wp * e_s / ( hyp(k) - 0.378_wp * e_s ) 127 128 ! 129 !-- Correction factor 130 alpha = 0.622_wp * l_d_r * l_d_cp / ( t_l * t_l ) 131 132 ! 133 !-- Correction of the approximated value 134 !-- (see: Cuijpers + Duynkerke, 1993, JAS, 23) 135 q_s = q_s * ( 1.0_wp + alpha * q(k,j,i) ) / ( 1.0_wp + alpha * q_s ) 117 !-- Call calculation of supersaturation located 118 !-- in diagnostic_quantities_mod 119 CALL supersaturation ( i, j, k ) 136 120 137 121 !
Note: See TracChangeset
for help on using the changeset viewer.