source: trunk/LMDZ.MARS/libf/phymars/callkeys.h @ 414

Last change on this file since 414 was 414, checked in by aslmd, 13 years ago

LMDZ.MARS : NEW NLTE MODEL FROM GRANADA AMIGOS

23/11/11 == FGG + MALV

New parameterization of the NLTE 15 micron cooling. The old parameterization is kept as an option, including or not variable atomic oxygen concentration. A new flag is introduced in callphys.def, nltemodel, to select which parameterization wants to be used (new one, old one with variable [O], or old one with fixed [O], see below). Includes many new subroutines and commons in phymars. Some existing routines are also modified:

-physiq.F. Call to the new subroutine NLTE_leedat in first call. Call to nltecool modified to allow for variable atomic oxygen. Depending on the value of nltemodel, the new subroutine NLTEdlvr09_TCOOL is called instead of nltecool.

-inifis.F. Reading of nltemodel is added.

-callkeys.h Declaration of nltemodel is added.

The following lines should be added to callphys.def (ideally after setting callnlte):

# NLTE 15um scheme to use.
# 0-> Old scheme, static oxygen
# 1-> Old scheme, dynamic oxygen
# 2-> New scheme
nltemodel = 2

A new directory, NLTEDAT, has to be included in datagcm.

Improvements into NLTE NIR heating parameterization to take into account variability with O/CO2 ratio and SZA. A new subroutine, NIR_leedat.F, and a new common, NIRdata.h, are included. A new flag, nircorr, is added in callphys.def, to include or not these corrections. The following files are modified:

-nirco2abs.F: nq and pq are added in the arguments. The corrections factors are interpolated to the GCM grid and included in the clculation. A new subroutine, interpnir, is added at the end of the file.

-physiq.F: Call to NIR_leedat added at first call. Modified call to nirco2abs

-inifis: Reading new flag nircorr.

-callkeys.h: Declaration of nircorr.

The following lines have to be added to callphys.def (ideally after callnirco2):

# NIR NLTE correction for variable SZA and O/CO2?
# matters only if callnirco2=T
# 0-> no correction
# 1-> include correction
nircorr=1

A new data file, NIRcorrection_feb2011.dat, has to be included in datagcm.

Small changes to the molecular diffusion scheme to fix the number of species considered, to avoid problems when compiling with more than 15 tracers (for example, when CH4 is included). Modified subroutines: aeronomars/moldiff.F and aeronomars/moldiffcoeff.F

File size: 2.1 KB
Line 
1!
2! For Fortran 77/Fortran 90 compliance always use line continuation
3! symbols '&' in columns 73 and 6
4!
5! NB: to keep commons aligned, it is better to split them in groups
6!     of given types (logical, integer, real, ...)
7
8      COMMON/callkeys_l/callrad,calldifv,calladj,callcond,callsoil      &
9     &   ,season,diurnal,lwrite,calllott,callstats,calleofdump          &
10     &   ,callnirco2,callnlte,callthermos,callconduct,calleuv           &
11     &   ,callmolvis,callmoldiff,thermochem,thermoswater,callemis       &
12     &   ,callg2d,linear,rayleigh,tracer,active,doubleq,submicron       &
13     &   ,lifting,callddevil,scavenging,sedimentation,activice,water    &
14     &   ,microphys,caps,photochem,calltherm,outptherm,callrichsl       &
15     &   ,callslope
16     
17      COMMON/callkeys_i/iradia,iaervar,iddist,ilwd,ilwb,ilwn,ncouche    &
18     &   ,dustbin,nqchem_min,nltemodel,nircorr
19     
20      COMMON/callkeys_r/topdustref,solarcondate,semi,alphan
21     
22      LOGICAL callrad,calldifv,calladj,callcond,callsoil,               &
23     &   season,diurnal,lwrite,calllott                                 &
24     &   ,callstats,calleofdump                                         &
25     &   ,callnirco2,callnlte,callthermos,callconduct,                  &
26     &    calleuv,callmolvis,callmoldiff,thermochem,thermoswater        &
27     &   ,calltherm,outptherm,callrichsl,callslope
28
29
30      logical callemis
31      logical callg2d
32      logical linear
33
34      real topdustref
35      real semi
36      real alphan
37      real solarcondate
38
39      integer iddist
40      integer iaervar
41      integer iradia
42      integer ilwd
43      integer ilwb
44      integer ilwn
45      integer ncouche
46
47      logical rayleigh
48      logical tracer
49      integer dustbin
50      logical active,doubleq,submicron,lifting,callddevil,scavenging
51      logical sedimentation,activice,water,microphys,caps
52      logical photochem
53      integer nqchem_min
54      integer nltemodel
55      integer nircorr
56
57      integer swrtype ! type of short wave (solar wavelength) radiative
58      ! transfer to use 1: Fouquart 2: Toon.
59      parameter (swrtype=2)
60!      parameter (swrtype=2)
Note: See TracBrowser for help on using the repository browser.