1 |
c $Header: /u/gcmpack/MITgcm/pkg/exf/exf_fields.h,v 1.10 2004/11/22 20:47:34 heimbach 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 |
94 |
c swdown :: Downward shortwave radiation in W/m^2 |
95 |
c > 0 for increase in theta (ocean warming) |
96 |
c Typical range: 0 < swdown < 450 |
97 |
c Input/output field |
98 |
c |
99 |
c lwdown :: Downward longwave radiation in W/m^2 |
100 |
c > 0 for increase in theta (ocean warming) |
101 |
c Typical range: 50 < lwdown < 450 |
102 |
c Input/output field |
103 |
c |
104 |
c apressure :: Atmospheric pressure field in N/m^2 |
105 |
c > 0 for ???? |
106 |
c Typical range: ???? < apressure < ???? |
107 |
c Input field |
108 |
c |
109 |
c |
110 |
c NOTES: |
111 |
c ====== |
112 |
c |
113 |
c All surface forcing fields are defined at the center of |
114 |
c each grid (the rVel location in model/inc/GRID.h) with |
115 |
c one exception. When both ALLOW_BULKFORMULAE and |
116 |
c USE_EXF_INTERPOLATION are undefined, ustress and vstress are |
117 |
c defined at the Southwest C-grid U and V points, respectively. |
118 |
c |
119 |
c Input and output units and sign conventions can be customized |
120 |
c using variables exf_inscal_* and exf_outscal_*, which are set |
121 |
c by exf_readparms.F |
122 |
c |
123 |
c Output fields fu, fv, Qnet, Qsw, and EmPmR are |
124 |
c defined in FFIELDS.h |
125 |
c |
126 |
c #ifndef SHORTWAVE_HEATING, hflux includes shortwave, |
127 |
c that is, hflux = latent + sensible + lwflux +swflux |
128 |
c |
129 |
c Arrays *0 and *1 below are used for temporal interpolation. |
130 |
c |
131 |
|
132 |
common /exf_stress_r/ ustress, vstress |
133 |
_RL ustress (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
134 |
_RL vstress (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
135 |
common /exfl_ustress_r/ ustress0, ustress1 |
136 |
_RL ustress0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
137 |
_RL ustress1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
138 |
common /exfl_vstress_r/ vstress0, vstress1 |
139 |
_RL vstress0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
140 |
_RL vstress1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
141 |
|
142 |
#ifdef ALLOW_ATM_WIND |
143 |
common /exf_atm_wind_r/ uwind, vwind |
144 |
_RL uwind (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
145 |
_RL vwind (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
146 |
common /exfl_uwind_r/ uwind0, uwind1 |
147 |
_RL uwind0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
148 |
_RL uwind1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
149 |
common /exfl_vwind_r/ vwind0, vwind1 |
150 |
_RL vwind0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
151 |
_RL vwind1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
152 |
#endif |
153 |
|
154 |
common /exf_hsflux_r/ hflux, sflux |
155 |
_RL hflux (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
156 |
_RL sflux (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
157 |
common /exfl_hflux_r/ hflux0, hflux1 |
158 |
_RL hflux0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
159 |
_RL hflux1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
160 |
common /exfl_sflux_r/ sflux0, sflux1 |
161 |
_RL sflux0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
162 |
_RL sflux1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
163 |
|
164 |
#ifdef ALLOW_ATM_TEMP |
165 |
common /exf_atm_temp_r/ atemp, aqh, lwflux, precip |
166 |
_RL atemp (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
167 |
_RL aqh (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
168 |
_RL lwflux (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
169 |
_RL precip (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
170 |
common /exfl_atemp_r/ atemp0, atemp1 |
171 |
_RL atemp0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
172 |
_RL atemp1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
173 |
common /exfl_aqh_r/ aqh0, aqh1 |
174 |
_RL aqh0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
175 |
_RL aqh1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
176 |
common /exfl_lwflux_r/ lwflux0, lwflux1 |
177 |
_RL lwflux0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
178 |
_RL lwflux1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
179 |
common /exfl_precip_r/ precip0, precip1 |
180 |
_RL precip0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
181 |
_RL precip1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
182 |
#endif |
183 |
|
184 |
#if defined(ALLOW_ATM_TEMP) || defined(SHORTWAVE_HEATING) |
185 |
common /exf_swflux_r/ swflux |
186 |
_RL swflux (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
187 |
common /exfl_swflux_r/ swflux0, swflux1 |
188 |
_RL swflux0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
189 |
_RL swflux1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
190 |
#endif |
191 |
|
192 |
#if defined(ALLOW_ATM_TEMP) || defined(EXF_READ_EVAP) |
193 |
common /exf_evap/ evap |
194 |
_RL evap (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
195 |
common /exfl_evap_r/ evap0, evap1 |
196 |
_RL evap0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
197 |
_RL evap1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
198 |
#endif |
199 |
|
200 |
#ifdef ALLOW_DOWNWARD_RADIATION |
201 |
common /exf_rad_down_r/ |
202 |
& swdown, lwdown, swdown0, swdown1, lwdown0, lwdown1 |
203 |
_RL swdown (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
204 |
_RL lwdown (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
205 |
_RL swdown0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
206 |
_RL swdown1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
207 |
_RL lwdown0 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
208 |
_RL lwdown1 (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
209 |
#endif |
210 |
|
211 |
#ifdef ATMOSPHERIC_LOADING |
212 |
common /exf_apressure_r/ apressure, apressure0, apressure1 |
213 |
_RL apressure (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
214 |
_RL apressure0(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
215 |
_RL apressure1(1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
216 |
#endif |
217 |
|
218 |
#if defined (ALLOW_RUNOFF) || defined (ALLOW_SEAICE) |
219 |
common /exfl_runoff_r/ runoff |
220 |
_RL runoff (1-olx:snx+olx,1-oly:sny+oly,nsx,nsy) |
221 |
#endif |