New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Chap_Model_Basics_zstar.tex in trunk/DOC/TexFiles/Chapters – NEMO

source: trunk/DOC/TexFiles/Chapters/Chap_Model_Basics_zstar.tex @ 3294

Last change on this file since 3294 was 3294, checked in by rblod, 12 years ago

Merge of 3.4beta into the trunk

File size: 15.8 KB
Line 
1% ================================================================
2% Chapter 1 Ñ Model Basics
3% ================================================================
4% ================================================================
5% Curvilinear z*- s*-coordinate System
6% ================================================================
7\chapter{ essai z* s*}
8\section{Curvilinear \textit{z*}- or \textit{s*} coordinate System}
9
10% -------------------------------------------------------------------------------------------------------------
11% ????
12% -------------------------------------------------------------------------------------------------------------
13
14\colorbox{yellow}{ to be updated }
15
16In that case, the free surface equation is nonlinear, and the variations of
17volume are fully taken into account. These coordinates systems is presented in
18a report \citep{Levier2007} available on the \NEMO web site.
19
20\colorbox{yellow}{  end of to be updated}
21\newline
22
23% from MOM4p1 documentation
24
25To overcome problems with vanishing surface and/or bottom cells, we consider the
26zstar coordinate
27\begin{equation} \label{PE_}
28   z^\star = H \left( \frac{z-\eta}{H+\eta} \right)
29\end{equation}
30
31This coordinate is closely related to the "eta" coordinate used in many atmospheric
32models (see Black (1994) for a review of eta coordinate atmospheric models). It
33was originally used in ocean models by Stacey et al. (1995) for studies of tides
34next to shelves, and it has been recently promoted by Adcroft and Campin (2004)
35for global climate modelling.
36
37The surfaces of constant $z^\star$ are quasi-horizontal. Indeed, the $z^\star$ coordinate reduces to $z$ when $\eta$ is zero. In general, when noting the large differences between
38undulations of the bottom topography versus undulations in the surface height, it
39is clear that surfaces constant $z^\star$ are very similar to the depth surfaces. These properties greatly reduce difficulties of computing the horizontal pressure gradient relative to terrain following sigma models discussed in \S\ref{PE_sco}.
40Additionally, since $z^\star$ when $\eta = 0$, no flow is spontaneously generated in an
41unforced ocean starting from rest, regardless the bottom topography. This behaviour is in contrast to the case with "s"-models, where pressure gradient errors in
42the presence of nontrivial topographic variations can generate nontrivial spontaneous flow from a resting state, depending on the sophistication of the pressure
43gradient solver. The quasi-horizontal nature of the coordinate surfaces also facilitates the implementation of neutral physics parameterizations in $z^\star$ models using
44the same techniques as in $z$-models (see Chapters 13-16 of Griffies (2004) for a
45discussion of neutral physics in $z$-models, as well as Section \S\ref{LDF_slp} 
46in this document for treatment in \NEMO).
47
48The range over which $z^\star$ varies is time independent $-H \leq z^\star \leq 0$. Hence, all
49cells remain nonvanishing, so long as the surface height maintains $\eta > ?H$. This
50is a minor constraint relative to that encountered on the surface height when using
51$s = z$ or $s = z - \eta$.
52
53Because $z^\star$ has a time independent range, all grid cells have static increments
54ds, and the sum of the ver tical increments yields the time independent ocean
55depth %·k ds = H.
56The $z^\star$ coordinate is therefore invisible to undulations of the
57free surface, since it moves along with the free surface. This proper ty means that
58no spurious ver tical transpor t is induced across surfaces of constant $z^\star$ by the
59motion of external gravity waves. Such spurious transpor t can be a problem in
60z-models, especially those with tidal forcing. Quite generally, the time independent
61range for the $z^\star$ coordinate is a very convenient proper ty that allows for a nearly
62arbitrary ver tical resolution even in the presence of large amplitude fluctuations of
63the surface height, again so long as $\eta > -H$.
64
65
66
67%%%
68%  essai update time splitting...
69%%%
70
71
72% ================================================================
73% Surface Pressure Gradient and Sea Surface Height
74% ================================================================
75\section{Surface pressure gradient and Sea Surface Heigth (\mdl{dynspg})}
76\label{DYN_hpg_spg}
77%-----------------------------------------nam_dynspg----------------------------------------------------
78\namdisplay{nam_dynspg} 
79%------------------------------------------------------------------------------------------------------------
80The surface pressure gradient term is related to the representation of the free surface (\S\ref{PE_hor_pg}). The main distinction is between the fixed volume case (linear free surface or rigid lid) and the variable volume case (nonlinear free surface, \key{vvl} is active). In the linear free surface case (\S\ref{PE_free_surface}) and rigid lid (\S\ref{PE_rigid_lid}), the vertical scale factors $e_{3}$ are fixed in time, while in the nonlinear case (\S\ref{PE_free_surface}) they are time-dependent. With both linear and nonlinear free surface, external gravity waves are allowed in the equations, which imposes a very small time step when an explicit time stepping is used. Two methods are proposed to allow a longer time step for the three-dimensional equations: the filtered free surface, which is a modification of the continuous equations (see \eqref{Eq_PE_flt}), and the split-explicit free surface described below. The extra term introduced in the filtered method is calculated implicitly, so that the update of the next velocities is done in module \mdl{dynspg\_flt} and not in \mdl{dynnxt}.
81
82%-------------------------------------------------------------
83% Explicit
84%-------------------------------------------------------------
85\subsubsection{Explicit (\key{dynspg\_exp})}
86\label{DYN_spg_exp}
87
88In the explicit free surface formulation, the model time step is chosen small enough to describe the external gravity waves (typically a few ten seconds). The sea surface height is given by :
89\begin{equation} \label{Eq_dynspg_ssh}
90\frac{\partial \eta }{\partial t}\equiv \frac{\text{EMP}}{\rho _w }+\frac{1}{e_{1T} 
91e_{2T} }\sum\limits_k {\left( {\delta _i \left[ {e_{2u} e_{3u} u} 
92\right]+\delta _j \left[ {e_{1v} e_{3v} v} \right]} \right)} 
93\end{equation}
94
95where EMP is the surface freshwater budget (evaporation minus precipitation, and minus river runoffs (if the later are introduced as a surface freshwater flux, see \S\ref{SBC}) expressed in $Kg.m^{-2}.s^{-1}$, and $\rho _w =1,000\,Kg.m^{-3}$ is the volumic mass of pure water. The sea-surface height is evaluated using a leapfrog scheme in combination with an Asselin time filter, i.e. the velocity appearing in (\ref{Eq_dynspg_ssh}) is centred in time (\textit{now} velocity).
96
97The surface pressure gradient, also evaluated using a leap-frog scheme, is then simply given by :
98\begin{equation} \label{Eq_dynspg_exp}
99\left\{ \begin{aligned}
100 - \frac{1}                      {e_{1u}} \; \delta _{i+1/2} \left[  \,\eta\,  \right]    \\
101 \\
102 - \frac{1}                      {e_{2v}} \; \delta _{j+1/2} \left[  \,\eta\,  \right] 
103\end{aligned} \right.
104\end{equation} 
105
106Consistent with the linearization, a $\left. \rho \right|_{k=1} / \rho _o$ factor is omitted in (\ref{Eq_dynspg_exp}).
107
108%-------------------------------------------------------------
109% Split-explicit time-stepping
110%-------------------------------------------------------------
111\subsubsection{Split-explicit time-stepping (\key{dynspg\_ts})}
112\label{DYN_spg_ts}
113%--------------------------------------------namdom----------------------------------------------------
114\namdisplay{namdom} 
115%--------------------------------------------------------------------------------------------------------------
116The split-explicit free surface formulation used in OPA follows the one proposed by \citet{Griffies2004}. The general idea is to solve the free surface equation with a small time step, while the three dimensional prognostic variables are solved with a longer time step that is a multiple of \np{rdtbt} (Figure III.3).
117
118%>   >   >   >   >   >   >   >   >   >   >   >   >   >   >   >   >   >   >   >   >   >   >   >   >   >   >   >
119\begin{figure}[!t]   \begin{center}
120\includegraphics[width=0.90\textwidth]{./Figures/Fig_DYN_dynspg_ts.pdf}
121\caption{    \label{Fig_DYN_dynspg_ts}
122Schematic of the split-explicit time stepping scheme for the barotropic and baroclinic modes,
123after \citet{Griffies2004}. Time increases to the right. Baroclinic time steps are denoted by
124$t-\Delta t$, $t, t+\Delta t$, and $t+2\Delta t$. The curved line represents a leap-frog time step,
125and the smaller barotropic time steps $N \Delta t=2\Delta t$ are denoted by the zig-zag line.
126The vertically integrated forcing \textbf{M}(t) computed at baroclinic time step t represents
127the interaction between the barotropic and baroclinic motions. While keeping the total depth,
128tracer, and freshwater forcing fields fixed, a leap-frog integration carries the surface height
129and vertically integrated velocity from t to $t+2 \Delta t$ using N barotropic time steps of length
130$\Delta t$. Time averaging the barotropic fields over the N+1 time steps (endpoints included)
131centers the vertically integrated velocity at the baroclinic timestep $t+\Delta t$.
132A baroclinic leap-frog time step carries the surface height to $t+\Delta t$ using the convergence
133of the time averaged vertically integrated velocity taken from baroclinic time step t. }
134\end{center}
135\end{figure}
136%>   >   >   >   >   >   >   >   >   >   >   >   >   >   >   >   >   >   >   >   >   >   >   >   >   >   >   >
137
138The split-explicit formulation has a damping effect on external gravity waves, which is weaker than the filtered free surface but still significant as shown by \citet{Levier2007} in the case of an analytical barotropic Kelvin wave.
139
140%from griffies book: .....   copy past !
141
142\textbf{title: Time stepping the barotropic system }
143
144Assume knowledge of the full velocity and tracer fields at baroclinic time $\tau$. Hence,
145we can update the surface height and vertically integrated velocity with a leap-frog
146scheme using the small barotropic time step $\Delta t$. We have
147
148\begin{equation} \label{DYN_spg_ts_eta}
149\eta^{(b)}(\tau,t_{n+1}) - \eta^{(b)}(\tau,t_{n+1}) (\tau,t_{n-1})
150   = 2 \Delta t \left[-\nabla \cdot \textbf{U}^{(b)}(\tau,t_n) + \text{EMP}_w(\tau) \right] 
151\end{equation}
152\begin{multline} \label{DYN_spg_ts_u}
153\textbf{U}^{(b)}(\tau,t_{n+1}) - \textbf{U}^{(b)}(\tau,t_{n-1}\\
154   = 2\Delta t \left[ - f \textbf{k} \times \textbf{U}^{(b)}(\tau,t_{n})
155   - H(\tau) \nabla p_s^{(b)}(\tau,t_{n}) +\textbf{M}(\tau) \right]
156\end{multline}
157\
158
159In these equations, araised (b) denotes values of surface height and vertically integrated velocity updated with the barotropic time steps. The $\tau$ time label on $\eta^{(b)}$ 
160and $U^{(b)}$ denotes the baroclinic time at which the vertically integrated forcing $\textbf{M}(\tau)$ (note that this forcing includes the surface freshwater forcing), the tracer fields, the freshwater flux $\text{EMP}_w(\tau)$, and total depth of the ocean $H(\tau)$ are held for the duration of the barotropic time stepping over a single cycle. This is also the time
161that sets the barotropic time steps via
162\begin{equation} \label{DYN_spg_ts_t}
163t_n=\tau+n\Delta t   
164\end{equation}
165with $n$ an integer. The density scaled surface pressure is evaluated via
166\begin{equation} \label{DYN_spg_ts_ps}
167p_s^{(b)}(\tau,t_{n}) = \begin{cases}
168   g \;\eta_s^{(b)}(\tau,t_{n}) \;\rho(\tau)_{k=1}) / \rho_&      \text{non-linear case} \\
169   g \;\eta_s^{(b)}(\tau,t_{n}&      \text{linear case} 
170   \end{cases}
171\end{equation}
172To get started, we assume the following initial conditions
173\begin{equation} \label{DYN_spg_ts_eta}
174\begin{split}
175\eta^{(b)}(\tau,t_{n=0}) &= \overline{\eta^{(b)}(\tau)}
176\\
177\eta^{(b)}(\tau,t_{n=1}) &= \eta^{(b)}(\tau,t_{n=0}) + \Delta t \ \text{RHS}_{n=0} 
178\end{split}
179\end{equation}
180with
181\begin{equation} \label{DYN_spg_ts_etaF}
182 \overline{\eta^{(b)}(\tau)} = \frac{1}{N+1} \sum\limits_{n=0}^N \eta^{(b)}(\tau-\Delta t,t_{n})
183\end{equation}
184the time averaged surface height taken from the previous barotropic cycle. Likewise,
185\begin{equation} \label{DYN_spg_ts_u}
186\textbf{U}^{(b)}(\tau,t_{n=0}) = \overline{\textbf{U}^{(b)}(\tau)}   \\
187\\
188\textbf{U}(\tau,t_{n=1}) = \textbf{U}^{(b)}(\tau,t_{n=0}) + \Delta t \ \text{RHS}_{n=0}   
189\end{equation}
190with
191\begin{equation} \label{DYN_spg_ts_u}
192 \overline{\textbf{U}^{(b)}(\tau)} 
193   = \frac{1}{N+1} \sum\limits_{n=0}^N\textbf{U}^{(b)}(\tau-\Delta t,t_{n})
194\end{equation}
195the time averaged vertically integrated transport. Notably, there is no Robert-Asselin time filter used in the barotropic portion of the integration.
196
197Upon reaching $t_{n=N} = \tau + 2\Delta \tau$ , the vertically integrated velocity is time averaged to produce the updated vertically integrated velocity at baroclinic time $\tau + \Delta \tau$ 
198\begin{equation} \label{DYN_spg_ts_u}
199\textbf{U}(\tau+\Delta t) = \overline{\textbf{U}^{(b)}(\tau+\Delta t)} 
200   = \frac{1}{N+1} \sum\limits_{n=0}^N\textbf{U}^{(b)}(\tau,t_{n})
201\end{equation}
202The surface height on the new baroclinic time step is then determined via a baroclinic leap-frog using the following form
203
204\begin{equation} \label{DYN_spg_ts_ssh}
205\eta(\tau+\Delta) - \eta^{F}(\tau-\Delta) = 2\Delta t \ \left[ - \nabla \cdot \textbf{U}(\tau) + \text{EMP}_w \right] 
206\end{equation}
207
208 The use of this "big-leap-frog" scheme for the surface height ensures compatibility between the mass/volume budgets and the tracer budgets. More discussion of this point is provided in Chapter 10 (see in particular Section 10.2).
209 
210In general, some form of time filter is needed to maintain integrity of the surface
211height field due to the leap-frog splitting mode in equation \ref{DYN_spg_ts_ssh}. We
212have tried various forms of such filtering, with the following method discussed in
213Griffies et al. (2001) chosen due to its stability and reasonably good maintenance of
214tracer conservation properties (see Section ??)
215
216\begin{equation} \label{DYN_spg_ts_sshf}
217\eta^{F}(\tau-\Delta) =  \overline{\eta^{(b)}(\tau)} 
218\end{equation}
219Another approach tried was
220
221\begin{equation} \label{DYN_spg_ts_sshf2}
222\eta^{F}(\tau-\Delta) = \eta(\tau)
223   + (\alpha/2) \left[\overline{\eta^{(b)}}(\tau+\Delta t)
224                + \overline{\eta^{(b)}}(\tau-\Delta t) -2 \;\eta(\tau) \right]
225\end{equation}
226
227which is useful since it isolates all the time filtering aspects into the term multiplied
228by $\alpha$. This isolation allows for an easy check that tracer conservation is exact when
229eliminating tracer and surface height time filtering (see Section ?? for more complete discussion). However, in the general case with a non-zero $\alpha$, the filter \ref{DYN_spg_ts_sshf} was found to be more conservative, and so is recommended.
230
231
232
233
234
235%-------------------------------------------------------------
236% Filtered formulation
237%-------------------------------------------------------------
238\subsubsection{Filtered formulation (\key{dynspg\_flt})}
239\label{DYN_spg_flt}
240
241The filtered formulation follows the \citet{Roullet2000} implementation. The extra term introduced in the equations (see {\S}I.2.2) is solved implicitly. The elliptic solvers available in the code are
242documented in \S\ref{MISC}. The amplitude of the extra term is given by the namelist variable \np{rnu}. The default value is 1, as recommended by \citet{Roullet2000}
243
244\colorbox{red}{\np{rnu}=1 to be suppressed from namelist !}
245
246%-------------------------------------------------------------
247% Non-linear free surface formulation
248%-------------------------------------------------------------
249\subsection{Non-linear free surface formulation (\key{vvl})}
250\label{DYN_spg_vvl}
251
252In the non-linear free surface formulation, the variations of volume are fully taken into account. This option is presented in a report \citep{Levier2007} available on the NEMO web site. The three time-stepping methods (explicit, split-explicit and filtered) are the same as in \S\ref{DYN_spg_linear} except that the ocean depth is now time-dependent. In particular, this means that in filtered case, the matrix to be inverted has to be recomputed at each time-step.
253
254
Note: See TracBrowser for help on using the repository browser.