Changeset 2179 for trunk/LMDZ.MARS


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

Location:
trunk/LMDZ.MARS
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/README

    r2175 r2179  
    27832783Atmospheric composition is changed at a selected grid point, and horizontal and vertical
    27842784gradients are preserved.
     2785
     2786== 14/11/2019 == MV
     2787Add 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).
  • trunk/LMDZ.MARS/libf/phymars/callkeys.h

    r2160 r2179  
    1515     &   ,calltherm,callrichsl,callslope,tituscap,callyamada4,co2clouds &
    1616     &   ,co2useh2o,meteo_flux,CLFvaryingCO2,spantCO2,CLFvarying        &
    17      &   ,satindexco2,rdstorm,calllott_nonoro
     17     &   ,satindexco2,rdstorm,calllott_nonoro,latentheat
    1818     
    1919      COMMON/callkeys_i/iradia,iaervar,iddist,ilwd,ilwb,ilwn,ncouche    &
     
    6666      logical active,doubleq,submicron,lifting,callddevil,scavenging
    6767      logical rdstorm ! rocket dust storm parametrization
     68      logical latentheat ! latent heat release from ground water ice sublimation/condensation
    6869      logical sedimentation
    6970      logical activice,tifeedback,supersat,caps
  • trunk/LMDZ.MARS/libf/phymars/conf_phys.F

    r2164 r2179  
    288288
    289289! rocket dust storm injection scheme
    290          write(*,*)"call rocket dust storm and slope lifting",
    291      &              " parametrization"
     290         write(*,*)"call rocket dust storm parametrization"
    292291         rdstorm=.false. ! default value
    293292         call getin("rdstorm",rdstorm)
     
    297296        call getin("coeff_detrainment",coeff_detrainment)
    298297        write(*,*)" coeff_detrainment = ",coeff_detrainment
     298
     299! latent heat release from ground water ice sublimation/condensation
     300         write(*,*)"latent heat release during sublimation",
     301     &              " /condensation of ground water ice"
     302         latentheat=.false. ! default value
     303         call getin("latentheat",latentheat)
     304         write(*,*)" latentheat = ",latentheat
    299305
    300306         write(*,*)"rad.transfer is computed every iradia",
  • 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.