Changeset 3039
- Timestamp:
- May 24, 2018 1:13:11 PM (7 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/lpm_calc_liquid_water_content.f90
r2718 r3039 25 25 ! ----------------- 26 26 ! $Id$ 27 ! bugfix for lcm with grid stretching 28 ! 29 ! 2718 2018-01-02 08:49:38Z maronga 27 30 ! Corrected "Former revisions" section 28 31 ! … … 67 70 68 71 USE arrays_3d, & 69 ONLY: ql, ql_v, ql_vp72 ONLY: dzw, ql, ql_v, ql_vp 70 73 71 74 USE cloud_parameters, & … … 127 130 IF ( ql_v(k,j,i) /= 0.0_wp ) THEN 128 131 ql(k,j,i) = ql(k,j,i) + rho_l * 1.33333333_wp * pi * & 129 ql_v(k,j,i) / &130 ( rho_surface * dx * dy * dz )132 ql_v(k,j,i) / & 133 ( rho_surface * dx * dy * dzw(k) ) 131 134 132 135 IF ( ql(k,j,i) < 0.0_wp ) THEN -
palm/trunk/SOURCE/lpm_droplet_collision.f90
r2718 r3039 25 25 ! ----------------- 26 26 ! $Id$ 27 ! bugfix for lcm with grid stretching 28 ! 29 ! 2718 2018-01-02 08:49:38Z maronga 27 30 ! Corrected "Former revisions" section 28 31 ! … … 114 117 115 118 USE arrays_3d, & 116 ONLY: diss, ql_v, ql_vp119 ONLY: diss, dzw, ql_v, ql_vp 117 120 118 121 USE cloud_parameters, & … … 174 177 number_of_particles = prt_count(k,j,i) 175 178 factor_volume_to_mass = 4.0_wp / 3.0_wp * pi * rho_l 176 ddV = 1.0_wp / ( dx * dy * dz )179 ddV = 1.0_wp / ( dx * dy * dzw(k) ) 177 180 ! 178 181 !-- Collision requires at least one super droplet inside the box -
palm/trunk/SOURCE/lpm_droplet_condensation.f90
r2718 r3039 25 25 ! ----------------- 26 26 ! $Id$ 27 ! bugfix for lcm with grid stretching 28 ! 29 ! 2718 2018-01-02 08:49:38Z maronga 27 30 ! Corrected "Former revisions" section 28 31 ! … … 124 127 125 128 USE arrays_3d, & 126 ONLY: hyp, pt, q, ql_c, ql_v129 ONLY: dzw, hyp, pt, q, ql_c, ql_v 127 130 128 131 USE cloud_parameters, & … … 372 375 rho_l * 1.33333333_wp * pi * & 373 376 ( new_r(n)**3 - particles(n)%radius**3 ) / & 374 ( rho_surface * dx * dy * dz )377 ( rho_surface * dx * dy * dzw(kp) ) 375 378 ! 376 379 !-- Check if the increase in liqid water is not too big. If this is the case, -
palm/trunk/SOURCE/lpm_init.f90
r2967 r3039 25 25 ! ----------------- 26 26 ! $Id$ 27 ! bugfix for lcm with grid stretching 28 ! 29 ! 2967 2018-04-13 11:22:08Z raasch 27 30 ! nesting routine is only called if nesting is switched on 28 31 ! … … 209 212 210 213 USE arrays_3d, & 211 ONLY: de_dx, de_dy, de_dz, zu, zw214 ONLY: de_dx, de_dy, de_dz, dzw, zu, zw 212 215 213 216 USE control_parameters, & … … 1161 1164 na(3) / ( SQRT( 2.0 * pi ) * log_sigma(3) ) * & 1162 1165 EXP( - LOG10( r_mid / rm(3) )**2 / ( 2.0 * log_sigma(3)**2 ) ) & 1163 ) * ( LOG10(r_r) - LOG10(r_l) ) * ( dx * dy * dz )1166 ) * ( LOG10(r_r) - LOG10(r_l) ) * ( dx * dy * dzw(kp) ) 1164 1167 1165 1168 !
Note: See TracChangeset
for help on using the changeset viewer.