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