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


Ignore:
Timestamp:
Jul 4, 2016 8:32:31 PM (9 years ago)
Author:
Giersch
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • doc/tec/user

    v2 v3  
    1 [[NoteBox(warn,This site is currently under construction!)]]
     1= User interface =
    22
    3 = User interface =
     3PALM offers a flexible interface that allows for adding user-specific calculations and code extensions. Also, the data output of user-defined quantities, such as 2-D/3-D data as well as time series, vertical profiles and spectra can be accomplished in a convenient manner. The implementation of such user-defined code is realized in the form of subroutine calls, which are made at several places in the
     4model code. These subroutines have predefined names. Some of the entry points for the subroutine calls are shown in Fig. 13 in Sect. [wiki:/doc/tec/general general code structure]. Their basic versions are a part of the default model code and labeled as '''''user_*.f90'''''. These basic versions perform no actions and thus act as pure templates. For example, the subroutine '''''user_init.f90''''' reads
     5{{{
     6#!Latex
     7\begin{verbatim}
     8SUBROUTINE user_init
     9
     10 USE control_parameters
     11 USE user
     12
     13 IMPLICIT NONE
     14
     15!
     16!-- Here the user defined initialization
     17!-- follow:
     18
     19END SUBROUTINE user_init
     20\end{verbatim}
     21}}}
     22and can be extended according to the needs of the user.
     23
     24By default, quantities in the time series and horizontally averaged vertical profile data output always refer to the total model domain (see also Sect. [wiki:/doc/tec/data data handling]). The user interface, however, allows for defining up to 9 user-defined (horizontal) subdomains for which the output of time series and profiles is automatically added to the output data. Besides the output of profiles and time series for user-defined horizontal domains, PALM offers a~very flexible masked data output, controlled by a set of '''''NAMELIST''''' parameters. This feature allows to output quantities at different mask locations, e.g., 3-D volume data or 2-D cross sections of arbitrary extension within the model domain, 0-D or 1-D data at any positions and of any amount.