Skip to main content
Namespace: Ans.DataProcessing.operators.averaging

Summary

Transforms Elemental Nodal fields into Elemental fields. Each elemental value is the fraction between the elemental difference and the entity average. The result is computed on a given element’s scoping. available inputs: fields_container (FieldsContainer), mesh (MeshedRegion) (optional), scoping (Scoping) (optional), denominator (FieldsContainer) (optional), collapse_shell_layers (bool) (optional) available outputs: fields_container (FieldsContainer)

Example

Class Information

Inputs

fields_container

Type: LinkableInput

mesh

The mesh region in this pin is used to perform the averaging. It is used if there is no fields support. Type: LinkableInput

scoping

Average only on these elements. If it is a scoping container, the label must correspond to the one of the fields containers. Type: LinkableInput

denominator

If a fields container is set in this pin, it is used as the denominator of the fraction instead of entity_average_fc. Type: LinkableInput

collapse_shell_layers

If true, the data across different shell layers is averaged as well (default is false). Type: LinkableInput

Outputs

fields_container

Type: LinkableOutput

Constructors

Constructor

Constructor

Parameters:
  • fields_container (object)
  • mesh (object)
  • scoping (object)
  • denominator (object)
  • collapse_shell_layers (object)
  • config (OperatorConfig)

Constructor

Parameters:
  • config (OperatorConfig)

Methods

Properties

inputs

Type: InputSpec

outputs

Type: OutputSpec

defaultConfig

Type: Config