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

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

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


Revision 1.4 - (hide annotations) (download)
Fri May 18 02:44:50 2007 UTC (17 years ago) by jmc
Branch: MAIN
CVS Tags: checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59c, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j
Changes since 1.3: +2 -2 lines
File MIME type: text/plain
remove ALLOW_SEAICE from exf pkg files and add #define ALLOW_RUNOFF
in SEAICE_OPTIONS.h

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

  ViewVC Help
Powered by ViewVC 1.1.22