/[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.5 - (show annotations) (download)
Mon Nov 17 23:08:29 2008 UTC (15 years, 5 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint64, checkpoint65, checkpoint62, checkpoint63, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62z, checkpoint62y, checkpoint62x, checkpoint61f, checkpoint61g, checkpoint61n, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q, checkpoint61z, checkpoint61x, checkpoint61y, HEAD
Changes since 1.4: +22 -17 lines
File MIME type: text/plain
- add parameters to extrapolate temp from level 1 & 2 up to surface;
- add option to prevent negative evaporation.

1 C $Header: /u/gcmpack/MITgcm/pkg/exf/EXF_CONSTANTS.h,v 1.4 2007/05/08 03:48:08 jmc Exp $
2 C $Name: $
3 c
4 c
5 c ==================================================================
6 c HEADER exf_constants
7 c ==================================================================
8 c
9 c o Header file for constants.
10 c These include - numbers (e.g. 1, 2, 1/2, ...)
11 c - physical constants (e.g. gravitational const.)
12 c - empirical parameters
13 c - control parameters (e.g. max. no of iteration)
14 c
15 c started: Patrick Heimbach heimbach@mit.edu 06-May-2000
16 c mods for pkg/seaice: menemenlis@jpl.nasa.gov 20-Dec-2002
17 c
18 c ==================================================================
19 c HEADER exf_constants
20 c ==================================================================
21
22 c 1. numbers
23
24 c exf_half 0.5
25 c exf_one 1.0
26 c exf_two 2.0
27
28 _RL exf_half
29 _RL exf_one
30 _RL exf_two
31
32 PARAMETER(
33 & exf_half = 0.5 _d 0 ,
34 & exf_one = 1.0 _d 0 ,
35 & exf_two = 2.0 _d 0
36 & )
37
38 c real exf_undef
39 c PARAMETER( exf_undef = -9000. )
40
41 c 2. physical constants
42
43 c stefanBoltzmann :: Stefan-Boltzmann constant [J*K^-4*m^-2*s^-1]
44 c sigma = (2*pi^5*k^4)/(15*h^3*c^2)
45 c karman :: von Karman constant
46 _RL stefanBoltzmann
47 _RL karman
48 PARAMETER ( stefanBoltzmann = 5.670 _d -8 )
49 PARAMETER ( karman = 0.4 _d 0 )
50
51 c 3. empirical parameters
52
53 c To invert the relationship ustar = ustar(umagn) the following
54 c parameterization is used:
55 c
56 c ustar**2 = umagn**2 * CDN(umagn)
57 c
58 c / cquadrag_1 * umagn**2 + cquadrag_2; 0 < u < 11 m/s
59 c CDN(umagn) =
60 c \ clindrag_1 * umagn + clindrag_2 ; u > 11 m/s
61 c
62 c clindrag_[n] - n = 1, 2 coefficients used to evaluate
63 c LINEAR relationship of Large and Pond 1981
64 c cquadrag_[n] - n = 1, 2 coefficients used to evaluate
65 c quadratic relationship
66 c u11 - u = 11 m/s wind speed
67 c ustofu11 - ustar = 0.3818 m/s, corresponding to u = 11 m/s
68
69 _RL clindrag_1, clindrag_2
70 _RL cquadrag_1, cquadrag_2
71 _RL u11
72 _RL ustofu11
73
74 PARAMETER (
75 & ustofu11 = 0.381800 _d 0 ,
76 & u11 = 11. _d 0 ,
77 & clindrag_1 = 0.000065 _d 0 ,
78 & clindrag_2 = 0.000490 _d 0 ,
79 & cquadrag_1 = clindrag_1/u11/2 ,
80 & cquadrag_2 = clindrag_1*u11/2 + clindrag_2
81 & )
82
83 c 4. control parameters
84
85 c niter_bulk - Number of iterations to be performed for the
86 c evaluation of the bulk surface fluxes. The ncom
87 c model uses 2 hardwired interation steps (loop
88 c unrolled).
89 c
90 INTEGER niter_bulk
91 PARAMETER ( niter_bulk = 2 )
92
93 C 5. other constants or parameters
94
95 C COMMON /EXF_PARAM_R_2/
96 C cen2kel :: conversion of deg. Centigrade to Kelvin
97 C gravity_mks :: gravitational acceleration [m/s^2]
98 C atmrho :: mean atmospheric density [kg/m^3]
99 C atmcp :: mean atmospheric specific heat [J/kg/K]
100 C flamb :: latent heat of evaporation [J/kg]
101 C flami :: latent heat of melting of pure ice [J/kg]
102 C cvapor_[] :: Coeff to calculate Saturation Specific Humidity
103 C see e.g. Gill (1982) p.41 Eq. (3.1.15)
104 C humid_fac :: constant entering the evaluation of the virtual
105 C temperature
106 C gamma_blk :: adiabatic lapse rate
107 C saltsat :: reduction of saturation vapor pressure over salt water
108 C sstExtrapol :: extrapolation coeff from 1rst 2 levels up to surface
109 C snow_emissivity :: longwave snow emissivity [-] (with pkg thsice/seaice)
110 C-- to evaluate turbulent transfert coefficients:
111 C cdrag_[n] :: n = 1,2,3 coefficients used to evaluate
112 C drag coefficient
113 C cstanton_[n] :: n = 1,2 coefficients used to evaluate
114 C the Stanton number (stable/unstable cond.)
115 C cdalton :: coefficient used to evaluate the Dalton number
116 C zolmin :: minimum stability parameter
117 C psim_fac :: coef used in turbulent fluxes calculation [-]
118 C zref :: reference height
119 C hu :: height of mean wind
120 C ht :: height of mean temperature
121 C hq :: height of mean rel. humidity
122 C umin :: minimum absolute wind speed used to evaluate
123 C drag coefficient [m/s]
124 C exf_iceCd :: drag coefficient over sea-ice (fixed)
125 C exf_iceCe :: transfert coeff. over sea-ice, for Evaporation (fixed)
126 C exf_iceCh :: transfert coeff. over sea-ice, for Sens.Heating (fixed)
127 C-- radiation:
128 C exf_albedo :: Sea-water albedo
129 C ocean_emissivity :: longwave ocean-surface emissivity [-]
130 C ice_emissivity :: longwave seaice emissivity [-] (with pkg thsice/seaice)
131 C snow_emissivity :: longwave snow emissivity [-] (with pkg thsice/seaice)
132
133 _RL cen2kel
134 _RL gravity_mks
135 _RL atmrho
136 _RL atmcp
137 _RL flamb, flami
138 _RL cvapor_fac, cvapor_exp
139 _RL cvapor_fac_ice, cvapor_exp_ice
140 _RL humid_fac
141 _RL gamma_blk
142 _RL saltsat
143 _RL sstExtrapol
144 _RL cdrag_1, cdrag_2, cdrag_3
145 _RL cstanton_1, cstanton_2
146 _RL cdalton
147 _RL zolmin
148 _RL psim_fac
149 _RL zref
150 _RL hu
151 _RL ht
152 _RL hq
153 _RL umin
154 _RL exf_iceCd
155 _RL exf_iceCe
156 _RL exf_iceCh
157 _RL exf_albedo
158 _RL ocean_emissivity
159 _RL ice_emissivity
160 _RL snow_emissivity
161
162 COMMON /EXF_PARAM_R_2/
163 & cen2kel,
164 & gravity_mks,
165 & atmrho,
166 & atmcp,
167 & flamb,
168 & flami,
169 & cvapor_fac, cvapor_exp,
170 & cvapor_fac_ice, cvapor_exp_ice,
171 & humid_fac,
172 & gamma_blk,
173 & saltsat,
174 & sstExtrapol,
175 & cdrag_1, cdrag_2, cdrag_3,
176 & cstanton_1, cstanton_2,
177 & cdalton,
178 & zolmin,
179 & psim_fac,
180 & zref,
181 & hu,
182 & ht,
183 & hq,
184 & umin,
185 & exf_iceCd, exf_iceCe, exf_iceCh,
186 & exf_albedo,
187 & ocean_emissivity,
188 & ice_emissivity,
189 & snow_emissivity
190

  ViewVC Help
Powered by ViewVC 1.1.22