10 |
\begin{rawhtml} |
\begin{rawhtml} |
11 |
<!-- CMIREDIR:eg-adv-gyre: --> |
<!-- CMIREDIR:eg-adv-gyre: --> |
12 |
\end{rawhtml} |
\end{rawhtml} |
13 |
|
\begin{center} |
14 |
|
(in directory: {\it verification/tutorial\_advection\_in\_gyre/}) |
15 |
|
\end{center} |
16 |
|
|
17 |
|
Author: Oliver Jahn and Chris Hill |
18 |
|
|
19 |
|
|
20 |
|
|
21 |
This set of examples is based on the barotropic and baroclinic gyre MITgcm configurations, |
This set of examples is based on the barotropic and baroclinic gyre MITgcm configurations, |
22 |
that are described in the tutorial sections \ref{sect:eg-baro} and \ref{sect:eg-fourlayer}. |
that are described in the tutorial sections \ref{sect:eg-baro} and \ref{sect:eg-fourlayer}. |
68 |
\end{enumerate} |
\end{enumerate} |
69 |
|
|
70 |
|
|
71 |
\subsection{Introducting a tracer into the flow} |
\subsection{Introducing a tracer into the flow} |
72 |
|
|
73 |
The ptracers package (see section \ref{sec:pkg:ptracers} for a more complete discussion |
The MITgcm ptracers package (see section \ref{sec:pkg:ptracers} for a more complete discussion |
74 |
of the ptracers package) |
of the ptracers package and section \ref{sec:pkg:using} for a general introduction to MITgcm |
75 |
- activating ptracers |
packages) provides pre-coded support for a simple passive tracer with an initial |
76 |
- setting initial distribution |
distribution at simulation time $t=0$ of $C_0(x,y,z)$. The steps required to use this capability |
77 |
|
are |
78 |
|
\begin{enumerate} |
79 |
|
\item{\bf Activating the ptracers package.} This simply requires adding the line {\tt ptracers} to |
80 |
|
the {\tt packages.conf} file in the {\it code/} directory for the experiment. |
81 |
|
\item{\bf Setting an initial tracer distribution.} |
82 |
|
\end{enumerate} |
83 |
|
|
84 |
|
Once the two steps above are complete we can proceed to examine how the tracer we have created is |
85 |
|
carried by the flow field and what properties of the tracer distribution are preserved under |
86 |
|
different advection schemes. |
87 |
|
|
|
To intro |
|
88 |
\subsection{Selecting an advection scheme} |
\subsection{Selecting an advection scheme} |
89 |
|
|
90 |
- flags in data and data.ptracers |
- flags in data and data.ptracers |
102 |
\item{Positive definite} |
\item{Positive definite} |
103 |
\end{enumerate} |
\end{enumerate} |
104 |
|
|
105 |
|
\input{s_examples/advection_in_gyre/adv_gyre_figure.tex} |
106 |
|
|
107 |
|
\begin{figure} |
108 |
|
\begin{center} |
109 |
|
\includegraphics*[width=\textwidth]{s_examples/advection_in_gyre/stats.eps} |
110 |
|
\end{center} |
111 |
|
\caption{Maxima, minima and standard deviation (from left) as a function of time (in months) |
112 |
|
for the gyre circulation experiment from figure~\ref{fig:adv-gyre-all}.} |
113 |
|
\label{fig:adv-gyre-stats} |
114 |
|
\end{figure} |
115 |
|
|
116 |
|
\subsection{Code and Parameters files for this tutorial} |
117 |
|
|
118 |
|
The code and parameters for the experiments can be found in the MITgcm example experiments |
119 |
|
directory {\it verification/tutorial\_advection\_in\_gyre/}. |
120 |
|
|
|
|
|
121 |
|
|
122 |
|
|
123 |
|
|