[4876] | 1 | ! (C) Copyright 1988- 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 | |
---|
| 10 | MODULE YOETHF |
---|
| 11 | |
---|
| 12 | USE PARKIND1 , ONLY : JPIM, JPRB |
---|
| 13 | USE YOMCST , ONLY : RD, RV, RCPD, RLVTT, RLSTT, RLMLT, RTT |
---|
| 14 | |
---|
| 15 | IMPLICIT NONE |
---|
| 16 | |
---|
| 17 | SAVE |
---|
| 18 | |
---|
| 19 | ! ------------------------------------------------------------------ |
---|
| 20 | !* *YOETHF* DERIVED CONSTANTS SPECIFIC TO ECMWF THERMODYNAMICS |
---|
| 21 | ! ------------------------------------------------------------------ |
---|
| 22 | |
---|
| 23 | REAL(KIND=JPRB), PARAMETER :: R2ES = 611.21_JPRB*RD/RV |
---|
| 24 | REAL(KIND=JPRB), PARAMETER :: R3LES = 17.502_JPRB |
---|
| 25 | REAL(KIND=JPRB), PARAMETER :: R3IES = 22.587_JPRB |
---|
| 26 | REAL(KIND=JPRB), PARAMETER :: R4LES = 32.19_JPRB |
---|
| 27 | REAL(KIND=JPRB), PARAMETER :: R4IES = -0.7_JPRB |
---|
| 28 | REAL(KIND=JPRB), PARAMETER :: R5LES = R3LES*(RTT-R4LES) |
---|
| 29 | REAL(KIND=JPRB), PARAMETER :: R5IES = R3IES*(RTT-R4IES) |
---|
| 30 | REAL(KIND=JPRB), PARAMETER :: RVTMP2 = 0.0_JPRB |
---|
| 31 | REAL(KIND=JPRB), PARAMETER :: RHOH2O = 1000.0_JPRB |
---|
| 32 | REAL(KIND=JPRB), PARAMETER :: R5ALVCP = R5LES*RLVTT/RCPD |
---|
| 33 | REAL(KIND=JPRB), PARAMETER :: R5ALSCP = R5IES*RLSTT/RCPD |
---|
| 34 | REAL(KIND=JPRB), PARAMETER :: RALVDCP = RLVTT/RCPD |
---|
| 35 | REAL(KIND=JPRB), PARAMETER :: RALSDCP = RLSTT/RCPD |
---|
| 36 | REAL(KIND=JPRB), PARAMETER :: RALFDCP = RLMLT/RCPD |
---|
| 37 | REAL(KIND=JPRB), PARAMETER :: RTWAT = RTT |
---|
| 38 | REAL(KIND=JPRB), PARAMETER :: RTBER = RTT-5._JPRB |
---|
| 39 | REAL(KIND=JPRB), PARAMETER :: RTBERCU = RTT-5.0_JPRB |
---|
| 40 | REAL(KIND=JPRB), PARAMETER :: RTICE = RTT-23._JPRB |
---|
| 41 | REAL(KIND=JPRB), PARAMETER :: RTICECU = RTT-23._JPRB |
---|
| 42 | REAL(KIND=JPRB), PARAMETER :: RTWAT_RTICE_R = 1.0_JPRB/(RTWAT-RTICE) |
---|
| 43 | REAL(KIND=JPRB), PARAMETER :: RTWAT_RTICECU_R = 1.0_JPRB/(RTWAT-RTICECU) |
---|
| 44 | REAL(KIND=JPRB), PARAMETER :: RKOOP1 = 2.583_JPRB |
---|
| 45 | REAL(KIND=JPRB), PARAMETER :: RKOOP2 = 0.48116E-2_JPRB |
---|
| 46 | |
---|
| 47 | ! J.-J. MORCRETTE 91/07/14 ADAPTED TO I.F.S. |
---|
| 48 | |
---|
| 49 | ! NAME TYPE PURPOSE |
---|
| 50 | ! ---- ---- ------- |
---|
| 51 | |
---|
| 52 | ! *R__ES* REAL *CONSTANTS USED FOR COMPUTATION OF SATURATION |
---|
| 53 | ! MIXING RATIO OVER LIQUID WATER(*R_LES*) OR |
---|
| 54 | ! ICE(*R_IES*). |
---|
| 55 | ! *RVTMP2* REAL *RVTMP2=RCPV/RCPD-1. |
---|
| 56 | ! *RHOH2O* REAL *DENSITY OF LIQUID WATER. (RATM/100.) |
---|
| 57 | ! *R5ALVCP* REAL *R5LES*RLVTT/RCPD |
---|
| 58 | ! *R5ALSCP* REAL *R5IES*RLSTT/RCPD |
---|
| 59 | ! *RALVDCP* REAL *RLVTT/RCPD |
---|
| 60 | ! *RALSDCP* REAL *RLSTT/RCPD |
---|
| 61 | ! *RALFDCP* REAL *RLMLT/RCPD |
---|
| 62 | ! *RTWAT* REAL *RTWAT=RTT |
---|
| 63 | ! *RTBER* REAL *RTBER=RTT-0.05 |
---|
| 64 | ! *RTBERCU REAL *RTBERCU=RTT-5.0 |
---|
| 65 | ! *RTICE* REAL *RTICE=RTT-0.1 |
---|
| 66 | ! *RTICECU* REAL *RTICECU=RTT-23.0 |
---|
| 67 | ! *RKOOP? REAL *CONSTANTS TO DESCRIBE KOOP FORM FOR NUCLEATION |
---|
| 68 | ! *RTWAT_RTICE_R* REAL *RTWAT_RTICE_R=1./(RTWAT-RTICE) |
---|
| 69 | ! *RTWAT_RTICECU_R* REAL *RTWAT_RTICECU_R=1./(RTWAT-RTICECU) |
---|
| 70 | |
---|
| 71 | ! ---------------------------------------------------------------- |
---|
| 72 | END MODULE YOETHF |
---|