source: trunk/LMDZ.MARS/libf/phymars/leetvt.F @ 463

Last change on this file since 463 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: 2.2 KB
Line 
1c***********************************************************************
2        subroutine leetvt                             
3                                               
4c       reads input vibr. temps. from external files or sets lte values     
5c       according to the driver table                 
6
7c       jul 2011 malv+fgg   adapted to LMD-MGCM
8c       malv    Jan 07          Add new vertical fine-grid for NLTE
9c       jan 98  malv            based on solar10sub           
10c***********************************************************************
11                                               
12        implicit none                                 
13                                               
14        include 'nltedefs.h'         
15        include 'nlte_atm.h'       
16        include 'nlte_results.h' 
17                                               
18c local variables                               
19        integer i                                     
20        real*8  zld(nl), zyd(nzy)
21        real*8 xvt11(nzy), xvt21(nzy), xvt31(nzy), xvt41(nzy)
22                                               
23c***********************************************************************
24                                               
25           do i=1,nzy                                   
26                zyd(i) = dble(zy(i))                         
27                xvt11(i)= dble( ty(i) )                     
28                xvt21(i)= dble( ty(i) )                     
29                xvt31(i)= dble( ty(i) )                     
30                xvt41(i)= dble( ty(i) )                     
31           end do                                           
32                                               
33                                               
34c interpolate to the nlte subgrid               
35                                               
36        do i=1,nl                                     
37            zld(i) = dble( zl(i) )                     
38        enddo                                             
39        call interdp ( v626t1,zld,nl, xvt11,zyd,nzy, 1)
40        call interdp ( v628t1,zld,nl, xvt21,zyd,nzy, 1)     
41        call interdp ( v636t1,zld,nl, xvt31,zyd,nzy, 1)     
42        call interdp ( v627t1,zld,nl, xvt41,zyd,nzy, 1)     
43
44
45c end                                           
46        return                                         
47        end                                           
Note: See TracBrowser for help on using the repository browser.