source: LMDZ6/branches/cirrus/libf/phylmd/ecrad/ifsaux/yomcst.F90 @ 5407

Last change on this file since 5407 was 4853, checked in by idelkadi, 9 months ago

Ecrad update in LMDZ / Implementation of Ecrad double call in LMDZ

  • version 1.6.1 (commit 210d7911380f53a788c3cad73b3cf9b4e022ef87)
  • interface routines between lmdz and ecrad grouped in a new "lmdz" directory
  • double call method redesigned so as to go through the Ecrad initialization and configuration part only once for the entire simulation
  • clean-up in the read.F routine: delete unitules arguments
  • modification of default gas model in namelist (default: ECCKD)
File size: 3.0 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! * RCLUM        : light velocity
23REAL(KIND=JPRB), PARAMETER :: RCLUM = 299792458._JPRB
24! * RHPLA        : Planck constant
25REAL(KIND=JPRB), PARAMETER :: RHPLA = 6.6260755E-34_JPRB
26! * RKBOL        : Bolzmann constant
27REAL(KIND=JPRB), PARAMETER :: RKBOL = 1.380658E-23_JPRB
28! * RNAVO        : Avogadro number
29REAL(KIND=JPRB), PARAMETER :: RNAVO = 6.0221367E+23_JPRB
30! * RSIGMA       : Stefan-Bolzman constant
31REAL(KIND=JPRB), PARAMETER :: RSIGMA = 5.67037321e-8_JPRB ! W m-2 K-4
32! * RG           : gravity constant
33REAL(KIND=JPRB), PARAMETER :: RG = 9.80665_JPRB ! m s-2
34! * RMD          : dry air molar mass
35REAL(KIND=JPRB), PARAMETER :: RMD = 28.9644_JPRB
36! * RMV          : vapour water molar mass
37REAL(KIND=JPRB), PARAMETER :: RMV = 18.0153_JPRB
38! * R            : perfect gas constant
39REAL(KIND=JPRB), PARAMETER :: R = RNAVO*RKBOL
40! * RD           : R_dry (dry air constant)
41REAL(KIND=JPRB), PARAMETER :: RD = 287.058_JPRB! J kg-1 K-1
42! * RV           : R_vap (vapour water constant)
43REAL(KIND=JPRB), PARAMETER :: RV = 1000._JPRB*R/RMV
44! * RMO3         : ozone molar mass
45REAL(KIND=JPRB), PARAMETER :: RMO3 = 47.9942_JPRB
46! * RTT          : Tt = temperature of water fusion at "pre_n"
47REAL(KIND=JPRB), PARAMETER :: RTT = 273.16_JPRB
48! * RLVTT        : RLvTt = vaporisation latent heat at T=Tt
49REAL(KIND=JPRB), PARAMETER :: RLVTT = 2.5008E+6_JPRB
50! * RLSTT        : RLsTt = sublimation latent heat at T=Tt
51REAL(KIND=JPRB), PARAMETER :: RLSTT = 2.8345E+6_JPRB
52! * RI0          : solar constant
53REAL(KIND=JPRB), PARAMETER :: RI0 = 1366.0_JPRB
54! * RETV         : R_vap/R_dry - 1
55REAL(KIND=JPRB), PARAMETER :: RETV = RV/RD-1.0_JPRB
56! * RMCO2        : CO2 (carbon dioxide) molar mass
57REAL(KIND=JPRB), PARAMETER :: RMCO2 = 44.0095_JPRB
58! * RMCH4        : CH4 (methane) molar mass
59REAL(KIND=JPRB), PARAMETER :: RMCH4 = 16.04_JPRB
60! * RMN2O        : N2O molar mass
61REAL(KIND=JPRB), PARAMETER :: RMN2O = 44.013_JPRB
62! * RMNO2        : NO2 (nitrogen dioxide) molar mass
63REAL(KIND=JPRB), PARAMETER :: RMNO2 = 46.01_JPRB
64! * RMCFC11      : CFC11 molar mass
65REAL(KIND=JPRB), PARAMETER :: RMCFC11 = 137.3686_JPRB
66! * RMCFC12      : CFC12 molar mass
67REAL(KIND=JPRB), PARAMETER :: RMCFC12 = 120.914_JPRB
68! * RMHCFC12     : HCFC22 molar mass
69REAL(KIND=JPRB), PARAMETER :: RMHCFC22 = 86.469_JPRB
70! * RMCCL4       : CCl4 molar mass
71REAL(KIND=JPRB), PARAMETER :: RMCCL4 = 153.823_JPRB
72
73REAL(KIND=JPRB), PARAMETER :: RCPD  = 3.5_JPRB*RD
74REAL(KIND=JPRB), PARAMETER :: RLMLT = RLSTT-RLVTT
75
76END MODULE YOMCST
Note: See TracBrowser for help on using the repository browser.