Changes between Version 2 and Version 3 of doc/tec/topography


Ignore:
Timestamp:
Jul 4, 2016 6:56:04 PM (9 years ago)
Author:
Giersch
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • doc/tec/topography

    v2 v3  
    1 [[NoteBox(warn,This site is currently under construction!)]]
     1= Topography implementation =
    22
    3 = Topography implementation =
     3The topography implementation described in Sect. [wiki:/doc/tec/bc#Topography boundary conditions] allows the use of 2-D topography height data in PALM. Currently, the topography data has to be provided within a rastered ASCII file. After reading and mapping of these data to the
     4horizontal grid in PALM, they can be directly incorporated into the standard loop structure of the Fortran code as lower vertical index
     5for all integration loops. Therefore, PALM employs two 2-D height index arrays (e.g., '''''nzb_w_inner(j, i)''''' and '''''nzb_w_outer(j, i)''''' for the velocity component ''w'') to separate the domain into four regions based on the vertical index ''k'' (see Fig. 4 in Sect. [wiki:/doc/tec/bc#Topography boundary conditions]):
     6{{{
     7#!Latex
     8\begin{itemize}
     9\item[A.] \texttt{0 $\leq$ k} $<$ \texttt{nzb\_w\_inner}, grid points
     10  within obstacles or in the ground that are excluded from
     11  calculations,
     12\item[B.] \texttt{nzb\_w\_inner} \texttt{$\leq$} \texttt{k} $<$
     13  \texttt{nzb\_w\_outer}, grid points next to vertical walls, where
     14  wall-bounded code is executed,
     15\item[C.] \texttt{k} $=$ \texttt{nzb\_w\_inner} $=$
     16  \texttt{nzb\_w\_outer}, grid points next to horizontal walls, where
     17  wall-bounded code is executed,
     18\item[D.] all other $k$, grid points in free fluid.
     19\end{itemize}
     20}}}
     21The additional topography code is executed in regions B and C only. As the velocity components are defined on a different (staggered) grid
     22than the scalar quantities (see Fig. 1 in Sect. [wiki:doc/tec/discret discretization]), three extra pairs of 2-D height index arrays are defined; two for the horizontal velocities and one for scalar quantities (e.g., '''''nzb_s_inner''''' and '''''nzb_s_outer''''' for scalar quantities).