TIME_AVERAGE_OUTPUT

Specifies parameters to output time-averaged nodal fields.

Type

AcuSolve Command

Syntax

TIME_AVERAGE_OUTPUT {parameters}

Qualifier

This command has no qualifier.

Parameters

order (integer) >=1 <=2 [=2]
Order of output fields. If one, first-order data are output. If two, first and second-order data are output. Currently only two is supported.
output_frequency or out_freq (integer) >=0 [=0]
Time step frequency at which to output nodal solutions. If zero, this option is ignored.
output_time_interval or out_intv (real) >=0 [=0]
Time frequency at which to output nodal solutions. If zero, this option is ignored.
reset_frequency or reset_freq (integer) >=0 [=0]
Time step frequency at which to reset the averaging process. If zero, never reset.
num_saved_states or save (integer) >=0 (=0)
Number of nodal solutions to keep. If zero, all nodal solution files are kept.

Description

This command specifies the frequency at which to output time-averaged nodal values into a results database. For example,
TIME_AVERAGE_OUTPUT {
   order                = 2 
   output_frequency     = 10
   output_time_interval = 0
   reset_frequency      = 10 
}

specifies that the time-averaged nodal values up to the second-order terms are to be output at every 10 time steps and at the last time step. The sums for averaging the data will be reset every 10 time steps.

Once the solution has been written to disk, it can then be translated to other formats using the AcuTrans program and other post-processing modules; see the AcuSolve Programs Reference Manual for details.

When order is set to one, then the averaged quantities of velocity, pressure, and stress are output. The velocity averaging is performed on the conservative set of solutions. When order is two, the averaged quantities are these plus the square of velocity and the square of pressure. Only order=2 is supported currently.

If either output_frequency or output_time_interval is non-zero, the solution will be output at the end of the run. If both are zero, no time averaging is performed and no data are output.

Run times may not coincide with output_time_interval. In this case, at every time step which passes through a multiple of output_time_interval, the solution is output.

The num_saved_states parameter indicates the number of nodal solution files to save. Once the (num_saved_states + 1)th file is written, the first one is removed. When running in parallel, once all files are written (in parallel), then the old ones are removed (in parallel).