source: LMDZ6/trunk/libf/phylmd/ecrad/yomcst.F90 @ 4062

Last change on this file since 4062 was 3908, checked in by idelkadi, 3 years ago

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 size: 1.2 KB
Line 
1! (C) Copyright 2014- ECMWF.
2!
3! This software is licensed under the terms of the Apache Licence Version 2.0
4! which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
5!
6! In applying this licence, ECMWF does not waive the privileges and immunities
7! granted to it by virtue of its status as an intergovernmental organisation
8! nor does it submit to any jurisdiction.
9
10MODULE YOMCST
11
12USE PARKIND1  ,ONLY : JPRB
13
14IMPLICIT NONE
15
16PUBLIC
17
18SAVE
19
20! * RPI          : number Pi
21REAL(KIND=JPRB), PARAMETER :: RPI = 3.14159265358979323846_JPRB
22! * RSIGMA       : Stefan-Bolzman constant
23REAL(KIND=JPRB), PARAMETER :: RSIGMA = 5.67037321e-8_JPRB ! W m-2 K-4
24! * RG           : gravity constant
25REAL(KIND=JPRB), PARAMETER :: RG = 9.80665_JPRB ! m s-2
26! * RD           : R_dry (dry air constant)
27REAL(KIND=JPRB), PARAMETER :: RD = 287.058_JPRB! J kg-1 K-1
28! * RMD          : dry air molar mass
29REAL(KIND=JPRB), PARAMETER :: RMD = 28.9644_JPRB
30! * RMV          : vapour water molar mass
31REAL(KIND=JPRB), PARAMETER :: RMV = 18.0153_JPRB
32! * RMO3         : ozone molar mass
33REAL(KIND=JPRB), PARAMETER :: RMO3 = 47.9942_JPRB
34! * RI0          : solar constant
35REAL(KIND=JPRB), PARAMETER :: RI0 = 1366.0_JPRB
36
37END MODULE YOMCST
Note: See TracBrowser for help on using the repository browser.