\documentclass[a4paper,10pt]{article} %\usepackage{graphicx} \usepackage{natbib} % si appel à bibtex %\usepackage[francais]{babel} %\usepackage[latin1]{inputenc} % accents directs (é...), avec babel %\usepackage{rotating} \setlength{\hoffset}{-1.in} \setlength{\oddsidemargin}{3.cm} \setlength{\textwidth}{15.cm} \setlength{\marginparsep}{0.mm} \setlength{\marginparwidth}{0.mm} \setlength{\voffset}{-1.in} \setlength{\topmargin}{0.mm} \setlength{\headheight}{0.mm} \setlength{\headsep}{30.mm} \setlength{\textheight}{24.cm} \setlength{\footskip}{1.cm} \setlength{\parindent}{0.mm} \setlength{\parskip}{1 em} \newcommand{\ten}[1]{$\times 10^{#1}$~} \renewcommand{\baselinestretch}{1.} \begin{document} \pagestyle{plain} \begin{center} {\bf \LARGE Documentation for LMDZ, Planets version \vspace{1cm} \Large The upper boundary sponge layer } \vspace{1cm} S\'ebastien Lebonnois \vspace{1cm} Latest version: \today \end{center} %\section{Theoretical aspects} \section{Pratical aspects in the code} The sponge layer is applied at the upper boundary when the \textsf{ok\_strato} flag is set to {\em True} in \textsf{gcm.def} (this parameter also controls the application of a second step in the horizontal dissipation). The tendencies for the upper boundary sponge layer are computed separately in the \textsf{top\_bound.F} routine, called from \textsf{leapfrog.F}. These tendencies are \textsf{dutop}, \textsf{dvtop} and \textsf{dhtop}, in unit/s. Three parameters may be adjusted in the \textsf{gcm.def} file: \begin{itemize} \item \textsf{iflag\_top\_bound}: selects the affected layers. \begin{itemize} \item 1: only the top 4 layers are affected. In this case, the damping rate is divided by 2 in the second layer, 4 in the third and 8 in the fourth. \item 2: layers with pressure lower than 100 times the top pressure. In this case, the damping rate depends linearly on the pressure. \end{itemize} \item \textsf{mode\_top\_bound}: selects how the fields are affected. \begin{itemize} \item 0: No sponge layer is applied. \item 1: Zonal and meridional winds are damped to zero. \item 2: Zonal and meridional winds are damped to their zonally averaged value. \item 3: Temperature, zonal and meridional winds are damped to their zonally averaged value. \end{itemize} \item \textsf{tau\_top\_bound}: damping rate (in /s) in the top layer. \end{itemize} %\begin{thebibliography}{2} %\providecommand{\natexlab}[1]{#1} %\expandafter\ifx\csname urlstyle\endcsname\relax % \providecommand{\doi}[1]{doi:\discretionary{}{}{}#1}\else % \providecommand{\doi}{doi:\discretionary{}{}{}\begingroup % \urlstyle{rm}\Url}\fi %\end{thebibliography} \end{document}