2 |
% $Name$ |
% $Name$ |
3 |
|
|
4 |
\section{Nonlinear Viscosities for Large Eddy Simulation} |
\section{Nonlinear Viscosities for Large Eddy Simulation} |
5 |
\label{sect:nonlin-visc} |
\label{sec:nonlin-visc} |
6 |
|
|
7 |
In Large Eddy Simulations (LES), a turbulent closure needs to be |
In Large Eddy Simulations (LES), a turbulent closure needs to be |
8 |
provided that accounts for the effects of subgridscale motions on the |
provided that accounts for the effects of subgridscale motions on the |
80 |
as the advective ones. Bryan \textit{et al} \cite{Bryanetal75} notes |
as the advective ones. Bryan \textit{et al} \cite{Bryanetal75} notes |
81 |
that a computational mode is squelched by using $\BFKRe_h<$2. |
that a computational mode is squelched by using $\BFKRe_h<$2. |
82 |
|
|
83 |
The MITgcm user can select an horizontal eddy viscosity based on |
MITgcm users can select horizontal eddy viscosities based on |
84 |
$\BFKRe_h$ by two methods. 1) The user may estimate the velocity |
$\BFKRe_h$ using two methods. 1) The user may estimate the velocity |
85 |
scale expected from the calculation and grid spacing and set the {\sf |
scale expected from the calculation and grid spacing and set the {\sf |
86 |
viscAh} to satisfy $\BFKRe_h<2$. 2) The user may use {\sf |
viscAh} to satisfy $\BFKRe_h<2$. 2) The user may use {\sf |
87 |
viscAhReMax}, which ensures that the viscosity is always chosen so |
viscAhReMax}, which ensures that the viscosity is always chosen so |
137 |
Large Eddy Simulation or LES). |
Large Eddy Simulation or LES). |
138 |
|
|
139 |
There are two methods of ensuring that the Kolmogorov length is |
There are two methods of ensuring that the Kolmogorov length is |
140 |
resolved in the MITgcm. 1) The user can estimate the flux of energy |
resolved in MITgcm. 1) The user can estimate the flux of energy |
141 |
through spectral space for a given simulation and adjust grid spacing |
through spectral space for a given simulation and adjust grid spacing |
142 |
or {\sf viscAh} to ensure that $L_\epsilon(A_h)>L$. 2) The user may |
or {\sf viscAh} to ensure that $L_\epsilon(A_h)>L$. 2) The user may |
143 |
use the approach of Smagorinsky with {\sf viscC2Smag}, which estimates |
use the approach of Smagorinsky with {\sf viscC2Smag}, which estimates |
172 |
|\BFKav D|=\sqrt{\left(\BFKpd{x}{\BFKav \BFKtu}-\BFKpd{y}{\BFKav \BFKtv}\right)^2 |
|\BFKav D|=\sqrt{\left(\BFKpd{x}{\BFKav \BFKtu}-\BFKpd{y}{\BFKav \BFKtv}\right)^2 |
173 |
+\left(\BFKpd{y}{\BFKav \BFKtu}+\BFKpd{x}{\BFKav \BFKtv}\right)^2} |
+\left(\BFKpd{y}{\BFKav \BFKtu}+\BFKpd{x}{\BFKav \BFKtv}\right)^2} |
174 |
\end{equation} |
\end{equation} |
175 |
The coefficient {\sf viscC2Smag} is what the MITgcm user sets, and it |
The coefficient {\sf viscC2Smag} is what an MITgcm user sets, and it |
176 |
replaces the proportionality in the Kolmogorov length with an |
replaces the proportionality in the Kolmogorov length with an |
177 |
equality. Others \cite{grha00} suggest values of {\sf viscC2Smag} |
equality. Others \cite{griffies:00} suggest values of {\sf viscC2Smag} |
178 |
from 2.2 to 4 for oceanic problems. Smagorinsky \cite{Smagorinsky93} |
from 2.2 to 4 for oceanic problems. Smagorinsky \cite{Smagorinsky93} |
179 |
shows that values from 0.2 to 0.9 have been used in atmospheric |
shows that values from 0.2 to 0.9 have been used in atmospheric |
180 |
modeling. |
modeling. |
186 |
\sqrt{\left(\BFKpd{z}{\BFKav \BFKtu}\right)^2 |
\sqrt{\left(\BFKpd{z}{\BFKav \BFKtu}\right)^2 |
187 |
+\left(\BFKpd{z}{\BFKav \BFKtv}\right)^2} |
+\left(\BFKpd{z}{\BFKav \BFKtv}\right)^2} |
188 |
\end{equation} |
\end{equation} |
189 |
This vertical viscosity is currently not implemented in the MITgcm |
This vertical viscosity is currently not implemented in MITgcm |
190 |
(although it may be soon). |
(although it may be soon). |
191 |
|
|
192 |
\subsubsection{Leith Viscosity} |
\subsubsection{Leith Viscosity} |
230 |
vorticity. This causes a difficulty with the Leith viscosity, which |
vorticity. This causes a difficulty with the Leith viscosity, which |
231 |
can only responds to buildup of vorticity at the grid scale. |
can only responds to buildup of vorticity at the grid scale. |
232 |
|
|
233 |
The MITgcm offers two options for dealing with this problem. 1) The |
MITgcm offers two options for dealing with this problem. 1) The |
234 |
Smagorinsky viscosity can be used instead of Leith, or in conjunction |
Smagorinsky viscosity can be used instead of Leith, or in conjunction |
235 |
with Leith--a purely divergent flow does cause an increase in |
with Leith--a purely divergent flow does cause an increase in |
236 |
Smagorinsky viscosity. 2) The {\sf viscC2LeithD} parameter can be |
Smagorinsky viscosity. 2) The {\sf viscC2LeithD} parameter can be |
272 |
A_4 & \le & \frac{L^4}{32\Delta t} |
A_4 & \le & \frac{L^4}{32\Delta t} |
273 |
\end{eqnarray} |
\end{eqnarray} |
274 |
The viscosities may be automatically limited to be no greater than |
The viscosities may be automatically limited to be no greater than |
275 |
these values in the MITgcm by specifying {\sf viscAhGridMax}$<1$ and |
these values in MITgcm by specifying {\sf viscAhGridMax}$<1$ and |
276 |
{\sf viscA4GridMax}$<1$. Similarly-scaled minimum values of |
{\sf viscA4GridMax}$<1$. Similarly-scaled minimum values of |
277 |
viscosities are provided by {\sf viscAhGridMin} and {\sf |
viscosities are provided by {\sf viscAhGridMin} and {\sf |
278 |
viscA4GridMin}, which if used, should be set to values $\ll 1$. $L$ |
viscA4GridMin}, which if used, should be set to values $\ll 1$. $L$ |
279 |
is roughly the gridscale (see below). |
is roughly the gridscale (see below). |
280 |
|
|
281 |
Following \cite{grha00}, we note that there is a factor of $\Delta |
Following \cite{griffies:00}, we note that there is a factor of $\Delta |
282 |
x^2/8$ difference between the harmonic and biharmonic viscosities. |
x^2/8$ difference between the harmonic and biharmonic viscosities. |
283 |
Thus, whenever a non-dimensional harmonic coefficient is used in the |
Thus, whenever a non-dimensional harmonic coefficient is used in the |
284 |
MITgcm (\textit{eg.} {\sf viscAhGridMax}$<1$), the biharmonic equivalent is |
MITgcm (\textit{eg.} {\sf viscAhGridMax}$<1$), the biharmonic equivalent is |
305 |
\frac{-\nabla^4_h \BFKav b}{\Pr\BFKRe_4} |
\frac{-\nabla^4_h \BFKav b}{\Pr\BFKRe_4} |
306 |
+\frac{\BFKpds{z} {\BFKav b}}{\Pr\BFKRe_v}\nonumber |
+\frac{\BFKpds{z} {\BFKav b}}{\Pr\BFKRe_v}\nonumber |
307 |
\end{eqnarray} |
\end{eqnarray} |
308 |
\cite{grha00} propose that if one scales the biharmonic viscosity by |
\cite{griffies:00} propose that if one scales the biharmonic viscosity by |
309 |
stability considerations, then the biharmonic viscous terms will be |
stability considerations, then the biharmonic viscous terms will be |
310 |
similarly active to harmonic viscous terms at the gridscale of the |
similarly active to harmonic viscous terms at the gridscale of the |
311 |
model, but much less active on larger scale motions. Similarly, a |
model, but much less active on larger scale motions. Similarly, a |
324 |
that one zeros the first non-vanishing term in the Taylor series, |
that one zeros the first non-vanishing term in the Taylor series, |
325 |
which is unsupported by any fluid theory or observation. |
which is unsupported by any fluid theory or observation. |
326 |
|
|
327 |
Nonetheless, the MITgcm supports a plethora of biharmonic viscosities |
Nonetheless, MITgcm supports a plethora of biharmonic viscosities |
328 |
and diffusivities, which are controlled with parameters named |
and diffusivities, which are controlled with parameters named |
329 |
similarly to the harmonic viscosities and diffusivities with the |
similarly to the harmonic viscosities and diffusivities with the |
330 |
substitution $h\rightarrow 4$. The MITgcm also supports a biharmonic |
substitution $h\rightarrow 4$. MITgcm also supports a biharmonic |
331 |
Leith and Smagorinsky viscosities: |
Leith and Smagorinsky viscosities: |
332 |
\begin{eqnarray} |
\begin{eqnarray} |
333 |
A_{4Smag} & = & |
A_{4Smag} & = & |
353 |
+\left(\frac{{\sf viscC4LeithD}}{\pi}\right)^{12} |
+\left(\frac{{\sf viscC4LeithD}}{\pi}\right)^{12} |
354 |
|\nabla^2 \nabla\cdot \BFKav {\bf \BFKtu}_h|^2} |
|\nabla^2 \nabla\cdot \BFKav {\bf \BFKtu}_h|^2} |
355 |
\end{eqnarray} |
\end{eqnarray} |
356 |
Thus, the biharmonic scaling suggested by \cite{grha00} implies: |
Thus, the biharmonic scaling suggested by \cite{griffies:00} implies: |
357 |
\begin{eqnarray} |
\begin{eqnarray} |
358 |
|D| & \propto & L|\nabla^2\BFKav {\bf \BFKtu}_h|\\ |
|D| & \propto & L|\nabla^2\BFKav {\bf \BFKtu}_h|\\ |
359 |
|\nabla \BFKav \omega_3| & \propto & L|\nabla^2 \BFKav \omega_3| |
|\nabla \BFKav \omega_3| & \propto & L|\nabla^2 \BFKav \omega_3| |
360 |
\end{eqnarray} |
\end{eqnarray} |
361 |
It is not at all clear that these assumptions ought to hold. Only the |
It is not at all clear that these assumptions ought to hold. Only the |
362 |
\cite{grha00} forms are currently implemented in the MITgcm. |
\cite{griffies:00} forms are currently implemented in MITgcm. |
363 |
|
|
364 |
\subsubsection{Selection of Length Scale} |
\subsubsection{Selection of Length Scale} |
365 |
Above, the length scale of the grid has been denoted $L$. However, in |
Above, the length scale of the grid has been denoted $L$. However, in |
368 |
minimum of $L_x$ and $L_y$ be used. On the other hand, other |
minimum of $L_x$ and $L_y$ be used. On the other hand, other |
369 |
viscosities which involve whether a particular wavelength is |
viscosities which involve whether a particular wavelength is |
370 |
'resolved' might be better suited to use the maximum of $L_x$ and |
'resolved' might be better suited to use the maximum of $L_x$ and |
371 |
$L_y$. Currently the MITgcm uses {\sf useAreaViscLength} to select |
$L_y$. Currently, MITgcm uses {\sf useAreaViscLength} to select |
372 |
between two options. If false, the geometric mean of $L^2_x$ and |
between two options. If false, the geometric mean of $L^2_x$ and |
373 |
$L^2_y$ is used for all viscosities, which is closer to the minimum |
$L^2_y$ is used for all viscosities, which is closer to the minimum |
374 |
and occurs naturally in the CFL constraint. If {\sf |
and occurs naturally in the CFL constraint. If {\sf |