| 14 |
%\end{center} |
%\end{center} |
| 15 |
|
|
| 16 |
\section{A Rotating Tank in Cylindrical Coordinates} |
\section{A Rotating Tank in Cylindrical Coordinates} |
| 17 |
\label{sect:eg-tank} |
\label{sec:eg-tank} |
| 18 |
\label{www:tutorials} |
%\label{www:tutorials} |
| 19 |
\begin{rawhtml} |
\begin{rawhtml} |
| 20 |
<!-- CMIREDIR:eg-tank: --> |
<!-- CMIREDIR:eg-tank: --> |
| 21 |
\end{rawhtml} |
\end{rawhtml} |
| 22 |
|
\begin{center} |
| 23 |
This section illustrates an example of MITgcm simulating a laboratory |
(in directory: {\it verification/rotating\_tank/}) |
| 24 |
experiment on much smaller scales than those commonly considered in |
\end{center} |
|
geophysical |
|
|
fluid dynamics. |
|
| 25 |
|
|
| 26 |
\subsection{Overview} |
\subsection{Overview} |
| 27 |
\label{www:tutorials} |
%\label{www:tutorials} |
| 28 |
|
|
| 29 |
This example configuration demonstrates using the MITgcm to simulate a |
This example configuration demonstrates using the MITgcm to simulate a |
| 30 |
laboratory demonstration using a differentially heated rotating |
laboratory demonstration using a differentially heated rotating |
| 31 |
annulus of water. The simulation is configured for a laboratory scale |
annulus of water. The simulation is configured for a laboratory scale |
| 32 |
on a $3^{\circ}$ $\times$ 1cm cyclindrical grid with twenty-nine |
on a $3^{\circ}\times1\mathrm{cm}$ cyclindrical grid with twenty-nine |
| 33 |
vertical levels of 0.5cm each. This is a typical laboratory setup for |
vertical levels of 0.5cm each. This is a typical laboratory setup for |
| 34 |
illustration principles of GFD, as well as for a laboratory data |
illustration principles of GFD, as well as for a laboratory data |
| 35 |
assimilation project. |
assimilation project. The files for this experiment can be found in |
| 36 |
|
the verification directory under rotating\_tank. |
| 37 |
\\ |
\\ |
| 38 |
|
|
| 39 |
example illustration from GFD lab here |
example illustration from GFD lab here |
| 44 |
|
|
| 45 |
|
|
| 46 |
\subsection{Equations Solved} |
\subsection{Equations Solved} |
| 47 |
\label{www:tutorials} |
%\label{www:tutorials} |
| 48 |
|
|
| 49 |
|
|
| 50 |
\subsection{Discrete Numerical Configuration} |
\subsection{Discrete Numerical Configuration} |
| 51 |
\label{www:tutorials} |
%\label{www:tutorials} |
| 52 |
|
|
| 53 |
The domain is discretised with a uniform cylindrical grid spacing in |
The domain is discretised with a uniform cylindrical grid spacing in |
| 54 |
the horizontal set to $\Delta a=1$~cm and $\Delta \phi=3^{\circ}$, so |
the horizontal set to $\Delta a=1$~cm and $\Delta \phi=3^{\circ}$, so |
| 62 |
something about heat flux |
something about heat flux |
| 63 |
|
|
| 64 |
\subsection{Code Configuration} |
\subsection{Code Configuration} |
| 65 |
\label{www:tutorials} |
%\label{www:tutorials} |
| 66 |
\label{SEC:eg-baro-code_config} |
\label{sec:eg-tank-code_config} |
| 67 |
|
|
| 68 |
The model configuration for this experiment resides under the |
The model configuration for this experiment resides under the |
| 69 |
directory {\it verification/rotatingi\_tank/}. The experiment files |
directory {\it verification/rotatingi\_tank/}. The experiment files |
| 83 |
to these files associated with this experiment. |
to these files associated with this experiment. |
| 84 |
|
|
| 85 |
\subsubsection{File {\it input/data}} |
\subsubsection{File {\it input/data}} |
| 86 |
\label{www:tutorials} |
%\label{www:tutorials} |
| 87 |
|
|
| 88 |
This file, reproduced completely below, specifies the main parameters |
This file, reproduced completely below, specifies the main parameters |
| 89 |
for the experiment. The parameters that are significant for this configuration |
for the experiment. The parameters that are significant for this configuration |
| 226 |
notes. |
notes. |
| 227 |
|
|
| 228 |
\begin{small} |
\begin{small} |
| 229 |
\input{part3/case_studies/rotating_tank/input/data} |
\input{s_examples/rotating_tank/input/data} |
| 230 |
\end{small} |
\end{small} |
| 231 |
|
|
| 232 |
\subsubsection{File {\it input/data.pkg}} |
\subsubsection{File {\it input/data.pkg}} |
| 233 |
\label{www:tutorials} |
%\label{www:tutorials} |
| 234 |
|
|
| 235 |
This file uses standard default values and does not contain |
This file uses standard default values and does not contain |
| 236 |
customizations for this experiment. |
customizations for this experiment. |
| 237 |
|
|
| 238 |
\subsubsection{File {\it input/eedata}} |
\subsubsection{File {\it input/eedata}} |
| 239 |
\label{www:tutorials} |
%\label{www:tutorials} |
| 240 |
|
|
| 241 |
This file uses standard default values and does not contain |
This file uses standard default values and does not contain |
| 242 |
customizations for this experiment. |
customizations for this experiment. |
| 243 |
|
|
| 244 |
\subsubsection{File {\it input/thetaPol.bin}} |
\subsubsection{File {\it input/thetaPol.bin}} |
| 245 |
\label{www:tutorials} |
%\label{www:tutorials} |
| 246 |
|
|
| 247 |
The {\it input/thetaPol.bin} file specifies a three-dimensional ($x,y,z$) |
The {\it input/thetaPol.bin} file specifies a three-dimensional ($x,y,z$) |
| 248 |
map of initial values of $\theta$ in degrees Celsius. This particular |
map of initial values of $\theta$ in degrees Celsius. This particular |
| 250 |
perturbations. |
perturbations. |
| 251 |
|
|
| 252 |
\subsubsection{File {\it input/bathyPol.bin}} |
\subsubsection{File {\it input/bathyPol.bin}} |
| 253 |
\label{www:tutorials} |
%\label{www:tutorials} |
| 254 |
|
|
| 255 |
|
|
| 256 |
The {\it input/bathyPol.bin} file specifies a two-dimensional ($x,y$) |
The {\it input/bathyPol.bin} file specifies a two-dimensional ($x,y$) |
| 260 |
in the same way as standard MITgcm two-dimensional, horizontal arrays. |
in the same way as standard MITgcm two-dimensional, horizontal arrays. |
| 261 |
|
|
| 262 |
\subsubsection{File {\it code/SIZE.h}} |
\subsubsection{File {\it code/SIZE.h}} |
| 263 |
\label{www:tutorials} |
%\label{www:tutorials} |
| 264 |
|
|
| 265 |
Two lines are customized in this file for the current experiment |
Two lines are customized in this file for the current experiment |
| 266 |
|
|
| 279 |
\end{itemize} |
\end{itemize} |
| 280 |
|
|
| 281 |
\begin{small} |
\begin{small} |
| 282 |
\input{part3/case_studies/rotating_tank/code/SIZE.h} |
\input{s_examples/rotating_tank/code/SIZE.h} |
| 283 |
\end{small} |
\end{small} |
| 284 |
|
|
| 285 |
\subsubsection{File {\it code/CPP\_OPTIONS.h}} |
\subsubsection{File {\it code/CPP\_OPTIONS.h}} |
| 286 |
\label{www:tutorials} |
%\label{www:tutorials} |
| 287 |
|
|
| 288 |
This file uses standard default values and does not contain |
This file uses standard default values and does not contain |
| 289 |
customizations for this experiment. |
customizations for this experiment. |
| 290 |
|
|
| 291 |
|
|
| 292 |
\subsubsection{File {\it code/CPP\_EEOPTIONS.h}} |
\subsubsection{File {\it code/CPP\_EEOPTIONS.h}} |
| 293 |
\label{www:tutorials} |
%\label{www:tutorials} |
| 294 |
|
|
| 295 |
This file uses standard default values and does not contain |
This file uses standard default values and does not contain |
| 296 |
customizations for this experiment. |
customizations for this experiment. |