Changeset 292 for trunk/LMDZ.MARS/libf


Ignore:
Timestamp:
Sep 9, 2011, 5:31:42 PM (13 years ago)
Author:
acolaitis
Message:

--- AC 07/09/2011 ---

libf/phymars/surflayer_interpol.F has been corrected. u* and t* are now computed at "gcm level", i.e. we consider that surface flux enhancement by subgrid gustiness has already been taken into account in vdifc. Hence, we do not use beta coefficients for u* and teta* in the interpolation. However, we still use it for the Richardson computation, to avoid problems with low winds conditions.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/surflayer_interpol.F

    r272 r292  
    134134          zu2(ig)=
    135135!     &  (MAX(pu(ig,1)*pu(ig,1) + pv(ig,1)*pv(ig,1),wmax(ig)**2))
    136      &  ( pu(ig,1)*pu(ig,1) + pv(ig,1)*pv(ig,1) + wmax(ig)**2)
     136     &  ( pu(ig,1)*pu(ig,1) + pv(ig,1)*pv(ig,1))
    137137!     &  pu(ig,1)*pu(ig,1) + pv(ig,1)*pv(ig,1)
    138138!        ELSE
     
    144144     &      *sqrt(pz(ig,1)*pz0(ig))
    145145     &      *(((log(pz(ig,1)/pz0(ig)))**2)/(log(pz(ig,1)/pz0t)))
    146      &      *(ph(ig,1)-pts(ig))/zu2(ig)
     146     &      *(ph(ig,1)-pts(ig))/(zu2(ig) + (0.5*wmax(ig))**2)
    147147
    148148!     &  /(MAX(pu(ig,1)*pu(ig,1) + pv(ig,1)*pv(ig,1),wmax(ig)**2))
     
    186186
    187187       reynolds(ig)=karman*sqrt(fm(ig))
    188      &              *sqrt(zu2(ig))
     188     &              *sqrt(zu2(ig)+(0.5*wmax(ig))**2)
    189189!    &               *sqrt(pu(ig,1)**2 + pv(ig,1)**2)
    190190     &              *pz0(ig)/(log(z1z0)*nu)
     
    226226!simpler definition of u* and teta*, equivalent to the formula above :
    227227
    228             ustar(ig)=sqrt(pcdv(ig))*sqrt(zu2(ig))                   
    229             tstar(ig)=-pcdh(ig)*(pts(ig)-ph(ig,1))/sqrt(pcdv(ig))
     228            ustar(ig)=sqrt(pcdv(ig))*sqrt(zu2(ig))
     229            tstar(ig)=-pcdh(ig)*(pts(ig)-ph(ig,1))
     230     &     /sqrt(pcdv(ig))
    230231
    231232           if (tstar(ig) .lt. -50) then
Note: See TracChangeset for help on using the changeset viewer.