Ignore:
Timestamp:
Dec 4, 2019, 7:29:38 PM (5 years ago)
Author:
abierjon
Message:

Mars GCM:
Add the instantaneous scavenging by CO2 of dust, ccn and water ice in co2condens_mod. It can be activated or deactivated with the new flag "scavco2cond" (=false by default). Expected to be replaced by the CO2 clouds microphysics in the future.
AB

File:
1 edited

Legend:

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

    r2179 r2184  
    4545      use datafile_mod, only: datadir
    4646      use calchim_mod, only: ichemistry
    47 
     47      use co2condens_mod, only: scavco2cond
     48     
    4849      IMPLICIT NONE
    4950      include "callkeys.h"
     
    661662        endif
    662663
     664! Instantaneous scavenging by CO2
     665! -> expected to be replaced by scavenging with microphysics (flag scavenging) one day
     666        write(*,*)"Dust scavenging by instantaneous CO2 snowfall ?"
     667        scavco2cond=.false.      ! default value
     668        call getin("scavco2cond",scavco2cond)
     669        write(*,*)" scavco2cond = ",scavco2cond
     670! Test of incompatibility:
     671! if scavco2cond is used, then dustbin should be > 0
     672        if (scavco2cond.and.(dustbin.lt.1))then
     673           print*,'if scavco2cond is used, then dustbin should be > 0'
     674           stop
     675        endif
     676! if co2clouds is used, then there is no need for scavco2cond
     677        if (co2clouds.and.scavco2cond) then
     678           print*,''
     679           print*,'----------------WARNING-----------------'
     680           print*,'     microphys scavenging is used so    '
     681           print*,'        no need for scavco2cond !!!     '
     682           print*,'----------------WARNING-----------------'
     683           print*,''
     684           stop
     685        endif
     686       
    663687! Test of incompatibility:
    664688
Note: See TracChangeset for help on using the changeset viewer.