Changeset 5647 for LMDZ6/trunk
- Timestamp:
- May 10, 2025, 9:25:12 PM (4 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/lmdz_lscp_main.f90
r5633 r5647 149 149 REAL, DIMENSION(klon,klev+1), INTENT(IN) :: tke ! turbulent kinetic energy [m2/s2] 150 150 REAL, DIMENSION(klon,klev+1), INTENT(IN) :: tke_dissip ! TKE dissipation [m2/s3] 151 REAL, DIMENSION(klon,klev), INTENT(IN) :: entr_therm ! thermal plume entrainment rate [kg/s/m2] ! per mesh surface unit152 REAL, DIMENSION(klon,klev), INTENT(IN) :: detr_therm ! thermal plume detrainment rate [kg/s/m2] ! per mesh surface unit151 REAL, DIMENSION(klon,klev), INTENT(IN) :: entr_therm ! thermal plume entrainment rate * dz [kg/s/m2] 152 REAL, DIMENSION(klon,klev), INTENT(IN) :: detr_therm ! thermal plume detrainment rate * dz [kg/s/m2] 153 153 154 154 … … 312 312 REAL, DIMENSION(klon) :: znebprecip, znebprecipclr, znebprecipcld 313 313 REAL, DIMENSION(klon) :: tot_zneb 314 REAL, DIMENSION(klon) :: zdistcltop, ztemp_cltop 314 REAL, DIMENSION(klon) :: zdistcltop, ztemp_cltop, zdeltaz 315 315 REAL, DIMENSION(klon) :: zqliq, zqice, zqvapcl, zqliqth, zqiceth, zqvapclth, sursat_e, invtau_e ! for icefrac_lscp_turb 316 316 … … 658 658 Tbefthm1(:)=Tbefth(:) 659 659 ENDIF 660 zqth=qta(:,k) 660 zqth(:)=qta(:,k) 661 zdeltaz(:)=(paprs(:,k)-paprs(:,k+1))/RG/zp(:)*RD*zt(:) 661 662 662 663 ! Treatment of stratiform clouds (lognormale or ice-sursat) or all clouds (including cloudth … … 849 850 ENDIF 850 851 sursat_e(i)=cloudth_senv(i,k)/zqsi(i) 851 invtau_e(i)=gamma_mixth*MAX(entr_therm(i,k)-detr_therm(i,k),0.)*RD*Tbef(i)/zp(i) 852 invtau_e(i)=gamma_mixth*MAX(entr_therm(i,k)-detr_therm(i,k),0.)*RD*Tbef(i)/zp(i)/zdeltaz(i) 852 853 ENDDO 853 854 CALL icefrac_lscp_turb(klon, dtime, pticefracturb, Tbefth, zp, paprs(:,k), paprs(:,k+1), wth(:,k), zqi_ini, & … … 860 861 IF (k .GT. 1) THEN 861 862 ! evaluate the mixing sursaturation using saturation deficit at level below 863 ! as air pacels detraining into clouds have not (less) seen yet entrainement from above 862 864 sursat_e(i)=cloudth_sth(i,k-1)/(zqsith(i)+zdqsith(i)*RCPD/RLSTT*(Tbefthm1(i)-Tbefth(i))) 863 invtau_e(i)=gamma_mixth*MAX(detr_therm(i,k)-entr_therm(i,k),0.)*RD*Tbef(i)/zp(i) 865 ! mixing is assumed to scales with intensity of net detrainment/entrainment rate (D/dz-E/dz) / rho 866 invtau_e(i)=gamma_mixth*MAX(detr_therm(i,k)-entr_therm(i,k),0.)*RD*Tbef(i)/zp(i)/zdeltaz(i) 864 867 ELSE 865 868 sursat_e(i)=0.
Note: See TracChangeset
for help on using the changeset viewer.