/[MITgcm]/manual/s_overview/text/manual.tex
ViewVC logotype

Diff of /manual/s_overview/text/manual.tex

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

revision 1.5 by adcroft, Mon Oct 15 19:34:28 2001 UTC revision 1.29 by jmc, Mon Aug 30 23:09:21 2010 UTC
# Line 37  Line 37 
37  % $Header$  % $Header$
38  % $Name$  % $Name$
39    
40  \section{Introduction}  This document provides the reader with the information necessary to
   
 This documentation provides the reader with the information necessary to  
41  carry out numerical experiments using MITgcm. It gives a comprehensive  carry out numerical experiments using MITgcm. It gives a comprehensive
42  description of the continuous equations on which the model is based, the  description of the continuous equations on which the model is based, the
43  numerical algorithms the model employs and a description of the associated  numerical algorithms the model employs and a description of the associated
# Line 49  are available. A number of examples illu Line 47  are available. A number of examples illu
47  both process and general circulation studies of the atmosphere and ocean are  both process and general circulation studies of the atmosphere and ocean are
48  also presented.  also presented.
49    
50    \section{Introduction}
51    \begin{rawhtml}
52    <!-- CMIREDIR:innovations: -->
53    \end{rawhtml}
54    
55    
56  MITgcm has a number of novel aspects:  MITgcm has a number of novel aspects:
57    
58  \begin{itemize}  \begin{itemize}
59  \item it can be used to study both atmospheric and oceanic phenomena; one  \item it can be used to study both atmospheric and oceanic phenomena; one
60  hydrodynamical kernel is used to drive forward both atmospheric and oceanic  hydrodynamical kernel is used to drive forward both atmospheric and oceanic
61  models - see fig  models - see fig \ref{fig:onemodel}
 \marginpar{  
 Fig.1 One model}\ref{fig:onemodel}  
62    
63  %% CNHbegin  %% CNHbegin
64  \input{part1/one_model_figure}  \input{s_overview/text/one_model_figure}
65  %% CNHend  %% CNHend
66    
67  \item it has a non-hydrostatic capability and so can be used to study both  \item it has a non-hydrostatic capability and so can be used to study both
68  small-scale and large scale processes - see fig  small-scale and large scale processes - see fig \ref{fig:all-scales}
 \marginpar{  
 Fig.2 All scales}\ref{fig:all-scales}  
69    
70  %% CNHbegin  %% CNHbegin
71  \input{part1/all_scales_figure}  \input{s_overview/text/all_scales_figure}
72  %% CNHend  %% CNHend
73    
74  \item finite volume techniques are employed yielding an intuitive  \item finite volume techniques are employed yielding an intuitive
75  discretization and support for the treatment of irregular geometries using  discretization and support for the treatment of irregular geometries using
76  orthogonal curvilinear grids and shaved cells - see fig  orthogonal curvilinear grids and shaved cells - see fig \ref{fig:finite-volumes}
 \marginpar{  
 Fig.3 Finite volumes}\ref{fig:finite-volumes}  
77    
78  %% CNHbegin  %% CNHbegin
79  \input{part1/fvol_figure}  \input{s_overview/text/fvol_figure}
80  %% CNHend  %% CNHend
81    
82  \item tangent linear and adjoint counterparts are automatically maintained  \item tangent linear and adjoint counterparts are automatically maintained
# Line 89  studies. Line 87  studies.
87  computational platforms.  computational platforms.
88  \end{itemize}  \end{itemize}
89    
90    
91  Key publications reporting on and charting the development of the model are  Key publications reporting on and charting the development of the model are
92  listed in an Appendix.  \cite{hill:95,marshall:97a,marshall:97b,adcroft:97,mars-eta:98,adcroft:99,hill:99,maro-eta:99,adcroft:04a,adcroft:04b,marshall:04}
93    (an overview on the model formulation can also be found in \cite{adcroft:04c}):
94    
95    \begin{verbatim}
96    Hill, C. and J. Marshall, (1995)
97    Application of a Parallel Navier-Stokes Model to Ocean Circulation in
98    Parallel Computational Fluid Dynamics
99    In Proceedings of Parallel Computational Fluid Dynamics: Implementations
100    and Results Using Parallel Computers, 545-552.
101    Elsevier Science B.V.: New York
102    
103    Marshall, J., C. Hill, L. Perelman, and A. Adcroft, (1997)
104    Hydrostatic, quasi-hydrostatic, and nonhydrostatic ocean modeling
105    J. Geophysical Res., 102(C3), 5733-5752.
106    
107    Marshall, J., A. Adcroft, C. Hill, L. Perelman, and C. Heisey, (1997)
108    A finite-volume, incompressible Navier Stokes model for studies of the ocean
109    on parallel computers,
110    J. Geophysical Res., 102(C3), 5753-5766.
111    
112    Adcroft, A.J., Hill, C.N. and J. Marshall, (1997)
113    Representation of topography by shaved cells in a height coordinate ocean
114    model
115    Mon Wea Rev, vol 125, 2293-2315
116    
117    Marshall, J., Jones, H. and C. Hill, (1998)
118    Efficient ocean modeling using non-hydrostatic algorithms
119    Journal of Marine Systems, 18, 115-134
120    
121    Adcroft, A., Hill C. and J. Marshall: (1999)
122    A new treatment of the Coriolis terms in C-grid models at both high and low
123    resolutions,
124    Mon. Wea. Rev. Vol 127, pages 1928-1936
125    
126    Hill, C, Adcroft,A., Jamous,D., and J. Marshall, (1999)
127    A Strategy for Terascale Climate Modeling.
128    In Proceedings of the Eighth ECMWF Workshop on the Use of Parallel Processors
129    in Meteorology, pages 406-425
130    World Scientific Publishing Co: UK
131    
132    Marotzke, J, Giering,R., Zhang, K.Q., Stammer,D., Hill,C., and T.Lee, (1999)
133    Construction of the adjoint MIT ocean general circulation model and
134    application to Atlantic heat transport variability
135    J. Geophysical Res., 104(C12), 29,529-29,547.
136    
137    \end{verbatim}
138    
139  We begin by briefly showing some of the results of the model in action to  We begin by briefly showing some of the results of the model in action to
140  give a feel for the wide range of problems that can be addressed using it.  give a feel for the wide range of problems that can be addressed using it.
# Line 100  give a feel for the wide range of proble Line 144  give a feel for the wide range of proble
144    
145  \section{Illustrations of the model in action}  \section{Illustrations of the model in action}
146    
147  The MITgcm has been designed and used to model a wide range of phenomena,  MITgcm has been designed and used to model a wide range of phenomena,
148  from convection on the scale of meters in the ocean to the global pattern of  from convection on the scale of meters in the ocean to the global pattern of
149  atmospheric winds - see fig.2\ref{fig:all-scales}. To give a flavor of the  atmospheric winds - see figure \ref{fig:all-scales}. To give a flavor of the
150  kinds of problems the model has been used to study, we briefly describe some  kinds of problems the model has been used to study, we briefly describe some
151  of them here. A more detailed description of the underlying formulation,  of them here. A more detailed description of the underlying formulation,
152  numerical algorithm and implementation that lie behind these calculations is  numerical algorithm and implementation that lie behind these calculations is
153  given later. Indeed many of the illustrative examples shown below can be  given later. Indeed many of the illustrative examples shown below can be
154  easily reproduced: simply download the model (the minimum you need is a PC  easily reproduced: simply download the model (the minimum you need is a PC
155  running linux, together with a FORTRAN\ 77 compiler) and follow the examples  running Linux, together with a FORTRAN\ 77 compiler) and follow the examples
156  described in detail in the documentation.  described in detail in the documentation.
157    
158  \subsection{Global atmosphere: `Held-Suarez' benchmark}  \subsection{Global atmosphere: `Held-Suarez' benchmark}
159    \begin{rawhtml}
160    <!-- CMIREDIR:atmospheric_example: -->
161    \end{rawhtml}
162    
163    
 A novel feature of MITgcm is its ability to simulate both atmospheric and  
 oceanographic flows at both small and large scales.  
164    
165  Fig.E1a.\ref{fig:eddy_cs} shows an instantaneous plot of the 500$mb$  A novel feature of MITgcm is its ability to simulate, using one basic algorithm,
166    both atmospheric and oceanographic flows at both small and large scales.
167    
168    Figure \ref{fig:eddy_cs} shows an instantaneous plot of the 500$mb$
169  temperature field obtained using the atmospheric isomorph of MITgcm run at  temperature field obtained using the atmospheric isomorph of MITgcm run at
170  2.8$^{\circ }$ resolution on the cubed sphere. We see cold air over the pole  $2.8^{\circ }$ resolution on the cubed sphere. We see cold air over the pole
171  (blue) and warm air along an equatorial band (red). Fully developed  (blue) and warm air along an equatorial band (red). Fully developed
172  baroclinic eddies spawned in the northern hemisphere storm track are  baroclinic eddies spawned in the northern hemisphere storm track are
173  evident. There are no mountains or land-sea contrast in this calculation,  evident. There are no mountains or land-sea contrast in this calculation,
# Line 128  in Held and Suarez; 1994 designed to tes Line 177  in Held and Suarez; 1994 designed to tes
177  there are no mountains or land-sea contrast.  there are no mountains or land-sea contrast.
178    
179  %% CNHbegin  %% CNHbegin
180  \input{part1/cubic_eddies_figure}  \input{s_overview/text/cubic_eddies_figure}
181  %% CNHend  %% CNHend
182    
183  As described in Adcroft (2001), a `cubed sphere' is used to discretize the  As described in Adcroft (2001), a `cubed sphere' is used to discretize the
184  globe permitting a uniform gridding and obviated the need to fourier filter.  globe permitting a uniform griding and obviated the need to Fourier filter.
185  The `vector-invariant' form of MITgcm supports any orthogonal curvilinear  The `vector-invariant' form of MITgcm supports any orthogonal curvilinear
186  grid, of which the cubed sphere is just one of many choices.  grid, of which the cubed sphere is just one of many choices.
187    
188  Fig.E1b shows the 5-year mean, zonally averaged potential temperature, zonal  Figure \ref{fig:hs_zave_u} shows the 5-year mean, zonally averaged zonal
189  wind and meridional overturning streamfunction from a 20-level version of  wind from a 20-level configuration of
190  the model. It compares favorable with more conventional spatial  the model. It compares favorable with more conventional spatial
191  discretization approaches.  discretization approaches. The two plots show the field calculated using the
192    cube-sphere grid and the flow calculated using a regular, spherical polar
193  A regular spherical lat-lon grid can also be used.  latitude-longitude grid. Both grids are supported within the model.
194    
195  %% CNHbegin  %% CNHbegin
196  \input{part1/hs_zave_u_figure}  \input{s_overview/text/hs_zave_u_figure}
197  %% CNHend  %% CNHend
198    
199  \subsection{Ocean gyres}  \subsection{Ocean gyres}
200    \begin{rawhtml}
201    <!-- CMIREDIR:oceanic_example: -->
202    \end{rawhtml}
203    \begin{rawhtml}
204    <!-- CMIREDIR:ocean_gyres: -->
205    \end{rawhtml}
206    
207  Baroclinic instability is a ubiquitous process in the ocean, as well as the  Baroclinic instability is a ubiquitous process in the ocean, as well as the
208  atmosphere. Ocean eddies play an important role in modifying the  atmosphere. Ocean eddies play an important role in modifying the
# Line 157  diffusive patterns of ocean currents. Bu Line 212  diffusive patterns of ocean currents. Bu
212  increased until the baroclinic instability process is resolved, numerical  increased until the baroclinic instability process is resolved, numerical
213  solutions of a different and much more realistic kind, can be obtained.  solutions of a different and much more realistic kind, can be obtained.
214    
215  Fig. ?.? shows the surface temperature and velocity field obtained from  Figure \ref{fig:ocean-gyres} shows the surface temperature and
216  MITgcm run at $\frac{1}{6}^{\circ }$ horizontal resolution on a $lat-lon$  velocity field obtained from MITgcm run at $\frac{1}{6}^{\circ }$
217  grid in which the pole has been rotated by 90$^{\circ }$ on to the equator  horizontal resolution on a \textit{lat-lon} grid in which the pole has
218  (to avoid the converging of meridian in northern latitudes). 21 vertical  been rotated by $90^{\circ }$ on to the equator (to avoid the
219  levels are used in the vertical with a `lopped cell' representation of  converging of meridian in northern latitudes). 21 vertical levels are
220  topography. The development and propagation of anomalously warm and cold  used in the vertical with a `lopped cell' representation of
221  eddies can be clearly been seen in the Gulf Stream region. The transport of  topography. The development and propagation of anomalously warm and
222  warm water northward by the mean flow of the Gulf Stream is also clearly  cold eddies can be clearly seen in the Gulf Stream region. The
223  visible.  transport of warm water northward by the mean flow of the Gulf Stream
224    is also clearly visible.
225    
226  %% CNHbegin  %% CNHbegin
227  \input{part1/ocean_gyres_figure}  \input{s_overview/text/atl6_figure}
228  %% CNHend  %% CNHend
229    
230    
231  \subsection{Global ocean circulation}  \subsection{Global ocean circulation}
232    \begin{rawhtml}
233    <!-- CMIREDIR:global_ocean_circulation: -->
234    \end{rawhtml}
235    
236    Figure \ref{fig:large-scale-circ} (top) shows the pattern of ocean
237    currents at the surface of a $4^{\circ }$ global ocean model run with
238    15 vertical levels. Lopped cells are used to represent topography on a
239    regular \textit{lat-lon} grid extending from $70^{\circ }N$ to
240    $70^{\circ }S$. The model is driven using monthly-mean winds with
241    mixed boundary conditions on temperature and salinity at the surface.
242    The transfer properties of ocean eddies, convection and mixing is
243    parameterized in this model.
244    
245  Fig.E2a shows the pattern of ocean currents at the surface of a 4$^{\circ }$  Figure \ref{fig:large-scale-circ} (bottom) shows the meridional overturning
246  global ocean model run with 15 vertical levels. Lopped cells are used to  circulation of the global ocean in Sverdrups.
 represent topography on a regular $lat-lon$ grid extending from 70$^{\circ  
 }N $ to 70$^{\circ }S$. The model is driven using monthly-mean winds with  
 mixed boundary conditions on temperature and salinity at the surface. The  
 transfer properties of ocean eddies, convection and mixing is parameterized  
 in this model.  
   
 Fig.E2b shows the meridional overturning circulation of the global ocean in  
 Sverdrups.  
247    
248  %%CNHbegin  %%CNHbegin
249  \input{part1/global_circ_figure}  \input{s_overview/text/global_circ_figure}
250  %%CNHend  %%CNHend
251    
252  \subsection{Convection and mixing over topography}  \subsection{Convection and mixing over topography}
253    \begin{rawhtml}
254    <!-- CMIREDIR:mixing_over_topography: -->
255    \end{rawhtml}
256    
257    
258  Dense plumes generated by localized cooling on the continental shelf of the  Dense plumes generated by localized cooling on the continental shelf of the
259  ocean may be influenced by rotation when the deformation radius is smaller  ocean may be influenced by rotation when the deformation radius is smaller
260  than the width of the cooling region. Rather than gravity plumes, the  than the width of the cooling region. Rather than gravity plumes, the
261  mechanism for moving dense fluid down the shelf is then through geostrophic  mechanism for moving dense fluid down the shelf is then through geostrophic
262  eddies. The simulation shown in the figure (blue is cold dense fluid, red is  eddies. The simulation shown in the figure \ref{fig:convect-and-topo}
263    (blue is cold dense fluid, red is
264  warmer, lighter fluid) employs the non-hydrostatic capability of MITgcm to  warmer, lighter fluid) employs the non-hydrostatic capability of MITgcm to
265  trigger convection by surface cooling. The cold, dense water falls down the  trigger convection by surface cooling. The cold, dense water falls down the
266  slope but is deflected along the slope by rotation. It is found that  slope but is deflected along the slope by rotation. It is found that
# Line 204  strong, and replaced by lateral entrainm Line 269  strong, and replaced by lateral entrainm
269  instability of the along-slope current.  instability of the along-slope current.
270    
271  %%CNHbegin  %%CNHbegin
272  \input{part1/convect_and_topo}  \input{s_overview/text/convect_and_topo}
273  %%CNHend  %%CNHend
274    
275  \subsection{Boundary forced internal waves}  \subsection{Boundary forced internal waves}
276    \begin{rawhtml}
277    <!-- CMIREDIR:boundary_forced_internal_waves: -->
278    \end{rawhtml}
279    
280  The unique ability of MITgcm to treat non-hydrostatic dynamics in the  The unique ability of MITgcm to treat non-hydrostatic dynamics in the
281  presence of complex geometry makes it an ideal tool to study internal wave  presence of complex geometry makes it an ideal tool to study internal wave
282  dynamics and mixing in oceanic canyons and ridges driven by large amplitude  dynamics and mixing in oceanic canyons and ridges driven by large amplitude
283  barotropic tidal currents imposed through open boundary conditions.  barotropic tidal currents imposed through open boundary conditions.
284    
285  Fig. ?.? shows the influence of cross-slope topographic variations on  Fig. \ref{fig:boundary-forced-wave} shows the influence of cross-slope
286    topographic variations on
287  internal wave breaking - the cross-slope velocity is in color, the density  internal wave breaking - the cross-slope velocity is in color, the density
288  contoured. The internal waves are excited by application of open boundary  contoured. The internal waves are excited by application of open boundary
289  conditions on the left.\ They propagate to the sloping boundary (represented  conditions on the left. They propagate to the sloping boundary (represented
290  using MITgcm's finite volume spatial discretization) where they break under  using MITgcm's finite volume spatial discretization) where they break under
291  nonhydrostatic dynamics.  nonhydrostatic dynamics.
292    
293  %%CNHbegin  %%CNHbegin
294  \input{part1/boundary_forced_waves}  \input{s_overview/text/boundary_forced_waves}
295  %%CNHend  %%CNHend
296    
297  \subsection{Parameter sensitivity using the adjoint of MITgcm}  \subsection{Parameter sensitivity using the adjoint of MITgcm}
298    \begin{rawhtml}
299    <!-- CMIREDIR:parameter_sensitivity: -->
300    \end{rawhtml}
301    
302  Forward and tangent linear counterparts of MITgcm are supported using an  Forward and tangent linear counterparts of MITgcm are supported using an
303  `automatic adjoint compiler'. These can be used in parameter sensitivity and  `automatic adjoint compiler'. These can be used in parameter sensitivity and
304  data assimilation studies.  data assimilation studies.
305    
306  As one example of application of the MITgcm adjoint, Fig.E4 maps the  As one example of application of the MITgcm adjoint, Figure
307  gradient $\frac{\partial J}{\partial \mathcal{H}}$where $J$ is the magnitude  \ref{fig:hf-sensitivity} maps the gradient $\frac{\partial J}{\partial
308  of the overturning streamfunction shown in fig?.? at 40$^{\circ }$N and $    \mathcal{H}}$where $J$ is the magnitude of the overturning
309  \mathcal{H}$ is the air-sea heat flux 100 years before. We see that $J$ is  stream-function shown in figure \ref{fig:large-scale-circ} at
310  sensitive to heat fluxes over the Labrador Sea, one of the important sources  $60^{\circ }N$ and $ \mathcal{H}(\lambda,\varphi)$ is the mean, local
311  of deep water for the thermohaline circulations. This calculation also  air-sea heat flux over a 100 year period. We see that $J$ is sensitive
312    to heat fluxes over the Labrador Sea, one of the important sources of
313    deep water for the thermohaline circulations. This calculation also
314  yields sensitivities to all other model parameters.  yields sensitivities to all other model parameters.
315    
316  %%CNHbegin  %%CNHbegin
317  \input{part1/adj_hf_ocean_figure}  \input{s_overview/text/adj_hf_ocean_figure}
318  %%CNHend  %%CNHend
319    
320  \subsection{Global state estimation of the ocean}  \subsection{Global state estimation of the ocean}
321    \begin{rawhtml}
322    <!-- CMIREDIR:global_state_estimation: -->
323    \end{rawhtml}
324    
325    
326  An important application of MITgcm is in state estimation of the global  An important application of MITgcm is in state estimation of the global
327  ocean circulation. An appropriately defined `cost function', which measures  ocean circulation. An appropriately defined `cost function', which measures
328  the departure of the model from observations (both remotely sensed and  the departure of the model from observations (both remotely sensed and
329  insitu) over an interval of time, is minimized by adjusting `control  in-situ) over an interval of time, is minimized by adjusting `control
330  parameters' such as air-sea fluxes, the wind field, the initial conditions  parameters' such as air-sea fluxes, the wind field, the initial conditions
331  etc. Figure ?.? shows an estimate of the time-mean surface elevation of the  etc. Figure \ref{fig:assimilated-globes} shows the large scale planetary
332  ocean obtained by bringing the model in to consistency with altimetric and  circulation and a Hopf-Muller plot of Equatorial sea-surface height.
333  in-situ observations over the period 1992-1997.  Both are obtained from assimilation bringing the model in to
334    consistency with altimetric and in-situ observations over the period
335    1992-1997.
336    
337  %% CNHbegin  %% CNHbegin
338  \input{part1/globes_figure}  \input{s_overview/text/assim_figure}
339  %% CNHend  %% CNHend
340    
341  \subsection{Ocean biogeochemical cycles}  \subsection{Ocean biogeochemical cycles}
342    \begin{rawhtml}
343  MITgcm is being used to study global biogeochemical cycles in the ocean. For  <!-- CMIREDIR:ocean_biogeo_cycles: -->
344  example one can study the effects of interannual changes in meteorological  \end{rawhtml}
345  forcing and upper ocean circulation on the fluxes of carbon dioxide and  
346  oxygen between the ocean and atmosphere. The figure shows the annual air-sea  MITgcm is being used to study global biogeochemical cycles in the
347  flux of oxygen and its relation to density outcrops in the southern oceans  ocean. For example one can study the effects of interannual changes in
348  from a single year of a global, interannually varying simulation.  meteorological forcing and upper ocean circulation on the fluxes of
349    carbon dioxide and oxygen between the ocean and atmosphere. Figure
350    \ref{fig:biogeo} shows the annual air-sea flux of oxygen and its
351    relation to density outcrops in the southern oceans from a single year
352    of a global, interannually varying simulation. The simulation is run
353    at $1^{\circ}\times1^{\circ}$ resolution telescoping to
354    $\frac{1}{3}^{\circ}\times\frac{1}{3}^{\circ}$ in the tropics (not
355    shown).
356    
357  %%CNHbegin  %%CNHbegin
358  \input{part1/biogeo_figure}  \input{s_overview/text/biogeo_figure}
359  %%CNHend  %%CNHend
360    
361  \subsection{Simulations of laboratory experiments}  \subsection{Simulations of laboratory experiments}
362    \begin{rawhtml}
363    <!-- CMIREDIR:classroom_exp: -->
364    \end{rawhtml}
365    
366  Figure ?.? shows MITgcm being used to simulate a laboratory experiment  Figure \ref{fig:lab-simulation} shows MITgcm being used to simulate a
367  enquiring in to the dynamics of the Antarctic Circumpolar Current (ACC). An  laboratory experiment inquiring into the dynamics of the Antarctic Circumpolar Current (ACC). An
368  initially homogeneous tank of water ($1m$ in diameter) is driven from its  initially homogeneous tank of water ($1m$ in diameter) is driven from its
369  free surface by a rotating heated disk. The combined action of mechanical  free surface by a rotating heated disk. The combined action of mechanical
370  and thermal forcing creates a lens of fluid which becomes baroclinically  and thermal forcing creates a lens of fluid which becomes baroclinically
371  unstable. The stratification and depth of penetration of the lens is  unstable. The stratification and depth of penetration of the lens is
372  arrested by its instability in a process analogous to that whic sets the  arrested by its instability in a process analogous to that which sets the
373  stratification of the ACC.  stratification of the ACC.
374    
375  %%CNHbegin  %%CNHbegin
376  \input{part1/lab_figure}  \input{s_overview/text/lab_figure}
377  %%CNHend  %%CNHend
378    
379  % $Header$  % $Header$
380  % $Name$  % $Name$
381    
382  \section{Continuous equations in `r' coordinates}  \section{Continuous equations in `r' coordinates}
383    \begin{rawhtml}
384    <!-- CMIREDIR:z-p_isomorphism: -->
385    \end{rawhtml}
386    
387  To render atmosphere and ocean models from one dynamical core we exploit  To render atmosphere and ocean models from one dynamical core we exploit
388  `isomorphisms' between equation sets that govern the evolution of the  `isomorphisms' between equation sets that govern the evolution of the
389  respective fluids - see fig.4  respective fluids - see figure \ref{fig:isomorphic-equations}.
390  \marginpar{  One system of hydrodynamical equations is written down
 Fig.4. Isomorphisms}. One system of hydrodynamical equations is written down  
391  and encoded. The model variables have different interpretations depending on  and encoded. The model variables have different interpretations depending on
392  whether the atmosphere or ocean is being studied. Thus, for example, the  whether the atmosphere or ocean is being studied. Thus, for example, the
393  vertical coordinate `$r$' is interpreted as pressure, $p$, if we are  vertical coordinate `$r$' is interpreted as pressure, $p$, if we are
394  modeling the atmosphere and height, $z$, if we are modeling the ocean.  modeling the atmosphere (right hand side of figure \ref{fig:isomorphic-equations})
395    and height, $z$, if we are modeling the ocean (left hand side of figure
396    \ref{fig:isomorphic-equations}).
397    
398  %%CNHbegin  %%CNHbegin
399  \input{part1/zandpcoord_figure.tex}  \input{s_overview/text/zandpcoord_figure.tex}
400  %%CNHend  %%CNHend
401    
402  The state of the fluid at any time is characterized by the distribution of  The state of the fluid at any time is characterized by the distribution of
# Line 311  velocity $\vec{\mathbf{v}}$, active trac Line 405  velocity $\vec{\mathbf{v}}$, active trac
405  depend on $\theta $, $S$, and $p$. The equations that govern the evolution  depend on $\theta $, $S$, and $p$. The equations that govern the evolution
406  of these fields, obtained by applying the laws of classical mechanics and  of these fields, obtained by applying the laws of classical mechanics and
407  thermodynamics to a Boussinesq, Navier-Stokes fluid are, written in terms of  thermodynamics to a Boussinesq, Navier-Stokes fluid are, written in terms of
408  a generic vertical coordinate, $r$, see fig.5  a generic vertical coordinate, $r$, so that the appropriate
409  \marginpar{  kinematic boundary conditions can be applied isomorphically
410  Fig.5 The vertical coordinate of model}:  see figure \ref{fig:zandp-vert-coord}.
411    
412  %%CNHbegin  %%CNHbegin
413  \input{part1/vertcoord_figure.tex}  \input{s_overview/text/vertcoord_figure.tex}
414  %%CNHend  %%CNHend
415    
416  \begin{equation*}  \begin{equation}
417  \frac{D\vec{\mathbf{v}_{h}}}{Dt}+\left( 2\vec{\Omega}\times \vec{\mathbf{v}}  \frac{D\vec{\mathbf{v}_{h}}}{Dt}+\left( 2\vec{\Omega}\times \vec{\mathbf{v}}
418  \right) _{h}+\mathbf{\nabla }_{h}\phi =\mathcal{F}_{\vec{\mathbf{v}_{h}}}  \right) _{h}+\mathbf{\nabla }_{h}\phi =\mathcal{F}_{\vec{\mathbf{v}_{h}}}
419  \text{ horizontal mtm}  \text{ horizontal mtm} \label{eq:horizontal_mtm}
420  \end{equation*}  \end{equation}
421    
422  \begin{equation*}  \begin{equation}
423  \frac{D\dot{r}}{Dt}+\widehat{k}\cdot \left( 2\vec{\Omega}\times \vec{\mathbf{  \frac{D\dot{r}}{Dt}+\widehat{k}\cdot \left( 2\vec{\Omega}\times \vec{\mathbf{
424  v}}\right) +\frac{\partial \phi }{\partial r}+b=\mathcal{F}_{\dot{r}}\text{  v}}\right) +\frac{\partial \phi }{\partial r}+b=\mathcal{F}_{\dot{r}}\text{
425  vertical mtm}  vertical mtm} \label{eq:vertical_mtm}
426  \end{equation*}  \end{equation}
427    
428  \begin{equation}  \begin{equation}
429  \mathbf{\nabla }_{h}\cdot \vec{\mathbf{v}}_{h}+\frac{\partial \dot{r}}{  \mathbf{\nabla }_{h}\cdot \vec{\mathbf{v}}_{h}+\frac{\partial \dot{r}}{
430  \partial r}=0\text{ continuity}  \label{eq:continuous}  \partial r}=0\text{ continuity}  \label{eq:continuity}
431  \end{equation}  \end{equation}
432    
433  \begin{equation*}  \begin{equation}
434  b=b(\theta ,S,r)\text{ equation of state}  b=b(\theta ,S,r)\text{ equation of state} \label{eq:equation_of_state}
435  \end{equation*}  \end{equation}
436    
437  \begin{equation*}  \begin{equation}
438  \frac{D\theta }{Dt}=\mathcal{Q}_{\theta }\text{ potential temperature}  \frac{D\theta }{Dt}=\mathcal{Q}_{\theta }\text{ potential temperature}
439  \end{equation*}  \label{eq:potential_temperature}
440    \end{equation}
441    
442  \begin{equation*}  \begin{equation}
443  \frac{DS}{Dt}=\mathcal{Q}_{S}\text{ humidity/salinity}  \frac{DS}{Dt}=\mathcal{Q}_{S}\text{ humidity/salinity}
444  \end{equation*}  \label{eq:humidity_salt}
445    \end{equation}
446    
447  Here:  Here:
448    
# Line 410  S\text{ is specific humidity in the atmo Line 506  S\text{ is specific humidity in the atmo
506  \end{equation*}  \end{equation*}
507    
508  The $\mathcal{F}^{\prime }s$ and $\mathcal{Q}^{\prime }s$ are provided by  The $\mathcal{F}^{\prime }s$ and $\mathcal{Q}^{\prime }s$ are provided by
509  extensive `physics' packages for atmosphere and ocean described in Chapter 6.  `physics' and forcing packages for atmosphere and ocean. These are described
510    in later chapters.
511    
512  \subsection{Kinematic Boundary conditions}  \subsection{Kinematic Boundary conditions}
513    
514  \subsubsection{vertical}  \subsubsection{vertical}
515    
516  at fixed and moving $r$ surfaces we set (see fig.5):  at fixed and moving $r$ surfaces we set (see figure \ref{fig:zandp-vert-coord}):
517    
518  \begin{equation}  \begin{equation}
519  \dot{r}=0atr=R_{fixed}(x,y)\text{ (ocean bottom, top of the atmosphere)}  \dot{r}=0 \text{\ at\ } r=R_{fixed}(x,y)\text{ (ocean bottom, top of the atmosphere)}
520  \label{eq:fixedbc}  \label{eq:fixedbc}
521  \end{equation}  \end{equation}
522    
523  \begin{equation}  \begin{equation}
524  \dot{r}=\frac{Dr}{Dt}atr=R_{moving}\text{ \  \dot{r}=\frac{Dr}{Dt} \text{\ at\ } r=R_{moving}\text{ \
525  (oceansurface,bottomoftheatmosphere)}  \label{eq:movingbc}  (ocean surface,bottom of the atmosphere)}  \label{eq:movingbc}
526  \end{equation}  \end{equation}
527    
528  Here  Here
# Line 447  where $\vec{\mathbf{n}}$ is the normal t Line 544  where $\vec{\mathbf{n}}$ is the normal t
544    
545  \subsection{Atmosphere}  \subsection{Atmosphere}
546    
547  In the atmosphere, see fig.5, we interpret:  In the atmosphere, (see figure \ref{fig:zandp-vert-coord}), we interpret:
548    
549  \begin{equation}  \begin{equation}
550  r=p\text{ is the pressure}  \label{eq:atmos-r}  r=p\text{ is the pressure}  \label{eq:atmos-r}
# Line 518  The boundary conditions at top and botto Line 615  The boundary conditions at top and botto
615  atmosphere)}  \label{eq:moving-bc-atmos}  atmosphere)}  \label{eq:moving-bc-atmos}
616  \end{eqnarray}  \end{eqnarray}
617    
618  Then the (hydrostatic form of) eq(\ref{eq:continuous}) yields a consistent  Then the (hydrostatic form of) equations
619  set of atmospheric equations which, for convenience, are written out in $p$  (\ref{eq:horizontal_mtm}-\ref{eq:humidity_salt}) yields a consistent
620  coordinates in Appendix Atmosphere - see eqs(\ref{eq:atmos-prime}).  set of atmospheric equations which, for convenience, are written out
621    in $p$ coordinates in Appendix Atmosphere - see
622    eqs(\ref{eq:atmos-prime}).
623    
624  \subsection{Ocean}  \subsection{Ocean}
625    
# Line 555  w &=&\frac{D\eta }{Dt}\text{ at }r=R_{mo Line 654  w &=&\frac{D\eta }{Dt}\text{ at }r=R_{mo
654  \end{eqnarray}  \end{eqnarray}
655  where $\eta $ is the elevation of the free surface.  where $\eta $ is the elevation of the free surface.
656    
657  Then eq(\ref{eq:continuous}) yields a consistent set of oceanic equations  Then equations (\ref{eq:horizontal_mtm}-\ref{eq:humidity_salt}) yield a consistent set
658    of oceanic equations
659  which, for convenience, are written out in $z$ coordinates in Appendix Ocean  which, for convenience, are written out in $z$ coordinates in Appendix Ocean
660  - see eqs(\ref{eq:ocean-mom}) to (\ref{eq:ocean-salt}).  - see eqs(\ref{eq:ocean-mom}) to (\ref{eq:ocean-salt}).
661    
662  \subsection{Hydrostatic, Quasi-hydrostatic, Quasi-nonhydrostatic and  \subsection{Hydrostatic, Quasi-hydrostatic, Quasi-nonhydrostatic and
663  Non-hydrostatic forms}  Non-hydrostatic forms}
664    \label{sec:all_hydrostatic_forms}
665    \begin{rawhtml}
666    <!-- CMIREDIR:non_hydrostatic: -->
667    \end{rawhtml}
668    
669    
670  Let us separate $\phi $ in to surface, hydrostatic and non-hydrostatic terms:  Let us separate $\phi $ in to surface, hydrostatic and non-hydrostatic terms:
671    
# Line 568  Let us separate $\phi $ in to surface, h Line 673  Let us separate $\phi $ in to surface, h
673  \phi (x,y,r)=\phi _{s}(x,y)+\phi _{hyd}(x,y,r)+\phi _{nh}(x,y,r)  \phi (x,y,r)=\phi _{s}(x,y)+\phi _{hyd}(x,y,r)+\phi _{nh}(x,y,r)
674  \label{eq:phi-split}  \label{eq:phi-split}
675  \end{equation}  \end{equation}
676  and write eq(\ref{incompressible}a,b) in the form:  %and write eq(\ref{eq:incompressible}) in the form:
677    %                  ^- this eq is missing (jmc) ; replaced with:
678    and write eq( \ref{eq:horizontal_mtm}) in the form:
679    
680  \begin{equation}  \begin{equation}
681  \frac{\partial \vec{\mathbf{v}_{h}}}{\partial t}+\mathbf{\nabla }_{h}\phi  \frac{\partial \vec{\mathbf{v}_{h}}}{\partial t}+\mathbf{\nabla }_{h}\phi
# Line 601  discussion: Line 708  discussion:
708  \left.  \left.
709  \begin{tabular}{l}  \begin{tabular}{l}
710  $G_{u}=-\vec{\mathbf{v}}.\nabla u$ \\  $G_{u}=-\vec{\mathbf{v}}.\nabla u$ \\
711  $-\left\{ \underline{\frac{u\dot{r}}{{r}}}-\frac{uv\tan lat}{{r}}\right\} $  $-\left\{ \underline{\frac{u\dot{r}}{{r}}}-\frac{uv\tan \varphi}{{r}}\right\} $
712  \\  \\
713  $-\left\{ -2\Omega v\sin lat+\underline{2\Omega \dot{r}\cos lat}\right\} $  $-\left\{ -2\Omega v\sin \varphi+\underline{2\Omega \dot{r}\cos \varphi}\right\} $
714  \\  \\
715  $+\mathcal{F}_{u}$  $+\mathcal{F}_{u}$
716  \end{tabular}  \end{tabular}
# Line 621  $+\mathcal{F}_{u}$ Line 728  $+\mathcal{F}_{u}$
728  \left.  \left.
729  \begin{tabular}{l}  \begin{tabular}{l}
730  $G_{v}=-\vec{\mathbf{v}}.\nabla v$ \\  $G_{v}=-\vec{\mathbf{v}}.\nabla v$ \\
731  $-\left\{ \underline{\frac{v\dot{r}}{{r}}}-\frac{u^{2}\tan lat}{{r}}\right\}  $-\left\{ \underline{\frac{v\dot{r}}{{r}}}-\frac{u^{2}\tan \varphi}{{r}}\right\}
732  $ \\  $ \\
733  $-\left\{ -2\Omega u\sin lat\right\} $ \\  $-\left\{ -2\Omega u\sin \varphi \right\} $ \\
734  $+\mathcal{F}_{v}$  $+\mathcal{F}_{v}$
735  \end{tabular}  \end{tabular}
736  \ \right\} \left\{  \ \right\} \left\{
# Line 642  $+\mathcal{F}_{v}$ Line 749  $+\mathcal{F}_{v}$
749  \begin{tabular}{l}  \begin{tabular}{l}
750  $G_{\dot{r}}=-\underline{\underline{\vec{\mathbf{v}}.\nabla \dot{r}}}$ \\  $G_{\dot{r}}=-\underline{\underline{\vec{\mathbf{v}}.\nabla \dot{r}}}$ \\
751  $+\left\{ \underline{\frac{u^{_{^{2}}}+v^{2}}{{r}}}\right\} $ \\  $+\left\{ \underline{\frac{u^{_{^{2}}}+v^{2}}{{r}}}\right\} $ \\
752  ${+}\underline{{2\Omega u\cos lat}}$ \\  ${+}\underline{{2\Omega u\cos \varphi}}$ \\
753  $\underline{\underline{\mathcal{F}_{\dot{r}}}}$  $\underline{\underline{\mathcal{F}_{\dot{r}}}}$
754  \end{tabular}  \end{tabular}
755  \ \right\} \left\{  \ \right\} \left\{
# Line 656  $\underline{\underline{\mathcal{F}_{\dot Line 763  $\underline{\underline{\mathcal{F}_{\dot
763  \end{equation}  \end{equation}
764  \qquad \qquad \qquad \qquad \qquad  \qquad \qquad \qquad \qquad \qquad
765    
766  In the above `${r}$' is the distance from the center of the earth and `$lat$  In the above `${r}$' is the distance from the center of the earth and `$\varphi$
767  ' is latitude.  ' is latitude.
768    
769  Grad and div operators in spherical coordinates are defined in appendix  Grad and div operators in spherical coordinates are defined in appendix
770  OPERATORS.  OPERATORS.
 \marginpar{  
 Fig.6 Spherical polar coordinate system.}  
771    
772  %%CNHbegin  %%CNHbegin
773  \input{part1/sphere_coord_figure.tex}  \input{s_overview/text/sphere_coord_figure.tex}
774  %%CNHend  %%CNHend
775    
776  \subsubsection{Shallow atmosphere approximation}  \subsubsection{Shallow atmosphere approximation}
777    
778  Most models are based on the `hydrostatic primitive equations' (HPE's) in  Most models are based on the `hydrostatic primitive equations' (HPE's)
779  which the vertical momentum equation is reduced to a statement of  in which the vertical momentum equation is reduced to a statement of
780  hydrostatic balance and the `traditional approximation' is made in which the  hydrostatic balance and the `traditional approximation' is made in
781  Coriolis force is treated approximately and the shallow atmosphere  which the Coriolis force is treated approximately and the shallow
782  approximation is made.\ The MITgcm need not make the `traditional  atmosphere approximation is made.  MITgcm need not make the
783  approximation'. To be able to support consistent non-hydrostatic forms the  `traditional approximation'. To be able to support consistent
784  shallow atmosphere approximation can be relaxed - when dividing through by $  non-hydrostatic forms the shallow atmosphere approximation can be
785  r $ in, for example, (\ref{eq:gu-speherical}), we do not replace $r$ by $a$,  relaxed - when dividing through by $ r $ in, for example,
786  the radius of the earth.  (\ref{eq:gu-speherical}), we do not replace $r$ by $a$, the radius of
787    the earth.
788    
789  \subsubsection{Hydrostatic and quasi-hydrostatic forms}  \subsubsection{Hydrostatic and quasi-hydrostatic forms}
790    \label{sec:hydrostatic_and_quasi-hydrostatic_forms}
791    
792  These are discussed at length in Marshall et al (1997a).  These are discussed at length in Marshall et al (1997a).
793    
# Line 694  computed at all other levels by integrat Line 801  computed at all other levels by integrat
801    
802  In the `quasi-hydrostatic' equations (\textbf{QH)} strict balance between  In the `quasi-hydrostatic' equations (\textbf{QH)} strict balance between
803  gravity and vertical pressure gradients is not imposed. The $2\Omega u\cos  gravity and vertical pressure gradients is not imposed. The $2\Omega u\cos
804  \phi $ Coriolis term are not neglected and are balanced by a non-hydrostatic  \varphi $ Coriolis term are not neglected and are balanced by a non-hydrostatic
805  contribution to the pressure field: only the terms underlined twice in Eqs. (  contribution to the pressure field: only the terms underlined twice in Eqs. (
806  \ref{eq:gu-speherical}$\rightarrow $\ \ref{eq:gw-spherical}) are set to zero  \ref{eq:gu-speherical}$\rightarrow $\ \ref{eq:gw-spherical}) are set to zero
807  and, simultaneously, the shallow atmosphere approximation is relaxed. In  and, simultaneously, the shallow atmosphere approximation is relaxed. In
# Line 703  variation of the radial position of a pa Line 810  variation of the radial position of a pa
810  vertical momentum equation (\ref{eq:mom-w}) becomes:  vertical momentum equation (\ref{eq:mom-w}) becomes:
811    
812  \begin{equation*}  \begin{equation*}
813  \frac{\partial \phi _{nh}}{\partial r}=2\Omega u\cos lat  \frac{\partial \phi _{nh}}{\partial r}=2\Omega u\cos \varphi
814  \end{equation*}  \end{equation*}
815  making a small correction to the hydrostatic pressure.  making a small correction to the hydrostatic pressure.
816    
# Line 714  et.al., 1997a. As in \textbf{HPE }only a Line 821  et.al., 1997a. As in \textbf{HPE }only a
821    
822  \subsubsection{Non-hydrostatic and quasi-nonhydrostatic forms}  \subsubsection{Non-hydrostatic and quasi-nonhydrostatic forms}
823    
824  The MIT model presently supports a full non-hydrostatic ocean isomorph, but  MITgcm presently supports a full non-hydrostatic ocean isomorph, but
825  only a quasi-non-hydrostatic atmospheric isomorph.  only a quasi-non-hydrostatic atmospheric isomorph.
826    
827  \paragraph{Non-hydrostatic Ocean}  \paragraph{Non-hydrostatic Ocean}
# Line 724  In the non-hydrostatic ocean model all t Line 831  In the non-hydrostatic ocean model all t
831  three dimensional elliptic equation must be solved subject to Neumann  three dimensional elliptic equation must be solved subject to Neumann
832  boundary conditions (see below). It is important to note that use of the  boundary conditions (see below). It is important to note that use of the
833  full \textbf{NH} does not admit any new `fast' waves in to the system - the  full \textbf{NH} does not admit any new `fast' waves in to the system - the
834  incompressible condition eq(\ref{eq:continuous})c has already filtered out  incompressible condition eq(\ref{eq:continuity}) has already filtered out
835  acoustic modes. It does, however, ensure that the gravity waves are treated  acoustic modes. It does, however, ensure that the gravity waves are treated
836  accurately with an exact dispersion relation. The \textbf{NH} set has a  accurately with an exact dispersion relation. The \textbf{NH} set has a
837  complete angular momentum principle and consistent energetics - see White  complete angular momentum principle and consistent energetics - see White
# Line 773  coordinates are supported - see eqs(\ref Line 880  coordinates are supported - see eqs(\ref
880  \subsection{Solution strategy}  \subsection{Solution strategy}
881    
882  The method of solution employed in the \textbf{HPE}, \textbf{QH} and \textbf{  The method of solution employed in the \textbf{HPE}, \textbf{QH} and \textbf{
883  NH} models is summarized in Fig.7.  NH} models is summarized in Figure \ref{fig:solution-strategy}.
884  \marginpar{  Under all dynamics, a 2-d elliptic equation is
 Fig.7 Solution strategy} Under all dynamics, a 2-d elliptic equation is  
885  first solved to find the surface pressure and the hydrostatic pressure at  first solved to find the surface pressure and the hydrostatic pressure at
886  any level computed from the weight of fluid above. Under \textbf{HPE} and  any level computed from the weight of fluid above. Under \textbf{HPE} and
887  \textbf{QH} dynamics, the horizontal momentum equations are then stepped  \textbf{QH} dynamics, the horizontal momentum equations are then stepped
# Line 785  stepping forward the horizontal momentum Line 891  stepping forward the horizontal momentum
891  stepping forward the vertical momentum equation.  stepping forward the vertical momentum equation.
892    
893  %%CNHbegin  %%CNHbegin
894  \input{part1/solution_strategy_figure.tex}  \input{s_overview/text/solution_strategy_figure.tex}
895  %%CNHend  %%CNHend
896    
897  There is no penalty in implementing \textbf{QH} over \textbf{HPE} except, of  There is no penalty in implementing \textbf{QH} over \textbf{HPE} except, of
898  course, some complication that goes with the inclusion of $\cos \phi \ $  course, some complication that goes with the inclusion of $\cos \varphi \ $
899  Coriolis terms and the relaxation of the shallow atmosphere approximation.  Coriolis terms and the relaxation of the shallow atmosphere approximation.
900  But this leads to negligible increase in computation. In \textbf{NH}, in  But this leads to negligible increase in computation. In \textbf{NH}, in
901  contrast, one additional elliptic equation - a three-dimensional one - must  contrast, one additional elliptic equation - a three-dimensional one - must
# Line 799  Marshall et al, 1997) resulting in a non Line 905  Marshall et al, 1997) resulting in a non
905  hydrostatic limit, is as computationally economic as the \textbf{HPEs}.  hydrostatic limit, is as computationally economic as the \textbf{HPEs}.
906    
907  \subsection{Finding the pressure field}  \subsection{Finding the pressure field}
908    \label{sec:finding_the_pressure_field}
909    
910  Unlike the prognostic variables $u$, $v$, $w$, $\theta $ and $S$, the  Unlike the prognostic variables $u$, $v$, $w$, $\theta $ and $S$, the
911  pressure field must be obtained diagnostically. We proceed, as before, by  pressure field must be obtained diagnostically. We proceed, as before, by
# Line 831  atmospheric pressure pushing down on the Line 938  atmospheric pressure pushing down on the
938    
939  \subsubsection{Surface pressure}  \subsubsection{Surface pressure}
940    
941  The surface pressure equation can be obtained by integrating continuity, (  The surface pressure equation can be obtained by integrating continuity,
942  \ref{eq:continuous})c, vertically from $r=R_{fixed}$ to $r=R_{moving}$  (\ref{eq:continuity}), vertically from $r=R_{fixed}$ to $r=R_{moving}$
943    
944  \begin{equation*}  \begin{equation*}
945  \int_{R_{fixed}}^{R_{moving}}\left( \mathbf{\nabla }_{h}\cdot \vec{\mathbf{v}  \int_{R_{fixed}}^{R_{moving}}\left( \mathbf{\nabla }_{h}\cdot \vec{\mathbf{v}
# Line 857  r $. The above can be rearranged to yiel Line 964  r $. The above can be rearranged to yiel
964  where we have incorporated a source term.  where we have incorporated a source term.
965    
966  Whether $\phi $ is pressure (ocean model, $p/\rho _{c}$) or geopotential  Whether $\phi $ is pressure (ocean model, $p/\rho _{c}$) or geopotential
967  (atmospheric model), in (\ref{mtm-split}), the horizontal gradient term can  (atmospheric model), in (\ref{eq:mom-h}), the horizontal gradient term can
968  be written  be written
969  \begin{equation}  \begin{equation}
970  \mathbf{\nabla }_{h}\phi _{s}=\mathbf{\nabla }_{h}\left( b_{s}\eta \right)  \mathbf{\nabla }_{h}\phi _{s}=\mathbf{\nabla }_{h}\left( b_{s}\eta \right)
# Line 865  be written Line 972  be written
972  \end{equation}  \end{equation}
973  where $b_{s}$ is the buoyancy at the surface.  where $b_{s}$ is the buoyancy at the surface.
974    
975  In the hydrostatic limit ($\epsilon _{nh}=0$), Eqs(\ref{eq:mom-h}), (\ref  In the hydrostatic limit ($\epsilon _{nh}=0$), equations (\ref{eq:mom-h}), (\ref
976  {eq:free-surface}) and (\ref{eq:phi-surf}) can be solved by inverting a 2-d  {eq:free-surface}) and (\ref{eq:phi-surf}) can be solved by inverting a 2-d
977  elliptic equation for $\phi _{s}$ as described in Chapter 2. Both `free  elliptic equation for $\phi _{s}$ as described in Chapter 2. Both `free
978  surface' and `rigid lid' approaches are available.  surface' and `rigid lid' approaches are available.
979    
980  \subsubsection{Non-hydrostatic pressure}  \subsubsection{Non-hydrostatic pressure}
981    
982  Taking the horizontal divergence of (\ref{hor-mtm}) and adding $\frac{  Taking the horizontal divergence of (\ref{eq:mom-h}) and adding
983  \partial }{\partial r}$ of (\ref{vertmtm}), invoking the continuity equation  $\frac{\partial }{\partial r}$ of (\ref{eq:mom-w}), invoking the continuity equation
984  (\ref{incompressible}), we deduce that:  (\ref{eq:continuity}), we deduce that:
985    
986  \begin{equation}  \begin{equation}
987  \nabla _{3}^{2}\phi _{nh}=\nabla .\vec{\mathbf{G}}_{\vec{v}}-\left( \mathbf{  \nabla _{3}^{2}\phi _{nh}=\nabla .\vec{\mathbf{G}}_{\vec{v}}-\left( \mathbf{
# Line 904  tangential component of velocity, $v_{T} Line 1011  tangential component of velocity, $v_{T}
1011  depending on the form chosen for the dissipative terms in the momentum  depending on the form chosen for the dissipative terms in the momentum
1012  equations - see below.  equations - see below.
1013    
1014  Eq.(\ref{nonormalflow}) implies, making use of (\ref{mtm-split}), that:  Eq.(\ref{nonormalflow}) implies, making use of (\ref{eq:mom-h}), that:
1015    
1016  \begin{equation}  \begin{equation}
1017  \widehat{n}.\nabla \phi _{nh}=\widehat{n}.\vec{\mathbf{F}}  \widehat{n}.\nabla \phi _{nh}=\widehat{n}.\vec{\mathbf{F}}
# Line 944  If the flow is `close' to hydrostatic ba Line 1051  If the flow is `close' to hydrostatic ba
1051  converges rapidly because $\phi _{nh}\ $is then only a small correction to  converges rapidly because $\phi _{nh}\ $is then only a small correction to
1052  the hydrostatic pressure field (see the discussion in Marshall et al, a,b).  the hydrostatic pressure field (see the discussion in Marshall et al, a,b).
1053    
1054  The solution $\phi _{nh}\ $to (\ref{eq:3d-invert}) and (\ref{homneuman})  The solution $\phi _{nh}\ $to (\ref{eq:3d-invert}) and (\ref{eq:inhom-neumann-nh})
1055  does not vanish at $r=R_{moving}$, and so refines the pressure there.  does not vanish at $r=R_{moving}$, and so refines the pressure there.
1056    
1057  \subsection{Forcing/dissipation}  \subsection{Forcing/dissipation}
# Line 952  does not vanish at $r=R_{moving}$, and s Line 1059  does not vanish at $r=R_{moving}$, and s
1059  \subsubsection{Forcing}  \subsubsection{Forcing}
1060    
1061  The forcing terms $\mathcal{F}$ on the rhs of the equations are provided by  The forcing terms $\mathcal{F}$ on the rhs of the equations are provided by
1062  `physics packages' described in detail in chapter ??.  `physics packages' and forcing packages. These are described later on.
1063    
1064  \subsubsection{Dissipation}  \subsubsection{Dissipation}
1065    
# Line 973  friction. These coefficients are the sam Line 1080  friction. These coefficients are the sam
1080    
1081  The mixing terms for the temperature and salinity equations have a similar  The mixing terms for the temperature and salinity equations have a similar
1082  form to that of momentum except that the diffusion tensor can be  form to that of momentum except that the diffusion tensor can be
1083  non-diagonal and have varying coefficients. $\qquad $  non-diagonal and have varying coefficients.
1084  \begin{equation}  \begin{equation}
1085  D_{T,S}=\nabla .[\underline{\underline{K}}\nabla (T,S)]+K_{4}\nabla  D_{T,S}=\nabla .[\underline{\underline{K}}\nabla (T,S)]+K_{4}\nabla
1086  _{h}^{4}(T,S)  \label{eq:diffusion}  _{h}^{4}(T,S)  \label{eq:diffusion}
# Line 999  salinity ... ). Line 1106  salinity ... ).
1106    
1107  \subsection{Vector invariant form}  \subsection{Vector invariant form}
1108    
1109  For some purposes it is advantageous to write momentum advection in eq(\ref  For some purposes it is advantageous to write momentum advection in
1110  {hor-mtm}) and (\ref{vertmtm}) in the (so-called) `vector invariant' form:  eq(\ref {eq:horizontal_mtm}) and (\ref{eq:vertical_mtm}) in the
1111    (so-called) `vector invariant' form:
1112    
1113  \begin{equation}  \begin{equation}
1114  \frac{D\vec{\mathbf{v}}}{Dt}=\frac{\partial \vec{\mathbf{v}}}{\partial t}  \frac{D\vec{\mathbf{v}}}{Dt}=\frac{\partial \vec{\mathbf{v}}}{\partial t}
# Line 1018  to discretize the model. Line 1126  to discretize the model.
1126    
1127  \subsection{Adjoint}  \subsection{Adjoint}
1128    
1129  Tangent linear and adjoint counterparts of the forward model and described  Tangent linear and adjoint counterparts of the forward model are described
1130  in Chapter 5.  in Chapter 5.
1131    
1132  % $Header$  % $Header$
# Line 1045  c_{v}\frac{DT}{Dt}+p\frac{D\alpha }{Dt} Line 1153  c_{v}\frac{DT}{Dt}+p\frac{D\alpha }{Dt}
1153  where $\vec{\mathbf{v}}_{h}=(u,v,0)$ is the `horizontal' (on pressure  where $\vec{\mathbf{v}}_{h}=(u,v,0)$ is the `horizontal' (on pressure
1154  surfaces) component of velocity,$\frac{D}{Dt}=\vec{\mathbf{v}}_{h}\cdot  surfaces) component of velocity,$\frac{D}{Dt}=\vec{\mathbf{v}}_{h}\cdot
1155  \mathbf{\nabla }_{p}+\omega \frac{\partial }{\partial p}$ is the total  \mathbf{\nabla }_{p}+\omega \frac{\partial }{\partial p}$ is the total
1156  derivative, $f=2\Omega \sin lat$ is the Coriolis parameter, $\phi =gz$ is  derivative, $f=2\Omega \sin \varphi$ is the Coriolis parameter, $\phi =gz$ is
1157  the geopotential, $\alpha =1/\rho $ is the specific volume, $\omega =\frac{Dp  the geopotential, $\alpha =1/\rho $ is the specific volume, $\omega =\frac{Dp
1158  }{Dt}$ is the vertical velocity in the $p-$coordinate. Equation(\ref  }{Dt}$ is the vertical velocity in the $p-$coordinate. Equation(\ref
1159  {eq:atmos-heat}) is the first law of thermodynamics where internal energy $  {eq:atmos-heat}) is the first law of thermodynamics where internal energy $
# Line 1111  In $p$-coordinates, the upper boundary a Line 1219  In $p$-coordinates, the upper boundary a
1219  surface ($\phi $ is imposed and $\omega \neq 0$).  surface ($\phi $ is imposed and $\omega \neq 0$).
1220    
1221  \subsubsection{Splitting the geo-potential}  \subsubsection{Splitting the geo-potential}
1222    \label{sec:hpe-p-geo-potential-split}
1223    
1224  For the purposes of initialization and reducing round-off errors, the model  For the purposes of initialization and reducing round-off errors, the model
1225  deals with perturbations from reference (or ``standard'') profiles. For  deals with perturbations from reference (or ``standard'') profiles. For
# Line 1140  _{o}(p_{o})=g~Z_{topo}$, defined: Line 1249  _{o}(p_{o})=g~Z_{topo}$, defined:
1249  The final form of the HPE's in p coordinates is then:  The final form of the HPE's in p coordinates is then:
1250  \begin{eqnarray}  \begin{eqnarray}
1251  \frac{D\vec{\mathbf{v}}_{h}}{Dt}+f\hat{\mathbf{k}}\times \vec{\mathbf{v}}  \frac{D\vec{\mathbf{v}}_{h}}{Dt}+f\hat{\mathbf{k}}\times \vec{\mathbf{v}}
1252  _{h}+\mathbf{\nabla }_{p}\phi ^{\prime } &=&\vec{\mathbf{\mathcal{F}}} \\  _{h}+\mathbf{\nabla }_{p}\phi ^{\prime } &=&\vec{\mathbf{\mathcal{F}}}
1253    \label{eq:atmos-prime} \\
1254  \frac{\partial \phi ^{\prime }}{\partial p}+\alpha ^{\prime } &=&0 \\  \frac{\partial \phi ^{\prime }}{\partial p}+\alpha ^{\prime } &=&0 \\
1255  \mathbf{\nabla }_{p}\cdot \vec{\mathbf{v}}_{h}+\frac{\partial \omega }{  \mathbf{\nabla }_{p}\cdot \vec{\mathbf{v}}_{h}+\frac{\partial \omega }{
1256  \partial p} &=&0 \\  \partial p} &=&0 \\
1257  \frac{\partial \Pi }{\partial p}\theta ^{\prime } &=&\alpha ^{\prime } \\  \frac{\partial \Pi }{\partial p}\theta ^{\prime } &=&\alpha ^{\prime } \\
1258  \frac{D\theta }{Dt} &=&\frac{\mathcal{Q}}{\Pi }  \label{eq:atmos-prime}  \frac{D\theta }{Dt} &=&\frac{\mathcal{Q}}{\Pi }
1259  \end{eqnarray}  \end{eqnarray}
1260    
1261  % $Header$  % $Header$
# Line 1164  _{h}+\frac{1}{\rho }\mathbf{\nabla }_{z} Line 1274  _{h}+\frac{1}{\rho }\mathbf{\nabla }_{z}
1274  \epsilon _{nh}\frac{Dw}{Dt}+g+\frac{1}{\rho }\frac{\partial p}{\partial z}  \epsilon _{nh}\frac{Dw}{Dt}+g+\frac{1}{\rho }\frac{\partial p}{\partial z}
1275  &=&\epsilon _{nh}\mathcal{F}_{w} \\  &=&\epsilon _{nh}\mathcal{F}_{w} \\
1276  \frac{1}{\rho }\frac{D\rho }{Dt}+\mathbf{\nabla }_{z}\cdot \vec{\mathbf{v}}  \frac{1}{\rho }\frac{D\rho }{Dt}+\mathbf{\nabla }_{z}\cdot \vec{\mathbf{v}}
1277  _{h}+\frac{\partial w}{\partial z} &=&0 \\  _{h}+\frac{\partial w}{\partial z} &=&0 \label{eq-zns-cont}\\
1278  \rho &=&\rho (\theta ,S,p) \\  \rho &=&\rho (\theta ,S,p) \label{eq-zns-eos}\\
1279  \frac{D\theta }{Dt} &=&\mathcal{Q}_{\theta } \\  \frac{D\theta }{Dt} &=&\mathcal{Q}_{\theta } \label{eq-zns-heat}\\
1280  \frac{DS}{Dt} &=&\mathcal{Q}_{s}  \label{eq:non-boussinesq}  \frac{DS}{Dt} &=&\mathcal{Q}_{s}  \label{eq-zns-salt}
1281    \label{eq:non-boussinesq}
1282  \end{eqnarray}  \end{eqnarray}
1283  These equations permit acoustics modes, inertia-gravity waves,  These equations permit acoustics modes, inertia-gravity waves,
1284  non-hydrostatic motions, a geostrophic (Rossby) mode and a thermo-haline  non-hydrostatic motions, a geostrophic (Rossby) mode and a thermohaline
1285  mode. As written, they cannot be integrated forward consistently - if we  mode. As written, they cannot be integrated forward consistently - if we
1286  step $\rho $ forward in (\ref{eq-zns-cont}), the answer will not be  step $\rho $ forward in (\ref{eq-zns-cont}), the answer will not be
1287  consistent with that obtained by stepping (\ref{eq-zns-heat}) and (\ref  consistent with that obtained by stepping (\ref{eq-zns-heat}) and (\ref
# Line 1185  _{\theta ,p}\frac{DS}{Dt}+\left. \frac{\ Line 1296  _{\theta ,p}\frac{DS}{Dt}+\left. \frac{\
1296  _{\theta ,S}\frac{Dp}{Dt}  \label{EOSexpansion}  _{\theta ,S}\frac{Dp}{Dt}  \label{EOSexpansion}
1297  \end{equation}  \end{equation}
1298    
1299  Note that $\frac{\partial \rho }{\partial p}=\frac{1}{c_{s}^{2}}$ is the  Note that $\frac{\partial \rho }{\partial p}=\frac{1}{c_{s}^{2}}$ is
1300  reciprocal of the sound speed ($c_{s}$) squared. Substituting into \ref  the reciprocal of the sound speed ($c_{s}$) squared. Substituting into
1301  {eq-zns-cont} gives:  \ref{eq-zns-cont} gives:
1302  \begin{equation}  \begin{equation}
1303  \frac{1}{\rho c_{s}^{2}}\frac{Dp}{Dt}+\mathbf{\nabla }_{z}\cdot \vec{\mathbf{  \frac{1}{\rho c_{s}^{2}}\frac{Dp}{Dt}+\mathbf{\nabla }_{z}\cdot \vec{\mathbf{
1304  v}}+\partial _{z}w\approx 0  \label{eq-zns-pressure}  v}}+\partial _{z}w\approx 0  \label{eq-zns-pressure}
# Line 1377  In spherical coordinates, the velocity c Line 1488  In spherical coordinates, the velocity c
1488  and vertical direction respectively, are given by (see Fig.2) :  and vertical direction respectively, are given by (see Fig.2) :
1489    
1490  \begin{equation*}  \begin{equation*}
1491  u=r\cos \phi \frac{D\lambda }{Dt}  u=r\cos \varphi \frac{D\lambda }{Dt}
1492  \end{equation*}  \end{equation*}
1493    
1494  \begin{equation*}  \begin{equation*}
1495  v=r\frac{D\phi }{Dt}\qquad  v=r\frac{D\varphi }{Dt}
1496  \end{equation*}  \end{equation*}
 $\qquad \qquad \qquad \qquad $  
1497    
1498  \begin{equation*}  \begin{equation*}
1499  \dot{r}=\frac{Dr}{Dt}  \dot{r}=\frac{Dr}{Dt}
1500  \end{equation*}  \end{equation*}
1501    
1502  Here $\phi $ is the latitude, $\lambda $ the longitude, $r$ the radial  Here $\varphi $ is the latitude, $\lambda $ the longitude, $r$ the radial
1503  distance of the particle from the center of the earth, $\Omega $ is the  distance of the particle from the center of the earth, $\Omega $ is the
1504  angular speed of rotation of the Earth and $D/Dt$ is the total derivative.  angular speed of rotation of the Earth and $D/Dt$ is the total derivative.
1505    
1506  The `grad' ($\nabla $) and `div' ($\nabla $.) operators are defined by, in  The `grad' ($\nabla $) and `div' ($\nabla\cdot$) operators are defined by, in
1507  spherical coordinates:  spherical coordinates:
1508    
1509  \begin{equation*}  \begin{equation*}
1510  \nabla \equiv \left( \frac{1}{r\cos \phi }\frac{\partial }{\partial \lambda }  \nabla \equiv \left( \frac{1}{r\cos \varphi }\frac{\partial }{\partial \lambda }
1511  ,\frac{1}{r}\frac{\partial }{\partial \phi },\frac{\partial }{\partial r}  ,\frac{1}{r}\frac{\partial }{\partial \varphi },\frac{\partial }{\partial r}
1512  \right)  \right)
1513  \end{equation*}  \end{equation*}
1514    
1515  \begin{equation*}  \begin{equation*}
1516  \nabla .v\equiv \frac{1}{r\cos \phi }\left\{ \frac{\partial u}{\partial  \nabla\cdot v\equiv \frac{1}{r\cos \varphi }\left\{ \frac{\partial u}{\partial
1517  \lambda }+\frac{\partial }{\partial \phi }\left( v\cos \phi \right) \right\}  \lambda }+\frac{\partial }{\partial \varphi }\left( v\cos \varphi \right) \right\}
1518  +\frac{1}{r^{2}}\frac{\partial \left( r^{2}\dot{r}\right) }{\partial r}  +\frac{1}{r^{2}}\frac{\partial \left( r^{2}\dot{r}\right) }{\partial r}
1519  \end{equation*}  \end{equation*}
1520    

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.29

  ViewVC Help
Powered by ViewVC 1.1.22