1 |
c $Header: /u/gcmpack/MITgcm/pkg/exf/exf_constants.h,v 1.8 2006/06/05 14:56:59 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 |
c umin - minimum absolute wind speed used to evaluate |
57 |
c drag coefficient [m/s] |
58 |
c atmrho - mean atmospheric density [kg/(m*3)] |
59 |
_RL umin |
60 |
_RL atmrho |
61 |
parameter ( umin = 0.5 _d 0 |
62 |
& , atmrho = 1.200 d0 ) |
63 |
|
64 |
c To invert the relationship ustar = ustar(umagn) the following |
65 |
c parameterization is used: |
66 |
c |
67 |
c ustar**2 = umagn**2 * CDN(umagn) |
68 |
c |
69 |
c / cquadrag_1 * umagn**2 + cquadrag_2; 0 < u < 11 m/s |
70 |
c CDN(umagn) = |
71 |
c \ clindrag_1 * umagn + clindrag_2 ; u > 11 m/s |
72 |
c |
73 |
c clindrag_[n] - n = 1, 2 coefficients used to evaluate |
74 |
c LINEAR relationship of Large and Pond 1981 |
75 |
c cquadrag_[n] - n = 1, 2 coefficients used to evaluate |
76 |
c quadratic relationship |
77 |
c u11 - u = 11 m/s wind speed |
78 |
c ustofu11 - ustar = 0.3818 m/s, corresponding to u = 11 m/s |
79 |
|
80 |
_RL clindrag_1, clindrag_2 |
81 |
_RL cquadrag_1, cquadrag_2 |
82 |
_RL u11 |
83 |
_RL ustofu11 |
84 |
|
85 |
parameter ( |
86 |
& ustofu11 = 0.381800d0 , |
87 |
& u11 = 11. d0 , |
88 |
& clindrag_1 = 0.000065d0 , |
89 |
& clindrag_2 = 0.000490d0 , |
90 |
& cquadrag_1 = clindrag_1/u11/2 , |
91 |
& cquadrag_2 = clindrag_1*u11/2 + clindrag_2 |
92 |
& ) |
93 |
|
94 |
#ifdef ALLOW_BULKFORMULAE |
95 |
|
96 |
c atmcp - mean atmospheric specific heat [J/kg/deg K] |
97 |
c flamb - latent heat of evaporation [J/kg] |
98 |
C flami - latent heat of melting of pure ice [J/kg] |
99 |
c cdrag_[n] - n = 1,2,3 coefficients used to evaluate |
100 |
c drag coefficient |
101 |
c cstanton_[n] - n = 1,2 coefficients used to evaluate |
102 |
c the Stanton number (stable/unstable cond.) |
103 |
c dalton - coefficient used to evaluate the Dalton number |
104 |
c zolmin - minimum stability parameter |
105 |
c zref - reference height |
106 |
c |
107 |
c karman - von Karman constant |
108 |
c cvapor - see e.g. Gill (1982) p.41 Eq. (3.1.15) |
109 |
c humid_fac - constant entering the evaluation of the virtual |
110 |
c temperature |
111 |
c gamma_blk - adiabatic lapse rate |
112 |
c saltsat - reduction of saturation vapor pressure over salt water |
113 |
c psim_fac - |
114 |
c cen2kel - conversion of deg. Centigrade to Kelvin |
115 |
c hu - height of mean wind |
116 |
c ht - height of mean temperature |
117 |
c hq - height of mean rel. humidity |
118 |
|
119 |
_RL atmcp |
120 |
_RL flamb, flami |
121 |
_RL cdrag_1, cdrag_2, cdrag_3 |
122 |
_RL cstanton_1, cstanton_2 |
123 |
_RL cdalton |
124 |
_RL zolmin |
125 |
_RL zref |
126 |
_RL karman |
127 |
_RL cvapor_fac, cvapor_exp |
128 |
_RL cvapor_fac_ice, cvapor_exp_ice |
129 |
_RL humid_fac |
130 |
_RL gamma_blk |
131 |
_RL saltsat |
132 |
_RL psim_fac |
133 |
_RL cen2kel |
134 |
_RL hu |
135 |
_RL ht |
136 |
_RL hq |
137 |
|
138 |
parameter ( cdrag_1 = 0.0027000d0 , |
139 |
& cdrag_2 = 0.0001420d0 , |
140 |
& cdrag_3 = 0.0000764d0 , |
141 |
& cstanton_1 = 0.0327000d0 , |
142 |
& cstanton_2 = 0.0180000d0 , |
143 |
& cdalton = 0.0346000d0 , |
144 |
& atmcp = 1005.000 d0 , |
145 |
& flamb = 2500000.000 d0 , |
146 |
& flami = 334000.000 d0 , |
147 |
& zolmin = -100.000 d0 , |
148 |
& zref = 10.000 d0 , |
149 |
& karman = 0.400 d0 , |
150 |
& cvapor_fac = 640380.000 d0 , |
151 |
& cvapor_exp = 5107.400 d0 , |
152 |
& cvapor_fac_ice = 11637800.000 d0 , |
153 |
& cvapor_exp_ice = 5897.800 d0 , |
154 |
& humid_fac = 0.606 d0 , |
155 |
& gamma_blk = 0.010 d0 , |
156 |
& saltsat = 0.980 d0 , |
157 |
& psim_fac = 5.000 d0 , |
158 |
& cen2kel = 273.150 d0 , |
159 |
& hu = 10.000 d0 , |
160 |
& ht = 2.000 d0 , |
161 |
& hq = 2.000 d0 |
162 |
& ) |
163 |
|
164 |
#ifdef ALLOW_ATM_TEMP |
165 |
_RL czol |
166 |
parameter ( czol = hu*karman*gravity_mks ) |
167 |
#endif |
168 |
|
169 |
c 4. control parameters |
170 |
|
171 |
c niter_bulk - Number of iterations to be performed for the |
172 |
c evaluation of the bulk surface fluxes. The ncom |
173 |
c model uses 2 hardwired interation steps (loop |
174 |
c unrolled). |
175 |
c |
176 |
integer niter_bulk |
177 |
parameter ( niter_bulk = 2 ) |
178 |
|
179 |
#endif /* ALLOW_BULKFORMULAE */ |