Ignore:
Timestamp:
Nov 14, 2019, 6:03:49 PM (5 years ago)
Author:
mvals
Message:

Mars GCM:
Add the sublimation/condensation latent heat release from the surface water ice in vdifc_mod.F. It can be activated or deactivated with the new flag "latentheat" (for now latentheat=false by default).
MV

File:
1 edited

Legend:

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

    r2160 r2179  
    122122      REAL,SAVE :: acond,bcond
    123123     
    124 c     For latent heat release from ground ice sublimation   
     124c     For latent heat release from ground water ice sublimation   
     125      REAL tsrf_lh(ngrid) ! temporary surface temperature
     126      REAL lh ! latent heat, formulation given in the Technical Document:
     127              ! "Modeling water ice sublimation under Phoenix-like conditions", Montmessin et al. 2004 
    125128!      REAL tsrf_lw(ngrid)
    126129!      REAL alpha
    127       REAL T1,T2
    128       SAVE T1,T2
    129       DATA T1,T2/-604.3,1080.7/ ! zeros of latent heat equation for ice
     130!      REAL T1,T2
     131!      SAVE T1,T2
     132!      DATA T1,T2/-604.3,1080.7/ ! zeros of latent heat equation for ice
    130133
    131134c    Tracers :
     
    863866!
    864867!              pdtsrf(ig) = (tsrf_lw(ig)-ptsrf(ig))/ptimestep
     868c             Take into account the H2O latent heat impact on the surface temperature
     869              if (latentheat) then
     870                tsrf_lh(ig) = ptsrf(ig) + pdtsrf(ig) *ptimestep
     871                lh=(2834.3-0.28*(tsrf_lh(ig)-To)-
     872     &              0.004*(tsrf_lh(ig)-To)*(tsrf_lh(ig)-To))*1.e+3
     873                pdtsrf(ig)= pdtsrf(ig) + pdqsdif(ig,igcm_h2o_ice)*lh
     874     &                    /pcapcal(ig)
     875              endif
    865876
    866877               if(pqsurf(ig,igcm_h2o_ice)
Note: See TracChangeset for help on using the changeset viewer.