Ignore:
Timestamp:
Mar 3, 2021, 1:48:21 PM (4 years ago)
Author:
emillour
Message:

Mars GCM:

  • bug fix in the diagnostic of H, H2, and D total escape which was wrong when running in parallel. The escape rates can now also be included as outputs in diagfi.

FGG

File:
1 edited

Legend:

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

    r2447 r2467  
    342342      REAL zdvmolvis(ngrid,nlayer)
    343343      real zdqmoldiff(ngrid,nlayer,nq)
     344      real*8 PhiEscH,PhiEscH2,PhiEscD
    344345
    345346      REAL dwatercap(ngrid), dwatercap_dif(ngrid)     ! (kg/m-2)
     
    18871888     $     mu0,ptimestep,ptime,zday,tsurf,zzlev,zzlay,
    18881889     &     pt,pq,pu,pv,pdt,pdq,
    1889      $     zdteuv,zdtconduc,zdumolvis,zdvmolvis,zdqmoldiff)
     1890     $     zdteuv,zdtconduc,zdumolvis,zdvmolvis,zdqmoldiff,
     1891     $     PhiEscH,PhiEscH2,PhiEscD)
    18901892
    18911893        DO l=1,nlayer
     
    33043306     $           3,zdtnirco2)
    33053307
     3308            !H, H2 and D escape fluxes
     3309
     3310            call WRITEDIAGFI(ngrid,"PhiH","H escape flux","s-1",
     3311     $           0,PhiEscH)
     3312            call WRITEDIAGFI(ngrid,"PhiH2","H2 escape flux","s-1",
     3313     $           0,PhiEscH2)
     3314            call WRITEDIAGFI(ngrid,"PhiD","D escape flux","s-1",
     3315     $           0,PhiEscD)
     3316
     3317!            call wstats(ngrid,"PhiH","H escape flux","s-1",
     3318!     $           0,PhiEscH)
     3319!            call wstats(ngrid,"PhiH2","H2 escape flux","s-1",
     3320!     $           0,PhiEscH2)
     3321!            call wstats(ngrid,"PhiD","D escape flux","s-1",
     3322!     $           0,PhiEscD)
     3323           
    33063324!            call wstats(ngrid,"q15um","15 um cooling","K/s",
    33073325!     $           3,zdtnlte)
Note: See TracChangeset for help on using the changeset viewer.