Changeset 1859 for trunk/LMDZ.GENERIC
- Timestamp:
- Dec 16, 2017, 3:15:53 PM (7 years ago)
- Location:
- trunk/LMDZ.GENERIC/libf/phystd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phystd/physiq_mod.F90
r1842 r1859 275 275 real zdqsrain(ngrid), zdqssnow(ngrid) ! Rain routine. 276 276 real dqs_hyd(ngrid,nq) ! Hydrol routine. 277 real reevap_precip(ngrid) ! re-evaporation flux of precipitation (integrated over the atmospheric column) 277 278 278 279 ! For Tracers : (kg/kg_of_air/s) … … 1284 1285 1285 1286 call rain(ngrid,nlayer,nq,ptimestep,pplev,pplay,pt,pdt,pq,pdq, & 1286 zdtrain,zdqrain,zdqsrain,zdqssnow, cloudfrac)1287 zdtrain,zdqrain,zdqsrain,zdqssnow,reevap_precip,cloudfrac) 1287 1288 1288 1289 pdq(1:ngrid,1:nlayer,igcm_h2o_vap) = pdq(1:ngrid,1:nlayer,igcm_h2o_vap) & … … 2111 2112 call writediagfi(ngrid,"rain","rainfall","kg m-2 s-1",2,zdqsrain) 2112 2113 call writediagfi(ngrid,"snow","snowfall","kg m-2 s-1",2,zdqssnow) 2114 call writediagfi(ngrid,"reevap","reevaporation of precipitation","kg m-2 s-1",2,reevap_precip) 2113 2115 endif 2114 2116 -
trunk/LMDZ.GENERIC/libf/phystd/rain.F90
r1521 r1859 1 subroutine rain(ngrid,nlayer,nq,ptimestep,pplev,pplay,t,pdt,pq,pdq,d_t,dqrain,dqsrain,dqssnow,r neb)1 subroutine rain(ngrid,nlayer,nq,ptimestep,pplev,pplay,t,pdt,pq,pdq,d_t,dqrain,dqsrain,dqssnow,reevap_precip,rneb) 2 2 3 3 … … 38 38 real,intent(out) :: dqsrain(ngrid) ! rain flux at the surface (kg.m-2.s-1) 39 39 real,intent(out) :: dqssnow(ngrid) ! snow flux at the surface (kg.m-2.s-1) 40 real,intent(out) :: reevap_precip(ngrid) ! re-evaporation flux of precipitation integrated over the atmospheric column (kg.m-2.s-1) 40 41 real,intent(in) :: rneb(ngrid,nlayer) ! cloud fraction 41 42 … … 379 380 dqrain(1:ngrid,1:nlayer,i_vap)=d_q(1:ngrid,1:nlayer)/ptimestep 380 381 d_t(1:ngrid,1:nlayer)=d_t(1:ngrid,1:nlayer)/ptimestep 382 do i=1,ngrid 383 reevap_precip(i)=0. 384 do k=1,nlayer 385 reevap_precip(i)=reevap_precip(i)+dqrain(i,k,i_vap)*l2c(i,k) 386 enddo 387 enddo 381 388 else 382 389 dqrain(1:ngrid,1:nlayer,i_vap)=0.0
Note: See TracChangeset
for help on using the changeset viewer.