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