1 |
Initialization (myTime .EQ. startTime in MITgcm) |
2 |
|
3 |
===> Ocean Sends/ Ice Receives (fields that are sent only once) |
4 |
deltatimestep 1 Real*8 TimeIntervalTag |
5 |
grid dimensions (Nx,Ny) 2 Integer OceanGridsizeTag |
6 |
(grid locations - later?) |
7 |
ice area Nx*Ny Real*8 AreaTag |
8 |
ice thickness Nx*Ny Real*8 HeffTag |
9 |
ice salinity Nx*Ny Real*8 HsaltTag |
10 |
snow thickness Nx*Ny Real*8 HsnowTag |
11 |
|
12 |
===> Ocean Sends/ Ice Receives |
13 |
ocean model time 1 Real*8 OceanTimeTag |
14 |
boundary ice area 2*(Nx+Ny)-4 Real*8 AreaBcTag |
15 |
boundary ice thickness 2*(Nx+Ny)-4 Real*8 HeffBcTag |
16 |
boundary ice salinity 2*(Nx+Ny)-4 Real*8 HsaltBcTag |
17 |
boundary snow thickness 2*(Nx+Ny)-4 Real*8 HsnowBcTag |
18 |
boundary u ice 2*(Nx+Ny)-6 Real*8 UiceBcTag |
19 |
boundary v ice 2*(Nx+Ny)-6 Real*8 ViceBcTag |
20 |
u-wind velocity Nx*Ny Real*8 UwindTag |
21 |
v-wind velocity Nx*Ny Real*8 VwindTag |
22 |
downward longwave radiation Nx*Ny Real*8 LwDownTag |
23 |
downward shortwave radiation Nx*Ny Real*8 SwDownTag |
24 |
air temperature Nx*Ny Real*8 AtempTag |
25 |
humidity Nx*Ny Real*8 AqhTag |
26 |
precipitation Nx*Ny Real*8 PrecipTag |
27 |
ocean surface temperature Nx*Ny Real*8 SstTag |
28 |
surface u current Nx*Ny Real*8 UvelTag |
29 |
surface v current Nx*Ny Real*8 VvelTag |
30 |
|
31 |
===> Ice Sends/Ocean Receives |
32 |
ice model time 1 Real*8 IceTimeTag |
33 |
ice area Nx*Ny Real*8 AreaTag (initial ice area) |
34 |
ice thickness Nx*Ny Real*8 HeffTag (initial ice thickness) |
35 |
ice salinity Nx*Ny Real*8 HsaltTag (initial ice salinity) |
36 |
snow thickness Nx*Ny Real*8 HsnowTag (initial snow thickness) |
37 |
u surface stress Nx*Ny Real*8 UstressTag (surface v current) |
38 |
v surface stress Nx*Ny Real*8 VstressTag (array of 2) |
39 |
residual shortwave Nx*Ny Real*8 SwResidTag (array of 1) |
40 |
heat flux Nx*Ny Real*8 HeatFluxTag (array of 1) |
41 |
freshwater flux Nx*Ny Real*8 WaterFluxTag (array of 1) |
42 |
salt flux Nx*Ny Real*8 SaltFluxTag (array of 1) |
43 |
|
44 |
===================================== |
45 |
|
46 |
Each deltatimestep: |
47 |
|
48 |
===> Ocean Sends/Ice Receives |
49 |
ocean model time 1 Real*8 OceanTimeTag |
50 |
boundary ice area 2*(Nx+Ny)-4 Real*8 AreaBcTag |
51 |
boundary ice thickness 2*(Nx+Ny)-4 Real*8 HeffBcTag |
52 |
boundary ice salinity 2*(Nx+Ny)-4 Real*8 HsaltBcTag |
53 |
boundary snow thickness 2*(Nx+Ny)-4 Real*8 HsnowBcTag |
54 |
boundary u ice 2*(Nx+Ny)-6 Real*8 UiceBcTag |
55 |
boundary v ice 2*(Nx+Ny)-6 Real*8 ViceBcTag |
56 |
u-wind velocity Nx*Ny Real*8 UwindTag |
57 |
v-wind velocity Nx*Ny Real*8 VwindTag |
58 |
downward longwave radiation Nx*Ny Real*8 LwDownTag |
59 |
downward shortwave radiation Nx*Ny Real*8 SwDownTag |
60 |
air temperature Nx*Ny Real*8 AtempTag |
61 |
humidity Nx*Ny Real*8 AqhTag |
62 |
precipitation Nx*Ny Real*8 PrecipTag |
63 |
ocean surface temperature Nx*Ny Real*8 SstTag |
64 |
surface u current Nx*Ny Real*8 UvelTag |
65 |
surface v current Nx*Ny Real*8 VvelTag |
66 |
|
67 |
===> Ice Sends/Ocean Receives |
68 |
ice model time 1 Real*8 IceTimeTag |
69 |
ice area Nx*Ny Real*8 AreaTag |
70 |
ice thickness Nx*Ny Real*8 HeffTag |
71 |
ice salinity Nx*Ny Real*8 HsaltTag |
72 |
snow thickness Nx*Ny Real*8 HsnowTag |
73 |
u surface stress Nx*Ny Real*8 UstressTag |
74 |
v surface stress Nx*Ny Real*8 VstressTag |
75 |
residual shortwave Nx*Ny Real*8 SwResidTag |
76 |
heat flux Nx*Ny Real*8 HeatFluxTag |
77 |
freshwater flux Nx*Ny Real*8 WaterFluxTag |
78 |
salt flux Nx*Ny Real*8 SaltFluxTag |
79 |
|
80 |
===================================== |
81 |
|
82 |
DETAILS: |
83 |
|
84 |
|
85 |
|
86 |
1. start and initialize ocean + ice codes |
87 |
|
88 |
=========================================================== |
89 |
|
90 |
2. ocean sends |
91 |
|
92 |
**** initial time step only ******************************* |
93 |
|
94 |
deltatimestep 1 Real*8 TimeIntervalTag |
95 |
|
96 |
grid dimensions (Nx,Ny) 2 Integer OceanGridsizeTag |
97 |
|
98 |
Then on tracer grid: |
99 |
|
100 |
NOT YET IMPLEMENTED: grid information + landmask |
101 |
|
102 |
initial ice area (fractional: 0-1) at the tracer points |
103 |
C AREA - fractional ice-covered area in m^2/m^2 |
104 |
C at center of grid, i.e., tracer point |
105 |
C 0 is no cover, 1 is 100% cover |
106 |
|
107 |
initial ice thickness (mean thickness in the grid box in m) |
108 |
actual thickness for single-class ice would be thickness/area |
109 |
at the tracer points |
110 |
C HEFF - effective ice thickness in m |
111 |
C at center of grid, i.e., tracer point |
112 |
C note: for non-zero AREA, actual ice |
113 |
C thickness is HEFF / AREA |
114 |
|
115 |
initial ice salinity at the tracer points |
116 |
C HSALT - effective sea ice salinity in g/m^2 |
117 |
C at center of grid, i.e., tracer point |
118 |
|
119 |
initial snow thickness (mean thickness, m) at the tracer points |
120 |
C HSNOW - effective snow thickness in m |
121 |
C at center of grid, i.e., tracer point |
122 |
C note: for non-zero AREA, actual snow |
123 |
C thickness is HSNOW / AREA |
124 |
|
125 |
**** every time step ************************************** |
126 |
|
127 |
ocean model time "myTime" (s) |
128 |
|
129 |
boundary ice area 2*(Nx+Ny)-4 Real*8 AreaBcTag |
130 |
|
131 |
boundary ice thickness 2*(Nx+Ny)-4 Real*8 HeffBcTag |
132 |
|
133 |
boundary ice salinity 2*(Nx+Ny)-4 Real*8 HsaltBcTag |
134 |
|
135 |
boundary snow thickness 2*(Nx+Ny)-4 Real*8 HsnowBcTag |
136 |
|
137 |
open boundary u-ice velocity |
138 |
specified at the inside edge of the outer grid cells |
139 |
southwest C-grid locations for normal component and at the |
140 |
southwest C-grid locations for tangential |
141 |
C UICE - zonal ice velocity in m/s at South-West B-grid |
142 |
C (or C-grid #ifdef SEAICE_CGRID) U point |
143 |
C >0 from West to East |
144 |
|
145 |
open boundary v-ice velocity |
146 |
specified at the inside edge of the outer grid cells |
147 |
southwest C-grid locations for normal component and at the |
148 |
southwest C-grid locations for tangential |
149 |
C VICE - meridional ice velocity in m/s at South-West B-grid |
150 |
C (or C-grid #ifdef SEAICE_CGRID) V point |
151 |
C >0 from South to North |
152 |
C note: the South-West B-grid U and V points are on |
153 |
C the lower, left-hand corner of each grid cell |
154 |
|
155 |
10-m u-wind at the tracer points |
156 |
c uwind :: Surface (10-m) zonal wind velocity in m/s |
157 |
c > 0 for increase in uVel, which is west to |
158 |
c east for cartesian and spherical polar grids |
159 |
c Typical range: -10 < uwind < 10 |
160 |
c Input or input/output field |
161 |
|
162 |
10-m v-wind at the tracer points |
163 |
c vwind :: Surface (10-m) meridional wind velocity in m/s |
164 |
c > 0 for increase in vVel, which is south to |
165 |
c north for cartesian and spherical polar grids |
166 |
c Typical range: -10 < vwind < 10 |
167 |
c Input or input/output field |
168 |
|
169 |
downward longwave at the tracer points |
170 |
c lwdown :: Downward longwave radiation in W/m^2 |
171 |
c > 0 for increase in theta (ocean warming) |
172 |
c Typical range: 50 < lwdown < 450 |
173 |
c Input/output field |
174 |
|
175 |
downward shortwave at the tracer points |
176 |
c swdown :: Downward shortwave radiation in W/m^2 |
177 |
c > 0 for increase in theta (ocean warming) |
178 |
c Typical range: 0 < swdown < 450 |
179 |
c Input/output field |
180 |
|
181 |
2-m air temperature at the tracer points |
182 |
c atemp :: Surface (2-m) air temperature in deg K |
183 |
c Typical range: 200 < atemp < 300 |
184 |
c Input or input/output field |
185 |
|
186 |
2-m humidity at the tracer points |
187 |
c aqh :: Surface (2m) specific humidity in kg/kg |
188 |
c Typical range: 0 < aqh < 0.02 |
189 |
c Input or input/output field |
190 |
|
191 |
precipitation at the tracer points |
192 |
c precip :: Precipitation in m/s |
193 |
c > 0 for decrease in salt (ocean salinity) |
194 |
c Typical range: 0 < precip < 5e-7 |
195 |
c Input or input/output field |
196 |
|
197 |
sea surface temperature at the tracer points |
198 |
C theta - potential temperature (oC, held at pressure/tracer point) |
199 |
|
200 |
sea surface u-vel |
201 |
C uVel - zonal velocity (m/s, i=1 held at western face) |
202 |
at southwest c-grid locations |
203 |
|
204 |
sea surface v-vel |
205 |
C vVel - meridional velocity (m/s, j=1 held at southern face) |
206 |
at southwest c-grid locations |
207 |
|
208 |
=========================================================== |
209 |
|
210 |
3. ice receives 2., computes initial ice conditions and sends on tracer grid |
211 |
|
212 |
ice model time (s) |
213 |
ice area at tracer point |
214 |
ice thickness at tracer point |
215 |
ice salinity at tracer point |
216 |
snow thickness at tracer point |
217 |
u-stress under ice at southwest b-grid locations |
218 |
v-stress under ice at southwest b-grid locations |
219 |
residual shortwave under ice at tracer point |
220 |
heat flux (less shortwave) at tracer point |
221 |
freshwater flux at tracer point |
222 |
salt flux at tracer point |
223 |
|
224 |
=========================================================== |
225 |
|
226 |
4a. ice model steps forward by deltatimestep |
227 |
initially hardwired to 20 minutes |
228 |
|
229 |
4b. ocean model receives 3. and steps forward by deltatimestep |
230 |
initially hardwired to 20 minutes |
231 |
|
232 |
=========================================================== |
233 |
|
234 |
5a. ocean sends on tracer grid |
235 |
timestep |
236 |
open boundary ice area at tracer point |
237 |
open boundary ice thickness at tracer point |
238 |
open boundary snow thickness at tracer point |
239 |
open boundary ice salinity at tracer point |
240 |
open boundary u-ice velocity (see 2.) |
241 |
open boundary v-ice velocity (see 2.) |
242 |
10-m u-wind (see 2.) |
243 |
10-m v-wind (see 2.) |
244 |
downward longwave (see 2.) |
245 |
downward shortwave (see 2.) |
246 |
2-m air temperature (see 2.) |
247 |
2-m humidity (see 2.) |
248 |
precipitation (see 2.) |
249 |
sea surface temperature (see 2.) |
250 |
sea surface u-vel (see 2.) |
251 |
sea surface v-vel (see 2.) |
252 |
|
253 |
=========================================================== |
254 |
|
255 |
5b. ice sends on tracer grid |
256 |
|
257 |
ice model time (s) |
258 |
ice area at tracer point |
259 |
ice thickness at tracer point |
260 |
ice salinity at tracer point |
261 |
snow thickness at tracer point |
262 |
u-stress under ice at southwest b-grid locations |
263 |
v-stress under ice at southwest b-grid locations |
264 |
residual shortwave under ice at tracer point |
265 |
heat flux (less shortwave) at tracer point |
266 |
freshwater flux at tracer point |
267 |
salt flux at tracer point |
268 |
|
269 |
=========================================================== |
270 |
|
271 |
6a. ocean model receives 5b. and steps forward by deltatimestep |
272 |
initially hardwired to 20 minutes |
273 |
|
274 |
6b. ice model receives 5a. steps forward by deltatimestep |
275 |
initially hardwired to 20 minutes |
276 |
|
277 |
=========================================================== |
278 |
|
279 |
LOOP to 5a. and 5b. |