/[MITgcm]/manual/s_examples/tracer_adjsens/co2sens.tex
ViewVC logotype

Diff of /manual/s_examples/tracer_adjsens/co2sens.tex

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

revision 1.1 by adcroft, Wed Aug 8 16:16:16 2001 UTC revision 1.7 by adcroft, Thu May 16 15:54:37 2002 UTC
# Line 1  Line 1 
1  % $Header$  % $Header$
2  % $Name$  % $Name$
3    
4  \section{Example: Centenial Time Scale Sensitivities}  \section{Centennial Time Scale Tracer Injection}
5    \label{www:tutorials}
6    \label{sect:eg-simple-tracer}
7    
8  \bodytext{bgcolor="#FFFFFFFF"}  \bodytext{bgcolor="#FFFFFFFF"}
9    
10  %\begin{center}  %\begin{center}
11  %{\Large \bf Using MITgcm to Look at Centenial Time Scale  %{\Large \bf Using MITgcm to Look at Centennial Time Scale
12  %Sensitivities}  %Sensitivities}
13  %  %
14  %\vspace*{4mm}  %\vspace*{4mm}
# Line 16  Line 18 
18  %\end{center}  %\end{center}
19    
20  \subsection{Introduction}  \subsection{Introduction}
21    \label{www:tutorials}
22    
23  This document describes the fourth example MITgcm experiment.  This document describes the fourth example MITgcm experiment.
24  This example iilustrates the use of  This example illustrates the use of
25  the MITgcm to perform sentivity analysis in a  the MITgcm to perform sensitivity analysis in a
26  large scale ocean circulation simulation.  large scale ocean circulation simulation.
27    
28  \subsection{Overview}  \subsection{Overview}
29    \label{www:tutorials}
30    
31  This example experiment demonstrates using the MITgcm to simulate  This example experiment demonstrates using the MITgcm to simulate
32  the planetary ocean circulation. The simulation is configured  the planetary ocean circulation. The simulation is configured
# Line 36  can be integrated forward for thousands Line 40  can be integrated forward for thousands
40  processor desktop computer.  processor desktop computer.
41  \\  \\
42    
43  The model is forced with climatalogical wind stress data and surface  The model is forced with climatological wind stress data and surface
44  flux data from Da Silva \cite{DaSilva94}. Climatalogical data  flux data from Da Silva \cite{DaSilva94}. Climatological data
45  from Levitus \cite{Levitus94} is used to initialise the model hydrography.  from Levitus \cite{Levitus94} is used to initialize the model hydrography.
46  Levitus data is also used throughout the calculation  Levitus data is also used throughout the calculation
47  to derive air-sea fluxes of heat at the ocean surface.  to derive air-sea fluxes of heat at the ocean surface.
48  These fluxes are combined with climatalogical estimates of  These fluxes are combined with climatological estimates of
49  surface heat flux and fresh water, resulting in a mixed boundary  surface heat flux and fresh water, resulting in a mixed boundary
50  condition of the style decribed in Haney \cite{Haney}.  condition of the style described in Haney \cite{Haney}.
51  Altogether, this yields the following forcing applied  Altogether, this yields the following forcing applied
52  in the model surface layer.  in the model surface layer.
53    
54  \begin{eqnarray}  \begin{eqnarray}
55  \label{EQ:global_forcing}  \label{EQ:eg-simple-tracer-global_forcing}
56  \label{EQ:global_forcing_fu}  \label{EQ:eg-simple-tracer-global_forcing_fu}
57  {\cal F}_{u} & = & \frac{\tau_{x}}{\rho_{0} \Delta z_{s}}  {\cal F}_{u} & = & \frac{\tau_{x}}{\rho_{0} \Delta z_{s}}
58  \\  \\
59  \label{EQ:global_forcing_fv}  \label{EQ:eg-simple-tracer-global_forcing_fv}
60  {\cal F}_{v} & = & \frac{\tau_{y}}{\rho_{0} \Delta z_{s}}  {\cal F}_{v} & = & \frac{\tau_{y}}{\rho_{0} \Delta z_{s}}
61  \\  \\
62  \label{EQ:global_forcing_ft}  \label{EQ:eg-simple-tracer-global_forcing_ft}
63  {\cal F}_{\theta} & = & - \lambda_{\theta} ( \theta - \theta^{\ast} )  {\cal F}_{\theta} & = & - \lambda_{\theta} ( \theta - \theta^{\ast} )
64   - \frac{1}{C_{p} \rho_{0} \Delta z_{s}}{\cal Q}   - \frac{1}{C_{p} \rho_{0} \Delta z_{s}}{\cal Q}
65  \\  \\
66  \label{EQ:global_forcing_fs}  \label{EQ:eg-simple-tracer-global_forcing_fs}
67  {\cal F}_{s} & = & - \lambda_{s} ( S - S^{\ast} )  {\cal F}_{s} & = & - \lambda_{s} ( S - S^{\ast} )
68   + \frac{S_{0}}{\Delta z_{s}}({\cal E} - {\cal P} - {\cal R})   + \frac{S_{0}}{\Delta z_{s}}({\cal E} - {\cal P} - {\cal R})
69  \end{eqnarray}  \end{eqnarray}
# Line 81  The configuration is illustrated in figu Line 85  The configuration is illustrated in figu
85    
86    
87  \subsection{Discrete Numerical Configuration}  \subsection{Discrete Numerical Configuration}
88    \label{www:tutorials}
89    
90    
91   The model is configured in hydrostatic form.  The domain is discretised with   The model is configured in hydrostatic form.  The domain is discretised with
# Line 118  $ Line 123  $
123   \Delta z_{20}=815\,{\rm m}   \Delta z_{20}=815\,{\rm m}
124  $ (here the numeric subscript indicates the model level index number, ${\tt k}$).  $ (here the numeric subscript indicates the model level index number, ${\tt k}$).
125  The implicit free surface form of the pressure equation described in Marshall et. al  The implicit free surface form of the pressure equation described in Marshall et. al
126  \cite{Marshall97a} is employed. A laplacian operator, $\nabla^2$, provides viscous  \cite{marshall:97a} is employed. A Laplacian operator, $\nabla^2$, provides viscous
127  dissipation. Thermal and haline diffusion is also represented by a laplacian operator.  dissipation. Thermal and haline diffusion is also represented by a Laplacian operator.
128  \\  \\
129    
130  Wind-stress momentum inputs are added to the momentum equations for both  Wind-stress momentum inputs are added to the momentum equations for both
131  the zonal flow, $u$ and the merdional flow $v$, according to equations  the zonal flow, $u$ and the meridional flow $v$, according to equations
132  (\ref{EQ:global_forcing_fu}) and (\ref{EQ:global_forcing_fv}).  (\ref{EQ:eg-simple-tracer-global_forcing_fu}) and (\ref{EQ:eg-simple-tracer-global_forcing_fv}).
133  Thermodynamic forcing inputs are added to the equations for  Thermodynamic forcing inputs are added to the equations for
134  potential temperature, $\theta$, and salinity, $S$, according to equations  potential temperature, $\theta$, and salinity, $S$, according to equations
135  (\ref{EQ:global_forcing_ft}) and (\ref{EQ:global_forcing_fs}).  (\ref{EQ:eg-simple-tracer-global_forcing_ft}) and (\ref{EQ:eg-simple-tracer-global_forcing_fs}).
136  This produces a set of equations solved in this configuration as follows:  This produces a set of equations solved in this configuration as follows:
137  % {\fracktur}  % {\fracktur}
138    
139    
140  \begin{eqnarray}  \begin{eqnarray}
141  \label{EQ:model_equations}  \label{EQ:eg-simple-tracer-model_equations}
142  \frac{Du}{Dt} - fv +  \frac{Du}{Dt} - fv +
143    \frac{1}{\rho}\frac{\partial p^{'}}{\partial x} -    \frac{1}{\rho}\frac{\partial p^{'}}{\partial x} -
144    A_{h}\nabla_{h}^2u - A_{z}\frac{\partial^{2}u}{\partial z^{2}}    A_{h}\nabla_{h}^2u - A_{z}\frac{\partial^{2}u}{\partial z^{2}}
# Line 167  g\rho_{0} \eta + \int^{0}_{-z}\rho^{'} d Line 172  g\rho_{0} \eta + \int^{0}_{-z}\rho^{'} d
172  \noindent where $u$ and $v$ are the $x$ and $y$ components of the  \noindent where $u$ and $v$ are the $x$ and $y$ components of the
173  flow vector $\vec{u}$. The suffices ${s},{i}$ indicate surface and  flow vector $\vec{u}$. The suffices ${s},{i}$ indicate surface and
174  interior model levels respectively. As described in  interior model levels respectively. As described in
175  MITgcm Numerical Solution Procedure \cite{MITgcm_Numerical_Scheme}, the time  MITgcm Numerical Solution Procedure \ref{chap:discretization}, the time
176  evolution of potential temperature, $\theta$, equation is solved prognostically.  evolution of potential temperature, $\theta$, equation is solved prognostically.
177  The total pressure, $p$, is diagnosed by summing pressure due to surface  The total pressure, $p$, is diagnosed by summing pressure due to surface
178  elevation $\eta$ and the hydrostatic pressure.  elevation $\eta$ and the hydrostatic pressure.
179  \\  \\
180    
181  \subsubsection{Numerical Stability Criteria}  \subsubsection{Numerical Stability Criteria}
182    \label{www:tutorials}
183    
184  The laplacian dissipation coefficient, $A_{h}$, is set to $400 m s^{-1}$.  The Laplacian dissipation coefficient, $A_{h}$, is set to $400 m s^{-1}$.
185  This value is chosen to yield a Munk layer width \cite{Adcroft_thesis},  This value is chosen to yield a Munk layer width \cite{adcroft:95},
186    
187  \begin{eqnarray}  \begin{eqnarray}
188  \label{EQ:munk_layer}  \label{EQ:eg-simple-tracer-munk_layer}
189  M_{w} = \pi ( \frac { A_{h} }{ \beta } )^{\frac{1}{3}}  M_{w} = \pi ( \frac { A_{h} }{ \beta } )^{\frac{1}{3}}
190  \end{eqnarray}  \end{eqnarray}
191    
# Line 190  boundary layer is well resolved. Line 196  boundary layer is well resolved.
196    
197  \noindent The model is stepped forward with a  \noindent The model is stepped forward with a
198  time step $\delta t=1200$secs. With this time step the stability  time step $\delta t=1200$secs. With this time step the stability
199  parameter to the horizontal laplacian friction \cite{Adcroft_thesis}  parameter to the horizontal Laplacian friction \cite{adcroft:95}
200    
201  \begin{eqnarray}  \begin{eqnarray}
202  \label{EQ:laplacian_stability}  \label{EQ:eg-simple-tracer-laplacian_stability}
203  S_{l} = 4 \frac{A_{h} \delta t}{{\Delta x}^2}  S_{l} = 4 \frac{A_{h} \delta t}{{\Delta x}^2}
204  \end{eqnarray}  \end{eqnarray}
205    
# Line 205  for stability. Line 211  for stability.
211  $1\times10^{-2} {\rm m}^2{\rm s}^{-1}$. The associated stability limit  $1\times10^{-2} {\rm m}^2{\rm s}^{-1}$. The associated stability limit
212    
213  \begin{eqnarray}  \begin{eqnarray}
214  \label{EQ:laplacian_stability_z}  \label{EQ:eg-simple-tracer-laplacian_stability_z}
215  S_{l} = 4 \frac{A_{z} \delta t}{{\Delta z}^2}  S_{l} = 4 \frac{A_{z} \delta t}{{\Delta z}^2}
216  \end{eqnarray}  \end{eqnarray}
217    
# Line 216  and vertical ($K_{z}$) diffusion coeffic Line 222  and vertical ($K_{z}$) diffusion coeffic
222  \\  \\
223    
224  \noindent The numerical stability for inertial oscillations  \noindent The numerical stability for inertial oscillations
225  \cite{Adcroft_thesis}  \cite{adcroft:95}
226    
227  \begin{eqnarray}  \begin{eqnarray}
228  \label{EQ:inertial_stability}  \label{EQ:eg-simple-tracer-inertial_stability}
229  S_{i} = f^{2} {\delta t}^2  S_{i} = f^{2} {\delta t}^2
230  \end{eqnarray}  \end{eqnarray}
231    
# Line 227  S_{i} = f^{2} {\delta t}^2 Line 233  S_{i} = f^{2} {\delta t}^2
233  limit for stability.  limit for stability.
234  \\  \\
235    
236  \noindent The advective CFL \cite{Adcroft_thesis} for a extreme maximum  \noindent The advective CFL \cite{adcroft:95} for a extreme maximum
237  horizontal flow  horizontal flow
238  speed of $ | \vec{u} | = 2 ms^{-1}$  speed of $ | \vec{u} | = 2 ms^{-1}$
239    
240  \begin{eqnarray}  \begin{eqnarray}
241  \label{EQ:cfl_stability}  \label{EQ:eg-simple-tracer-cfl_stability}
242  S_{a} = \frac{| \vec{u} | \delta t}{ \Delta x}  S_{a} = \frac{| \vec{u} | \delta t}{ \Delta x}
243  \end{eqnarray}  \end{eqnarray}
244    
# Line 240  S_{a} = \frac{| \vec{u} | \delta t}{ \De Line 246  S_{a} = \frac{| \vec{u} | \delta t}{ \De
246  limit of 0.5.  limit of 0.5.
247  \\  \\
248    
249  \noindent The stbility parameter for internal gravity waves  \noindent The stability parameter for internal gravity waves
250  \cite{Adcroft_thesis}  \cite{adcroft:95}
251    
252  \begin{eqnarray}  \begin{eqnarray}
253  \label{EQ:cfl_stability}  \label{EQ:eg-simple-tracer-igw_stability}
254  S_{c} = \frac{c_{g} \delta t}{ \Delta x}  S_{c} = \frac{c_{g} \delta t}{ \Delta x}
255  \end{eqnarray}  \end{eqnarray}
256    
# Line 252  S_{c} = \frac{c_{g} \delta t}{ \Delta x} Line 258  S_{c} = \frac{c_{g} \delta t}{ \Delta x}
258  stability limit of 0.25.  stability limit of 0.25.
259        
260  \subsection{Code Configuration}  \subsection{Code Configuration}
261    \label{www:tutorials}
262  \label{SEC:code_config}  \label{SEC:code_config}
263    
264  The model configuration for this experiment resides under the  The model configuration for this experiment resides under the
# Line 266  directory {\it verification/exp1/}.  The Line 273  directory {\it verification/exp1/}.  The
273  \item {\it code/CPP\_OPTIONS.h},  \item {\it code/CPP\_OPTIONS.h},
274  \item {\it code/SIZE.h}.  \item {\it code/SIZE.h}.
275  \end{itemize}  \end{itemize}
276  contain the code customisations and parameter settings for this  contain the code customizations and parameter settings for this
277  experiements. Below we describe the customisations  experiments. Below we describe the customizations
278  to these files associated with this experiment.  to these files associated with this experiment.
279    
280  \subsubsection{File {\it input/data}}  \subsubsection{File {\it input/data}}
281    \label{www:tutorials}
282    
283  This file, reproduced completely below, specifies the main parameters  This file, reproduced completely below, specifies the main parameters
284  for the experiment. The parameters that are significant for this configuration  for the experiment. The parameters that are significant for this configuration
# Line 284  this line sets Line 292  this line sets
292  the initial and reference values of potential temperature at each model  the initial and reference values of potential temperature at each model
293  level in units of $^{\circ}$C.  level in units of $^{\circ}$C.
294  The entries are ordered from surface to depth. For each  The entries are ordered from surface to depth. For each
295  depth level the inital and reference profiles will be uniform in  depth level the initial and reference profiles will be uniform in
296  $x$ and $y$.  $x$ and $y$.
297    
298  \fbox{  \fbox{
# Line 296  $x$ and $y$. Line 304  $x$ and $y$.
304    
305  \item Line 6,  \item Line 6,
306  \begin{verbatim} viscAz=1.E-2, \end{verbatim}  \begin{verbatim} viscAz=1.E-2, \end{verbatim}
307  this line sets the vertical laplacian dissipation coefficient to  this line sets the vertical Laplacian dissipation coefficient to
308  $1 \times 10^{-2} {\rm m^{2}s^{-1}}$. Boundary conditions  $1 \times 10^{-2} {\rm m^{2}s^{-1}}$. Boundary conditions
309  for this operator are specified later. This variable is copied into  for this operator are specified later. This variable is copied into
310  model general vertical coordinate variable {\bf viscAr}.  model general vertical coordinate variable {\bf viscAr}.
# Line 311  model general vertical coordinate variab Line 319  model general vertical coordinate variab
319  \begin{verbatim}  \begin{verbatim}
320  viscAh=4.E2,  viscAh=4.E2,
321  \end{verbatim}  \end{verbatim}
322  this line sets the horizontal laplacian frictional dissipation coefficient to  this line sets the horizontal Laplacian frictional dissipation coefficient to
323  $1 \times 10^{-2} {\rm m^{2}s^{-1}}$. Boundary conditions  $1 \times 10^{-2} {\rm m^{2}s^{-1}}$. Boundary conditions
324  for this operator are specified later.  for this operator are specified later.
325    
# Line 320  for this operator are specified later. Line 328  for this operator are specified later.
328  no_slip_sides=.FALSE.  no_slip_sides=.FALSE.
329  \end{verbatim}  \end{verbatim}
330  this line selects a free-slip lateral boundary condition for  this line selects a free-slip lateral boundary condition for
331  the horizontal laplacian friction operator  the horizontal Laplacian friction operator
332  e.g. $\frac{\partial u}{\partial y}$=0 along boundaries in $y$ and  e.g. $\frac{\partial u}{\partial y}$=0 along boundaries in $y$ and
333  $\frac{\partial v}{\partial x}$=0 along boundaries in $x$.  $\frac{\partial v}{\partial x}$=0 along boundaries in $x$.
334    
# Line 329  $\frac{\partial v}{\partial x}$=0 along Line 337  $\frac{\partial v}{\partial x}$=0 along
337  no_slip_bottom=.TRUE.  no_slip_bottom=.TRUE.
338  \end{verbatim}  \end{verbatim}
339  this line selects a no-slip boundary condition for bottom  this line selects a no-slip boundary condition for bottom
340  boundary condition in the vertical laplacian friction operator  boundary condition in the vertical Laplacian friction operator
341  e.g. $u=v=0$ at $z=-H$, where $H$ is the local depth of the domain.  e.g. $u=v=0$ at $z=-H$, where $H$ is the local depth of the domain.
342    
343  \item Line 10,  \item Line 10,
# Line 382  usingSphericalPolarGrid=.TRUE., Line 390  usingSphericalPolarGrid=.TRUE.,
390  \end{verbatim}  \end{verbatim}
391  This line requests that the simulation be performed in a  This line requests that the simulation be performed in a
392  spherical polar coordinate system. It affects the interpretation of  spherical polar coordinate system. It affects the interpretation of
393  grid inoput parameters, for exampl {\bf delX} and {\bf delY} and  grid input parameters, for example {\bf delX} and {\bf delY} and
394  causes the grid generation routines to initialise an internal grid based  causes the grid generation routines to initialize an internal grid based
395  on spherical polar geometry.  on spherical polar geometry.
396    
397  \fbox{  \fbox{
# Line 399  phiMin=0., Line 407  phiMin=0.,
407  This line sets the southern boundary of the modeled  This line sets the southern boundary of the modeled
408  domain to $0^{\circ}$ latitude. This value affects both the  domain to $0^{\circ}$ latitude. This value affects both the
409  generation of the locally orthogonal grid that the model  generation of the locally orthogonal grid that the model
410  uses internally and affects the initialisation of the coriolis force.  uses internally and affects the initialization of the coriolis force.
411  Note - it is not required to set  Note - it is not required to set
412  a longitude boundary, since the absolute longitude does  a longitude boundary, since the absolute longitude does
413  not alter the kernel equation discretisation.  not alter the kernel equation discretisation.
# Line 473  notes. Line 481  notes.
481  \end{small}  \end{small}
482    
483  \subsubsection{File {\it input/data.pkg}}  \subsubsection{File {\it input/data.pkg}}
484    \label{www:tutorials}
485    
486  This file uses standard default values and does not contain  This file uses standard default values and does not contain
487  customisations for this experiment.  customizations for this experiment.
488    
489  \subsubsection{File {\it input/eedata}}  \subsubsection{File {\it input/eedata}}
490    \label{www:tutorials}
491    
492  This file uses standard default values and does not contain  This file uses standard default values and does not contain
493  customisations for this experiment.  customizations for this experiment.
494    
495  \subsubsection{File {\it input/windx.sin\_y}}  \subsubsection{File {\it input/windx.sin\_y}}
496    \label{www:tutorials}
497    
498  The {\it input/windx.sin\_y} file specifies a two-dimensional ($x,y$)  The {\it input/windx.sin\_y} file specifies a two-dimensional ($x,y$)
499  map of wind stress ,$\tau_{x}$, values. The units used are $Nm^{-2}$.  map of wind stress ,$\tau_{x}$, values. The units used are $Nm^{-2}$.
# Line 493  in MITgcm. The included matlab program { Line 504  in MITgcm. The included matlab program {
504  code for creating the {\it input/windx.sin\_y} file.  code for creating the {\it input/windx.sin\_y} file.
505    
506  \subsubsection{File {\it input/topog.box}}  \subsubsection{File {\it input/topog.box}}
507    \label{www:tutorials}
508    
509    
510  The {\it input/topog.box} file specifies a two-dimensional ($x,y$)  The {\it input/topog.box} file specifies a two-dimensional ($x,y$)
# Line 504  The included matlab program {\it input/g Line 516  The included matlab program {\it input/g
516  code for creating the {\it input/topog.box} file.  code for creating the {\it input/topog.box} file.
517    
518  \subsubsection{File {\it code/SIZE.h}}  \subsubsection{File {\it code/SIZE.h}}
519    \label{www:tutorials}
520    
521  Two lines are customized in this file for the current experiment  Two lines are customized in this file for the current experiment
522    
# Line 530  the vertical domain extent in grid point Line 543  the vertical domain extent in grid point
543  \end{small}  \end{small}
544    
545  \subsubsection{File {\it code/CPP\_OPTIONS.h}}  \subsubsection{File {\it code/CPP\_OPTIONS.h}}
546    \label{www:tutorials}
547    
548  This file uses standard default values and does not contain  This file uses standard default values and does not contain
549  customisations for this experiment.  customizations for this experiment.
550    
551    
552  \subsubsection{File {\it code/CPP\_EEOPTIONS.h}}  \subsubsection{File {\it code/CPP\_EEOPTIONS.h}}
553    \label{www:tutorials}
554    
555  This file uses standard default values and does not contain  This file uses standard default values and does not contain
556  customisations for this experiment.  customizations for this experiment.
557    
558  \subsubsection{Other Files }  \subsubsection{Other Files }
559    \label{www:tutorials}
560    
561  Other files relevant to this experiment are  Other files relevant to this experiment are
562  \begin{itemize}  \begin{itemize}
# Line 550  coriolis variables {\bf fCorU}. Line 566  coriolis variables {\bf fCorU}.
566  \item {\it model/src/ini\_parms.F},  \item {\it model/src/ini\_parms.F},
567  \item {\it input/windx.sin\_y},  \item {\it input/windx.sin\_y},
568  \end{itemize}  \end{itemize}
569  contain the code customisations and parameter settings for this  contain the code customizations and parameter settings for this
570  experiements. Below we describe the customisations  experiments. Below we describe the customizations
571  to these files associated with this experiment.  to these files associated with this experiment.

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.22