Changeset 2011
- Timestamp:
- Apr 10, 2014, 3:16:18 PM (11 years ago)
- Location:
- LMDZ5/trunk/libf/phylmd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/coefcdrag.F90
r1907 r2011 52 52 include "YOMCST.h" 53 53 include "YOETHF.h" 54 INCLUDE "clesphys.h" 54 55 ! Quelques constantes : 55 56 REAL, parameter :: RKAR=0.40, CB=5.0, CC=5.0, CD=5.0, cepdu2=(0.1)**2 … … 75 76 (1.+ RETV * max(q(i),0.0)))) 76 77 ztsolv(i) = ts(i) 77 ztvd(i) = t(i) * (psol(i)/pref(i))**RKAPPA 78 ! ztvd(i) = t(i) * (psol(i)/pref(i))**RKAPPA 79 ztvd(i) = (t(i)+zdphi(i)/RCPD/(1.+RVTMP2*q(i))) & 80 *(1.+RETV*q(i)) 78 81 trm0(i) = 1. + RETV * max(qsurf(i),0.0) 79 82 trm1(i) = 1. + RETV * max(q(i),0.0) 80 83 ztsolv(i) = ztsolv(i) * trm0(i) 81 ztvd(i) = ztvd(i) * trm1(i)84 ! ztvd(i) = ztvd(i) * trm1(i) 82 85 zri1(i) = zdphi(i)*(ztvd(i)-ztsolv(i))/(zdu2(i)*ztvd(i)) 83 86 ! … … 110 113 zcfm1(i) = cdran(i) * friv(i) 111 114 frih(i) = max(1./ (1.+3.*CB*zri1(i)*zscf(i)), 0.1 ) 112 zcfh1(i) = cdran(i) * frih(i) 115 ! zcfh1(i) = cdran(i) * frih(i) 116 zcfh1(i) = f_cdrag_ter*cdran(i) * frih(i) 117 IF(nsrf.EQ.is_oce) zcfh1(i)=f_cdrag_oce*cdran(i)*frih(i) 113 118 cdram(i) = zcfm1(i) 114 119 cdrah(i) = zcfh1(i) … … 126 131 *(1.0+zdphi(i)/(RG*rugos(i))))) 127 132 zcfm2(i) = cdran(i)*max((1.-2.0*CB*zri1(i)*zucf(i)),0.1) 128 zcfh2(i) = cdran(i)*max((1.-3.0*CB*zri1(i)*zucf(i)),0.1) 133 ! zcfh2(i) = cdran(i)*max((1.-3.0*CB*zri1(i)*zucf(i)),0.1) 134 zcfh2(i) = f_cdrag_ter*cdran(i)*max((1.-3.0*CB*zri1(i)*zucf(i)),0.1) 129 135 cdram(i) = zcfm2(i) 130 136 cdrah(i) = zcfh2(i) … … 138 144 zcr(i) = (0.0016/(cdran(i)*SQRT(zdu2(i))))*ABS(ztvd(i)-ztsolv(i)) & 139 145 **(1./3.) 140 IF (nsrf.EQ.is_oce) cdrah(i) = cdran(i)*(1.0+zcr(i)**1.25) & 146 ! IF (nsrf.EQ.is_oce) cdrah(i) = cdran(i)*(1.0+zcr(i)**1.25) & 147 ! **(1./1.25) 148 IF (nsrf.EQ.is_oce) cdrah(i)=f_cdrag_oce*cdran(i)*(1.0+zcr(i)**1.25) & 141 149 **(1./1.25) 142 150 ENDIF -
LMDZ5/trunk/libf/phylmd/surf_land_orchidee_mod.F90
r1907 r2011 370 370 371 371 ! zlev(1:knon) = (100.*plev(1:knon))/((ps(1:knon)/287.05*temp_air(1:knon))*9.80665) 372 zlev(1:knon) = (100.*plev(1:knon))/((ps(1:knon)/RD*temp_air(1:knon))*RG) 372 ! zlev(1:knon) = (100.*plev(1:knon))/((ps(1:knon)/RD*temp_air(1:knon))*RG) 373 zlev(1:knon) = plev(1:knon)*RD*temp_air(1:knon)/((ps(1:knon)*100.0)*RG) 373 374 374 375
Note: See TracChangeset
for help on using the changeset viewer.