/[MITgcm]/manual/s_examples/global_oce_latlon/climatalogical_ogcm.tex
ViewVC logotype

Diff of /manual/s_examples/global_oce_latlon/climatalogical_ogcm.tex

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

revision 1.7 by adcroft, Tue Nov 13 20:13:54 2001 UTC revision 1.15 by jmc, Wed Jun 28 18:57:15 2006 UTC
# Line 1  Line 1 
1  % $Header$  % $Header$
2  % $Name$  % $Name$
3    
4  \section{Example: 4$^\circ$ Global Climatological Ocean Simulation}  \section[Global Ocean MITgcm Exmaple]{Global Ocean Simulation at $4^\circ$ Resolution}
5    \label{www:tutorials}
6  \label{sect:eg-global}  \label{sect:eg-global}
7    \begin{rawhtml}
8    <!-- CMIREDIR:eg-global: -->
9    \end{rawhtml}
10    
11  \bodytext{bgcolor="#FFFFFFFF"}  \bodytext{bgcolor="#FFFFFFFF"}
12    
# Line 16  Line 20 
20  %{\large May 2001}  %{\large May 2001}
21  %\end{center}  %\end{center}
22    
 \subsection{Introduction}  
   
 This document describes the third example MITgcm experiment. The first  
 two examples illustrated how to configure the code for hydrostatic idealized  
 geophysical fluids simulations. This example illustrates the use of  
 the MITgcm for large scale ocean circulation simulation.  
   
 \subsection{Overview}  
23    
24  This example experiment demonstrates using the MITgcm to simulate  This example experiment demonstrates using the MITgcm to simulate
25  the planetary ocean circulation. The simulation is configured  the planetary ocean circulation. The simulation is configured
26  with realistic geography and bathymetry on a  with realistic geography and bathymetry on a
27  $4^{\circ} \times 4^{\circ}$ spherical polar grid.  $4^{\circ} \times 4^{\circ}$ spherical polar grid.
28    The files for this experiment are in the verification directory
29    under tutorial\_global\_oce\_latlon.
30  Twenty levels are used in the vertical, ranging in thickness  Twenty levels are used in the vertical, ranging in thickness
31  from $50\,{\rm m}$ at the surface to $815\,{\rm m}$ at depth,  from $50\,{\rm m}$ at the surface to $815\,{\rm m}$ at depth,
32  giving a maximum model depth of $6\,{\rm km}$.  giving a maximum model depth of $6\,{\rm km}$.
# Line 36  At this resolution, the configuration Line 34  At this resolution, the configuration
34  can be integrated forward for thousands of years on a single  can be integrated forward for thousands of years on a single
35  processor desktop computer.  processor desktop computer.
36  \\  \\
37    \subsection{Overview}
38    \label{www:tutorials}
39    
40  The model is forced with climatological wind stress data and surface  The model is forced with climatological wind stress data and surface
41  flux data from DaSilva \cite{DaSilva94}. Climatological data  flux data from DaSilva \cite{DaSilva94}. Climatological data
# Line 49  Altogether, this yields the following fo Line 49  Altogether, this yields the following fo
49  in the model surface layer.  in the model surface layer.
50    
51  \begin{eqnarray}  \begin{eqnarray}
52  \label{EQ:global_forcing}  \label{EQ:eg-global-global_forcing}
53  \label{EQ:global_forcing_fu}  \label{EQ:eg-global-global_forcing_fu}
54  {\cal F}_{u} & = & \frac{\tau_{x}}{\rho_{0} \Delta z_{s}}  {\cal F}_{u} & = & \frac{\tau_{x}}{\rho_{0} \Delta z_{s}}
55  \\  \\
56  \label{EQ:global_forcing_fv}  \label{EQ:eg-global-global_forcing_fv}
57  {\cal F}_{v} & = & \frac{\tau_{y}}{\rho_{0} \Delta z_{s}}  {\cal F}_{v} & = & \frac{\tau_{y}}{\rho_{0} \Delta z_{s}}
58  \\  \\
59  \label{EQ:global_forcing_ft}  \label{EQ:eg-global-global_forcing_ft}
60  {\cal F}_{\theta} & = & - \lambda_{\theta} ( \theta - \theta^{\ast} )  {\cal F}_{\theta} & = & - \lambda_{\theta} ( \theta - \theta^{\ast} )
61   - \frac{1}{C_{p} \rho_{0} \Delta z_{s}}{\cal Q}   - \frac{1}{C_{p} \rho_{0} \Delta z_{s}}{\cal Q}
62  \\  \\
63  \label{EQ:global_forcing_fs}  \label{EQ:eg-global-global_forcing_fs}
64  {\cal F}_{s} & = & - \lambda_{s} ( S - S^{\ast} )  {\cal F}_{s} & = & - \lambda_{s} ( S - S^{\ast} )
65   + \frac{S_{0}}{\Delta z_{s}}({\cal E} - {\cal P} - {\cal R})   + \frac{S_{0}}{\Delta z_{s}}({\cal E} - {\cal P} - {\cal R})
66  \end{eqnarray}  \end{eqnarray}
# Line 87  have units of ${\rm N}~{\rm m}^{-2}$. Th Line 87  have units of ${\rm N}~{\rm m}^{-2}$. Th
87  ($\theta^{\ast}$ and $Q$) have units of $^{\circ}{\rm C}$ and ${\rm W}~{\rm m}^{-2}$  ($\theta^{\ast}$ and $Q$) have units of $^{\circ}{\rm C}$ and ${\rm W}~{\rm m}^{-2}$
88  respectively. The salinity forcing fields ($S^{\ast}$ and  respectively. The salinity forcing fields ($S^{\ast}$ and
89  $\cal{E}-\cal{P}-\cal{R}$) have units of ${\rm ppt}$ and ${\rm m}~{\rm s}^{-1}$  $\cal{E}-\cal{P}-\cal{R}$) have units of ${\rm ppt}$ and ${\rm m}~{\rm s}^{-1}$
90  respectively.  respectively. The source files and procedures for ingesting this data into the
91  \\  simulation are described in the experiment configuration discussion in section
92    \ref{SEC:eg-global-clim_ocn_examp_exp_config}.
   
 Figures (\ref{FIG:sim_config_tclim}-\ref{FIG:sim_config_empmr}) show the  
 relaxation temperature ($\theta^{\ast}$) and salinity ($S^{\ast}$) fields,  
 the wind stress components ($\tau_x$ and $\tau_y$), the heat flux ($Q$)  
 and the net fresh water flux (${\cal E} - {\cal P} - {\cal R}$) used  
 in equations \ref{EQ:global_forcing_fu}-\ref{EQ:global_forcing_fs}. The figures  
 also indicate the lateral extent and coastline used in the experiment.  
 Figure ({\ref{FIG:model_bathymetry}) shows the depth contours of the model  
 domain.  
93    
94    
95  \subsection{Discrete Numerical Configuration}  \subsection{Discrete Numerical Configuration}
96    \label{www:tutorials}
97    
98    
99   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 112  meridional direction. The internal model Line 104  meridional direction. The internal model
104  $x$ and $y$ are initialized according to  $x$ and $y$ are initialized according to
105  \begin{eqnarray}  \begin{eqnarray}
106  x=r\cos(\phi),~\Delta x & = &r\cos(\Delta \phi) \\  x=r\cos(\phi),~\Delta x & = &r\cos(\Delta \phi) \\
107  y=r\lambda,~\Delta x &= &r\Delta \lambda  y=r\lambda,~\Delta y &= &r\Delta \lambda
108  \end{eqnarray}  \end{eqnarray}
109    
110  Arctic polar regions are not  Arctic polar regions are not
# Line 146  $ Line 138  $
138   \Delta z_{18}=725\,{\rm m},\,   \Delta z_{18}=725\,{\rm m},\,
139   \Delta z_{19}=775\,{\rm m},\,   \Delta z_{19}=775\,{\rm m},\,
140   \Delta z_{20}=815\,{\rm m}   \Delta z_{20}=815\,{\rm m}
141  $ (here the numeric subscript indicates the model level index number, ${\tt k}$).  $ (here the numeric subscript indicates the model level index number, ${\tt k}$) to
142    give a total depth, $H$, of $-5450{\rm m}$.
143  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
144  \cite{marshall:97a} is employed. A Laplacian operator, $\nabla^2$, provides viscous  \cite{marshall:97a} is employed. A Laplacian operator, $\nabla^2$, provides viscous
145  dissipation. Thermal and haline diffusion is also represented by a Laplacian operator.  dissipation. Thermal and haline diffusion is also represented by a Laplacian operator.
146    
147  Wind-stress forcing is added to the momentum equations for both  Wind-stress forcing is added to the momentum equations in (\ref{EQ:eg-global-model_equations})
148  the zonal flow, $u$ and the meridional flow $v$, according to equations  for both the zonal flow, $u$ and the meridional flow $v$, according to equations
149  (\ref{EQ:global_forcing_fu}) and (\ref{EQ:global_forcing_fv}).  (\ref{EQ:eg-global-global_forcing_fu}) and (\ref{EQ:eg-global-global_forcing_fv}).
150  Thermodynamic forcing inputs are added to the equations for  Thermodynamic forcing inputs are added to the equations
151    in (\ref{EQ:eg-global-model_equations}) for
152  potential temperature, $\theta$, and salinity, $S$, according to equations  potential temperature, $\theta$, and salinity, $S$, according to equations
153  (\ref{EQ:global_forcing_ft}) and (\ref{EQ:global_forcing_fs}).  (\ref{EQ:eg-global-global_forcing_ft}) and (\ref{EQ:eg-global-global_forcing_fs}).
154  This produces a set of equations solved in this configuration as follows:  This produces a set of equations solved in this configuration as follows:
155    
156  \begin{eqnarray}  \begin{eqnarray}
157  \label{EQ:model_equations}  \label{EQ:eg-global-model_equations}
158  \frac{Du}{Dt} - fv +  \frac{Du}{Dt} - fv +
159    \frac{1}{\rho}\frac{\partial p^{'}}{\partial x} -    \frac{1}{\rho}\frac{\partial p^{'}}{\partial x} -
160    \nabla_{h}\cdot A_{h}\nabla_{h}u -    \nabla_{h}\cdot A_{h}\nabla_{h}u -
# Line 217  elevation $\eta$ and the hydrostatic pre Line 211  elevation $\eta$ and the hydrostatic pre
211  \\  \\
212    
213  \subsubsection{Numerical Stability Criteria}  \subsubsection{Numerical Stability Criteria}
214    \label{www:tutorials}
215    
216  The Laplacian dissipation coefficient, $A_{h}$, is set to $5 \times 10^5 m s^{-1}$.  The Laplacian dissipation coefficient, $A_{h}$, is set to $5 \times 10^5 m s^{-1}$.
217  This value is chosen to yield a Munk layer width \cite{adcroft:95},  This value is chosen to yield a Munk layer width \cite{adcroft:95},
218  \begin{eqnarray}  \begin{eqnarray}
219  \label{EQ:munk_layer}  \label{EQ:eg-global-munk_layer}
220  M_{w} = \pi ( \frac { A_{h} }{ \beta } )^{\frac{1}{3}}  && M_{w} = \pi ( \frac { A_{h} }{ \beta } )^{\frac{1}{3}}
221  \end{eqnarray}  \end{eqnarray}
222    
223  \noindent  of $\approx 600$km. This is greater than the model  \noindent  of $\approx 600$km. This is greater than the model
# Line 235  time step $\delta t_{\theta}=30~{\rm hou Line 230  time step $\delta t_{\theta}=30~{\rm hou
230  $\delta t_{v}=40~{\rm minutes}$ for momentum terms. With this time step, the stability  $\delta t_{v}=40~{\rm minutes}$ for momentum terms. With this time step, the stability
231  parameter to the horizontal Laplacian friction \cite{adcroft:95}  parameter to the horizontal Laplacian friction \cite{adcroft:95}
232  \begin{eqnarray}  \begin{eqnarray}
233  \label{EQ:laplacian_stability}  \label{EQ:eg-global-laplacian_stability}
234  S_{l} = 4 \frac{A_{h} \delta t_{v}}{{\Delta x}^2}  && S_{l} = 4 \frac{A_{h} \delta t_{v}}{{\Delta x}^2}
235  \end{eqnarray}  \end{eqnarray}
236    
237  \noindent evaluates to 0.16 at a latitude of $\phi=80^{\circ}$, which is below the  \noindent evaluates to 0.16 at a latitude of $\phi=80^{\circ}$, which is below the
# Line 247  $\phi=80^{\circ}$ where $\Delta x=r\cos( Line 242  $\phi=80^{\circ}$ where $\Delta x=r\cos(
242  \noindent The vertical dissipation coefficient, $A_{z}$, is set to  \noindent The vertical dissipation coefficient, $A_{z}$, is set to
243  $1\times10^{-3} {\rm m}^2{\rm s}^{-1}$. The associated stability limit  $1\times10^{-3} {\rm m}^2{\rm s}^{-1}$. The associated stability limit
244  \begin{eqnarray}  \begin{eqnarray}
245  \label{EQ:laplacian_stability_z}  \label{EQ:eg-global-laplacian_stability_z}
246  S_{l} = 4 \frac{A_{z} \delta t_{v}}{{\Delta z}^2}  S_{l} = 4 \frac{A_{z} \delta t_{v}}{{\Delta z}^2}
247  \end{eqnarray}  \end{eqnarray}
248    
# Line 262  and $3 \times 10^{-5}~{\rm m}^{2}{\rm s} Line 257  and $3 \times 10^{-5}~{\rm m}^{2}{\rm s}
257  related to $K_{h}$ will be at $\phi=80^{\circ}$ where $\Delta x \approx 77 {\rm km}$.  related to $K_{h}$ will be at $\phi=80^{\circ}$ where $\Delta x \approx 77 {\rm km}$.
258  Here the stability parameter  Here the stability parameter
259  \begin{eqnarray}  \begin{eqnarray}
260  \label{EQ:laplacian_stability_xtheta}  \label{EQ:eg-global-laplacian_stability_xtheta}
261  S_{l} = \frac{4 K_{h} \delta t_{\theta}}{{\Delta x}^2}  S_{l} = \frac{4 K_{h} \delta t_{\theta}}{{\Delta x}^2}
262  \end{eqnarray}  \end{eqnarray}
263  evaluates to $0.07$, well below the stability limit of $S_{l} \approx 0.5$. The  evaluates to $0.07$, well below the stability limit of $S_{l} \approx 0.5$. The
264  stability parameter related to $K_{z}$  stability parameter related to $K_{z}$
265  \begin{eqnarray}  \begin{eqnarray}
266  \label{EQ:laplacian_stability_ztheta}  \label{EQ:eg-global-laplacian_stability_ztheta}
267  S_{l} = \frac{4 K_{z} \delta t_{\theta}}{{\Delta z}^2}  S_{l} = \frac{4 K_{z} \delta t_{\theta}}{{\Delta z}^2}
268  \end{eqnarray}  \end{eqnarray}
269  evaluates to $0.005$ for $\min(\Delta z)=50{\rm m}$, well below the stability limit  evaluates to $0.005$ for $\min(\Delta z)=50{\rm m}$, well below the stability limit
# Line 279  of $S_{l} \approx 0.5$. Line 274  of $S_{l} \approx 0.5$.
274  \cite{adcroft:95}  \cite{adcroft:95}
275    
276  \begin{eqnarray}  \begin{eqnarray}
277  \label{EQ:inertial_stability}  \label{EQ:eg-global-inertial_stability}
278  S_{i} = f^{2} {\delta t_v}^2  S_{i} = f^{2} {\delta t_v}^2
279  \end{eqnarray}  \end{eqnarray}
280    
# Line 292  horizontal flow Line 287  horizontal flow
287  speed of $ | \vec{u} | = 2 ms^{-1}$  speed of $ | \vec{u} | = 2 ms^{-1}$
288    
289  \begin{eqnarray}  \begin{eqnarray}
290  \label{EQ:cfl_stability}  \label{EQ:eg-global-cfl_stability}
291  S_{a} = \frac{| \vec{u} | \delta t_{v}}{ \Delta x}  S_{a} = \frac{| \vec{u} | \delta t_{v}}{ \Delta x}
292  \end{eqnarray}  \end{eqnarray}
293    
# Line 305  with a maximum speed of $c_{g}=10~{\rm m Line 300  with a maximum speed of $c_{g}=10~{\rm m
300  \cite{adcroft:95}  \cite{adcroft:95}
301    
302  \begin{eqnarray}  \begin{eqnarray}
303  \label{EQ:cfl_stability}  \label{EQ:eg-global-gfl_stability}
304  S_{c} = \frac{c_{g} \delta t_{v}}{ \Delta x}  S_{c} = \frac{c_{g} \delta t_{v}}{ \Delta x}
305  \end{eqnarray}  \end{eqnarray}
306    
# Line 313  S_{c} = \frac{c_{g} \delta t_{v}}{ \Delt Line 308  S_{c} = \frac{c_{g} \delta t_{v}}{ \Delt
308  stability limit of 0.5.  stability limit of 0.5.
309        
310  \subsection{Experiment Configuration}  \subsection{Experiment Configuration}
311  \label{SEC:clim_ocn_examp_exp_config}  \label{www:tutorials}
312    \label{SEC:eg-global-clim_ocn_examp_exp_config}
313    
314  The model configuration for this experiment resides under the  The model configuration for this experiment resides under the
315  directory {\it verification/exp2/}.  The experiment files  directory {\it tutorial\_examples/global\_ocean\_circulation/}.  
316    The experiment files
317    
318  \begin{itemize}  \begin{itemize}
319  \item {\it input/data}  \item {\it input/data}
320  \item {\it input/data.pkg}  \item {\it input/data.pkg}
# Line 336  contain the code customizations and para Line 334  contain the code customizations and para
334  experiments. Below we describe the customizations  experiments. Below we describe the customizations
335  to these files associated with this experiment.  to these files associated with this experiment.
336    
337    \subsubsection{Driving Datasets}
338    \label{www:tutorials}
339    
340    Figures (\ref{FIG:sim_config_tclim}-\ref{FIG:sim_config_empmr}) show the
341    relaxation temperature ($\theta^{\ast}$) and salinity ($S^{\ast}$) fields,
342    the wind stress components ($\tau_x$ and $\tau_y$), the heat flux ($Q$)
343    and the net fresh water flux (${\cal E} - {\cal P} - {\cal R}$) used
344    in equations \ref{EQ:global_forcing_fu}-\ref{EQ:global_forcing_fs}. The figures
345    also indicate the lateral extent and coastline used in the experiment.
346    Figure ({\ref{FIG:model_bathymetry}) shows the depth contours of the model
347    domain.
348    
349    
350  \subsubsection{File {\it input/data}}  \subsubsection{File {\it input/data}}
351    \label{www:tutorials}
352    
353  This file, reproduced completely below, specifies the main parameters  This file, reproduced completely below, specifies the main parameters
354  for the experiment. The parameters that are significant for this configuration  for the experiment. The parameters that are significant for this configuration
# Line 348  are Line 360  are
360  \begin{verbatim} tRef= 16.0 , 15.2 , 14.5 , 13.9 , 13.3 ,  \end{verbatim}  \begin{verbatim} tRef= 16.0 , 15.2 , 14.5 , 13.9 , 13.3 ,  \end{verbatim}
361  $\cdots$ \\  $\cdots$ \\
362  set reference values for potential  set reference values for potential
363  temperature and salinity at each model level in units of $^{\circ}$C and  temperature and salinity at each model level in units of $^{\circ}\mathrm{C}$ and
364  ${\rm ppt}$. The entries are ordered from surface to depth.  ${\rm ppt}$. The entries are ordered from surface to depth.
365  Density is calculated from anomalies at each level evaluated  Density is calculated from anomalies at each level evaluated
366  with respect to the reference values set here.\\  with respect to the reference values set here.\\
# Line 568  See section \ref{SEC:cd_scheme}. Line 580  See section \ref{SEC:cd_scheme}.
580  \fbox{  \fbox{
581  \begin{minipage}{5.0in}  \begin{minipage}{5.0in}
582  {\it S/R INI\_PARMS}({\it ini\_parms.F})\\  {\it S/R INI\_PARMS}({\it ini\_parms.F})\\
583  {\it S/R CALC\_MOM\_RHS}({\it calc\_mom\_rhs.F})  {\it S/R MOM\_FLUXFORM}({\it mom\_fluxform.F})
584  \end{minipage}  \end{minipage}
585  }  }
586    
# Line 626  notes. Line 638  notes.
638  \end{small}  \end{small}
639    
640  \subsubsection{File {\it input/data.pkg}}  \subsubsection{File {\it input/data.pkg}}
641    \label{www:tutorials}
642    
643  This file uses standard default values and does not contain  This file uses standard default values and does not contain
644  customisations for this experiment.  customisations for this experiment.
645    
646  \subsubsection{File {\it input/eedata}}  \subsubsection{File {\it input/eedata}}
647    \label{www:tutorials}
648    
649  This file uses standard default values and does not contain  This file uses standard default values and does not contain
650  customisations for this experiment.  customisations for this experiment.
651    
652  \subsubsection{File {\it input/windx.sin\_y}}  \subsubsection{File {\it input/windx.sin\_y}}
653    \label{www:tutorials}
654    
655  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$)
656  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 646  in MITgcm. The included matlab program { Line 661  in MITgcm. The included matlab program {
661  code for creating the {\it input/windx.sin\_y} file.  code for creating the {\it input/windx.sin\_y} file.
662    
663  \subsubsection{File {\it input/topog.box}}  \subsubsection{File {\it input/topog.box}}
664    \label{www:tutorials}
665    
666    
667  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 657  The included matlab program {\it input/g Line 673  The included matlab program {\it input/g
673  code for creating the {\it input/topog.box} file.  code for creating the {\it input/topog.box} file.
674    
675  \subsubsection{File {\it code/SIZE.h}}  \subsubsection{File {\it code/SIZE.h}}
676    \label{www:tutorials}
677    
678  Two lines are customized in this file for the current experiment  Two lines are customized in this file for the current experiment
679    
# Line 683  the vertical domain extent in grid point Line 700  the vertical domain extent in grid point
700  \end{small}  \end{small}
701    
702  \subsubsection{File {\it code/CPP\_OPTIONS.h}}  \subsubsection{File {\it code/CPP\_OPTIONS.h}}
703    \label{www:tutorials}
704    
705  This file uses standard default values and does not contain  This file uses standard default values and does not contain
706  customisations for this experiment.  customisations for this experiment.
707    
708    
709  \subsubsection{File {\it code/CPP\_EEOPTIONS.h}}  \subsubsection{File {\it code/CPP\_EEOPTIONS.h}}
710    \label{www:tutorials}
711    
712  This file uses standard default values and does not contain  This file uses standard default values and does not contain
713  customisations for this experiment.  customisations for this experiment.
714    
715  \subsubsection{Other Files }  \subsubsection{Other Files }
716    \label{www:tutorials}
717    
718  Other files relevant to this experiment are  Other files relevant to this experiment are
719  \begin{itemize}  \begin{itemize}

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

  ViewVC Help
Powered by ViewVC 1.1.22