1 |
jmc |
1.26 |
% $Header: /u/gcmpack/manual/s_examples/text/model_examples.tex,v 1.25 2013/03/26 13:21:28 jmc Exp $ |
2 |
adcroft |
1.1 |
% $Name: $ |
3 |
|
|
|
4 |
molod |
1.11 |
\section[MITgcm Example Experiments]{Example experiments} |
5 |
jmc |
1.23 |
\label{sec:modelExamples} |
6 |
molod |
1.11 |
\begin{rawhtml} |
7 |
|
|
<!-- CMIREDIR:modelExamples: --> |
8 |
|
|
\end{rawhtml} |
9 |
|
|
|
10 |
|
|
%% a set of pre-configured numerical experiments |
11 |
|
|
|
12 |
edhill |
1.13 |
The full MITgcm distribution comes with a set of pre-configured |
13 |
|
|
numerical experiments. Some of these example experiments are tests of |
14 |
|
|
individual parts of the model code, but many are fully fledged |
15 |
|
|
numerical simulations. Full tutorials exist for a few of the examples, |
16 |
jmc |
1.23 |
and are documented in sections \ref{sec:eg-baro} - |
17 |
|
|
\ref{sec:eg-tank}. The other examples follow the same general |
18 |
edhill |
1.13 |
structure as the tutorial examples. However, they only include brief |
19 |
|
|
instructions in a text file called {\it README}. The examples are |
20 |
|
|
located in subdirectories under the directory \texttt{verification}. |
21 |
|
|
Each example is briefly described below. |
22 |
molod |
1.11 |
|
23 |
|
|
\subsection{Full list of model examples} |
24 |
|
|
|
25 |
|
|
\begin{enumerate} |
26 |
jmc |
1.25 |
|
27 |
jmc |
1.20 |
\item \texttt{tutorial\_advection\_in\_gyre} - Test of various |
28 |
jahn |
1.15 |
advection schemes in a single-layer double-gyre experiment. |
29 |
|
|
This experiment is described in detail in section |
30 |
jmc |
1.23 |
\ref{sec:eg-adv-gyre}. |
31 |
molod |
1.12 |
|
32 |
jmc |
1.17 |
\item \texttt{tutorial\_baroclinic\_gyre} - Four layer, ocean double |
33 |
|
|
gyre. This experiment is described in detail in section |
34 |
jmc |
1.23 |
\ref{sec:eg-fourlayer}. |
35 |
jmc |
1.17 |
|
36 |
jmc |
1.20 |
\item \texttt{tutorial\_barotropic\_gyre} - Single layer, ocean double |
37 |
jmc |
1.25 |
gyre (barotropic with free-surface). |
38 |
jmc |
1.23 |
This experiment is described in detail in section \ref{sec:eg-baro}. |
39 |
edhill |
1.13 |
|
40 |
jmc |
1.20 |
\item \texttt{tutorial\_cfc\_offline} - Offline form of the MITgcm to |
41 |
jmc |
1.17 |
study advection of a passive tracer and CFCs. |
42 |
jmc |
1.23 |
This experiment is described in detail in section \ref{sec:eg-offline-cfc}. |
43 |
jmc |
1.17 |
|
44 |
jmc |
1.26 |
\item \texttt{tutorial\_deep\_convection} - Non-uniformly forced |
45 |
jmc |
1.17 |
ocean convection in a doubly periodic box. This experiment is |
46 |
jmc |
1.23 |
described in detail in section \ref{sec:eg-bconv}. |
47 |
jmc |
1.17 |
|
48 |
jmc |
1.26 |
\item \texttt{tutorial\_dic\_adoffline} - Offline form of MITgcm |
49 |
|
|
dynamics coupled to the dissolved inorganic carbon biogeochemistry model; |
50 |
|
|
adjoint set-up. |
51 |
|
|
|
52 |
jmc |
1.20 |
\item \texttt{tutorial\_global\_oce\_biogeo} - Ocean model coupled to |
53 |
jmc |
1.17 |
the dissolved inorganic carbon biogeochemistry model. This |
54 |
|
|
experiment is described in detail in section |
55 |
jmc |
1.23 |
\ref{sec:eg-biogeochem_tutorial}. |
56 |
jmc |
1.17 |
|
57 |
jmc |
1.20 |
\item \texttt{tutorial\_global\_oce\_in\_p} - Global ocean simulation in |
58 |
jmc |
1.17 |
pressure coordinate (non-Boussinesq ocean model). Described in |
59 |
jmc |
1.23 |
detail in section \ref{sec:eg-globalpressure}. |
60 |
edhill |
1.13 |
|
61 |
|
|
\item \texttt{tutorial\_global\_oce\_latlon} - 4x4 degree global ocean |
62 |
|
|
simulation with steady climatological forcing. This experiment is |
63 |
jmc |
1.23 |
described in detail in section \ref{sec:eg-global}. |
64 |
edhill |
1.13 |
|
65 |
jmc |
1.20 |
\item \texttt{tutorial\_global\_oce\_optim} - Global ocean state |
66 |
jmc |
1.17 |
estimation at $4^\circ$ resolution. This experiment is described in |
67 |
jmc |
1.23 |
detail in section \ref{sec:eg-global_state_estimate}. |
68 |
molod |
1.11 |
|
69 |
edhill |
1.13 |
\item \texttt{tutorial\_held\_suarez\_cs} - 3D atmosphere dynamics |
70 |
jmc |
1.19 |
using Held and Suarez (1994) forcing on cubed sphere grid. This |
71 |
jmc |
1.23 |
experiment is described in detail in section \ref{sec:eg-hs}. |
72 |
jmc |
1.25 |
|
73 |
jmc |
1.20 |
\item \texttt{tutorial\_offline} - Offline form of the MITgcm to study |
74 |
jmc |
1.17 |
advection of a passive tracer. This experiment is described in |
75 |
jmc |
1.23 |
detail in section \ref{sec:eg-offline}. |
76 |
jmc |
1.17 |
|
77 |
jmc |
1.20 |
\item \texttt{tutorial\_plume\_on\_slope} - Gravity Plume on a |
78 |
jmc |
1.17 |
continental slope. This experiment is described in detail in |
79 |
jmc |
1.23 |
section \ref{sec:eg-gravityplume}. |
80 |
jmc |
1.17 |
|
81 |
jmc |
1.20 |
\item \texttt{tutorial\_tracer\_adjsens} - Simple passive tracer |
82 |
jmc |
1.17 |
experiment. Includes derivative calculation. This experiment is |
83 |
jmc |
1.26 |
described in detail in section \ref{sec:eg-simple-tracer-adjoint}.\\ |
84 |
|
|
Also contains an additional set-up using Secon Order Moment (SOM) advection |
85 |
|
|
scheme ({\it input\_ad.som81/}). |
86 |
|
|
|
87 |
|
|
\item \texttt{1D\_ocean\_ice\_column} - Oceanic column with seaice on top. |
88 |
molod |
1.12 |
|
89 |
jmc |
1.20 |
\item \texttt{adjustment.128x64x1} - Barotropic adjustment problem on |
90 |
molod |
1.11 |
latitude longitude grid with 128x64 grid points ($2.8^\circ$ resolution). |
91 |
jmc |
1.25 |
|
92 |
jmc |
1.20 |
\item \texttt{adjustment.cs-32x32x1} - Barotropic adjustment problem on |
93 |
molod |
1.11 |
cube sphere grid with 32x32 points per face (roughly $2.8^\circ$ |
94 |
jmc |
1.20 |
resolution).\\ |
95 |
|
|
Also contains a non-linear free-surface adjustment version ({\it input.nlfs/}). |
96 |
jmc |
1.25 |
|
97 |
jmc |
1.26 |
\item \texttt{advect\_cs} - Two-dimensional passive advection test on |
98 |
|
|
cube sphere grid (32x32 grid points per face, roughly $2.8^\circ$ resolution) |
99 |
jmc |
1.25 |
|
100 |
jmc |
1.20 |
\item \texttt{advect\_xy} - Two-dimensional (horizontal plane) passive |
101 |
jmc |
1.19 |
advection test on Cartesian grid.\\ |
102 |
jmc |
1.20 |
Also contains an additional set-up using Adams-Bashforth 3 ({\it input.ab3\_c4/}). |
103 |
jmc |
1.25 |
|
104 |
jmc |
1.20 |
\item \texttt{advect\_xz} - Two-dimensional (vertical plane) passive |
105 |
jmc |
1.26 |
advection test on Cartesian grid.\\ |
106 |
|
|
Also contains an additional set-up using non-linear free-surface |
107 |
|
|
with divergent barotropic flow and implicit vertical advection ({\it input.nlfs/}). |
108 |
jmc |
1.25 |
|
109 |
jmc |
1.26 |
\item \texttt{aim.5l\_Equatorial\_Channel} - |
110 |
|
|
5-levels Intermediate Atmospheric physics, |
111 |
jmc |
1.17 |
3D Equatorial Channel configuration. |
112 |
jmc |
1.25 |
|
113 |
jmc |
1.17 |
\item \texttt{aim.5l\_LatLon} - 5-levels Intermediate Atmospheric physics, |
114 |
|
|
Global configuration, on latitude longitude grid with 128x64x5 grid |
115 |
|
|
points ($2.8^\circ$ resolution). |
116 |
jmc |
1.25 |
|
117 |
jmc |
1.17 |
\item \texttt{aim.5l\_cs} - 5-levels Intermediate Atmospheric physics, |
118 |
jmc |
1.25 |
Global configuration on cube sphere grid |
119 |
jmc |
1.19 |
(32x32 grid points per face, roughly $2.8^\circ$).\\ |
120 |
jmc |
1.26 |
Also contains an additional set-up with a slab-ocean and thermodynamic |
121 |
jmc |
1.20 |
sea-ice ({\it input.thSI/}). |
122 |
jmc |
1.19 |
|
123 |
jmc |
1.20 |
\item \texttt{bottom\_ctrl\_5x5} - Adjoint test using the bottom |
124 |
edhill |
1.13 |
topography as the control parameter. |
125 |
molod |
1.12 |
|
126 |
jmc |
1.20 |
\item \texttt{cfc\_example} - Global ocean with online computation and |
127 |
edhill |
1.13 |
advection of CFC11 and CFC12. |
128 |
molod |
1.12 |
|
129 |
jmc |
1.26 |
\item \texttt{cheapAML\_box} - Example using cheap atmospheric mixed layer |
130 |
|
|
(cheapAML) package. |
131 |
|
|
|
132 |
jmc |
1.25 |
\item \texttt{cpl\_aim+ocn} - Coupled Ocean - Atmosphere realistic |
133 |
|
|
configuration on cubed-sphere cs32 horizontal grid, |
134 |
jmc |
1.20 |
using Intermediate Atmospheric physics ({\it pkg/aim\_v23}) |
135 |
jmc |
1.26 |
thermodynamic seaice ({\it pkg/thsice}) and land packages. |
136 |
|
|
on cubed-sphere cs32 in a realistic configuration. |
137 |
jmc |
1.20 |
|
138 |
jmc |
1.25 |
\item \texttt{cpl\_atm2d+ocn} - Coupled Ocean - Atmosphere realistic |
139 |
jmc |
1.20 |
configuration using 2-D Atmospheric Model ({\it pkg/atm2d}). |
140 |
|
|
|
141 |
|
|
\item \texttt{deep\_anelastic} - Convection simulation on a giant planet: |
142 |
|
|
relax both the Boussinesq approximation (anelastic) and the thin atmosphere |
143 |
|
|
approximation (deep atmosphere). |
144 |
jmc |
1.19 |
|
145 |
jmc |
1.20 |
\item \texttt{dome} - Idealized 3D test of a density-driven bottom current. |
146 |
jmc |
1.19 |
|
147 |
jmc |
1.25 |
\item \texttt{exp2} - Old version of the global ocean experiment (no GM, |
148 |
jmc |
1.19 |
no partial-cells).\\ |
149 |
jmc |
1.26 |
Also contains an additional set-up with rigid-lid ({\it input.rigidLid/}). |
150 |
molod |
1.12 |
|
151 |
jmc |
1.17 |
\item \texttt{exp4} - Flow over a Gaussian bump in open-water or |
152 |
jmc |
1.26 |
channel with open boundaries.\\ |
153 |
|
|
Also contains an additional set-up using non-linear free-surface ({\it input.nlfs/}). |
154 |
molod |
1.12 |
|
155 |
jmc |
1.20 |
\item \texttt{fizhi-cs-32x32x40} - Global atmospheric simulation with |
156 |
|
|
realistic topography, 40 vertical levels, a cubed sphere grid and |
157 |
edhill |
1.13 |
the full atmospheric physics package. |
158 |
|
|
|
159 |
jmc |
1.20 |
\item \texttt{fizhi-cs-aqualev20} - Global atmospheric simulation on an |
160 |
edhill |
1.13 |
aqua planet with full atmospheric physics. Run is perpetual march |
161 |
|
|
with an analytical SST distribution. This is the configuration for |
162 |
|
|
the APE (Aqua Planet Experiment) participation experiment. |
163 |
|
|
|
164 |
jmc |
1.20 |
\item \texttt{fizhi-gridalt-hs} - Global atmospheric simulation |
165 |
edhill |
1.13 |
Held-Suarez (1994) forcing, with the physical forcing and the |
166 |
|
|
dynamical forcing running on different vertical grids. |
167 |
|
|
|
168 |
jmc |
1.20 |
\item \texttt{flt\_example} - Example of using float package. |
169 |
jmc |
1.25 |
|
170 |
jmc |
1.17 |
\item \texttt{front\_relax} - Relaxation of an ocean thermal front |
171 |
jmc |
1.26 |
(test for Gent/McWilliams scheme). 2D (y-z).\\ |
172 |
|
|
Also contains additional set-ups: |
173 |
|
|
\begin{enumerate} |
174 |
|
|
\item using the Boundary-Value Problem method |
175 |
|
|
(Ferrari et al., 2010) ({\it input.bvp/}). |
176 |
|
|
\item with Mixed-Layer Eddy parameterization |
177 |
|
|
(Ferrari \& McWilliams, 2007) ({\it input.mxl/}). |
178 |
|
|
\end{enumerate} |
179 |
|
|
|
180 |
|
|
\item \texttt{global\_ocean.90x40x15} - Global ocean simulation at 4x4 |
181 |
|
|
degree resolution. Similar to tutorial\_global\_oce\_latlon, but using |
182 |
|
|
$z^*$ coordinates with quasi-non-hydrostatic and non-hydrostatic metric terms. |
183 |
|
|
This experiment also illustrate the use of SBO package. |
184 |
|
|
Also contains additional set-ups: |
185 |
|
|
\begin{enumerate} |
186 |
|
|
\item using down-slope package ({\it pkg/down\_slope}) ({\it input.dwnslp/}) |
187 |
|
|
\item an Open-AD adjoint set-up ({\it code\_oad/, input\_oad/}). |
188 |
|
|
\item four TAF adjoint set-ups ({\it code\_ad/}): |
189 |
|
|
\begin{enumerate} |
190 |
|
|
\item standard experiment ({\it input\_ad/}). |
191 |
|
|
\item with bottom drag as a control ({\it input\_ad.bottomdrag/}). |
192 |
|
|
\item with kappa GM as a control ({\it input\_ad.kapgm/}). |
193 |
|
|
\item with kappa Redi as a control ({\it input\_ad.kapredi/}). |
194 |
|
|
\end{enumerate} |
195 |
|
|
\end{enumerate} |
196 |
jmc |
1.17 |
|
197 |
jmc |
1.20 |
\item \texttt{global\_ocean.cs32x15} - Global ocean experiment on the |
198 |
jmc |
1.25 |
cubed sphere grid.\\ |
199 |
jmc |
1.26 |
Also contains additional forward set-ups: |
200 |
jmc |
1.19 |
\begin{enumerate} |
201 |
jmc |
1.26 |
\item non-hydrostatic with biharmonic viscosity ({\it input.viscA4/}) |
202 |
jmc |
1.20 |
\item using thermodynamic sea ice and bulk force ({\it input.thsice/}) |
203 |
jmc |
1.26 |
\item using thermodynamic ({\it pkg/thsice}) dynamic ({\it pkg/seaice}) sea-ice |
204 |
|
|
and {\it exf} package ({\it input.icedyn/}) |
205 |
|
|
\item using thermodynamic - dynamic ({\it pkg/seaice}) sea-ice |
206 |
|
|
with {\it exf} package ({\it input.seaice/}) |
207 |
|
|
\end{enumerate} |
208 |
|
|
and few additional adjoint set-ups ({\it code\_ad/}): |
209 |
|
|
\begin{enumerate} |
210 |
|
|
\item standard experiment without sea-ice ({\it input\_ad/}). |
211 |
|
|
\item using thermodynamic - dynamic sea-ice ({\it input\_ad.seaice/}) |
212 |
|
|
\item same as above without adjoint sea-ice dynamics ({\it input\_ad.seaice\_dynmix/}) |
213 |
|
|
\item using thermodynamic sea-ice from {\it thsice} package ({\it input\_ad.thsice/}) |
214 |
jmc |
1.19 |
\end{enumerate} |
215 |
edhill |
1.13 |
|
216 |
jmc |
1.20 |
\item \texttt{global\_ocean\_ebm} - Global ocean experiment on a lat-lon |
217 |
edhill |
1.13 |
grid coupled to an atmospheric energy balance model. Similar to |
218 |
jmc |
1.20 |
global\_ocean.90x40x15 experiment.\\ |
219 |
|
|
Also contains an adjoint set-up ({\it code\_ad/, input\_ad/}). |
220 |
molod |
1.12 |
|
221 |
jmc |
1.20 |
\item \texttt{global\_with\_exf} - Global ocean experiment on a lat-lon |
222 |
jmc |
1.26 |
grid using the {\it exf} package. Similar to tutorial\_global\_oce\_latlon |
223 |
|
|
experiment.\\ |
224 |
|
|
Also contains a secondary set-up with yearly {\it exf} fields ({\it input\_ad.yearly/}). |
225 |
|
|
|
226 |
|
|
\item \texttt{halfpipe\_streamice} - Example using package "streamice".\\ |
227 |
|
|
Also contains adjoint set-ups using TAF ({\it code\_ad/, input\_ad/}) |
228 |
|
|
and using Open-AD ({\it code\_oad/, input\_oad/}). |
229 |
molod |
1.12 |
|
230 |
jmc |
1.19 |
\item \texttt{hs94.128x64x5} - 3D atmosphere dynamics on lat-lon grid, |
231 |
|
|
using Held and Suarez '94 forcing. |
232 |
jmc |
1.25 |
|
233 |
|
|
\item \texttt{hs94.1x64x5} - Zonal averaged atmosphere dynamics |
234 |
jmc |
1.20 |
using Held and Suarez '94 forcing.\\ |
235 |
jmc |
1.26 |
Also contains adjoint set-ups using TAF ({\it code\_ad/, input\_ad/}) |
236 |
|
|
and using Open-AD ({\it code\_oad/, input\_oad/}). |
237 |
jmc |
1.25 |
|
238 |
jmc |
1.20 |
\item \texttt{hs94.cs-32x32x5} - 3D atmosphere dynamics using Held and |
239 |
jmc |
1.26 |
Suarez (1994) forcing on the cubed sphere, similar to tutorial\_held\_suarez\_cs |
240 |
|
|
experiment but using linear free-surface and only 5 levels.\\ |
241 |
jmc |
1.20 |
Also contains an additional set-up with Implicit Internal gravity waves |
242 |
jmc |
1.26 |
treatment and Adams-Bashforth 3 ({\it input.impIGW/}). |
243 |
molod |
1.12 |
|
244 |
jmc |
1.20 |
\item \texttt{ideal\_2D\_oce} - Idealized 2D global ocean simulation on |
245 |
edhill |
1.13 |
an aqua planet. |
246 |
molod |
1.12 |
|
247 |
jmc |
1.17 |
\item \texttt{internal\_wave} - Ocean internal wave forced by open |
248 |
jmc |
1.26 |
boundary conditions.\\ |
249 |
|
|
Also contains an additional set-up using {\it pkg/kl10} (see section |
250 |
|
|
\ref{sec:pkg:kl10}, Klymak and Legg, 2010) ({\it input.kl10/}). |
251 |
jmc |
1.17 |
|
252 |
jmc |
1.20 |
\item \texttt{inverted\_barometer} - Simple test of ocean response to |
253 |
edhill |
1.13 |
atmospheric pressure loading. |
254 |
molod |
1.12 |
|
255 |
jmc |
1.20 |
\item \texttt{isomip} - ISOMIP like set-up including ice-shelf cavities |
256 |
|
|
({\it pkg/shelfice}).\\ |
257 |
jmc |
1.26 |
Also contains additional set-ups: |
258 |
|
|
\begin{enumerate} |
259 |
|
|
\item with "htd" ({\it input.htd/}) |
260 |
|
|
but only Martin knows what "htd" stands for. |
261 |
|
|
\item using package {\it icefront} ({\it input.icefront}) |
262 |
|
|
\end{enumerate} |
263 |
|
|
and also adjoint set-ups using TAF ({\it code\_ad/, input\_ad/, input\_ad.htd/}) |
264 |
|
|
or using Open-AD ({\it code\_oad/, input\_oad/}). |
265 |
jmc |
1.19 |
|
266 |
jmc |
1.20 |
\item \texttt{lab\_sea} - Regional Labrador Sea simulation on a lat-lon |
267 |
|
|
grid using the sea ice package.\\ |
268 |
|
|
Also contains additional set-ups: |
269 |
|
|
\begin{enumerate} |
270 |
jmc |
1.26 |
\item using the simple "free-drift" assumption for seaice ({\it input.fd/}) |
271 |
|
|
\item using EVP dynamics (instead of LSR solver) and Hibler \& Bryan (1987) |
272 |
|
|
sea-ice ocean stress ({\it input.hb87/}) |
273 |
jmc |
1.20 |
\item using package {\it salt\_plume} ({\it input.salt\_plume/}) |
274 |
|
|
\end{enumerate} |
275 |
|
|
and also 3 adjoint set-ups ({\it code\_ad/, input\_ad/, input\_ad.noseaicedyn/, |
276 |
jmc |
1.26 |
input\_ad.noseaice/}). |
277 |
molod |
1.12 |
|
278 |
jmc |
1.20 |
\item \texttt{matrix\_example} - Test of experimental method to |
279 |
jmc |
1.26 |
accelerated convergence towards equilibrium. |
280 |
molod |
1.12 |
|
281 |
jmc |
1.20 |
\item \texttt{MLAdjust} - Simple tests for different viscosity formulations.\\ |
282 |
jmc |
1.26 |
Also contains additional set-ups (see: {\it verification/MLAdjust/README}): |
283 |
jmc |
1.20 |
\begin{enumerate} |
284 |
jmc |
1.26 |
\item ({\it input.A4FlxF/}) |
285 |
|
|
\item ({\it input.AhFlxF/}) |
286 |
|
|
\item ({\it input.AhVrDv/}) |
287 |
|
|
\item ({\it input.AhStTn/}) |
288 |
jmc |
1.20 |
\end{enumerate} |
289 |
jmc |
1.17 |
|
290 |
|
|
\item \texttt{natl\_box} - Eastern subtropical North Atlantic with KPP |
291 |
|
|
scheme; 1 month integration |
292 |
jmc |
1.19 |
|
293 |
jmc |
1.26 |
\item \texttt{obcs\_ctrl} - Adjoint test using Open-Boundary conditions |
294 |
|
|
as control parameters. |
295 |
jmc |
1.19 |
|
296 |
jmc |
1.26 |
\item \texttt{offline\_exf\_seaice} - Seaice on top of oceanic surface layer |
297 |
|
|
in an idealized channel. Forcing is computed by bulk-formulae ({\it pkg/exf}) |
298 |
|
|
with temperature relaxation to prescribed SST (offline ocean).\\ |
299 |
jmc |
1.20 |
Also contains additional set-ups: |
300 |
|
|
\begin{enumerate} |
301 |
jmc |
1.26 |
\item sea-ice dynamics-only using JFNK solver |
302 |
|
|
and {\it pkg/thsice} advection ({\it input.dyn\_jfnk/}) |
303 |
|
|
\item sea-ice dynamics-only using LSR solver |
304 |
|
|
and {\it pkg/seaice} advection ({\it input.dyn\_lsr/}) |
305 |
|
|
\item sea-ice thermodynamics-only using {\it pkg/seaice} ({\it input.thermo/}) |
306 |
|
|
\item sea-ice thermodynamics-only using {\it pkg/thsice} ({\it input.thsice/}) |
307 |
jmc |
1.20 |
\end{enumerate} |
308 |
jmc |
1.26 |
and also 2 adjoint set-ups ({\it code\_ad/, input\_ad/, input\_ad.thsice/}). |
309 |
jmc |
1.25 |
|
310 |
jmc |
1.26 |
\item \texttt{OpenAD} - Simple Adjoint experiment (used also to test |
311 |
|
|
Open-AD compiler) |
312 |
jmc |
1.19 |
|
313 |
jmc |
1.26 |
\item \texttt{rotating\_tank} - Rotating tank simulation in cylindrical |
314 |
jmc |
1.17 |
coordinates. This experiment is described in detail in section |
315 |
jmc |
1.23 |
\ref{sec:eg-tank}. |
316 |
jmc |
1.17 |
|
317 |
jmc |
1.26 |
\item \texttt{seaice\_itd} - Seaice example using Ice Thickness Distribution (ITD).\\ |
318 |
|
|
Also contains additional set-ups: |
319 |
|
|
\begin{enumerate} |
320 |
|
|
\item ({\it input.thermo/}) |
321 |
|
|
\item ({\it input.lipscomb07/}) |
322 |
|
|
\end{enumerate} |
323 |
|
|
|
324 |
|
|
\item \texttt{seaice\_obcs} - Similar to "lab\_sea" ({\it input.salt\_plume/}) |
325 |
jmc |
1.20 |
experiment with only a fraction of the domain and open-boundary conditions |
326 |
jmc |
1.26 |
derived from "lab\_sea" experiment.\\ |
327 |
|
|
Also contains additional set-ups: |
328 |
|
|
\begin{enumerate} |
329 |
|
|
\item ({\it input.seaiceSponge/}) |
330 |
|
|
\item ({\it input.tides/}) |
331 |
|
|
\end{enumerate} |
332 |
|
|
|
333 |
|
|
\item \texttt{short\_surf\_wave} - Short surface wave adjusment |
334 |
|
|
(non-hydrostatic) in homogeneous 2-D vertical section (x-z). |
335 |
|
|
|
336 |
|
|
\item \texttt{so\_box\_biogeo} - Open-boundary Southern ocean box around |
337 |
|
|
Drake passage, using same model parameters and forcing as experiment |
338 |
|
|
"tutorial\_global\_oce\_biogeo" from which initial conditions |
339 |
|
|
and OB conditions have been extracted. |
340 |
jmc |
1.19 |
|
341 |
jmc |
1.26 |
\item \texttt{solid-body.cs-32x32x1} - Solid body rotation test for cube |
342 |
jmc |
1.17 |
sphere grid. |
343 |
molod |
1.12 |
|
344 |
jmc |
1.26 |
\item \texttt{tidal\_basin\_2d} - 2-D vertical section (x-z) with tidal forcing |
345 |
|
|
(untested) |
346 |
jmc |
1.19 |
|
347 |
jmc |
1.26 |
\item \texttt{vermix} - Simple test in a small domain (3 columns) for |
348 |
jmc |
1.20 |
ocean vertical mixing schemes. The standard set-up ({\it input/}) uses |
349 |
jmc |
1.25 |
KPP scheme \cite[]{lar-eta:94}.\\ |
350 |
jmc |
1.20 |
Also contains additional set-ups: |
351 |
|
|
\begin{enumerate} |
352 |
jmc |
1.26 |
\item with Double Diffusion scheme from KPP ({\it input.dd/}) |
353 |
jmc |
1.25 |
\item with \cite{gas-eta:90} ({\it pkg/ggl90}) scheme ({\it input.ggl90/}) |
354 |
|
|
\item with \cite{Mellor:Yamada1982} level 2. ({\it pkg/my82}) scheme ({\it input.my82/}) |
355 |
|
|
\item with \cite{pal-rom:97} ({\it pkg/opps}) scheme ({\it input.opps/}) |
356 |
|
|
\item with \cite{Pacanowski:Philander1981} ({\it pkg/pp81}) scheme ({\it input.pp81/}) |
357 |
jmc |
1.20 |
\end{enumerate} |
358 |
molod |
1.12 |
|
359 |
molod |
1.11 |
\end{enumerate} |
360 |
|
|
|
361 |
|
|
\subsection{Directory structure of model examples} |
362 |
|
|
|
363 |
|
|
Each example directory has the following subdirectories: |
364 |
|
|
|
365 |
|
|
\begin{itemize} |
366 |
|
|
\item \texttt{code}: contains the code particular to the example. At a |
367 |
|
|
minimum, this directory includes the following files: |
368 |
|
|
|
369 |
|
|
\begin{itemize} |
370 |
|
|
\item \texttt{code/packages.conf}: declares the list of packages or |
371 |
|
|
package groups to be used. If not included, the default version |
372 |
|
|
is located in \texttt{pkg/pkg\_default}. Package groups are |
373 |
|
|
simply convenient collections of commonly used packages which are |
374 |
|
|
defined in \texttt{pkg/pkg\_default}. Some packages may require |
375 |
|
|
other packages or may require their absence (that is, they are |
376 |
|
|
incompatible) and these package dependencies are listed in |
377 |
|
|
\texttt{pkg/pkg\_depend}. |
378 |
|
|
|
379 |
|
|
\item \texttt{code/CPP\_EEOPTIONS.h}: declares CPP keys relative to |
380 |
|
|
the ``execution environment'' part of the code. The default |
381 |
|
|
version is located in \texttt{eesupp/inc}. |
382 |
jmc |
1.25 |
|
383 |
molod |
1.11 |
\item \texttt{code/CPP\_OPTIONS.h}: declares CPP keys relative to |
384 |
|
|
the ``numerical model'' part of the code. The default version is |
385 |
|
|
located in \texttt{model/inc}. |
386 |
jmc |
1.25 |
|
387 |
molod |
1.11 |
\item \texttt{code/SIZE.h}: declares size of underlying |
388 |
|
|
computational grid. The default version is located in |
389 |
|
|
\texttt{model/inc}. |
390 |
|
|
\end{itemize} |
391 |
jmc |
1.25 |
|
392 |
molod |
1.11 |
In addition, other include files and subroutines might be present in |
393 |
|
|
\texttt{code} depending on the particular experiment. See Section 2 |
394 |
|
|
for more details. |
395 |
jmc |
1.25 |
|
396 |
molod |
1.11 |
\item \texttt{input}: contains the input data files required to run |
397 |
|
|
the example. At a minimum, the \texttt{input} directory contains the |
398 |
|
|
following files: |
399 |
|
|
|
400 |
|
|
\begin{itemize} |
401 |
|
|
\item \texttt{input/data}: this file, written as a namelist, |
402 |
|
|
specifies the main parameters for the experiment. |
403 |
jmc |
1.25 |
|
404 |
molod |
1.11 |
\item \texttt{input/data.pkg}: contains parameters relative to the |
405 |
|
|
packages used in the experiment. |
406 |
jmc |
1.25 |
|
407 |
molod |
1.11 |
\item \texttt{input/eedata}: this file contains ``execution |
408 |
|
|
environment'' data. At present, this consists of a specification |
409 |
jmc |
1.26 |
of the number of threads to use in $X$ and $Y$ under multi-threaded |
410 |
molod |
1.11 |
execution. |
411 |
|
|
\end{itemize} |
412 |
jmc |
1.25 |
|
413 |
molod |
1.11 |
In addition, you will also find in this directory the forcing and |
414 |
|
|
topography files as well as the files describing the initial state |
415 |
|
|
of the experiment. This varies from experiment to experiment. See |
416 |
molod |
1.14 |
the verification directories refered to in this chapter for more details. |
417 |
molod |
1.11 |
|
418 |
|
|
\item \texttt{results}: this directory contains the output file |
419 |
|
|
\texttt{output.txt} produced by the simulation example. This file is |
420 |
|
|
useful for comparison with your own output when you run the |
421 |
|
|
experiment. |
422 |
molod |
1.14 |
|
423 |
jmc |
1.24 |
\item \texttt{build}: this directory is initially empty and is used |
424 |
|
|
to compile and load the model, and to generate the executable. |
425 |
|
|
|
426 |
|
|
\item \texttt{run}: this directory is initially empty and is used |
427 |
|
|
to run the executable. |
428 |
molod |
1.14 |
|
429 |
molod |
1.11 |
\end{itemize} |
430 |
|
|
|
431 |
|
|
Once you have chosen the example you want to run, you are ready to |
432 |
|
|
compile the code. |
433 |
|
|
|