source: trunk/LMDZ.MARS/libf/phymars/bloque.F @ 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: 3.3 KB
RevLine 
[414]1c***********************************************************************
2        block data bloque                             
3                                               
4c       reads planetary and molecular parameters     
5                                               
6c       jan 98  malv            first version                   
7c       jul 2011 malv+fgg       Adapted to LMD-MGCM
8c***********************************************************************
9                                               
10        implicit none                                 
11                                               
12        include 'nltedefs.h'         
13        include 'nlte_data.h'       
14                                               
15c data                                         
16        data nu(1,1),nu(1,2),nu(1,3),nu(1,4)   
17     @    /667.3801, 1335.1317, 2003.2463, 2349.1433/       
18        data nu(1,5),nu(1,6),nu(1,7),nu(1,8)   
19     @   /3004.0112, 3612.8417, 3659.2728, 3714.7828/       
20        data nu(2,1),nu(2,2),nu(2,3),nu(2,4)   
21     @   /662.3734, 1325.1410, 1988.3280, 2332.1128/       
22        data nu(2,5),nu(2,6),nu(2,7),nu(2,8)   
23     @   /2982.1115, 3571.1404, 3632.5240, 3675.1332/       
24        data nu(3,1),nu(3,2),nu(3,3),nu(3,4)   
25     @   /648.4784, 1297.2640, 1946.3507, 2283.4876/       
26        data nu(3,5),nu(3,6),nu(3,7),nu(3,8)   
27     @   /2920.2387, 3527.7380, 3557.3145, 3632.9112/       
28        data nu(4,1),nu(4,2),nu(4,3),nu(4,4)   
29     @   /664.7289, 1329.8430, 1995.3520, 2340.0136/       
30        data nu(4,5),nu(4,6),nu(4,7),nu(4,8)   
31     @   /2992.3100, 3591.2510, 3644.9900, 3693.3460/       
32        data nu12_0200,nu12_1000, nu22_0200,nu22_1000       
33     @   /1285.4087, 1388.1847, 1259.4257, 1365.8439/       
34         data nu32_0200,nu32_1000, nu42_0200,nu42_1000     
35     @   /1265.8282, 1370.0626, 1272.2866, 1376.0275/       
36        data nun2, nuco_10
37     @   /2331.0, 2143.2716 /     
38        data deltanuco/306./                   
39                                               
40        data indexisot/26,28,36,27/             
41                                               
42        ! ctes en el sistema cgs                       
43        data vlight, ee /2.9979245e10, 1.43876866/     
44        data hplanck, gamma/6.6260755e-27, 1.191043934e-5/   
45
46                     
47        ! datos de marte                               
48        data imrco / 0.9865 /   
49        data imr / 0.987, 0.00408, 0.0112, 0.000742 /   
50
51        ! datos de venus
52        !data radio     / 6052. /       ! radio [km]   
53        !data mean_distance / 0.723 /     ! mean heliocentric distance [AU]
54        !data amplitude_excentricity / 0.0 /     ! [AU]
55        !data phase_equinox / 0.0 /              ! [degree]
56        !data period_rot / 2.15404e7 /  ! period_rot [s] (=243 [Earth days])
57                                        !OJO! El periodo es realmente 116 days
58                                        ! pues se combinan la rotacion (243 d)
59                                        ! con la traslacion (xxx d)
60        !data planet_inclination / 3.39 / ! [degree] 
61        !data masa      / 2.53104e27 /  ! masa [g]     
62        !data imr, imrco / 0.987, 0.00408, 0.0112, 0.000742, 0.9865 /   
63        !data imr637,imr638,imr828,imr728 /9.e-6, 4.4e-5, 4.e-6, 2.e-6/ 
64                                               
65
66        end                                           
Note: See TracBrowser for help on using the repository browser.