Changeset 2278 for LMDZ5/trunk
- Timestamp:
- May 15, 2015, 6:06:07 PM (10 years ago)
- Location:
- LMDZ5/trunk/libf/phylmd
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/cdrag.F90
r2243 r2278 211 211 pcfh(i) = zcdn_h(i)* fins(zri(i)) 212 212 ENDIF 213 ! cdrah sur l'ocean cf. Miller et al. (1992) 214 zcr = (0.0016/(zcdn_m(i)*SQRT(zdu2)))*ABS(ztvd-ztsolv)**(1./3.) 215 IF(nsrf.EQ.is_oce) pcfh(i) =f_cdrag_oce* zcdn_h(i)*(1.0+zcr**1.25)**(1./1.25) 213 IF(iflag_gusts==0) THEN 214 ! cdrah sur l'ocean cf. Miller et al. (1992) - only active when gustiness parameterization is not active 215 zcr = (0.0016/(zcdn_m(i)*SQRT(zdu2)))*ABS(ztvd-ztsolv)**(1./3.) 216 IF(nsrf.EQ.is_oce) pcfh(i) =f_cdrag_oce* zcdn_h(i)*(1.0+zcr**1.25)**(1./1.25) 217 ENDIF 216 218 ENDIF 217 219 END DO -
LMDZ5/trunk/libf/phylmd/clcdrag.F90
r2232 r2278 129 129 pcfh(i) = zcdn(i)* fins(zri(i)) 130 130 ENDIF 131 zcr = (0.0016/(zcdn(i)*SQRT(zdu2)))*ABS(ztvd-ztsolv)**(1./3.) 132 IF(nsrf.EQ.is_oce) pcfh(i) =f_cdrag_oce* zcdn(i)*(1.0+zcr**1.25)**(1./1.25) 131 IF(iflag_gusts==0) THEN 132 ! cdrah sur l'ocean cf. Miller et al. (1992) - only active when gustiness parameterization is not active 133 zcr = (0.0016/(zcdn(i)*SQRT(zdu2)))*ABS(ztvd-ztsolv)**(1./3.) 134 IF(nsrf.EQ.is_oce) pcfh(i) =f_cdrag_oce* zcdn(i)*(1.0+zcr**1.25)**(1./1.25) 135 ENDIF 133 136 ENDIF 134 137 END DO -
LMDZ5/trunk/libf/phylmd/physiq.F90
r2271 r2278 1866 1866 ! 1867 1867 !-------gustiness calculation-------! 1868 do i = 1, klon 1869 gustiness(i)=f_gust_bl*ale_bl(i)+f_gust_wk*ale_wake(i) 1870 enddo 1868 IF (iflag_gusts==0) THEN 1869 gustiness(1:klon)=0 1870 ELSE IF (iflag_gusts==1) THEN 1871 do i = 1, klon 1872 gustiness(i)=f_gust_bl*ale_bl(i)+f_gust_wk*ale_wake(i) 1873 enddo 1874 ! ELSE IF (iflag_gusts==2) THEN 1875 ! do i = 1, klon 1876 ! gustiness(i)=f_gust_bl*ale_bl(i)+sigma_wk(i)*f_gust_wk*ale_wake(i) !! need to make sigma_wk accessible here 1877 ! enddo 1878 ! ELSE IF (iflag_gusts==3) THEN 1879 ! do i = 1, klon 1880 ! gustiness(i)=f_gust_bl*alp_bl(i)+f_gust_wk*alp_wake(i) 1881 ! enddo 1882 ENDIF 1883 1884 1871 1885 1872 1886 CALL pbl_surface( & -
LMDZ5/trunk/libf/phylmd/surf_ocean_mod.F90
r2264 r2278 200 200 IF (iflag_z0_oce==0) THEN 201 201 DO i = 1, knon 202 tmp = MAX(cepdu2, u1(i)**2+v1(i)**2)203 z0m(i) = 0.018*cdragm(i) * ( u1(i)**2+v1(i)**2)/RG &202 tmp = MAX(cepdu2,gustiness(i)+u1(i)**2+v1(i)**2) 203 z0m(i) = 0.018*cdragm(i) * (gustiness(i)+u1(i)**2+v1(i)**2)/RG & 204 204 + 0.11*14e-6 / SQRT(cdragm(i) * tmp) 205 205 z0m(i) = MAX(1.5e-05,z0m(i)) … … 209 209 ELSE IF (iflag_z0_oce==1) THEN 210 210 DO i = 1, knon 211 tmp = MAX(cepdu2, u1(i)**2+v1(i)**2)212 z0m(i) = 0.018*cdragm(i) * ( u1(i)**2+v1(i)**2)/RG &211 tmp = MAX(cepdu2,gustiness(i)+u1(i)**2+v1(i)**2) 212 z0m(i) = 0.018*cdragm(i) * (gustiness(i)+u1(i)**2+v1(i)**2)/RG & 213 213 + 0.11*14e-6 / SQRT(cdragm(i) * tmp) 214 214 z0m(i) = MAX(1.5e-05,z0m(i)) 215 z0h(i)=0. 62*14e-6 / SQRT(cdragm(i) * tmp)215 z0h(i)=0.4*14e-6 / SQRT(cdragm(i) * tmp) 216 216 ENDDO 217 217 ELSE
Note: See TracChangeset
for help on using the changeset viewer.