Ignore:
Timestamp:
Feb 16, 2021, 12:31:33 PM (4 years ago)
Author:
emillour
Message:

Mars GCM:

  • Adding the deuterium chemistry now that the HDO cycle is included.
  • Chemistry still works as before if deuterium tracers are not present.
  • Added handling of hdo in molecular diffusion (moldiff_red).

FGG+JYC+EM

Location:
trunk/LMDZ.MARS/libf/phymars
Files:
2 edited

Legend:

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

    r2409 r2461  
    8484      igcm_o3=0
    8585      igcm_h=0
     86      igcm_d=0
     87      igcm_hd=0
    8688      igcm_h2=0
     89      igcm_od=0
     90      igcm_do2=0
     91      igcm_hdo2=0
    8792      igcm_oh=0
    8893      igcm_ho2=0
     
    365370          count=count+1
    366371        endif
     372        if (noms(iq).eq."od") then
     373          igcm_od=iq
     374          mmol(igcm_od)=18.
     375          count=count+1
     376        endif
     377        if (noms(iq).eq."d") then
     378           igcm_d=iq
     379           mmol(igcm_d)=2.
     380           count=count+1
     381        endif
     382        if (noms(iq).eq."hd") then
     383           igcm_hd=iq
     384           mmol(igcm_hd)=3.
     385           count=count+1
     386        endif
     387        if (noms(iq).eq."do2") then
     388           igcm_do2=iq
     389           mmol(igcm_do2)=34.
     390           count=count+1
     391        endif
     392        if (noms(iq).eq."hdo2") then
     393           igcm_hdo2=iq
     394           mmol(igcm_hdo2)=35.
     395           count=count+1
     396        endif
    367397        if (noms(iq).eq."co2_ice") then
    368398          igcm_co2_ice=iq
  • trunk/LMDZ.MARS/libf/phymars/tracer_mod.F90

    r2332 r2461  
    7777      integer,save :: igcm_he
    7878      integer,save :: igcm_ch4
     79      !Deuterated species derived from HDO
     80      integer,save :: igcm_od
     81      integer,save :: igcm_d
     82      integer,save :: igcm_hd
     83      integer,save :: igcm_do2
     84      integer,save :: igcm_hdo2
    7985      ! Ions
    8086      integer,save :: igcm_co2plus
Note: See TracChangeset for help on using the changeset viewer.