Changes in src/get_wetscav.f90 [c7e771d:79e0349] in flexpart.git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/get_wetscav.f90
rc7e771d r79e0349 72 72 integer(kind=1) :: clouds_v 73 73 integer :: ks, kp 74 integer :: inc_count, blc_count 74 integer(selected_int_kind(16)), dimension(nspec) :: blc_count, inc_count 75 75 76 ! integer :: n1,n2, icbot,ictop, indcloud !TEST 76 77 real :: S_i, act_temp, cl, cle ! in cloud scavenging … … 237 238 if ((dquer(ks).le.0.).and.(weta_gas(ks).gt.0..or.wetb_gas(ks).gt.0.)) then 238 239 ! if (weta(ks).gt.0. .or. wetb(ks).gt.0.) then 239 blc_count =blc_count+1240 blc_count(ks)=blc_count(ks)+1 240 241 wetscav=weta_gas(ks)*prec(1)**wetb_gas(ks) 241 242 … … 243 244 !********************************************************************************* 244 245 else if ((dquer(ks).gt.0.).and.(crain_aero(ks).gt.0..or.csnow_aero(ks).gt.0.)) then 245 blc_count =blc_count+1246 blc_count(ks)=blc_count(ks)+1 246 247 247 248 !NIK 17.02.2015 … … 283 284 ! given in species file, or if gas and positive Henry's constant 284 285 if ((ccn_aero(ks).gt.0. .or. in_aero(ks).gt.0.).or.(henry(ks).gt.0.and.dquer(ks).le.0)) then 285 inc_count =inc_count+1286 inc_count(ks)=inc_count(ks)+1 286 287 ! write(*,*) 'Incloud: ',inc_count 287 288 ! if negative coefficients (turned off) set to zero for use in equation … … 297 298 else !parameterize cloudwater m2/m3 298 299 !ZHG updated parameterization of cloud water to better reproduce the values coming from ECMWF 299 cl=1.6E-6*prec(1)**0.36 300 ! sec test 301 ! cl=1E6*1E-7*prec(1)**0.3 !Sec GFS new 302 cl=1E6*2E-7*prec(1)**0.36 !Sec ECMWF new 303 ! cl=2E-7*prec(1)**0.36 !Andreas 304 ! cl=1.6E-6*prec(1)**0.36 !Henrik 300 305 endif 301 306 … … 317 322 if (dquer(ks).gt.0.) then 318 323 S_i= frac_act/cl 324 ! write(*,*) 'Si: ',S_i 319 325 320 326 ! GAS … … 333 339 wetscav=incloud_ratio*S_i*(prec(1)/3.6E6) 334 340 else 335 wetscav=incloud_ratio*S_i*(prec(1)/3.6E6)/clouds_h 341 !SEC wetscav fix 342 wetscav=incloud_ratio*S_i*(prec(1)/3.6E6) 343 ! wetscav=incloud_ratio*S_i*(prec(1)/3.6E6)/clouds_h 336 344 endif 337 345 endif ! positive in-cloud scavenging parameters given in Species file
Note: See TracChangeset
for help on using the changeset viewer.