1 |
module FCTTRE |
module FCTTRE |
2 |
|
|
3 |
! From phylmd/FCTTRE.inc, version 1.2 2004/06/22 11:45:32 |
! From phylmd/FCTTRE.inc, version 1.2, 2004/06/22 11:45:32 |
4 |
|
|
5 |
! This COMDECK includes the thermodynamical functions for the cycle |
! This module includes the thermodynamical functions for the cycle |
6 |
! 39 ECMWF Physics package. Consistent with YOMCST basic physics |
! 39 ECMWF physics package. Consistent with "SUPHEC_M" basic |
7 |
! constants, assuming the partial pressure of water vapour is given |
! physical constants, assuming the partial pressure of water vapour |
8 |
! by a first order Taylor expansion of Qs(T) with respect to |
! is given by a first order Taylor expansion of "Qs(T)" with respect |
9 |
! temperature, using constants in yoethf. |
! to temperature, using constants in "yoethf_m". |
10 |
|
|
11 |
|
! Probably from Buck, 1981, Journal of Applied Meteorology, volume |
12 |
|
! 20, number 12, page 1527. |
13 |
|
|
14 |
implicit none |
implicit none |
15 |
|
|
19 |
|
|
20 |
REAL function FOEEW(T, DEL) |
REAL function FOEEW(T, DEL) |
21 |
|
|
22 |
use yoethf, only: R3LES, R3IES, R4LES, R4IES |
use yoethf_m, only: R3LES, R3IES, R4LES, R4IES |
23 |
use YOMCST, only: rtt |
use SUPHEC_M, only: rtt |
24 |
|
|
25 |
REAL, intent(in):: T, DEL |
REAL, intent(in):: T |
26 |
|
REAL, intent(in):: DEL ! 1 for ice, 0 for liquid |
27 |
|
|
28 |
!----------------------- |
!----------------------- |
29 |
|
|
36 |
|
|
37 |
REAL function FOEDE(T, DEL, P5ARG, QS, PCOARG) |
REAL function FOEDE(T, DEL, P5ARG, QS, PCOARG) |
38 |
|
|
39 |
use yoethf, only: R4LES, R4IES |
use yoethf_m, only: R4LES, R4IES |
40 |
|
|
41 |
REAL, intent(in):: T, DEL |
REAL, intent(in):: T, DEL |
42 |
real, intent(in):: P5ARG, QS, PCOARG |
real, intent(in):: P5ARG, QS, PCOARG |
78 |
|
|
79 |
REAL function dqsats(t, qs) |
REAL function dqsats(t, qs) |
80 |
|
|
81 |
use YOMCST, only: RLVTT, rcpd |
use SUPHEC_M, only: RLVTT, rcpd |
82 |
|
|
83 |
REAL, intent(in):: T, qs |
REAL, intent(in):: T, qs |
84 |
|
|
93 |
|
|
94 |
REAL function dqsatl(t, qs) |
REAL function dqsatl(t, qs) |
95 |
|
|
96 |
use YOMCST, only: RLVTT, rcpd |
use SUPHEC_M, only: RLVTT, rcpd |
97 |
|
|
98 |
REAL, intent(in):: T, qs |
REAL, intent(in):: T, qs |
99 |
|
|