# Operation sensor

## Definition

The operation sensor allows to apply a mathematics operator (average, minimum, etc.) on a spatial quantity computed on a spatial support.

## Operators

For each scenario step, the following operator, applied on the selected quantity and support, is computed:

- Average
- Maximum
- Sum
- Minimum
- Integral: the integral computation done by the operation sensor is equivalent to the integral sensor.
- Distribution: the distribution gives in result the percentage of mesh elements having a quantity value between the minimum and maximum values given by user

## Operation sensor

To make an operation sensor computation, user has to define:

- an operator
- a support
- a spatial formula: The formula is the formula with spatial quantities. It can be a scalar or a vector.
- A computation method

## About supports

For the operation sensor computation, it is necessary for Flux to identify to which physical region belongs the support. So, for geometric entities (line, face, and volume) it is necessary to associate a physical region.

## About computing method

The computing method allows defining where the computation is done exactly.

User can choose one of the following methods:

- At mesh nodes
- At Gauss points of elements

Automatic: in this case, the operators: minimum, maximum, average and sum are computed at mesh nodes. The integral and distribution operators are computed at Gauss points of elements.

## Operation computation and IB

To compute on the entire domain:

if there is an infinite box, then the computation does not take it into account, the quantities are computed only on the finite domain.

## Storage

An operation calculation is stored under the shape of an entity in the tree of the general data in the entity type Result of calculation under the root of the Postprocessing directory.