source: trunk/LMDZ.MARS/libf/phymars/nlte_atm.h @ 426

Last change on this file since 426 was 414, checked in by aslmd, 14 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: 1.4 KB
Line 
1c****************************************************************************
2c
3c       atmref.cmn
4c
5c       Common blocks of constants and variables for the model atmosphere
6c
7c       jan 2007 Malv+gg        Addition ions
8c       2003    FGG             Double precision
9c       JAN 98  MALV            First version
10c****************************************************************************
11
12
13c Subgrid atmosphere interpolated from /atmx/ actually used by the some
14c modules, particularly by the NLTE ones
15c
16        common /atm_nl/ zl, t, pl, sh, nt, co2, n2, co, o3p, o2, h2, ar,
17     @    co2vmr, n2vmr, covmr, o3pvmr, o2vmr, h2vmr, arvmr,
18     @    nvmr, novmr, 
19     @    hrkday_factor
20
21        real zl(nl), t(nl), pl(nl), nt(nl),  sh(nl),
22     @    co2(nl), n2(nl), co(nl), o3p(nl), o2(nl), h2(nl), ar(nl),
23     @    co2vmr(nl), n2vmr(nl), covmr(nl), o3pvmr(nl), o2vmr(nl),
24     @    h2vmr(nl), arvmr(nl), 
25     @    nvmr(nl), novmr(nl), hrkday_factor(nl)
26
27c Subgrid atmosphere obtained from the input atmosphere and limited to the
28c NLTE grid. Only used for computing transmitances. 
29c
30        common /atm_ny/ zy, ty, py, nty, co2y, coy
31        real zy(nzy), ty(nzy), py(nzy), nty(nzy), co2y(nzy), coy(nzy)
32
33c
34        common/deltazetas/ deltaz, deltazy, 
35     @        jlowerboundary, jtopboundary
36        real    deltaz, deltazy
37        integer jlowerboundary, jtopboundary
38
39
40c****************************************************************************
Note: See TracBrowser for help on using the repository browser.