1 |
c $Header: /u/gcmpack/development/heimbach/ecco_env/pkg/exf/exf_constants.h,v 1.5 2001/05/08 13:26:33 ralf Exp $ |
2 |
c |
3 |
c |
4 |
c ================================================================== |
5 |
c HEADER exf_constants |
6 |
c ================================================================== |
7 |
c |
8 |
c o Header file for constants. |
9 |
c These include - numbers (e.g. 1, 2, 1/2, ...) |
10 |
c - physical constants (e.g. gravitational const.) |
11 |
c - empirical parameters |
12 |
c - control parameters (e.g. max. no of iteration) |
13 |
c |
14 |
c started: Patrick Heimbach heimbach@mit.edu 06-May-2000 |
15 |
c |
16 |
c ================================================================== |
17 |
c HEADER exf_constants |
18 |
c ================================================================== |
19 |
|
20 |
c 1. numbers |
21 |
|
22 |
c exf_half 0.5 |
23 |
c exf_one 1.0 |
24 |
c exf_two 2.0 |
25 |
|
26 |
_RL exf_half |
27 |
_RL exf_one |
28 |
_RL exf_two |
29 |
|
30 |
parameter( |
31 |
& exf_half = 0.5, |
32 |
& exf_one = 1.0, |
33 |
& exf_two = 2.0 |
34 |
& ) |
35 |
|
36 |
|
37 |
real exf_undef |
38 |
parameter( exf_undef = -9000. ) |
39 |
|
40 |
c 2. physical constants |
41 |
|
42 |
#ifdef ALLOW_ATM_TEMP |
43 |
c is identical to "gravity" used in MITgcmUV |
44 |
c needs to be marmonized through common constants.h file |
45 |
_RL gravity_mks |
46 |
parameter (gravity_mks = 9.81D0) |
47 |
#endif |
48 |
|
49 |
c 3. empirical parameters |
50 |
c climsaltfreeze dummy not relevant |
51 |
|
52 |
_RL climtempfreeze |
53 |
parameter ( climtempfreeze = -1.9 ) |
54 |
|
55 |
_RL climsaltfreeze |
56 |
parameter ( climsaltfreeze = -999.9 ) |
57 |
|
58 |
#ifdef ALLOW_BULKFORMULAE |
59 |
|
60 |
c atmrho - mean atmospheric density [kg/(m*3)] |
61 |
c atmcp - mean atmospheric specific heat [ ? ] |
62 |
c flamb - latent heat of evaporation [ ? ] |
63 |
c cdrag_[n] - n = 1,2,3 coefficients used to evaluate |
64 |
c drag coefficient |
65 |
c cstanton_[n] - n = 1,2 coefficients used to evaluate |
66 |
c the Stanton number (stable/unstable cond.) |
67 |
c dalton - coefficient used to evaluate the Dalton number |
68 |
c umin - minimum absolute wind speed used to evaluate |
69 |
c drag coefficient [m/s] |
70 |
c zolmin - minimum stability parameter |
71 |
c zref - reference height |
72 |
c |
73 |
c karman - von Karman constant |
74 |
c cvapor - see e.g. Gill (1982) p.41 Eq. (3.1.15) |
75 |
c humid_fac - constant entering the evaluation of the virtual |
76 |
c temperature |
77 |
c gamma_blk - adiabatic lapse rate |
78 |
c saltsat - reduction of saturation vapor pressure over salt water |
79 |
c psim_fac - |
80 |
c cen2kel - conversion of deg. Centigrade to Kelvin |
81 |
c hu - height of mean wind |
82 |
c ht - height of mean temperature |
83 |
c hq - height of mean rel. humidity |
84 |
|
85 |
_RL atmrho, atmcp |
86 |
_RL flamb |
87 |
_RL cdrag_1, cdrag_2, cdrag_3 |
88 |
_RL cstanton_1, cstanton_2 |
89 |
_RL cdalton |
90 |
_RL umin |
91 |
_RL zolmin |
92 |
_RL zref |
93 |
_RL karman |
94 |
_RL cvapor_fac, cvapor_exp |
95 |
_RL humid_fac |
96 |
_RL gamma_blk |
97 |
_RL saltsat |
98 |
_RL psim_fac |
99 |
_RL cen2kel |
100 |
_RL hu |
101 |
_RL ht |
102 |
_RL hq |
103 |
|
104 |
parameter ( cdrag_1 = 0.0027000, |
105 |
& cdrag_2 = 0.0001420, |
106 |
& cdrag_3 = 0.0000764, |
107 |
& cstanton_1 = 0.0327000, |
108 |
& cstanton_2 = 0.0180000, |
109 |
& cdalton = 0.0346000, |
110 |
& atmrho = 1.200, |
111 |
& atmcp = 1005.000, |
112 |
& flamb = 2500000.000, |
113 |
& umin = 0.500, |
114 |
& zolmin = -100.000, |
115 |
& zref = 10.000, |
116 |
& karman = 0.400, |
117 |
& cvapor_fac = 640380.000, |
118 |
& cvapor_exp = 5107.400, |
119 |
& humid_fac = 0.606, |
120 |
& gamma_blk = 0.010, |
121 |
& saltsat = 0.980, |
122 |
& psim_fac = 5.000, |
123 |
& cen2kel = 273.150, |
124 |
& hu = 10.000, |
125 |
& ht = 2.000, |
126 |
& hq = 2.000 |
127 |
& ) |
128 |
|
129 |
|
130 |
#ifndef ALLOW_ATM_WIND |
131 |
#ifdef ALLOW_ATM_TEMP |
132 |
c To invert the relationship ustar = ustar(umagn) the following |
133 |
c parameterization is used: |
134 |
c |
135 |
c ustar**2 = umagn**2 * CDN(umagn) |
136 |
c |
137 |
c / cquadrag_1 * umagn**2 + cquadrag_2; 0 < u < 11 m/s |
138 |
c CDN(umagn) = |
139 |
c \ clindrag_1 * umagn + clindrag_2 ; u > 11 m/s |
140 |
c |
141 |
c clindrag_[n] - n = 1, 2 coefficients used to evaluate |
142 |
c LINEAR relationship of Large and Pond 1981 |
143 |
c cquadrag_[n] - n = 1, 2 coefficients used to evaluate |
144 |
c quadratic relationship |
145 |
c u11 - u = 11 m/s wind speed |
146 |
c ustofu11 - ustar = 0.3818 m/s, corresponding to u = 11 m/s |
147 |
|
148 |
_RL clindrag_1, clindrag_2 |
149 |
_RL cquadrag_1, cquadrag_2 |
150 |
_RL u11 |
151 |
_RL ustofu11 |
152 |
|
153 |
parameter ( |
154 |
& ustofu11 = 0.381800 , |
155 |
& u11 = 11. , |
156 |
& clindrag_1 = 0.000065 , |
157 |
& clindrag_2 = 0.000490 , |
158 |
& cquadrag_1 = clindrag_1/u11/2 , |
159 |
& cquadrag_2 = clindrag_1*u11/2 + clindrag_2 |
160 |
& ) |
161 |
#endif |
162 |
#endif |
163 |
|
164 |
#ifdef ALLOW_ATM_TEMP |
165 |
_RL czol |
166 |
parameter ( czol = hu*karman*gravity_mks ) |
167 |
#endif |
168 |
|
169 |
#endif |
170 |
|
171 |
c 4. control parameters |
172 |
|
173 |
|
174 |
#ifdef ALLOW_BULKFORMULAE |
175 |
|
176 |
c niter_bulk - Number of iterations to be performed for the |
177 |
c evaluation of the bulk surface fluxes. The ncom |
178 |
c model uses 2 hardwired interation steps (loop |
179 |
c unrolled). |
180 |
c |
181 |
integer niter_bulk |
182 |
parameter ( niter_bulk = 2 ) |
183 |
|
184 |
#endif |
185 |
|