Changeset 1531


Ignore:
Timestamp:
Jan 26, 2015 1:58:29 PM (9 years ago)
Author:
keck
Message:

several updates in the tutorial

Location:
palm/trunk/TUTORIAL/SOURCE
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/TUTORIAL/SOURCE/basic_equations.tex

    r1413 r1531  
    11% $Id$
    22\input{header_tmp.tex}
    3 %\input{../header_lectures.tex}
     3%\input{../header_LECTURE.tex}
    44
    55\usepackage[utf8]{inputenc}
    66\usepackage{ngerman}
    77\usepackage{pgf}
    8 \usetheme{Dresden}
    98\usepackage{subfigure}
    109\usepackage{units}
     
    1413\usepackage{xmpmulti}
    1514\usepackage{tikz}
    16 \usetikzlibrary{shapes,arrows,positioning}
     15\usetikzlibrary{shapes,arrows,positioning,decorations.pathreplacing}
    1716\def\Tiny{\fontsize{4pt}{4pt}\selectfont}
     17
     18%---------- neue Pakete
    1819\usepackage{amsmath}
    1920\usepackage{amssymb}
    2021\usepackage{multicol}
    21 
    22 
    23 \institute{Institut fÃŒr Meteorologie und Klimatologie, Leibniz UniversitÀt Hannover}
     22\usepackage{pdfcomment}
     23\usepackage{xcolor}
     24
     25\institute{Institute of Meteorology and Climatology, Leibniz UniversitÀt Hannover}
     26\selectlanguage{english}
    2427\date{last update: \today}
    2528\event{PALM Seminar}
    2629\setbeamertemplate{navigation symbols}{}
    27 
     30\setbeamersize{text margin left=.5cm,text margin right=.2cm}
    2831\setbeamertemplate{footline}
    29   {
     32  {%
    3033    \begin{beamercolorbox}[rightskip=-0.1cm]&
    3134     {\includegraphics[height=0.65cm]{imuk_logo.pdf}\hfill \includegraphics[height=0.65cm]{luh_logo.pdf}}
    3235    \end{beamercolorbox}
    33     \begin{beamercolorbox}[ht=2.5ex,dp=1.125ex,
    34       leftskip=.3cm,rightskip=0.3cm plus1fil]{title in head/foot}
    35       {\leavevmode{\usebeamerfont{author in head/foot}\insertshortauthor} \hfill \eventname \hfill \insertframenumber \; / \inserttotalframenumber}
    36     \end{beamercolorbox}
    37     \begin{beamercolorbox}[colsep=1.5pt]{lower separation line foot}
    38     \end{beamercolorbox}
    39   }
    40 %\logo{\includegraphics[width=0.3\textwidth]{luhimuk_logo.pdf}}
     36    \begin{beamercolorbox}[ht=2.5ex,dp=1.125ex,%
     37      leftskip=.3cm,rightskip=0.3cm plus1fil]{title in head/foot}%
     38      {\leavevmode{\usebeamerfont{author in head/foot}\insertshortauthor} \hfill \eventname \hfill \insertframenumber \; / \inserttotalframenumber}%
     39    \end{beamercolorbox}%
     40%    \begin{beamercolorbox}[colsep=1.5pt]{lower separation line foot}%
     41%    \end{beamercolorbox}
     42  }%\logo{\includegraphics[width=0.3\textwidth]{luhimuk_logo.eps}}
    4143
    4244\title[Basic Equations]{Basic Equations}
    43 \author{Siegfried Raasch}
     45\author{PALM group}
    4446
    4547\begin{document}
     
    159161      \end{equation*}
    160162   \end{itemize}
    161    \onslide<6-> \tikzstyle{plain} = [rectangle, draw, text width=0.27\textwidth, font=\small]
     163   \onslide<6-> \tikzstyle{plain} = [rectangle, draw, text width=0.255\textwidth, font=\small]
    162164
    163165   \begin{tikzpicture}[remember picture, overlay]
     
    218220      \end{column}
    219221      \begin{column}{0.32\textwidth}
    220       \vspace{45mm}     
     222      \vspace{45mm}
     223      \hspace{-1.75cm}
    221224      \begin{footnotesize}
    222225         \onslide<3->$R_{ki}$: \textbf{Reynolds-stress} \\
    223          $C_{ki}$: \textbf{cross-stress} \\
    224          $L_{ki}$: \textbf{Leonard-stress} \\
    225          $\tau_{ki}$: \textbf{total stress-tensor}
     226         \hspace*{-1.5cm}$C_{ki}$: \textbf{cross-stress} \\
     227         \hspace*{-1.5cm}$L_{ki}$: \textbf{Leonard-stress} \\
     228         \hspace*{-1.5cm}$\tau_{ki}$: \textbf{total stress-tensor}\\
     229         \hspace*{-1.05cm} \textbf{generalized Reynolds stress}\\
    226230      \end{footnotesize}
    227231      \end{column}
    228232   \end{columns}
    229    \onslide<4->\tikzstyle{plain} = [rectangle, draw, text width=0.27\textwidth, font=\small]
     233   \onslide<4->\tikzstyle{plain} = [rectangle, draw, text width=0.25\textwidth, font=\small]
    230234      \begin{tikzpicture}[remember picture, overlay]
    231235      \node at (current page.north west){
     
    261265      \end{equation*}
    262266   \end{itemize}
    263    \onslide<1->\tikzstyle{plain} = [rectangle, draw, text width=0.27\textwidth, font=\small]
     267   \onslide<1->\tikzstyle{plain} = [rectangle, draw, text width=0.25\textwidth, font=\small]
    264268      \begin{tikzpicture}[remember picture, overlay]
    265269      \node at (current page.north west){
     
    311315
    312316   \begin{picture}(0.0,0.0)
    313       \put(140,13){\uncover<6->{\includegraphics[width=0.6\textwidth]{basic_equations_figures/explicit_implicit.png}}}
     317      \put(140,0){\uncover<6->{\includegraphics[width=0.6\textwidth]{basic_equations_figures/explicit_implicit.png}}}
    314318   \end{picture}
    315319\end{frame}
     
    351355      \onslide<2->
    352356      \begin{flalign*}
    353          &\frac{\partial \overline{u_i}}{\partial t} = - \frac{\partial \overline{u_k}\,\overline{u_i}}{\partial x_k} - \frac{1}{\rho_0} \frac{\partial \overline{\pi}^*}{\partial x_i} - \varepsilon_{ijk}f_j \overline{u_k} + \varepsilon_{i3k} f_3 \overline{u}_{k_\mathrm{g}} + g \frac{\overline{T}-T_0}{T_0} \delta_{i3} + \nu \frac{\partial^2 \overline{u_i}}{\partial x_k^2} - \frac{\partial \tau_{ki}^r}{\partial x_k}&
     357         &\frac{\partial \overline{u_i}}{\partial t} = - \frac{\partial \overline{u_k}\,\overline{u_i}}{\partial x_k} - \frac{1}{\rho_0} \frac{\partial \overline{\pi}^*}{\partial x_i} - \varepsilon_{ijk}f_j \overline{u_k} + \varepsilon_{i3k} f_3 \overline{u}_{k_\mathrm{g}} + g \frac{\overline{\theta}-\theta_0}{\theta_0} \delta_{i3} + \nu \frac{\partial^2 \overline{u_i}}{\partial x_k^2} - \frac{\partial \tau_{ki}^r}{\partial x_k}&
    354358      \end{flalign*}
    355359      \item<4-> First principle (using potential\\ temperature):
  • palm/trunk/TUTORIAL/SOURCE/final_remarks.tex

    r1515 r1531  
    151151      \vspace{5mm}
    152152      \item<3->{Ready for deep convection using anelastic system of equations}
     153      \vspace{5mm}
     154      \item<4->{Nesting methods are under development}
    153155   \end{itemize}
    154156\end{frame}
  • palm/trunk/TUTORIAL/SOURCE/non_cyclic_boundary_conditions.tex

    r1515 r1531  
    385385      \item<2->{So far, these methods have been applied only to a few special cases (cold air outbreaks, urban canopy layer for neutral stratification). Other setups may require modifications.}
    386386      \item<3->{Biggest problems are caused by gravity waves in capping inversions. Simulations with pure neutral stratification cause less problems.}
     387      \item<4->{A synthetic turbulence generator will be available around mid 2015 as an additional option for creating inflow turbulence}
    387388   \end{itemize}
    388389\end{frame}
  • palm/trunk/TUTORIAL/SOURCE/parallelization.tex

    r1515 r1531  
    249249         \ \\
    250250         \ \\
     251         \vspace*{-0.05cm}
    251252         \textcolor{blue}{columns of i}\\
     253         \vspace*{-0.04cm}
    252254         \textcolor{red}{no contiguous data at all}\\
     255         \vspace*{0.17cm}
    253256         \onslide<9-> \textcolor{blue}{columns of k}\\
     257         \vspace*{-0.04cm}
    254258         \textcolor{red}{planes of k,j (all data contiguous)}
    255259      \end{column}
     
    262266      \vspace{2mm}
    263267      \item<12-> OpenMP parallelization as well as mixed usage of OpenMP and
    264                     MPI is also realized.
     268                    MPI is realized.
    265269   \end{itemize}
    266270\end{frame}
     
    570574   \frametitle{Performance Examples (III)}
    571575   \begin{itemize}
    572       \item Simulation with $2160^3$ grid points  ($\sim$ 2 TByte memory)
     576      \item Simulation with $4320^3$ grid points  ($\sim$ 13 TByte memory)
    573577   \end{itemize}
    574578      \begin{columns}[T]
    575579         \begin{column}{0.5\textwidth}
    576             \includegraphics[scale=0.3]{parallelization_figures/perf_4.png} \\
     580            \includegraphics[scale=0.5]{parallelization_figures/perf_4.png} \\
    577581            \scriptsize
    578             \quad Cray-XC30, HLRN-III, Hannover\\
     582            \quad Cray-XC40, HLRN-III, Hannover\\
    579583            \quad (2D-domain decomposition)
    580584         \end{column}
  • palm/trunk/TUTORIAL/SOURCE/program_structure.tex

    r1515 r1531  
    916916   \frametitle{Important Variables and Their Declaration}
    917917   \begin{itemize}
    918       \item<2->{3D-arrays of prognostic variables are named $\Psi$, and $\Psi_p$ for time level $t$, and $t+\Delta t$, respectively, with $\Psi = u$, $v$, $w$, $pt$, $q$, $e$, $sa$}
     918      \item<2->{3D-arrays of prognostic variables are named $\Psi$, and $\Psi_p$ for time level $t$, and $t+\Delta t$, respectively, with $\Psi = u$, $v$, $w$, $pt$, $q$, $e$, $sa$, $u\_p$, $v\_p$, ...}
    919919      \vspace{2.5mm}
    920920      \item<3->{They are by default declared as $\Psi$($z$,$y$,$x$) or $\Psi$($k$,$j$,$i$), e.g.\\
  • palm/trunk/TUTORIAL/SOURCE/user_defined_code.tex

    r1515 r1531  
    616616                       \texttt{!--    No calls for single grid points are allowed at locations before and}\\
    617617                       \texttt{!--    after the timestep, since these calls are not within an i,j-loop}\\
    618                        ~~~~~~~\texttt{SELECT CASE ( location )}\\
     618                       ~~~~~~\texttt{SELECT CASE ( location )}\\
    619619                       \texttt{...}\\
    620620                       ~~~~~~~~~~\texttt{CASE ( 'after\_timestep' )}\\
    621621                       \texttt{!}\\
    622                        \texttt{!-- Enter actions to be done after every timestep here}\\
     622                       \texttt{!-- \hspace{6mm}Enter actions to be done after every timestep here}\\
    623623                       \par\medskip
    624624                       ~~~~~~~~~~\texttt{CASE ( 'u-tendency' )}\\
    625625                       \texttt{!}\\
    626                        \texttt{!-- Enter actions to be done in the u-tendency term here}\\
    627                        ~~~~~~~~~~~~~\texttt{\textcolor{blue}{DO i = nxl, nxr}}\\
    628                        ~~~~~~~~~~~~~~~~\texttt{\textcolor{blue}{DO j = nys, nyn}}\\
    629                        ~~~~~~~~~~~~~~~~~~~\texttt{\textcolor{blue}{DO k = nxb+1, nzt}}\\
    630                        ~~~~~~~~~~~~~~~~~~~~~~~~~\texttt{\textcolor{blue}{tend(k,j,i) = tend(k,j,i) - const * u(k,j,i) ...}}\\
    631                        ~~~~~~~~~~~~~~~~~~~\texttt{\textcolor{blue}{ENDDO}}\\
    632                        ~~~~~~~~~~~~~~~~\texttt{\textcolor{blue}{ENDDO}}\\
    633                        ~~~~~~~~~~~~~\texttt{\textcolor{blue}{ENDDO}}\\
     626                       \texttt{!-- \hspace{6mm}Enter actions to be done in the u-tendency term here}\\
     627                       ~~~~~~~~~~~~~~\texttt{\textcolor{blue}{DO i = nxl, nxr}}\\
     628                       ~~~~~~~~~~~~~~~~~\texttt{\textcolor{blue}{DO j = nys, nyn}}\\
     629                       ~~~~~~~~~~~~~~~~~~~~\texttt{\textcolor{blue}{DO k = nxb+1, nzt}}\\
     630                       ~~~~~~~~~~~~~~~~~~~~~~~~~~\texttt{\textcolor{blue}{tend(k,j,i) = tend(k,j,i) - const * u(k,j,i) ...}}\\
     631                       ~~~~~~~~~~~~~~~~~~~~\texttt{\textcolor{blue}{ENDDO}}\\
     632                       ~~~~~~~~~~~~~~~~~\texttt{\textcolor{blue}{ENDDO}}\\
     633                       ~~~~~~~~~~~~~~\texttt{\textcolor{blue}{ENDDO}}\\
    634634                       \par\bigskip
    635635                       ~~~~~~~~~~\texttt{CASE ( 'v-tendency' )}\\
     
    671671      \node [yellow,shift={(9.2 cm,3.0cm)}]  at (current page.south west){~\texttt{SUBROUTINE user\_actions\_ij( i, j, location )}\\
    672672                                                                          \par\medskip
    673                                                                           ~~~\texttt{USE control\_parameters}\\
    674                                                                           ~~~\texttt{USE pegrid}\\
    675                                                                           ~~~\texttt{USE user}\\
     673                                                                          ~~~~~~\texttt{USE control\_parameters}\\
     674                                                                          ~~~~~~\texttt{USE pegrid}\\
     675                                                                          ~~~~~~\texttt{USE user}\\
    676676                                                                          \par\medskip
    677                                                                           ~~~\texttt{IMPLICIT NONE}\
     677                                                                          ~~~~~~\texttt{IMPLICIT NONE}\
    678678                                                                          \par\medskip
    679                                                                           ~~~\texttt{CHARACTER (LEN=*) ::  location}\\
     679                                                                          ~~~~~~\texttt{CHARACTER (LEN=*) ::  location}\\
    680680                                                                          \par\medskip
    681                                                                           ~~~\texttt{INTEGER(iwp) ::  i, idum, j}\\
     681                                                                          ~~~~~~\texttt{INTEGER(iwp) ::  i, idum, j}\\
    682682                                                                          \par\medskip
    683683                                                                          \texttt{!}\\
    684684                                                                          \texttt{!--    Here the user-defined actions follow}\\
    685685                                                                          \vspace{0.5mm}
    686                                                                           ~~~\texttt{SELECT CASE ( location )}\\
     686                                                                          ~~~~~~\texttt{SELECT CASE ( location )}\\
    687687                                                                          \par\medskip
    688                                                                           ~~~~~~\texttt{CASE ( 'u-tendency' )}\\
     688                                                                          ~~~~~~~~~\texttt{CASE ( 'u-tendency' )}\\
    689689                                                                          \texttt{!}\\
    690                                                                           \texttt{!--Enter actions to be done in the u-tendency term here}\\
    691                                                                           ~~~~~~~~~\texttt{\textcolor{blue}{DO k = nzb+1, nzt-1}}\\
    692                                                                           ~~~~~~~~~~~~~~~\texttt{\textcolor{blue}{tend(k,j,i) = tend(k,j,i) + ...}}\\
    693                                                                           ~~~~~~~~~\texttt{\textcolor{blue}{ENDDO}}\\
     690                                                                          ~~~~~~\texttt{!-- Enter actions to be done in the u-tendency term here}\\
     691                                                                          ~~~~~~~~~~~~\texttt{\textcolor{blue}{DO k = nzb+1, nzt-1}}\\
     692                                                                          ~~~~~~~~~~~~~~~~~~\texttt{\textcolor{blue}{tend(k,j,i) = tend(k,j,i) + ...}}\\
     693                                                                          ~~~~~~~~~~~~\texttt{\textcolor{blue}{ENDDO}}\\
    694694                                                                          \par\medskip
    695                                                                           ~~~~~~\texttt{CASE ( 'v-tendency' )}};
     695                                                                          ~~~~~~~~~\texttt{CASE ( 'v-tendency' )}};
    696696%          {%
    697697%          \begin{tikzpicture}[remember picture, overlay]
Note: See TracChangeset for help on using the changeset viewer.