Ignore:
Timestamp:
Nov 23, 2011, 10:14:21 AM (13 years ago)
Author:
aslmd
Message:

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:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/inifis.F

    r358 r414  
    134134
    135135         write(*,*) "Directory where external input files are:"
    136          datafile="/u/forget/WWW/datagcm/datafile"
     136         datafile="/data/fgglmd/datagcm/datafile"
    137137         call getin("datadir",datafile) ! default path
    138138         write(*,*) " datafile = ",trim(datafile)
     
    223223         write(*,*) " callnlte = ",callnlte
    224224         
     225         nltemodel=0    !default value
     226         write(*,*) "NLTE model?"
     227         write(*,*) "0 -> old model, static O"
     228         write(*,*) "1 -> old model, dynamic O"
     229         write(*,*) "2 -> new model"
     230         write(*,*) "(matters only if callnlte=T)"
     231         call getin("nltemodel",nltemodel)
     232         write(*,*) " nltemodel = ",nltemodel
     233
    225234         write(*,*) "call CO2 NIR absorption ?",
    226235     &              "(matters only if callrad=T)"
     
    228237         call getin("callnirco2",callnirco2)
    229238         write(*,*) " callnirco2 = ",callnirco2
    230          
     239
     240         write(*,*) "New NIR NLTE correction ?",
     241     $              "0-> old model (no correction)",
     242     $              "1-> new correction",
     243     $              "(matters only if callnirco2=T)"
     244         call getin("nircorr",nircorr)
     245         write(*,*) " nircorr = ",nircorr
     246
    231247         write(*,*) "call turbulent vertical diffusion ?"
    232248         calldifv=.true. ! default value
Note: See TracChangeset for help on using the changeset viewer.