Changes between Version 53 and Version 54 of doc/app/userint/output
- Timestamp:
- Sep 16, 2010 3:29:41 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
doc/app/userint/output
v53 v54 1 = = User-defined output quantities ==1 = User-defined output quantities = 2 2 [[TracNav(doc/userint/toc)]] 3 3 … … 40 40 41 41 Once again, only those parts in [[span(red,style=color: red)]] have to be adjusted by the user.\\ 42 The turbulent resolved-scale momentum flux ''u*v*'' is defined as the product of the deviations of the horizontal velocities from their respective horizontally averaged mean values. These mean values are stored in array {{{hom(..,1,1,sr)}}} and {{{hom(..,1,2,sr)}}} for the u- and v-component, respectively. Since due to the staggered grid, u and v are not defined at the same gridpoints, they have to be interpolated appropriately (here to the center of the gridbox). The result of the calculation is stored in array {{{sums_l}}}. The second index of this array is the identification number of the profile which must match the one given in the previous step 2. \\ 42 The turbulent resolved-scale momentum flux ''u*v*'' is defined as the product of the deviations of the horizontal velocities from their respective horizontally averaged mean values. These mean values are stored in array {{{hom(..,1,1,sr)}}} and {{{hom(..,1,2,sr)}}} for the u- and v-component, respectively. Since due to the staggered grid, u and v are not defined at the same gridpoints, they have to be interpolated appropriately (here to the center of the gridbox). The result of the calculation is stored in array {{{sums_l}}}. The second index of this array is the identification number of the profile which must match the one given in the previous step 2. \\\\ 43 43 44 44 [=#part_2 '''2. Output of user-defined timeseries'''] \\\\ … … 59 59 60 60 {{{ ts_value(dots_num_palm+1,sr) = ABS( u_max ) }}} \\ 61 {{{ ts_value(dots_num_palm+2,sr) = ABS( v_max ) }}} \\ 61 {{{ ts_value(dots_num_palm+2,sr) = ABS( v_max ) }}} \\\\ 62 62 63 63 [=#part_3 '''3. Output of user-defined 2d cross sections or 3d volume data'''] \\ … … 261 261 {{{ ENDIF }}}\\ 262 262 263 263 264 [=#part_4 '''4. Output of user-defined DVRP objects'''] \\\\ 264 265 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 gridpoint 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: … … 274 275 275 276 Only those parts in [[span(red,style=color: red)]] have to be adjusted by the user.\\\\ 276 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]. 277 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].\\\\ 277 278 278 279 [=#part_5 '''5. Output of user-defined spectra'''] \\\\