Ignore:
Timestamp:
May 6, 2020, 4:46:33 PM (5 years ago)
Author:
lrossi
Message:

MARS GCM:
Implementation of HDO in the physics
New tracers hdo_vap and hdo_ice are added. Cf. traceur.def.isotopes in deftank for exemple of traceur.def.
All HDO related computations are activated by flag hdo=.true. in callphys.def. (see callphys.def.hdo in deftank for an example)
Additional option hdofrac (true by default) allows for turning on/off fractionation (for tests).
For now, only functional with simplified cloud scheme (so microphys=.false. and activice=.false. also recommended).
Initialisation of start files can be done with option 'inihdo' in newstart.
LR

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/aeronomars/inichim_newstart.F90

    r2302 r2312  
    8787      igcm_h2o_vap=0
    8888      igcm_h2o_ice=0
     89      igcm_hdo_vap=0
     90      igcm_hdo_ice=0
    8991      igcm_co2=0
    9092      igcm_co=0
     
    274276           igcm_h2o_ice = iq
    275277           mmol(igcm_h2o_ice) = 18.
     278           count = count + 1
     279        end if
     280        if (noms(iq) == "hdo_vap") then
     281           igcm_hdo_vap = iq
     282           mmol(igcm_hdo_vap) = 18.
     283           count = count + 1
     284        end if
     285        if (noms(iq) == "hdo_ice") then
     286           igcm_hdo_ice = iq
     287           mmol(igcm_hdo_ice) = 18.
    276288           count = count + 1
    277289        end if
     
    561573                  do n = 1,nspe
    562574                     iq = niq(n)
    563                      if (iq /= igcm_h2o_vap .or. flagh2o == 1) then
     575                     if (iq /= igcm_h2o_vap .or. iq/= igcm_hdo_vap .or. flagh2o == 1) then
    564576                        pq(i,j,l,iq) = vmrint(n)*mmol(iq)/mmean(i,j,l)
    565577                     end if
Note: See TracChangeset for help on using the changeset viewer.