Changeset 3908 for LMDZ6/trunk/makelmdz


Ignore:
Timestamp:
May 20, 2021, 9:11:13 AM (4 years ago)
Author:
idelkadi
Message:

Online implementation of the radiative transfer code ECRAD in the LMDZ model.

  • Inclusion of the ecrad directory containing the sources of the ECRAD code
    • interface routine : radiation_scheme.F90
  • Adaptation of compilation scripts :
    • compilation under CPP key CPP_ECRAD
    • compilation with option "-rad ecard" or "-ecard true"
    • The "-rad old/rtm/ecran" build option will need to replace the "-rrtm true" and "-ecrad true" options in the future.
  • Runing LMDZ simulations with ecrad, you need :
    • logical key iflag_rrtm = 2 in physiq.def
    • namelist_ecrad (DefLists?)
    • the directory "data" containing the configuration files is temporarily placed in ../libfphylmd/ecrad/
  • Compilation and execution are tested in the 1D case. The repository under svn would allow to continue the implementation work: tests, verification of the results, ...
File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/makelmdz

    r3901 r3908  
    2929inlandsis=false
    3030rrtm=false
    31 rrtm=false
     31ecrad=false
     32rad=""
    3233dust=false
    3334strataer=false
     
    123124[-inlandsis true/false]  : compile with/without inlandsis package (default: false)
    124125[-rrtm true/false]    : compile with/without rrtm package (default: false)
     126[-ecrad true/false]    : compile with/without ecrad package (default: false)
     127[-rad old/rrtm/ecrad]    : compile with old/rrtm/ecrad radiatif code (default: old)
    125128[-dust true/false]    : compile with/without the dust package from Boucher et al. (default: false)
    126129[-strataer true/false]    : compile with/without the strat aer package from Boucher et al. (default: false)
     
    194197
    195198      "-rrtm")
    196           rrtm="$2" ; shift ; shift ;;
     199          rrtm="$2" ; if [ "$2" = "false" ] ; then rad="old" ; else rad="rrtm" ; fi ; shift ; shift ;;
     200
     201      "-ecrad")
     202          ecrad="$2" ; if [ "$2" = "true" ] ; then rad="ecrad" ; fi; shift ; shift ;;
     203
     204      "-rad")
     205          rad="$2" ; shift ; shift ;;
    197206
    198207      "-dust")
     
    520529
    521530
    522 if [[ "$rrtm" == "true" ]]
     531if [[ "$rad" == "rrtm" ]]
    523532then
    524533   CPP_KEY="$CPP_KEY CPP_RRTM"
    525534   src_dirs="$src_dirs phy${physique}/rrtm"
     535fi
     536if [[ "$rad" == "ecrad" ]]
     537then
     538   CPP_KEY="$CPP_KEY CPP_ECRAD"
     539   src_dirs="$src_dirs phy${physique}/ecrad"
    526540fi
    527541
Note: See TracChangeset for help on using the changeset viewer.