Changeset 2891
- Timestamp:
- Feb 7, 2023, 4:13:22 PM (22 months ago)
- Location:
- trunk/LMDZ.GENERIC/libf/phystd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phystd/physiq_mod.F90
r2890 r2891 1671 1671 zdqssnow_generic(1:ngrid,1:nq) = 0.0 1672 1672 1673 call rain_generic(ngrid,nlayer,nq,ptimestep,pplev,pplay,p t,pdt,pq,pdq, &1673 call rain_generic(ngrid,nlayer,nq,ptimestep,pplev,pplay,pphi,pt,pdt,pq,pdq, & 1674 1674 zdtrain_generic,dq_rain_generic_vap,dq_rain_generic_cld, & 1675 1675 zdqsrain_generic,zdqssnow_generic,reevap_precip_generic,cloudfrac) … … 2692 2692 CALL send_xios_field('h2o_ice',zq(:,:,igcm_h2o_ice)) 2693 2693 ENDIF 2694 2694 2695 2695 CALL send_xios_field("ISR",fluxtop_dn) 2696 2696 CALL send_xios_field("OLR",fluxtop_lw) -
trunk/LMDZ.GENERIC/libf/phystd/rain_generic.F90
r2782 r2891 1 subroutine rain_generic(ngrid,nlayer,nq,ptimestep,pplev,pplay, t,pdt,pq,pdq,d_t,dq_rain_generic_vap,dq_rain_generic_cld,dqsrain_generic,dqssnow_generic,reevap_precip,rneb)1 subroutine rain_generic(ngrid,nlayer,nq,ptimestep,pplev,pplay,pphi,t,pdt,pq,pdq,d_t,dq_rain_generic_vap,dq_rain_generic_cld,dqsrain_generic,dqssnow_generic,reevap_precip,rneb) 2 2 3 3 … … 33 33 real,intent(in) :: pplev(ngrid,nlayer+1) ! inter-layer pressure (Pa) 34 34 real,intent(in) :: pplay(ngrid,nlayer) ! mid-layer pressure (Pa) 35 real,intent(in) :: pphi(ngrid,nlayer) ! mid-layer geopotential 35 36 real,intent(in) :: t(ngrid,nlayer) ! input temperature (K) 36 37 real,intent(in) :: pdt(ngrid,nlayer) ! input tendency on temperature (K/s) … … 283 284 precip_rate(i) = precip_rate_tmp(i) 284 285 end if 286 #ifdef MESOSCALE 287 d_t(i,k) = d_t(i,k)+(pphi(i,k+1)-pphi(i,k))*precip_rate(i)*ptimestep/(RCPD*dmass(i,k)) 288 ! JL22. Accounts for gravitational energy of falling precipitations (probably not to be used in the GCM 289 ! where the counterpart is not included in the dynamics.) 290 #endif 285 291 endif ! of if (precip_rate(i) .GT.0.) 286 292 enddo
Note: See TracChangeset
for help on using the changeset viewer.