Skip to main content

patchProbes

Overview

The patchProbes function object samples patch field values at point locations and writes the result to file using the chosen output file format.

Usage

Example of function object specification:

patchProbes1
{
// Mandatory entries
type patchProbes;
libs (sampling);

// Conditional entries

// Specify either 'patch' or 'patches'
// - if both entries are present, 'patches' wins
patch <word>;
patches (<wordRes>);

// Inherited entries
...
}

where the entries mean:

PropertyDescriptionTypeRequiredDefault
typeType name: patchProbeswordyes-
libsLibrary name: samplingwordyes-
patchName of operand patchwordchoice-
patchesNames of operand patcheswordReschoice-

The inherited entries are elaborated in:

Operands

OperandTypeLocation
Input--
Output filedat<case>/postProcessing/<function object>/<time>/
Output field--

Stored properties

Reduced data

The following data are stored by the function object for the set of sample values, and can be used by other function objects:

  • average(<field-name>) : average set value
  • min(<field-name>) : minimum set value
  • max(<field-name>) : maximum set value
  • size(<field-name>) : size of set

Further information

Tutorial:

Source code:

API:

History: Introduced in version 2.0.0