Changeset 734 for trunk/LMDZ.MARS/libf


Ignore:
Timestamp:
Jul 23, 2012, 1:15:11 PM (12 years ago)
Author:
tnavarro
Message:

scheme for latent heat release of surface ice was wrong. corrected

File:
1 edited

Legend:

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

    r669 r734  
    113113c     For latent heat release from ground ice sublimation   
    114114      REAL tsrf_lw(ngridmx)
     115      REAL alpha
    115116      REAL T1,T2
    116117      SAVE T1,T2
    117       DATA T1,T2/-877.5,807.5/ ! zeros of latent heat equation for ice
     118      DATA T1,T2/-604.3,1080.7/ ! zeros of latent heat equation for ice
    118119
    119120c    Tracers :
     
    814815c             We solve dT/dt = (2834.3-0.28*(T-To)-0.004*(T-To)^2)*1e3*iceflux/cpp
    815816              tsrf_lw(ig) = ptsrf(ig) + pdtsrf(ig) *ptimestep
    816               
    817               tsrf_lw(ig) = (T1+T2)*(T1+T2)
    818      &       -  4*(T2*T1 - (tsrf_lw(ig)-T1)*(tsrf_lw(ig)-T2)*
    819      &            exp( -0.25*abs(T1-T2)*pdqsdif(ig,igcm_h2o_ice)
    820      &            *ptimestep/pcapcal(ig)) )       
    821               tsrf_lw(ig) = (T1+T2)/2 +  sqrt(tsrf_lw(ig))/2 ! surface temperature at t+1
     817             
     818              alpha = exp(-4*abs(T1-T2)*pdqsdif(ig,igcm_h2o_ice)
     819     &            *ptimestep/pcapcal(ig))
     820
     821              tsrf_lw(ig) = (tsrf_lw(ig)*(T2-alpha*T1)+T1*T2*(alpha-1))
     822     &                      /(tsrf_lw(ig)*(1-alpha)+alpha*T2-T1) ! surface temperature at t+1
    822823
    823824              pdtsrf(ig) = (tsrf_lw(ig)-ptsrf(ig))/ptimestep
Note: See TracChangeset for help on using the changeset viewer.