Changeset 2840 for trunk/LMDZ.MARS


Ignore:
Timestamp:
Dec 2, 2022, 7:59:07 PM (2 years ago)
Author:
jnaar
Message:

Changed units of sw_htrt and lw_htrt from W.m-2 to K.s-1 in writediagfi.
Created output diagfi var "surf_h2o_lh" which contains instantaneous latent heat flux from ground ice water condensation / sublimation in W.m-2
JN

Location:
trunk/LMDZ.MARS
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/README

    r2834 r2840  
    38303830Add an example of setup in LMDZ.MARS/util/compile to compile utilitary programs
    38313831on Irene-Rome supercomputer.
     3832
     3833== 02/12/2022 == JN
     3834Add "surf_h2o_lh" output. This is the latent heat term from ground water ice
     3835sublimation / condensation in W.m-2
     3836Also corrected units of shortwave & longwave heat rates in writediagfi
  • trunk/LMDZ.MARS/libf/phymars/physiq_mod.F

    r2830 r2840  
    30253025c    &                  zstress)
    30263026        call WRITEDIAGFI(ngrid,'sw_htrt','sw heat. rate',
    3027      &                   'w.m-2',3,zdtsw)
     3027     &                   'K/s',3,zdtsw)
    30283028        call WRITEDIAGFI(ngrid,'lw_htrt','lw heat. rate',
    3029      &                   'w.m-2',3,zdtlw)
     3029     &                   'K/s',3,zdtlw)
    30303030        call writediagfi(ngrid,"local_time","Local time",
    30313031     &                   'sol',2,local_time)
  • trunk/LMDZ.MARS/libf/phymars/vdifc_mod.F

    r2826 r2840  
    136136      REAL ztsrf(ngrid) ! temporary surface temperature in tsub
    137137      REAL zdtsrf(ngrid) ! surface temperature tendancy in tsub
     138      REAL surf_h2o_lh(ngrid) ! Surface h2o latent heat flux
     139      REAL zsurf_h2o_lh(ngrid) ! Tsub surface h2o latent heat flux
    138140
    139141c     For latent heat release from ground water ice sublimation   
     
    242244      pdtsrf(1:ngrid)=0
    243245      zdtsrf(1:ngrid)=0
     246      surf_h2o_lh(1:ngrid)=0
     247      zsurf_h2o_lh(1:ngrid)=0
    244248      pdqdif(1:ngrid,1:nlay,1:nq)=0
    245249      pdqsdif(1:ngrid,1:nq)=0
     
    959963     &                       zdqsdif(ig))*subtimestep
    960964
     965c             Monitoring instantaneous latent heat flux in W.m-2 :
     966              zsurf_h2o_lh(ig) = zsurf_h2o_lh(ig)+
     967     &                               (zdtsrf(ig)*pcapcal(ig))
     968     &                               *subtimestep
    961969
    962970c             We ensure that surface temperature can't rise above the solid domain if there
     
    975983c             (btw could also compute the post timestep temp and ice
    976984c             by simply adding the subtimestep trend instead of this)
     985            surf_h2o_lh(ig)= zsurf_h2o_lh(ig)/ptimestep
    977986            pdtsrf(ig)= (ztsrf(ig) -
    978987     &                     ptsrf(ig))/ptimestep
     
    10481057c --------- end of tracers  ----------------------------
    10491058
     1059         call WRITEDIAGFI(ngrid,"surf_h2o_lh",
     1060     &                          "Ground ice latent heat flux",
     1061     &                               "W.m-2",2,surf_h2o_lh(:))
    10501062
    10511063C       Diagnostic output for HDO
Note: See TracChangeset for help on using the changeset viewer.