Changeset 2278 for LMDZ5/trunk


Ignore:
Timestamp:
May 15, 2015, 6:06:07 PM (10 years ago)
Author:
fhourdin
Message:

Modification sur la prise en compte de la gustinness

Location:
LMDZ5/trunk/libf/phylmd
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/cdrag.F90

    r2243 r2278  
    211211           pcfh(i) = zcdn_h(i)* fins(zri(i))
    212212        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
    216218     ENDIF
    217219  END DO
  • LMDZ5/trunk/libf/phylmd/clcdrag.F90

    r2232 r2278  
    129129           pcfh(i) = zcdn(i)* fins(zri(i))
    130130        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
    133136     ENDIF
    134137  END DO
  • LMDZ5/trunk/libf/phylmd/physiq.F90

    r2271 r2278  
    18661866!
    18671867!-------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
    18711885
    18721886     CALL pbl_surface(  &
  • LMDZ5/trunk/libf/phylmd/surf_ocean_mod.F90

    r2264 r2278  
    200200IF (iflag_z0_oce==0) THEN
    201201    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  &
    204204            +  0.11*14e-6 / SQRT(cdragm(i) * tmp)
    205205       z0m(i) = MAX(1.5e-05,z0m(i))
     
    209209ELSE IF (iflag_z0_oce==1) THEN
    210210    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  &
    213213            + 0.11*14e-6 / SQRT(cdragm(i) * tmp)
    214214       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)
    216216    ENDDO
    217217ELSE
Note: See TracChangeset for help on using the changeset viewer.