1 |
module yoethf |
module yoethf_m |
2 |
|
|
3 |
! From phylmd/YOETHF.inc,v 1.1.1.1 2004/05/19 12:53:09 |
! From phylmd/yoethf.inc, version 1.1.1.1 2004/05/19 12:53:09 |
4 |
! DERIVED CONSTANTS SPECIFIC TO ECMWF THERMODYNAMICS |
! Derived constants specific to ECMWF thermodynamics |
5 |
|
|
6 |
implicit none |
implicit none |
7 |
|
|
8 |
REAL R2ES, R3LES, R3IES, R4LES, R4IES, R5LES, R5IES |
! Constants used for computation of saturation mixing ratio over |
9 |
! CONSTANTS USED FOR COMPUTATION OF SATURATION |
! liquid water (r.les) or ice (r.ies): |
10 |
! MIXING RATIO OVER LIQUID WATER(R_LES) OR |
REAL R2ES, R5LES, R5IES |
11 |
! ICE(R_IES). |
real, parameter:: R3LES = 17.269, R3IES = 21.875, R4LES = 35.86, R4IES = 7.66 |
12 |
|
|
13 |
REAL RVTMP2, RHOH2O |
REAL RVTMP2 |
14 |
! RVTMP2 RVTMP2=RCPV/RCPD-1. |
real RHOH2O ! density of liquid water |
|
! RHOH2O DENSITY OF LIQUID WATER. (RATM/100.) |
|
15 |
|
|
16 |
save |
save |
17 |
|
|
18 |
end module yoethf |
contains |
19 |
|
|
20 |
|
subroutine yoethf |
21 |
|
|
22 |
|
! Calcul des constantes pour les fonctions thermodynamiques |
23 |
|
|
24 |
|
use SUPHEC_M, only: ratm, rcpd, rcpv, rd, restt, rtt, rv |
25 |
|
|
26 |
|
!----------------------------------------- |
27 |
|
|
28 |
|
RVTMP2=RCPV/RCPD-1. |
29 |
|
RHOH2O=RATM/100. |
30 |
|
R2ES = RESTT * RD / RV |
31 |
|
R5LES=R3LES*(RTT-R4LES) |
32 |
|
R5IES=R3IES*(RTT-R4IES) |
33 |
|
|
34 |
|
end subroutine yoethf |
35 |
|
|
36 |
|
end module yoethf_m |