/[MITgcm]/MITgcm/pkg/exf/exf_constants.h
ViewVC logotype

Contents of /MITgcm/pkg/exf/exf_constants.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Mon May 14 22:08:40 2001 UTC (23 years, 1 month ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint46b_post, checkpoint46k_post, checkpoint46c_pre, checkpoint45d_post, branch-exfmods-tag, checkpoint47e_post, checkpoint44h_pre, checkpoint47, ecco_c44_e16, checkpoint46j_post, checkpoint47c_post, checkpoint47d_post, ecco_c44_e21, ecco_c44_e24, checkpoint44f_pre, checkpoint45a_post, checkpoint47a_post, checkpoint46f_post, checkpoint46a_post, checkpoint46n_post, checkpoint46d_pre, checkpoint46e_post, checkpoint45b_post, release1-branch_tutorials, checkpoint40pre1, checkpoint44g_post, checkpoint46h_pre, checkpoint45c_post, checkpoint44h_post, chkpt44c_post, checkpoint44e_post, checkpoint46e_pre, ecco-branch-mod4, checkpoint43a-release1mods, ecco_c44_e22, checkpoint46l_pre, checkpoint46j_pre, checkpoint46b_pre, checkpoint46l_post, chkpt44a_pre, release1-branch-end, release1_final_v1, ecco_c44_e19, checkpoint46, checkpoint44f_post, ecco_c44_e20, checkpoint44, ecco_c44_e18, checkpoint47b_post, checkpoint40pre2, checkpoint40pre5, checkpoint40pre6, checkpoint40pre8, ecco_c44_e17, release1_b1, checkpoint44b_post, chkpt44d_post, checkpoint42, release1_p9, release1_p8, checkpoint43, checkpoint46m_post, checkpoint46g_pre, release1_p2, release1_p3, release1_p4, release1_p6, chkpt44a_post, checkpoint44b_pre, release1_p1, checkpoint40pre4, checkpoint46a_pre, ecco-branch-mod1, checkpoint40pre3, release1_p5, checkpoint44e_pre, chkpt44c_pre, checkpoint40pre9, ecco_ice1, checkpoint46d_post, ecco-branch-mod2, checkpoint46g_post, ecco-branch-mod3, checkpoint47d_pre, checkpoint46i_post, release1_beta1, ecco_c44_e23, release1-branch_branchpoint, checkpoint40pre7, checkpoint46c_post, checkpoint40, checkpoint45, checkpoint39, checkpoint46h_post, release1_chkpt44d_post, ecco_c44_e25, ecco-branch-mod5, checkpoint41, release1_p7
Branch point for: c24_e25_ice, ecco-branch, release1_coupled, release1_final, release1-branch, release1, branch-exfmods-curt
File MIME type: text/plain
Added external forcing package.
Not presently supported by mitgcm, i.e. disabled by default.

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

  ViewVC Help
Powered by ViewVC 1.1.22