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

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

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


Revision 1.4 - (hide annotations) (download)
Mon Apr 19 22:30:46 2004 UTC (20 years, 2 months ago) by mlosch
Branch: MAIN
CVS Tags: checkpoint52n_post, checkpoint53
Changes since 1.3: +1 -4 lines
File MIME type: text/plain
o small modifications in exf-package to increase flexibility:
  - change climtempfreeze from a constant to a runtime parameter that
    is specified in data.exf_clim (default = -1.9)
  - introduce runtime parameter windstressmax (default = 2.0) that is
    specified in data.exf

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

  ViewVC Help
Powered by ViewVC 1.1.22