Changes between Version 63 and Version 64 of doc/app/userint/output
- Timestamp:
- Oct 14, 2010 9:49:38 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
doc/app/userint/output
v63 v64 61 61 {{{ ts_value(dots_num_palm+2,sr) = ABS( v_max ) }}} \\\\ 62 62 63 [=#part_3 '''3. Output of user-defined 2d cross sections or 3d volumedata'''] \\63 [=#part_3 '''3. Output of user-defined 2d cross sections, 3d volume data or masked data'''] \\ 64 64 65 65 This example shows the output of the quantity "square of the u-component" ('''Note:''' this quantity could of course easily be calculated from the u-component by postprocessing the {{{PALM}}} output so that calculation within {{{PALM}}} is not necessarily required). 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. … … 140 140 {{{ ENDDO }}} \\ 141 141 142 8. For output of 2d cross sections, the gridpoint data of the quantity has to be resorted to array {{{local_pf}}} in subroutine [../int#user_data_output_2d user_data_output_2d]. Also the vertical grid, on which the quantity is defined, has to be set again: \\142 8. For output of '''2d cross sections''', the gridpoint data of the quantity has to be resorted to array {{{local_pf}}} in subroutine [../int#user_data_output_2d user_data_output_2d]. Also the vertical grid, on which the quantity is defined, has to be set again: \\ 143 143 144 144 {{{ CASE ( 'u2_xy', 'u2_xz', 'u2_yz' ) }}} \\ … … 186 186 Note that {{{two_d = .TRUE.}}} is necessary for output of a 2d data slice. \\ 187 187 188 9. For output of 3d volume data, the gridpoint data of the quantity has to be resorted to {{{array local_pf}}} in subroutine [../int#user_data_output_3d user_data_output_3d].:188 9. For output of '''3d volume data''', the gridpoint data of the quantity has to be resorted to {{{array local_pf}}} in subroutine [../int#user_data_output_3d user_data_output_3d].: 189 189 190 190 {{{ CASE ( 'u2' ) }}} \\ … … 209 209 The {{{ELSE}}} case is only needed in case that output of time-averaged data is requested. 210 210 211 212 10. In case of job chains, the sum array has to be written to the (binary) restart file (local filename [../../iofiles#BINOUT BINOUT]) in subroutine [../int#user_last_actions user_last_actions]: 211 10. For output of '''masked data''', the gridpoint data of the quantity has to be resorted to {{{array local_pf}}} in subroutine [../int#user_data_output_mask user_data_output_mask].: 212 213 {{{ CASE ( 'u2' ) }}} \\ 214 {{{ IF ( av == 0 ) THEN }}} \\ 215 {{{ DO i = 1, mask_size_l(mid,1) }}} \\ 216 {{{ DO j = 1, mask_size_l(mid,2) }}} \\ 217 {{{ DO k = 1, mask_size_l(mid,3) }}} \\ 218 {{{ local_pf(i,j,k) = u2(mask_k(mid,k), & }}} \\ 219 {{{ mask_j(mid,j),mask_i(mid,i)) }}} \\ 220 {{{ ENDDO }}} \\ 221 {{{ ENDDO }}} \\ 222 {{{ ENDDO }}} \\ 223 {{{ ELSE }}} \\ 224 {{{ DO i = 1, mask_size_l(mid,1) }}} \\ 225 {{{ DO j = 1, mask_size_l(mid,2) }}} \\ 226 {{{ DO k = 1, mask_size_l(mid,3) }}} \\ 227 {{{ local_pf(i,j,k) = u2_av(mask_k(mid,k), & }}} \\ 228 {{{ mask_j(mid,j),mask_i(mid,i)) }}} \\ 229 {{{ ENDDO }}} \\ 230 {{{ ENDDO }}} \\ 231 {{{ ENDDO }}} \\ 232 {{{ ENDIF }}} \\ 233 234 The {{{ELSE}}} case is only needed in case that output of time-averaged data is requested. 235 236 11. In case of job chains, the sum array has to be written to the (binary) restart file (local filename [../../iofiles#BINOUT BINOUT]) in subroutine [../int#user_last_actions user_last_actions]: 213 237 214 238 {{{ IF ( ALLOCATED( u2_av ) ) THEN }}}\\