1 |
c $Header: /usr/local/gcmpack/MITgcm/pkg/exf/exf_fields.h,v 1.8 2003/08/07 02:31:29 dimitri Exp $ |
2 |
c |
3 |
c |
4 |
c ================================================================== |
5 |
c HEADER exf_fields |
6 |
c ================================================================== |
7 |
c |
8 |
c o Header file for the surface flux data. |
9 |
c |
10 |
c started: Ralf.Giering@FastOpt.de 25-Mai-2000 |
11 |
c changed: field swap in adj. mode; heimbach@mit.edu 10-Jan-2002 |
12 |
c included runoff D. Stammer, Nov. 25, 2001 |
13 |
c mods for pkg/seaice: menemenlis@jpl.nasa.gov 20-Dec-2002 |
14 |
c |
15 |
c ================================================================== |
16 |
c HEADER exf_fields |
17 |
c ================================================================== |
18 |
c |
19 |
c |
20 |
c Field definitions, units, and sign conventions: |
21 |
c =============================================== |
22 |
c |
23 |
c ustress :: Zonal surface wind stress in N/m^2 |
24 |
c > 0 for increase in uVel, which is west to |
25 |
c east for cartesian and spherical polar grids |
26 |
c Typical range: -0.5 < ustress < 0.5 |
27 |
c Input field |
28 |
c |
29 |
c vstress :: Meridional surface wind stress in N/m^2 |
30 |
c > 0 for increase in vVel, which is south to |
31 |
c north for cartesian and spherical polar grids |
32 |
c Typical range: -0.5 < vstress < 0.5 |
33 |
c Input field |
34 |
c |
35 |
c hflux :: Net upward surface heat flux excluding shortwave in W/m^2 |
36 |
c hflux = latent + sensible + lwflux |
37 |
c > 0 for decrease in theta (ocean cooling) |
38 |
c Typical range: -250 < hflux < 600 |
39 |
c Input field |
40 |
c |
41 |
c sflux :: Net upward freshwater flux in m/s |
42 |
c sflux = evap - precip - runoff |
43 |
c > 0 for increase in salt (ocean salinity) |
44 |
c Typical range: -1e-7 < sflux < 1e-7 |
45 |
c Input field |
46 |
c |
47 |
c swflux :: Net upward shortwave radiation in W/m^2 |
48 |
c swflux = - ( swdown - ice and snow absorption - reflected ) |
49 |
c > 0 for decrease in theta (ocean cooling) |
50 |
c Typical range: -350 < swflux < 0 |
51 |
c Input field |
52 |
c |
53 |
c uwind :: Surface (10-m) zonal wind velocity in m/s |
54 |
c > 0 for increase in uVel, which is west to |
55 |
c east for cartesian and spherical polar grids |
56 |
c Typical range: -10 < uwind < 10 |
57 |
c Input or input/output field |
58 |
c |
59 |
c vwind :: Surface (10-m) meridional wind velocity in m/s |
60 |
c > 0 for increase in vVel, which is south to |
61 |
c north for cartesian and spherical polar grids |
62 |
c Typical range: -10 < vwind < 10 |
63 |
c Input or input/output field |
64 |
c |
65 |
c atemp :: Surface (2-m) air temperature in deg K |
66 |
c Typical range: 200 < atemp < 300 |
67 |
c Input or input/output field |
68 |
c |
69 |
c aqh :: Surface (2m) specific humidity in kg/kg |
70 |
c Typical range: 0 < aqh < 0.02 |
71 |
c Input or input/output field |
72 |
c |
73 |
c lwflux :: Net upward longwave radiation in W/m^2 |
74 |
c lwflux = - ( lwdown - ice and snow absorption - emitted ) |
75 |
c > 0 for decrease in theta (ocean cooling) |
76 |
c Typical range: -20 < lwflux < 170 |
77 |
c Input field |
78 |
c |
79 |
c evap :: Evaporation in m/s |
80 |
c > 0 for increase in salt (ocean salinity) |
81 |
c Typical range: 0 < evap < 2.5e-7 |
82 |
c Input, input/output, or output field |
83 |
c |
84 |
c precip :: Precipitation in m/s |
85 |
c > 0 for decrease in salt (ocean salinity) |
86 |
c Typical range: 0 < precip < 5e-7 |
87 |
c Input or input/output field |
88 |
c |
89 |
c runoff :: River and glacier runoff in m/s |
90 |
c > 0 for decrease in salt (ocean salinity) |
91 |
c Typical range: 0 < runoff < ???? |
92 |
c Input or input/output field |
93 |
c !!! WATCH OUT: Default exf_inscal_runoff !!! |
94 |
c !!! in exf_readparms.F is not 1.0 !!! |
95 |
c |
96 |
c swdown :: Downward shortwave radiation in W/m^2 |
97 |
c > 0 for increase in theta (ocean warming) |
98 |
c Typical range: 0 < swdown < 450 |
99 |
c Input/output field |
100 |
c |
101 |
c lwdown :: Downward longwave radiation in W/m^2 |
102 |
c > 0 for increase in theta (ocean warming) |
103 |
c Typical range: 50 < lwdown < 450 |
104 |
c Input/output field |
105 |
c |
106 |
c apressure :: Atmospheric pressure field in N/m^2 |
107 |
c > 0 for ???? |
108 |
c Typical range: ???? < apressure < ???? |
109 |
c Input field |
110 |
c |
111 |
c |
112 |
c NOTES: |
113 |
c ====== |
114 |
c |
115 |
c All surface forcing fields are defined at the center of |
116 |
c each grid (the rVel location in model/inc/GRID.h) with |
117 |
c one exception. When both ALLOW_BULKFORMULAE and |
118 |
c USE_EXF_INTERPOLATION are undefined, ustress and vstress are |
119 |
c defined at the Southwest C-grid U and V points, respectively. |
120 |
c |
121 |
c Input and output units and sign conventions can be customized |
122 |
c using variables exf_inscal_* and exf_outscal_*, which are set |
123 |
c by exf_readparms.F |
124 |
c |
125 |
c Output fields fu, fv, Qnet, Qsw, and EmPmR are |
126 |
c defined in FFIELDS.h |
127 |
c |
128 |
c #ifndef SHORTWAVE_HEATING, hflux includes shortwave, |
129 |
c that is, hflux = latent + sensible + lwflux +swflux |
130 |
c |
131 |
c Arrays *0 and *1 below are used for temporal interpolation. |
132 |
c |
133 |
|
134 |
common /exf_stress_r/ ustress, vstress |
135 |
_RL ustress (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
136 |
_RL vstress (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
137 |
common /exfl_ustress_r/ ustress0, ustress1 |
138 |
_RL ustress0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
139 |
_RL ustress1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
140 |
common /exfl_vstress_r/ vstress0, vstress1 |
141 |
_RL vstress0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
142 |
_RL vstress1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
143 |
|
144 |
#ifdef ALLOW_ATM_WIND |
145 |
common /exf_atm_wind_r/ uwind, vwind |
146 |
_RL uwind (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
147 |
_RL vwind (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
148 |
common /exfl_uwind_r/ uwind0, uwind1 |
149 |
_RL uwind0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
150 |
_RL uwind1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
151 |
common /exfl_vwind_r/ vwind0, vwind1 |
152 |
_RL vwind0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
153 |
_RL vwind1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
154 |
#endif |
155 |
|
156 |
common /exf_hsflux_r/ hflux, sflux |
157 |
_RL hflux (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
158 |
_RL sflux (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
159 |
common /exfl_hflux_r/ hflux0, hflux1 |
160 |
_RL hflux0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
161 |
_RL hflux1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
162 |
common /exfl_sflux_r/ sflux0, sflux1 |
163 |
_RL sflux0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
164 |
_RL sflux1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
165 |
|
166 |
#ifdef ALLOW_ATM_TEMP |
167 |
common /exf_atm_temp_r/ atemp, aqh, lwflux, precip |
168 |
_RL atemp (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
169 |
_RL aqh (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
170 |
_RL lwflux (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
171 |
_RL precip (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
172 |
common /exfl_atemp_r/ atemp0, atemp1 |
173 |
_RL atemp0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
174 |
_RL atemp1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
175 |
common /exfl_aqh_r/ aqh0, aqh1 |
176 |
_RL aqh0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
177 |
_RL aqh1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
178 |
common /exfl_lwflux_r/ lwflux0, lwflux1 |
179 |
_RL lwflux0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
180 |
_RL lwflux1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
181 |
common /exfl_precip_r/ precip0, precip1 |
182 |
_RL precip0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
183 |
_RL precip1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
184 |
#endif |
185 |
|
186 |
#if defined(ALLOW_ATM_TEMP) || defined(SHORTWAVE_HEATING) |
187 |
common /exf_swflux_r/ swflux |
188 |
_RL swflux (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
189 |
common /exfl_swflux_r/ swflux0, swflux1 |
190 |
_RL swflux0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
191 |
_RL swflux1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
192 |
#endif |
193 |
|
194 |
#if defined(ALLOW_ATM_TEMP) || defined(EXF_READ_EVAP) |
195 |
common /exf_evap/ evap |
196 |
_RL evap (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
197 |
common /exfl_evap_r/ evap0, evap1 |
198 |
_RL evap0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
199 |
_RL evap1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
200 |
#endif |
201 |
|
202 |
#ifdef ALLOW_DOWNWARD_RADIATION |
203 |
common /exf_rad_down_r/ |
204 |
& swdown, lwdown, swdown0, swdown1, lwdown0, lwdown1 |
205 |
_RL swdown (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
206 |
_RL lwdown (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
207 |
_RL swdown0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
208 |
_RL swdown1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
209 |
_RL lwdown0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
210 |
_RL lwdown1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
211 |
#endif |
212 |
|
213 |
#ifdef ATMOSPHERIC_LOADING |
214 |
common /exf_apressure_r/ apressure, apressure0, apressure1 |
215 |
_RL apressure (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
216 |
_RL apressure0(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
217 |
_RL apressure1(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
218 |
#endif |
219 |
|
220 |
#if defined (ALLOW_RUNOFF) || defined (ALLOW_SEAICE) |
221 |
common /exfl_runoff_r/ runoff |
222 |
_RL runoff (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
223 |
#endif |