Changeset 2547 for palm/trunk/SOURCE/land_surface_model_mod.f90
- Timestamp:
- Oct 16, 2017 12:41:56 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/land_surface_model_mod.f90
r2532 r2547 25 25 ! ----------------- 26 26 ! $Id$ 27 ! extended by cloud_droplets option 28 ! 29 ! 2532 2017-10-11 16:00:46Z scharf 27 30 ! bugfixes in data_output_3d 28 31 ! … … 281 284 282 285 USE control_parameters, & 283 ONLY: cloud_ physics, coupling_start_time, dt_3d, end_time, humidity,&284 intermediate_timestep_count,&286 ONLY: cloud_droplets, cloud_physics, coupling_start_time, dt_3d, & 287 end_time, humidity, intermediate_timestep_count, & 285 288 initializing_actions, intermediate_timestep_count_max, & 286 289 land_surface, max_masks, precipitation, pt_surface, & … … 1531 1534 pt1 = pt(k,j,i) + l_d_cp * pt_d_t(k) * ql(k,j,i) 1532 1535 qv1 = q(k,j,i) - ql(k,j,i) 1536 ELSEIF ( cloud_droplets ) THEN 1537 pt1 = pt(k,j,i) + l_d_cp * pt_d_t(k) * ql(k,j,i) 1538 qv1 = q(k,j,i) 1533 1539 ELSE 1534 1540 pt1 = pt(k,j,i) … … 1950 1956 ! 1951 1957 !-- Calculate specific humidity at saturation 1952 q_s = 0.622_wp * e_s / surface_pressure 1958 q_s = 0.622_wp * e_s / surface_pressure - e_s 1953 1959 1954 1960 resistance = surf%r_a(m) / ( surf%r_a(m) + surf%r_s(m) ) … … 2491 2497 ENDIF 2492 2498 2493 IF ( cloud_physics ) THEN2499 IF ( cloud_physics .OR. cloud_droplets ) THEN 2494 2500 pt1 = pt(k,j,i) + l_d_cp * pt_d_t(k) * ql(k,j,i) 2495 2501 ELSE … … 2585 2591 k = surf_lsm_v(l)%k(m) 2586 2592 2587 IF ( cloud_physics ) THEN2593 IF ( cloud_physics .OR. cloud_droplets ) THEN 2588 2594 pt1 = pt(k,j,i) + l_d_cp * pt_d_t(k) * ql(k,j,i) 2589 2595 ELSE
Note: See TracChangeset
for help on using the changeset viewer.