Changeset 2164 for trunk/LMDZ.MARS
- Timestamp:
- Sep 25, 2019, 10:05:39 AM (5 years ago)
- Location:
- trunk/LMDZ.MARS
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/README
r2162 r2164 2752 2752 - Externalize in "physiq" the computation of solar zenithal angle 2753 2753 (it should be computed at every physics timestep, regardless of iradia) 2754 2755 == 25/09/2019 == AB+EM 2756 Add the possibility to super-cycle chemistry computations. Chemistry will 2757 be computed every "ichemistry" physics step (but chemistry tendencies are 2758 added every physics step). Default is ichemistry=1. -
trunk/LMDZ.MARS/libf/aeronomars/calchim_mod.F90
r2162 r2164 3 3 IMPLICIT NONE 4 4 5 INTEGER, SAVE :: ichemistry ! compute chemistry every ichemistry physics step 5 6 REAL,SAVE,ALLOCATABLE :: zdqchim(:,:,:) ! Tendancy on pq due to photochemistry 6 7 REAL,SAVE,ALLOCATABLE :: zdqschim(:,:) ! Tendancy on qsurf due to photochemistry -
trunk/LMDZ.MARS/libf/phymars/conf_phys.F
r2160 r2164 44 44 & ini_scatterers,tauvis 45 45 use datafile_mod, only: datadir 46 use calchim_mod, only: ichemistry 46 47 47 48 IMPLICIT NONE … … 688 689 write(*,*) "tituscap",tituscap 689 690 690 691 ! Chemistry: 691 692 write(*,*) "photochemistry: include chemical species" 692 693 photochem=.false. ! default value 693 694 call getin("photochem",photochem) 694 695 write(*,*) " photochem = ",photochem 696 697 write(*,*) "Compute chemistry (if photochem is .true.)", 698 & "every ichemistry physics step (default: ichemistry=1)" 699 ichemistry=1 700 call getin("ichemistry",ichemistry) 701 write(*,*) " ichemistry = ",ichemistry 695 702 696 703 -
trunk/LMDZ.MARS/libf/phymars/physiq_mod.F
r2162 r2164 15 15 16 16 use watercloud_mod, only: watercloud, zdqcloud, zdqscloud 17 use calchim_mod, only: calchim, zdqchim, zdqschim17 use calchim_mod, only: calchim, ichemistry, zdqchim, zdqschim 18 18 use watersat_mod, only: watersat 19 19 use co2condens_mod, only: co2condens … … 1615 1615 IF (photochem) then 1616 1616 1617 if (modulo(icount-1,ichemistry).eq.0) then 1618 ! compute chemistry every ichemistry physics step 1619 1617 1620 ! dust and ice surface area 1618 1621 call surfacearea(ngrid, nlayer, naerkind, … … 1627 1630 $ zdqcloud,zdqscloud,tau(:,1),co2ice, 1628 1631 $ pu,pdu,pv,pdv,surfdust,surfice) 1632 1633 endif ! of if (modulo(icount-1,ichemistry).eq.0) 1629 1634 1630 1635 ! increment values of tracers:
Note: See TracChangeset
for help on using the changeset viewer.