Changeset 4397
- Timestamp:
- Jan 24, 2023, 2:26:51 PM (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/lscp_mod.F90
r4392 r4397 394 394 ! -------------------------------------------------------------------- 395 395 396 IF (iflag_evap_prec.GE.1) THEN ! useless -> to be removed396 IF (iflag_evap_prec.GE.1) THEN 397 397 398 398 ! Calculation of saturation specific humidity … … 958 958 zcl=cld_lc_con 959 959 zct=1./cld_tau_con 960 zfroi = dtime/REAL(ninter)/zdz(i)*zoliq (i)*velo(i,k)*zfice(i)960 zfroi = dtime/REAL(ninter)/zdz(i)*zoliqi(i)*velo(i,k) 961 961 ELSE 962 962 zcl=cld_lc_lsc 963 963 zct=1./cld_tau_lsc 964 zfroi = dtime/REAL(ninter)/zdz(i)*zoliq (i) & ! dqice/dt=1/rho*d(rho*wice*qice)/dz965 *velo(i,k) * zfice(i)964 zfroi = dtime/REAL(ninter)/zdz(i)*zoliqi(i) & ! dqice/dt=1/rho*d(rho*wice*qice)/dz 965 *velo(i,k) 966 966 ENDIF 967 967 … … 972 972 973 973 974 ! warning: here should be zoliql?975 974 IF ((iflag_cloudth_vert.GE.3).AND.(iflag_rain_incloud_vol.EQ.1)) THEN 976 zchau = zct *dtime/REAL(ninter) * zoliq (i) &977 *(1.0-EXP(-(zoliq (i)/ctot_vol(i,k)/zcl)**2)) *(1.-zfice(i))975 zchau = zct *dtime/REAL(ninter) * zoliql(i) & 976 *(1.0-EXP(-(zoliql(i)/ctot_vol(i,k)/zcl)**2)) 978 977 ELSE 979 zchau = zct *dtime/REAL(ninter) * zoliq (i) &980 *(1.0-EXP(-(zoliq (i)/zneb(i)/zcl)**2)) *(1.-zfice(i))! dqliq/dt=-qliq/tau*(1-exp(-qcin/clw)**2)978 zchau = zct *dtime/REAL(ninter) * zoliql(i) & 979 *(1.0-EXP(-(zoliql(i)/zneb(i)/zcl)**2)) ! dqliq/dt=-qliq/tau*(1-exp(-qcin/clw)**2) 981 980 ENDIF 982 981 983 zrain = MIN(MAX(zchau,0.0),zoliq (i)*(1.-zfice(i)))984 zsnow = MIN(MAX(zfroi,0.0),zoliq (i)*zfice(i))982 zrain = MIN(MAX(zchau,0.0),zoliql(i)) 983 zsnow = MIN(MAX(zfroi,0.0),zoliqi(i)) 985 984 zprecip = MAX(zrain + zsnow,0.0) 986 985
Note: See TracChangeset
for help on using the changeset viewer.