2 |
% $Name$ |
% $Name$ |
3 |
|
|
4 |
\section{Spatial discretization of the dynamical equations} |
\section{Spatial discretization of the dynamical equations} |
5 |
|
\begin{rawhtml} |
6 |
|
<!-- CMIREDIR:spatial_discretization_of_dyn_eq: --> |
7 |
|
\end{rawhtml} |
8 |
|
|
9 |
Spatial discretization is carried out using the finite volume |
Spatial discretization is carried out using the finite volume |
10 |
method. This amounts to a grid-point method (namely second-order |
method. This amounts to a grid-point method (namely second-order |
11 |
centered finite difference) in the fluid interior but allows |
centered finite difference) in the fluid interior but allows |
12 |
boundaries to intersect a regular grid allowing a more accurate |
boundaries to intersect a regular grid allowing a more accurate |
13 |
representation of the position of the boundary. We treat the |
representation of the position of the boundary. We treat the |
14 |
horizontal and veritical directions as seperable and differently. |
horizontal and vertical directions as separable and differently. |
15 |
|
|
16 |
\input{part2/notation} |
\input{part2/notation} |
17 |
|
|
18 |
|
|
19 |
\subsection{The finite volume method: finite volumes versus finite difference} |
\subsection{The finite volume method: finite volumes versus finite difference} |
20 |
|
\begin{rawhtml} |
21 |
|
<!-- CMIREDIR:finite_volume: --> |
22 |
|
\end{rawhtml} |
23 |
|
|
24 |
|
|
25 |
|
|
26 |
The finite volume method is used to discretize the equations in |
The finite volume method is used to discretize the equations in |
27 |
space. The expression ``finite volume'' actually has two meanings; one |
space. The expression ``finite volume'' actually has two meanings; one |
28 |
is the method of cut or instecting boundaries (shaved or lopped cells |
is the method of embedded or intersecting boundaries (shaved or lopped |
29 |
in our terminology) and the other is non-linear interpolation methods |
cells in our terminology) and the other is non-linear interpolation |
30 |
that can deal with non-smooth solutions such as shocks (i.e. flux |
methods that can deal with non-smooth solutions such as shocks |
31 |
limiters for advection). Both make use of the integral form of the |
(i.e. flux limiters for advection). Both make use of the integral form |
32 |
conservation laws to which the {\it weak solution} is a solution on |
of the conservation laws to which the {\it weak solution} is a |
33 |
each finite volume of (sub-domain). The weak solution can be |
solution on each finite volume of (sub-domain). The weak solution can |
34 |
constructed outof piece-wise constant elements or be |
be constructed out of piece-wise constant elements or be |
35 |
differentiable. The differentiable equations can not be satisfied by |
differentiable. The differentiable equations can not be satisfied by |
36 |
piece-wise constant functions. |
piece-wise constant functions. |
37 |
|
|
45 |
\begin{displaymath} |
\begin{displaymath} |
46 |
\Delta x \partial_t \theta + \delta_i ( F ) = 0 |
\Delta x \partial_t \theta + \delta_i ( F ) = 0 |
47 |
\end{displaymath} |
\end{displaymath} |
48 |
is exact if $\theta(x)$ is peice-wise constant over the interval |
is exact if $\theta(x)$ is piece-wise constant over the interval |
49 |
$\Delta x_i$ or more generally if $\theta_i$ is defined as the average |
$\Delta x_i$ or more generally if $\theta_i$ is defined as the average |
50 |
over the interval $\Delta x_i$. |
over the interval $\Delta x_i$. |
51 |
|
|
65 |
interior of a fluid. Differences arise at boundaries where a boundary |
interior of a fluid. Differences arise at boundaries where a boundary |
66 |
is not positioned on a regular or smoothly varying grid. This method |
is not positioned on a regular or smoothly varying grid. This method |
67 |
is used to represent the topography using lopped cell, see |
is used to represent the topography using lopped cell, see |
68 |
\cite{Adcroft98}. Subtle difference also appear in more than one |
\cite{adcroft:97}. Subtle difference also appear in more than one |
69 |
dimension away from boundaries. This happens because the each |
dimension away from boundaries. This happens because the each |
70 |
direction is discretized independantly in the finite difference method |
direction is discretized independently in the finite difference method |
71 |
while the integrating over finite volume implicitly treats all |
while the integrating over finite volume implicitly treats all |
72 |
directions simultaneously. Illustration of this is given in |
directions simultaneously. Illustration of this is given in |
73 |
\cite{Adcroft02}. |
\cite{ac:02}. |
74 |
|
|
75 |
\subsection{C grid staggering of variables} |
\subsection{C grid staggering of variables} |
76 |
|
|
77 |
\begin{figure} |
\begin{figure} |
78 |
\centerline{ \resizebox{!}{2in}{ \includegraphics{part2/cgrid3d.eps}} } |
\begin{center} |
79 |
|
\resizebox{!}{2in}{ \includegraphics{part2/cgrid3d.eps}} |
80 |
|
\end{center} |
81 |
\caption{Three dimensional staggering of velocity components. This |
\caption{Three dimensional staggering of velocity components. This |
82 |
facilitates the natural discretization of the continuity and tracer |
facilitates the natural discretization of the continuity and tracer |
83 |
equations. } |
equations. } |
87 |
The basic algorithm employed for stepping forward the momentum |
The basic algorithm employed for stepping forward the momentum |
88 |
equations is based on retaining non-divergence of the flow at all |
equations is based on retaining non-divergence of the flow at all |
89 |
times. This is most naturally done if the components of flow are |
times. This is most naturally done if the components of flow are |
90 |
staggered in space in the form of an Arakawa C grid \cite{Arakawa70}. |
staggered in space in the form of an Arakawa C grid \cite{arakawa:77}. |
91 |
|
|
92 |
Fig. \ref{fig:cgrid3d} shows the components of flow ($u$,$v$,$w$) |
Fig. \ref{fig:cgrid3d} shows the components of flow ($u$,$v$,$w$) |
93 |
staggered in space such that the zonal component falls on the |
staggered in space such that the zonal component falls on the |
94 |
interface between continiuty cells in the zonal direction. Similarly |
interface between continuity cells in the zonal direction. Similarly |
95 |
for the meridional and vertical directions. The continiuty cell is |
for the meridional and vertical directions. The continuity cell is |
96 |
synonymous with tracer cells (they are one and the same). |
synonymous with tracer cells (they are one and the same). |
97 |
|
|
98 |
|
|
123 |
|
|
124 |
|
|
125 |
\subsection{Horizontal grid} |
\subsection{Horizontal grid} |
126 |
|
\label{sec:spatial_discrete_horizontal_grid} |
127 |
|
|
128 |
\begin{figure} |
\begin{figure} |
129 |
\centerline{ \begin{tabular}{cc} |
\begin{center} |
130 |
|
\begin{tabular}{cc} |
131 |
\raisebox{1.5in}{a)}\resizebox{!}{2in}{ \includegraphics{part2/hgrid-Ac.eps}} |
\raisebox{1.5in}{a)}\resizebox{!}{2in}{ \includegraphics{part2/hgrid-Ac.eps}} |
132 |
& \raisebox{1.5in}{b)}\resizebox{!}{2in}{ \includegraphics{part2/hgrid-Az.eps}} |
& \raisebox{1.5in}{b)}\resizebox{!}{2in}{ \includegraphics{part2/hgrid-Az.eps}} |
133 |
\\ |
\\ |
134 |
\raisebox{1.5in}{c)}\resizebox{!}{2in}{ \includegraphics{part2/hgrid-Au.eps}} |
\raisebox{1.5in}{c)}\resizebox{!}{2in}{ \includegraphics{part2/hgrid-Au.eps}} |
135 |
& \raisebox{1.5in}{d)}\resizebox{!}{2in}{ \includegraphics{part2/hgrid-Av.eps}} |
& \raisebox{1.5in}{d)}\resizebox{!}{2in}{ \includegraphics{part2/hgrid-Av.eps}} |
136 |
\end{tabular} } |
\end{tabular} |
137 |
|
\end{center} |
138 |
\caption{ |
\caption{ |
139 |
Staggering of horizontal grid descriptors (lengths and areas). The |
Staggering of horizontal grid descriptors (lengths and areas). The |
140 |
grid lines indicate the tracer cell boundaries and are the reference |
grid lines indicate the tracer cell boundaries and are the reference |
149 |
|
|
150 |
The model domain is decomposed into tiles and within each tile a |
The model domain is decomposed into tiles and within each tile a |
151 |
quasi-regular grid is used. A tile is the basic unit of domain |
quasi-regular grid is used. A tile is the basic unit of domain |
152 |
decomposition for parallelization but may be used whether parallized |
decomposition for parallelization but may be used whether parallelized |
153 |
or not; see section \ref{sect:tiles} for more details. Although the |
or not; see section \ref{sect:tiles} for more details. Although the |
154 |
tiles may be patched together in an unstructured manner |
tiles may be patched together in an unstructured manner |
155 |
(i.e. irregular or non-tessilating pattern), the interior of tiles is |
(i.e. irregular or non-tessilating pattern), the interior of tiles is |
156 |
a structered grid of quadrilateral cells. The horizontal coordinate |
a structured grid of quadrilateral cells. The horizontal coordinate |
157 |
system is orthogonal curvilinear meaning we can not necessarily treat |
system is orthogonal curvilinear meaning we can not necessarily treat |
158 |
the two horizontal directions as seperable. Instead, each cell in the |
the two horizontal directions as separable. Instead, each cell in the |
159 |
horizontal grid is described by the length of it's sides and it's |
horizontal grid is described by the length of it's sides and it's |
160 |
area. |
area. |
161 |
|
|
162 |
The grid information is quite general and describes any of the |
The grid information is quite general and describes any of the |
163 |
available coordinates systems, cartesian, spherical-polar or |
available coordinates systems, cartesian, spherical-polar or |
164 |
curvilinear. All that is necessary to distinguish between the |
curvilinear. All that is necessary to distinguish between the |
165 |
coordinate systems is to initialize the grid data (discriptors) |
coordinate systems is to initialize the grid data (descriptors) |
166 |
appropriately. |
appropriately. |
167 |
|
|
168 |
In the following, we refer to the orientation of quantities on the |
In the following, we refer to the orientation of quantities on the |
301 |
spacing can be set to uniform via scalars {\bf dXspacing} and {\bf |
spacing can be set to uniform via scalars {\bf dXspacing} and {\bf |
302 |
dYspacing} in namelist {\em PARM04} or to variable resolution by the |
dYspacing} in namelist {\em PARM04} or to variable resolution by the |
303 |
vectors {\bf DELX} and {\bf DELY}. Units are normally |
vectors {\bf DELX} and {\bf DELY}. Units are normally |
304 |
meters. Non-dimensional coordinates can be used by interpretting the |
meters. Non-dimensional coordinates can be used by interpreting the |
305 |
gravitational constant as the Rayleigh number. |
gravitational constant as the Rayleigh number. |
306 |
|
|
307 |
\subsubsection{Spherical-polar coordinates} |
\subsubsection{Spherical-polar coordinates} |
326 |
\subsection{Vertical grid} |
\subsection{Vertical grid} |
327 |
|
|
328 |
\begin{figure} |
\begin{figure} |
329 |
\centerline{ \begin{tabular}{cc} |
\begin{center} |
330 |
|
\begin{tabular}{cc} |
331 |
\raisebox{4in}{a)} \resizebox{!}{4in}{ |
\raisebox{4in}{a)} \resizebox{!}{4in}{ |
332 |
\includegraphics{part2/vgrid-cellcentered.eps}} & \raisebox{4in}{b)} |
\includegraphics{part2/vgrid-cellcentered.eps}} & \raisebox{4in}{b)} |
333 |
\resizebox{!}{4in}{ \includegraphics{part2/vgrid-accurate.eps}} |
\resizebox{!}{4in}{ \includegraphics{part2/vgrid-accurate.eps}} |
334 |
\end{tabular} } |
\end{tabular} |
335 |
|
\end{center} |
336 |
\caption{Two versions of the vertical grid. a) The cell centered |
\caption{Two versions of the vertical grid. a) The cell centered |
337 |
approach where the interface depths are specified and the tracer |
approach where the interface depths are specified and the tracer |
338 |
points centered in between the interfaces. b) The interface centered |
points centered in between the interfaces. b) The interface centered |
355 |
INI\_VERTICAL\_GRID} and specified via the vector {\bf DELR} in |
INI\_VERTICAL\_GRID} and specified via the vector {\bf DELR} in |
356 |
namelist {\em PARM04}. The units of ``r'' are either meters or Pascals |
namelist {\em PARM04}. The units of ``r'' are either meters or Pascals |
357 |
depending on the isomorphism being used which in turn is dependent |
depending on the isomorphism being used which in turn is dependent |
358 |
only on the choise of equation of state. |
only on the choice of equation of state. |
359 |
|
|
360 |
There are alternative namelist vectors {\bf DELZ} and {\bf DELP} which |
There are alternative namelist vectors {\bf DELZ} and {\bf DELP} which |
361 |
dictate whether z- or |
dictate whether z- or |
369 |
|
|
370 |
The above grid (Fig.~\ref{fig:vgrid}a) is known as the cell centered |
The above grid (Fig.~\ref{fig:vgrid}a) is known as the cell centered |
371 |
approach because the tracer points are at cell centers; the cell |
approach because the tracer points are at cell centers; the cell |
372 |
centers are mid-way between the cell interfaces. An alternative, the |
centers are mid-way between the cell interfaces. |
373 |
vertex or interface centered approach, is shown in |
This discretisation is selected when the thickness of the |
374 |
|
levels are provided ({\bf delR}, parameter file {\em data}, |
375 |
|
namelist {\em PARM04}) |
376 |
|
An alternative, the vertex or interface centered approach, is shown in |
377 |
Fig.~\ref{fig:vgrid}b. Here, the interior interfaces are positioned |
Fig.~\ref{fig:vgrid}b. Here, the interior interfaces are positioned |
378 |
mid-way between the tracer nodes (no longer cell centers). This |
mid-way between the tracer nodes (no longer cell centers). This |
379 |
approach is formally more accurate for evaluation of hydrostatic |
approach is formally more accurate for evaluation of hydrostatic |
380 |
pressure and vertical advection but historically the cell centered |
pressure and vertical advection but historically the cell centered |
381 |
approach has been used. An alternative form of subroutine {\em |
approach has been used. An alternative form of subroutine {\em |
382 |
INI\_VERTICAL\_GRID} is used to select the interface centered approach |
INI\_VERTICAL\_GRID} is used to select the interface centered approach |
383 |
but no run time option is currently available. |
This form requires to specify $Nr+1$ vertical distances {\bf delRc} |
384 |
|
(parameter file {\em data}, namelist {\em PARM04}, e.g. |
385 |
|
{\em verification/ideal\_2D\_oce/input/data}) |
386 |
|
corresponding to surface to center, $Nr-1$ center to center, and center to |
387 |
|
bottom distances. |
388 |
|
%but no run time option is currently available. |
389 |
|
|
390 |
\fbox{ \begin{minipage}{4.75in} |
\fbox{ \begin{minipage}{4.75in} |
391 |
{\em S/R INI\_VERTICAL\_GRID} ({\em |
{\em S/R INI\_VERTICAL\_GRID} ({\em |
403 |
|
|
404 |
|
|
405 |
\subsection{Topography: partially filled cells} |
\subsection{Topography: partially filled cells} |
406 |
|
\begin{rawhtml} |
407 |
|
<!-- CMIREDIR:topo_partial_cells: --> |
408 |
|
\end{rawhtml} |
409 |
|
|
410 |
\begin{figure} |
\begin{figure} |
411 |
\centerline{ |
\begin{center} |
412 |
\resizebox{4.5in}{!}{\includegraphics{part2/vgrid-xz.eps}} |
\resizebox{4.5in}{!}{\includegraphics{part2/vgrid-xz.eps}} |
413 |
} |
\end{center} |
414 |
\caption{ |
\caption{ |
415 |
A schematic of the x-r plane showing the location of the |
A schematic of the x-r plane showing the location of the |
416 |
non-dimensional fractions $h_c$ and $h_w$. The physical thickness of a |
non-dimensional fractions $h_c$ and $h_w$. The physical thickness of a |
419 |
\label{fig:hfacs} |
\label{fig:hfacs} |
420 |
\end{figure} |
\end{figure} |
421 |
|
|
422 |
\cite{Adcroft97} presented two alternatives to the step-wise finite |
\cite{adcroft:97} presented two alternatives to the step-wise finite |
423 |
difference representation of topography. The method is known to the |
difference representation of topography. The method is known to the |
424 |
engineering community as {\em intersecting boundary method}. It |
engineering community as {\em intersecting boundary method}. It |
425 |
involves allowing the boundary to intersect a grid of cells thereby |
involves allowing the boundary to intersect a grid of cells thereby |
426 |
modifying the shape of those cells intersected. We suggested allowing |
modifying the shape of those cells intersected. We suggested allowing |
427 |
the topgoraphy to take on a peice-wise linear representation (shaved |
the topography to take on a piece-wise linear representation (shaved |
428 |
cells) or a simpler piecewise constant representaion (partial step). |
cells) or a simpler piecewise constant representation (partial step). |
429 |
Both show dramatic improvements in solution compared to the |
Both show dramatic improvements in solution compared to the |
430 |
traditional full step representation, the piece-wise linear being the |
traditional full step representation, the piece-wise linear being the |
431 |
best. However, the storage requirements are excessive so the simpler |
best. However, the storage requirements are excessive so the simpler |
439 |
\marginpar{$h_s$: {\bf hFacS}} |
\marginpar{$h_s$: {\bf hFacS}} |
440 |
The physical thickness of a tracer cell is given by $h_c(i,j,k) \Delta |
The physical thickness of a tracer cell is given by $h_c(i,j,k) \Delta |
441 |
r_f(k)$ and the physical thickness of the open side is given by |
r_f(k)$ and the physical thickness of the open side is given by |
442 |
$h_w(i,j,k) \Delta r_f(k)$. Three 3-D discriptors $h_c$, $h_w$ and |
$h_w(i,j,k) \Delta r_f(k)$. Three 3-D descriptors $h_c$, $h_w$ and |
443 |
$h_s$ are used to describe the geometry: {\bf hFacC}, {\bf hFacW} and |
$h_s$ are used to describe the geometry: {\bf hFacC}, {\bf hFacW} and |
444 |
{\bf hFacS} respectively. These are calculated in subroutine {\em |
{\bf hFacS} respectively. These are calculated in subroutine {\em |
445 |
INI\_MASKS\_ETC} along with there reciprocals {\bf RECIP\_hFacC}, {\bf |
INI\_MASKS\_ETC} along with there reciprocals {\bf RECIP\_hFacC}, {\bf |
476 |
|
|
477 |
|
|
478 |
\section{Continuity and horizontal pressure gradient terms} |
\section{Continuity and horizontal pressure gradient terms} |
479 |
|
\begin{rawhtml} |
480 |
|
<!-- CMIREDIR:continuity_and_horizontal_pressure: --> |
481 |
|
\end{rawhtml} |
482 |
|
|
483 |
|
|
484 |
The core algorithm is based on the ``C grid'' discretization of the |
The core algorithm is based on the ``C grid'' discretization of the |
485 |
continuity equation which can be summarized as: |
continuity equation which can be summarized as: |
486 |
\begin{eqnarray} |
\begin{eqnarray} |
487 |
\partial_t u + \frac{1}{\Delta x_c} \delta_i \left. \frac{ \partial \Phi}{\partial r}\right|_{s} \eta + \frac{\epsilon_{nh}}{\Delta x_c} \delta_i \Phi_{nh}' & = & G_u - \frac{1}{\Delta x_c} \delta_i \Phi_h' \\ |
\partial_t u + \frac{1}{\Delta x_c} \delta_i \left. \frac{ \partial \Phi}{\partial r}\right|_{s} \eta + \frac{\epsilon_{nh}}{\Delta x_c} \delta_i \Phi_{nh}' & = & G_u - \frac{1}{\Delta x_c} \delta_i \Phi_h' \label{eq:discrete-momu} \\ |
488 |
\partial_t v + \frac{1}{\Delta y_c} \delta_j \left. \frac{ \partial \Phi}{\partial r}\right|_{s} \eta + \frac{\epsilon_{nh}}{\Delta y_c} \delta_j \Phi_{nh}' & = & G_v - \frac{1}{\Delta y_c} \delta_j \Phi_h' \\ |
\partial_t v + \frac{1}{\Delta y_c} \delta_j \left. \frac{ \partial \Phi}{\partial r}\right|_{s} \eta + \frac{\epsilon_{nh}}{\Delta y_c} \delta_j \Phi_{nh}' & = & G_v - \frac{1}{\Delta y_c} \delta_j \Phi_h' \label{eq:discrete-momv} \\ |
489 |
\epsilon_{nh} \left( \partial_t w + \frac{1}{\Delta r_c} \delta_k \Phi_{nh}' \right) & = & \epsilon_{nh} G_w + \overline{b}^k - \frac{1}{\Delta r_c} \delta_k \Phi_{h}' \\ |
\epsilon_{nh} \left( \partial_t w + \frac{1}{\Delta r_c} \delta_k \Phi_{nh}' \right) & = & \epsilon_{nh} G_w + \overline{b}^k - \frac{1}{\Delta r_c} \delta_k \Phi_{h}' \label{eq:discrete-momw} \\ |
490 |
\delta_i \Delta y_g \Delta r_f h_w u + |
\delta_i \Delta y_g \Delta r_f h_w u + |
491 |
\delta_j \Delta x_g \Delta r_f h_s v + |
\delta_j \Delta x_g \Delta r_f h_s v + |
492 |
\delta_k {\cal A}_c w & = & {\cal A}_c \delta_k (P-E)_{r=0} |
\delta_k {\cal A}_c w & = & {\cal A}_c \delta_k (P-E)_{r=0} |
494 |
\end{eqnarray} |
\end{eqnarray} |
495 |
where the continuity equation has been most naturally discretized by |
where the continuity equation has been most naturally discretized by |
496 |
staggering the three components of velocity as shown in |
staggering the three components of velocity as shown in |
497 |
Fig.~\ref{fig-cgrid3d}. The grid lengths $\Delta x_c$ and $\Delta y_c$ |
Fig.~\ref{fig:cgrid3d}. The grid lengths $\Delta x_c$ and $\Delta y_c$ |
498 |
are the lengths between tracer points (cell centers). The grid lengths |
are the lengths between tracer points (cell centers). The grid lengths |
499 |
$\Delta x_g$, $\Delta y_g$ are the grid lengths between cell |
$\Delta x_g$, $\Delta y_g$ are the grid lengths between cell |
500 |
corners. $\Delta r_f$ and $\Delta r_c$ are the distance (in units of |
corners. $\Delta r_f$ and $\Delta r_c$ are the distance (in units of |
507 |
\marginpar{$h_s$: {\bf hFacS}} |
\marginpar{$h_s$: {\bf hFacS}} |
508 |
|
|
509 |
The last equation, the discrete continuity equation, can be summed in |
The last equation, the discrete continuity equation, can be summed in |
510 |
the vertical to yeild the free-surface equation: |
the vertical to yield the free-surface equation: |
511 |
\begin{equation} |
\begin{equation} |
512 |
{\cal A}_c \partial_t \eta + \delta_i \sum_k \Delta y_g \Delta r_f h_w u + \delta_j \sum_k \Delta x_g \Delta r_f h_s v = |
{\cal A}_c \partial_t \eta + \delta_i \sum_k \Delta y_g \Delta r_f h_w |
513 |
{\cal A}_c(P-E)_{r=0} |
u + \delta_j \sum_k \Delta x_g \Delta r_f h_s v = {\cal |
514 |
|
A}_c(P-E)_{r=0} \label{eq:discrete-freesurface} |
515 |
\end{equation} |
\end{equation} |
516 |
The source term $P-E$ on the rhs of continuity accounts for the local |
The source term $P-E$ on the rhs of continuity accounts for the local |
517 |
addition of volume due to excess precipitation and run-off over |
addition of volume due to excess precipitation and run-off over |
518 |
evaporation and only enters the top-level of the {\em ocean} model. |
evaporation and only enters the top-level of the {\em ocean} model. |
519 |
|
|
520 |
\section{Hydrostatic balance} |
\section{Hydrostatic balance} |
521 |
|
\begin{rawhtml} |
522 |
|
<!-- CMIREDIR:hydrostatic_balance: --> |
523 |
|
\end{rawhtml} |
524 |
|
|
525 |
The vertical momentum equation has the hydrostatic or |
The vertical momentum equation has the hydrostatic or |
526 |
quasi-hydrostatic balance on the right hand side. This discretization |
quasi-hydrostatic balance on the right hand side. This discretization |
529 |
from the pressure gradient terms when forming the kinetic energy |
from the pressure gradient terms when forming the kinetic energy |
530 |
equation. |
equation. |
531 |
|
|
532 |
In the ocean, using z-ccordinates, the hydrostatic balance terms are |
In the ocean, using z-coordinates, the hydrostatic balance terms are |
533 |
discretized: |
discretized: |
534 |
\begin{equation} |
\begin{equation} |
535 |
\epsilon_{nh} \partial_t w |
\epsilon_{nh} \partial_t w |
536 |
+ g \overline{\rho'}^k + \frac{1}{\Delta z} \delta_k \Phi_h' = \ldots |
+ g \overline{\rho'}^k + \frac{1}{\Delta z} \delta_k \Phi_h' = \ldots |
537 |
|
\label{eq:discrete_hydro_ocean} |
538 |
\end{equation} |
\end{equation} |
539 |
|
|
540 |
In the atmosphere, using p-coordinates, hydrostatic balance is |
In the atmosphere, using p-coordinates, hydrostatic balance is |
541 |
discretized: |
discretized: |
542 |
\begin{equation} |
\begin{equation} |
543 |
\overline{\theta'}^k + \frac{1}{\Delta \Pi} \delta_k \Phi_h' = 0 |
\overline{\theta'}^k + \frac{1}{\Delta \Pi} \delta_k \Phi_h' = 0 |
544 |
|
\label{eq:discrete_hydro_atmos} |
545 |
\end{equation} |
\end{equation} |
546 |
where $\Delta \Pi$ is the difference in Exner function between the |
where $\Delta \Pi$ is the difference in Exner function between the |
547 |
pressure points. The non-hydrostatic equations are not available in |
pressure points. The non-hydrostatic equations are not available in |
549 |
|
|
550 |
The difference in approach between ocean and atmosphere occurs because |
The difference in approach between ocean and atmosphere occurs because |
551 |
of the direct use of the ideal gas equation in forming the potential |
of the direct use of the ideal gas equation in forming the potential |
552 |
energy conversion term $\alpha \omega$. The form of these consversion |
energy conversion term $\alpha \omega$. The form of these conversion |
553 |
terms is discussed at length in \cite{Adcroft01}. |
terms is discussed at length in \cite{adcroft:02}. |
554 |
|
|
555 |
Because of the different representation of hydrostatic balance between |
Because of the different representation of hydrostatic balance between |
556 |
ocean and atmosphere there is no elegant way to represent both systems |
ocean and atmosphere there is no elegant way to represent both systems |