Changeset 1859 for trunk/LMDZ.GENERIC


Ignore:
Timestamp:
Dec 16, 2017, 3:15:53 PM (7 years ago)
Author:
mturbet
Message:

add diagnostic of reevaporation of precipitation

Location:
trunk/LMDZ.GENERIC/libf/phystd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/phystd/physiq_mod.F90

    r1842 r1859  
    275275      real zdqsrain(ngrid), zdqssnow(ngrid) ! Rain routine.
    276276      real dqs_hyd(ngrid,nq)                ! Hydrol routine.
     277      real reevap_precip(ngrid)             ! re-evaporation flux of precipitation (integrated over the atmospheric column)
    277278                 
    278279      ! For Tracers : (kg/kg_of_air/s)
     
    12841285
    12851286               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)
    12871288
    12881289               pdq(1:ngrid,1:nlayer,igcm_h2o_vap) = pdq(1:ngrid,1:nlayer,igcm_h2o_vap) &
     
    21112112               call writediagfi(ngrid,"rain","rainfall","kg m-2 s-1",2,zdqsrain)
    21122113               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)
    21132115            endif
    21142116
  • 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,rneb)
     1subroutine rain(ngrid,nlayer,nq,ptimestep,pplev,pplay,t,pdt,pq,pdq,d_t,dqrain,dqsrain,dqssnow,reevap_precip,rneb)
    22
    33
     
    3838      real,intent(out) :: dqsrain(ngrid)  ! rain flux at the surface (kg.m-2.s-1)
    3939      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)
    4041      real,intent(in) :: rneb(ngrid,nlayer) ! cloud fraction
    4142
     
    379380        dqrain(1:ngrid,1:nlayer,i_vap)=d_q(1:ngrid,1:nlayer)/ptimestep
    380381        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
    381388      else
    382389        dqrain(1:ngrid,1:nlayer,i_vap)=0.0
Note: See TracChangeset for help on using the changeset viewer.