/[lmdze]/trunk/phylmd/yoethf.f
ViewVC logotype

Contents of /trunk/phylmd/yoethf.f

Parent Directory Parent Directory | Revision Log Revision Log


Revision 291 - (show annotations)
Wed Jul 25 14:15:44 2018 UTC (5 years, 9 months ago) by guez
File size: 728 byte(s)
Use named constant f_ri_cd_min in procedure cdrag (following LMDZ).
Remove some intermediary variables.

1 module yoethf_m
2
3 ! From phylmd/yoethf.inc, version 1.1.1.1 2004/05/19 12:53:09
4 ! Derived constants specific to ECMWF thermodynamics
5
6 use SUPHEC_M, only: ratm, rcpd, rcpv, rd, restt, rtt, rv
7
8 implicit none
9
10 ! Constants used for computation of saturation mixing ratio over
11 ! liquid water (r.les) or ice (r.ies):
12 real, parameter:: R3LES = 17.269, R3IES = 21.875, R4LES = 35.86, R4IES = 7.66
13 real, parameter:: R5LES = R3LES * (RTT - R4LES)
14 real, parameter:: R5IES = R3IES * (RTT - R4IES)
15
16 real, parameter:: RVTMP2 = RCPV / RCPD - 1.
17 real, parameter:: RHOH2O = RATM / 100. ! density of liquid water
18 real, parameter:: R2ES = RESTT * RD / RV
19
20 private ratm, rcpd, rcpv, rd, restt, rtt, rv
21
22 end module yoethf_m

  ViewVC Help
Powered by ViewVC 1.1.21