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 NEMO/branches/2020/dev_14237_KERNEL-01_IMMERSE_SEAMOUNT/doc/latex/NEMO/subfiles – NEMO

source: NEMO/branches/2020/dev_14237_KERNEL-01_IMMERSE_SEAMOUNT/doc/latex/NEMO/subfiles/chap_model_basics_zstar.tex @ 14328

Last change on this file since 14328 was 14328, checked in by ayoung, 3 years ago

Pulling changes from trunk from r14237 through to r14327 (current)

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