Changeset 499 for trunk/LMDZ.MARS/libf/phymars/vdif_cd.F
- Timestamp:
- Jan 16, 2012, 10:16:46 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/vdif_cd.F
r496 r499 1 1 SUBROUTINE vdif_cd(ngrid,nlay,pz0, 2 & pg,pz,pu,pv,w max,pts,ph,pcdv,pcdh)2 & pg,pz,pu,pv,wstar,pts,ph,pcdv,pcdh) 3 3 IMPLICIT NONE 4 4 c======================================================================= … … 46 46 REAL, INTENT(IN) :: pu(ngrid,nlay),pv(ngrid,nlay) 47 47 REAL, INTENT(IN) :: pts(ngrid),ph(ngrid,nlay) 48 REAL, INTENT(IN) :: w max(ngrid)48 REAL, INTENT(IN) :: wstar(ngrid) 49 49 REAL, INTENT(OUT) :: pcdv(ngrid),pcdh(ngrid) ! momentum and heat drag coefficient 50 50 … … 146 146 c Richardson number formulation proposed by D.E. England et al. (1995) 147 147 148 ! zu2=MAX(pu(ig,1)*pu(ig,1) + pv(ig,1)*pv(ig,1),0.25*w max(ig)**2)148 ! zu2=MAX(pu(ig,1)*pu(ig,1) + pv(ig,1)*pv(ig,1),0.25*wstar(ig)**2) 149 149 ! zu2=pu(ig,1)*pu(ig,1) + pv(ig,1)*pv(ig,1) 150 zu2(ig)=MAX(pu(ig,1)*pu(ig,1) + pv(ig,1)*pv(ig,1),wmax(ig)**2) 151 ! zu2(ig)=pu(ig,1)*pu(ig,1) + pv(ig,1)*pv(ig,1) + (0.5*wmax(ig))**2 152 153 ! we add the wmax to simulate 150 zu2(ig)=MAX(pu(ig,1)*pu(ig,1) + pv(ig,1)*pv(ig,1), & 151 & (0.3*wstar(ig))**2) 152 ! zu2(ig)=pu(ig,1)*pu(ig,1) + pv(ig,1)*pv(ig,1) + (0.5*wstar(ig))**2 153 154 ! we add the wstar to simulate 154 155 ! bulk Ri changes due to subgrid wind feeding the thermals 155 156
Note: See TracChangeset
for help on using the changeset viewer.