Changeset 5218 for LMDZ6/branches/Amaury_dev/libf
- Timestamp:
- Sep 23, 2024, 2:23:42 PM (3 months ago)
- Location:
- LMDZ6/branches/Amaury_dev
- Files:
-
- 3 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev
- Property svn:mergeinfo changed
/LMDZ6/trunk merged: 5138,5147,5149
- Property svn:mergeinfo changed
-
LMDZ6/branches/Amaury_dev/libf/misc/slatec_libmath_pch.f90
r5217 r5218 2 2 3 3 MODULE lmdz_libmath_pch 4 USE lmdz_xer, ONLY: xermsg4 USE slatec_xer, ONLY: xermsg 5 5 IMPLICIT NONE; PRIVATE 6 6 PUBLIC pchfe_95, pchsp_95 -
LMDZ6/branches/Amaury_dev/libf/phylmd/phys_output_write_mod.F90
r5160 r5218 2921 2921 i = INDEX(outiso, '_', .TRUE.) 2922 2922 outiso = outiso(1:i-1)//outiso(i+1:LEN_TRIM(outiso)) 2923 ! dayly 2924 CALL xios_set_fieldgroup_attr("dd_2D_"//TRIM(outiso), enabled=.TRUE.) 2925 CALL xios_set_fieldgroup_attr("dd_3D_"//TRIM(outiso), enabled=.TRUE.) 2926 ! monthly 2927 CALL xios_set_fieldgroup_attr("mm_2D_"//TRIM(outiso), enabled=.TRUE.) 2928 CALL xios_set_fieldgroup_attr("mm_3D_"//TRIM(outiso), enabled=.TRUE.) 2923 2924 CALL xios_set_fieldgroup_attr("iso2D_"//TRIM(outiso), enabled=.TRUE.) 2925 CALL xios_set_fieldgroup_attr("iso3D_"//TRIM(outiso), enabled=.TRUE.) 2929 2926 2930 2927 ENDDO -
LMDZ6/branches/Amaury_dev/libf/phylmdiso/reevap.F90
r5160 r5218 28 28 REAL, DIMENSION(klon,klev,nqtot), INTENT(IN) :: qx 29 29 REAL, DIMENSION(klon,klev), INTENT(OUT) :: d_t_eva 30 REAL, DIMENSION(klon,klev,nqtot), INTENT(OUT) :: 30 REAL, DIMENSION(klon,klev,nqtot), INTENT(OUT) :: d_qx_eva 31 31 32 32 REAL za,zb,zdelta,zlvdcp,zlsdcp … … 35 35 !--------Stochastic Boundary Layer Triggering: ALE_BL-------- 36 36 37 DO ixt =1,1+ntiso37 DO ixt = 1, 1+ntiso 38 38 ! Re-evaporer l'eau liquide nuageuse 39 39 … … 43 43 !PRINT *,'rrevap ; fl_cor_ebil:',fl_cor_ebil,' iflag_ice_thermo:',iflag_ice_thermo,' RVTMP2',RVTMP2 44 44 DO k = 1, klev ! re-evaporation de l'eau liquide nuageuse 45 45 DO i = 1, klon 46 46 47 IF (ixt ==1) THEN47 IF (ixt == 1) THEN ! water 48 48 IF (fl_cor_ebil > 0) THEN 49 49 !zlvdcp=RLVTT/RCPD/(1.0+RVTMP2*(q_seri(i,k)+ql_seri(i,k)+qs_seri(i,k))) … … 51 51 zlvdcp=RLVTT/RCPD/(1.0+RVTMP2*(qx(i,k,ivapcur)+qx(i,k,iliqcur)+qx(i,k,isolcur))) 52 52 zlsdcp=RLSTT/RCPD/(1.0+RVTMP2*(qx(i,k,ivapcur)+qx(i,k,iliqcur)+qx(i,k,isolcur))) 53 else53 ELSE 54 54 zlvdcp=RLVTT/RCPD/(1.0+RVTMP2*qx(i,k,ivapcur)) 55 55 !jyg< … … 57 57 ! A verifier !!! 58 58 zlsdcp=RLSTT/RCPD/(1.0+RVTMP2*qx(i,k,ivapcur)) 59 end if59 END IF 60 60 IF (iflag_ice_thermo == 0) THEN 61 61 zlsdcp=zlvdcp 62 END IF62 END IF 63 63 !>jyg 64 END IF 65 IF (iflag_ice_thermo == 0) THEN 66 !pas necessaire a priori 67 68 zdelta = MAX(0., SIGN(1., RTT - t_seri(i, k))) 69 zdelta = 0. 70 zb = MAX(0.0, qx(i, k, iliqcur)) 71 IF (ixt == 1) THEN 72 za = - MAX(0.0, qx(i, k, iliqcur)) & 73 * (zlvdcp * (1. - zdelta) + zlsdcp * zdelta) 74 d_t_eva(i, k) = za 75 END IF 76 d_qx_eva(i, k, ivapcur) = zb 77 d_qx_eva(i, k, iliqcur) = -qx(i, k, iliqcur) 78 d_qx_eva(i, k, isolcur) = 0. 79 80 ELSE 81 64 82 !CR: on r\'e-\'evapore eau liquide et glace 65 83 … … 68 86 ! za = - MAX(0.0,ql_seri(i,k)) & 69 87 ! * (zlvdcp*(1.-zdelta)+zlsdcp*zdelta) 70 za = - MAX(0.0,qx(i,k,iliqcur))*zlvdcp & 71 - MAX(0.0,qx(i,k,iliqcur))*zlsdcp 72 d_t_eva(i,k) = za 88 IF (ixt == 1) THEN 89 za = - MAX(0.0, qx(i, k, iliqcur)) * zlvdcp & 90 - MAX(0.0, qx(i, k, iliqcur)) * zlsdcp 91 d_t_eva(i, k) = za 73 92 74 endif !if (ixt.EQ.1) THEN93 END IF 75 94 !zb = MAX(0.0,ql_seri(i,k)+qs_seri(i,k)) 76 95 !d_q_eva(i,k) = zb … … 82 101 d_qx_eva(i,k,iliqcur) = -qx(i,k,iliqcur) 83 102 d_qx_eva(i,k,isolcur) = -qx(i,k,isolcur) 103 END IF 84 104 85 105 86 ENDDO87 END DO106 END DO 107 END DO 88 108 89 enddo ! do ixt=1,1+niso*(nzone +1) 90 109 END DO ! DO ixt = 1, 1+niso*(nzone +1) 91 110 92 111
Note: See TracChangeset
for help on using the changeset viewer.