Changeset 4506 for palm/trunk/SOURCE
- Timestamp:
- Apr 21, 2020 10:57:45 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/bulk_cloud_model_mod.f90
r4502 r4506 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Use correct magnus formula for liquid water temperature 28 ! 29 ! 4502 2020-04-17 16:14:16Z schwenkel 27 30 ! Implementation of ice microphysics 28 31 ! … … 134 137 135 138 USE basic_constants_and_equations_mod, & 136 ONLY: c_p, g, lv_d_cp, lv_d_rd, l_v, magnus, magnus_ice, 139 ONLY: c_p, g, lv_d_cp, lv_d_rd, l_v, magnus, magnus_ice, magnus_tl, & 137 140 molecular_weight_of_solute, & 138 141 molecular_weight_of_water, pi, rho_l, rho_s, r_d, r_v, vanthoff,& … … 1280 1283 d_exner = exner_function_invers(hyp) 1281 1284 exner = 1.0_wp / exner_function_invers(hyp) 1282 hyrho = ideal_gas_law_rho_pt(hyp, pt (:, nys, nxl))1285 hyrho = ideal_gas_law_rho_pt(hyp, pt_init) 1283 1286 ! 1284 1287 !-- Compute reference density … … 1396 1399 d_exner = exner_function_invers(hyp) 1397 1400 exner = 1.0_wp / exner_function_invers(hyp) 1398 hyrho = ideal_gas_law_rho_pt(hyp, pt (:, nys, nxl))1401 hyrho = ideal_gas_law_rho_pt(hyp, pt_init) 1399 1402 ! 1400 1403 !-- Compute reference density … … 6434 6437 ! 6435 6438 !-- Calculate water vapor saturation pressure 6436 e_s = magnus ( t_l )6439 e_s = magnus_tl( t_l ) 6437 6440 ! 6438 6441 !-- Computation of saturation mixing ratio:
Note: See TracChangeset
for help on using the changeset viewer.