Section: Post-processing

This section controls post-processing routines supported within AMR-wind, which include Sampling, Reynolds Averaging (ReAveraging), ReynoldsStress, TimeAveraging, Enstrophy, FieldNorms, KineticEnergy, and WaveEnergy.

Note that while the input parameters use the keyword postproc, the actual keyword is determined by the labels provided to incflo.post_processing. So for example, if incflo.post_processing = my_postproc, then the options must be prefixed with my_postproc..

For post-processing If plotfile output is active,

a plotfile will be written at the end of a simulation (when time.stop_time or time.max_step is reached), regardless of the output timing parameters.

postproc.type

type: String, optional, default = Sampling

Specify the type of post-processing routine to apply to this label.

Averaging types (ReAveraging, ReynoldsStress, and TimeAveraging) provide data via fields that are output to plotfiles; therefore, these types do not have specific outputs to files in the post_processing directory. However, for the rest of these routines, which do output data to post-processing files, there are general input arguments to designate when to write these files, and these arguments are described below. Note that for these post-processing types, output will automatically occur at the end of a simulation (when time.stop_time or time.max_step is reached), regardless of the output timing parameters.

postproc.output_interval

type: Integer, optional, default = 10

Specify the output interval (in time steps) when post-processing is performed and output to disk. This quantity can instead be specified as output_frequency, which was the legacy input argument. Because output_interval is a more accurate name, this is the preferred input argument.

postproc.output_time_interval

type: Real, optional

Specify the output interval (in seconds of simulation time) when post-processing is performed and output to disk. The output interval must be specified either in simulation time (using this argument) or in time steps.

postproc.output_delay

type: Integer, optional, default = 0

Specify the output delay (in time steps) when post-processing and output will begin during a simulation. E.g., a delay of 100 will wait until the hundredth timestep to check if, according to the output interval, post-processing should be output to disk.

postproc.output_time_delay

type: Integer, optional, default = 0.

Specify the output delay (in seconds of simulation time) when post-processing and output will begin during a simulation. This parameter is only active in conjunction with an output time interval.

postproc.enforce_output_time_dt

type: Boolean, optional, default = false

In the case of a variable dt simulation, the simulation time will not likely correspond exactly to the post-processing time interval. However, by setting this parameter to true, the time step size (dt) will be shortened when necessary to enforce the simulation time to match the output time interval.

postproc.enforce_output_time_dt_reltol

type: Real number, optional, default = 1e-3

When postproc.enforce_output_time_dt is true, a tolerance is needed to determine when it is necessary to shrink the time step size. This tolerance is relative to the output time interval. In most cases, this parameter need not be modified, but it can be changed by the user.