Changes between Version 21 and Version 22 of doc/app/userint/output


Ignore:
Timestamp:
Sep 15, 2010 3:44:12 PM (14 years ago)
Author:
suehring
Comment:

--

Legend:

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

    v21 v22  
    113113   As the example shows, this grid has to be defined for the 3d volume data as well as for all of the three cross sections. \\
    114114
    115    6. After each timestep, the quantity has to be calculated at all gridpoints and to be stored. This has to be done in subroutine user_actions at location 'after_integration':
    116 
    117           CASE ( 'after_integration' )
    118       !
    119       !--    Enter actions to be done after every time integration (before
    120       !--    data output)
    121       !--    Sample for user-defined output:
    122              DO  i = nxl-1, nxr+1
    123                 DO  j = nys-1, nyn+1
    124                    DO  k = nzb, nzt+1
    125                       u2(k,j,i) = u(k,j,i)**2
    126                    ENDDO
    127                 ENDDO
    128              ENDDO
    129 
     115   6. After each timestep, the quantity has to be calculated at all gridpoints and to be stored. This has to be done in subroutine user_actions at location 'after_integration': \\
     116
     117   {{{ CASE ( 'after_integration' ) }}} \\
     118   {{{!}}} \\
     119   {{{!--    Enter actions to be done after every time integration (before}}} \\
     120   {{{!--    data output) }}} \\
     121   {{{!--    Sample for user-defined output: }}} \\
     122   {{{       DO  i = nxld, nxrd }}} \\
     123      {{{       DO  j = nysd, nynd }}} \\
     124         {{{       DO  k = nzb, nzt+1 }}} \\
     125            {{{       u2(k,j,i) = u(k,j,i)**2 }}} \\
     126         {{{       ENDDO }}} \\
     127      {{{       ENDDO }}} \\
     128   {{{       ENDDO }}} \\
    130129       
    131130   7. In case that output of time-averaged data is requested, the sum- and average-operations as well as the allocation of the sum-array have to be carried out in subroutine user_3d_data_averaging: