Changes between Version 88 and Version 89 of doc/app/userint/output


Ignore:
Timestamp:
Jun 27, 2019 9:52:20 AM (6 years ago)
Author:
Giersch
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • doc/app/userint/output

    v88 v89  
    66   2. [#a2.Outputofuser-definedtimeseries time series]
    77   3. [#a3.Outputofuser-defined2dcrosssections3dvolumedataormaskeddata 2d cross section, 3d volume data or masked data]
    8    4. [#a4.Outputofuser-definedDVRPobjects dvrp objects]
    9    5. [#a5.Outputofuser-definedspectra spectra]
    10    6. [#a6.Outputofuser-definedflightmeasurements virtual flights]\\
     8   4. [#a5.Outputofuser-definedspectra spectra]
     9   5. [#a6.Outputofuser-definedflightmeasurements virtual flights]\\
    1110
    1211In the following, the generation of such output quantities is explained step by step. Furthermore, the respective subroutines already contain sample code lines (written as comment lines) for defining, calculating and output of such quantities. Output times, averaging intervals, etc. are steered by the same variables as used for the standard PALM output quantities, e.g. [../../d3par#dt_data_output dt_data_output].\\\\
     
    292291
    293292
    294 == 4. Output of user-defined DVRP objects
    295 This example shows the output of the quantity "square of the u-component", u^2^. If more than one user-defined quantity shall be output, the following steps have to be carried out in the same way for each of the quantities. First, steps 1 - 6 of part [#part_3 (2d cross section or 3d volume data)] are required. Second, the data of the quantity has to be resorted to array {{{local_pf}}} in subroutine [../int#user_data_output_dvrp user_data_output_dvrp] as follows:
    296 
    297    {{{ CASE ( '}}}[[span({{{u2}}},style=color: red)]]{{{', '}}}[[span({{{u2}}},style=color: red)]]{{{_xy', '}}}[[span({{{u2}}},style=color: red)]]{{{_xz', '}}}[[span({{{u2}}},style=color: red)]]{{{_yz'  ) }}}\\
    298       {{{    DO  i = nxl, nxr+1 }}}\\
    299          {{{    DO  j = nys, nyn+1 }}}\\
    300             {{{    DO  k = nzb, nz_do3d }}}\\
    301                {{{    local_pf(i,j,k) =}}} [[span({{{u2}}},style=color: red)]]{{{(k,j,i) }}}\\
    302             {{{    ENDDO }}}\\
    303          {{{    ENDDO }}}\\
    304       {{{    ENDDO }}}\\
    305 
    306 After performing these steps, the user-defined quantity 'u2' can be selected like standard model quantities by the {{{dvrp_graphics}}} package parameter [../../dvrpar#mode_dvrp mode_dvrp].\\\\
    307 
    308 
    309 == 5. Output of user-defined spectra
     293== 4. Output of user-defined spectra
    310294This example shows the output of the quantity "turbulent resolved-scale horizontal momentum flux" ''(u*v*).'' If more than one user-defined quantity shall be output, the following steps have to be carried out in the same way for each of the quantities.
    311295
     
    351335
    352336
    353 == 6. Output of user-defined flight measurements
     337== 5. Output of user-defined flight measurements
    354338This example shows the output of two user-defined quantities for the absolute values of the horizontal velocities u and v captured by virtual flight measurements. The given quantities will be captured for each leg. \\\\
    355339