Skip to main content

averaging:elemental mean (fields container)

Version: 0.0.0

Description

Computes the average of a multi-entity container of fields, (ElementalNodal -> Elemental), (NodalElemental -> Nodal). If the input fields are mixed shell/solid and collapseShellLayers is false, then the fields could be split by element shape and the output fields container would have an elshape label depending on the e_shell_layer and merge_solid_shell inputs (if e_shell_layer is not specified, the fields are split; if it is specified, the fields can be split based on merge_solid_shell).If collapseShellLayers is true, all available shell layers are collapsed and shells and solid fields are always merged.

Inputs

InputNameExpected type(s)Description
Pin 0
Required
fields_containerfields_container
Pin 1collapse_shell_layersboolIf true, the data across different shell layers is averaged as well (default is false).
Pin 2force_averagingboolIf true you average, if false you just sum.
Pin 3scopingscoping, scopings_containerAverage only on these elements. If it is a scoping container, the label must correspond to the one of the fields container.
Pin 4abstract_meshed_regionabstract_meshed_region, meshes_containerThe mesh region in this pin is used to perform the averaging. It is used if there is no fields support.
Pin 26merge_solid_shellboolFor shell/solid mixed fields, group in the same field all solids and shells (false by default). This pin only has an effect when collapse_shell_layers is false and a value for e_shell_layer is provided.
Pin 27e_shell_layerint320: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid. This pin only has an effect when collapse_shell_layers is false.

Outputs

OutputNameExpected type(s)Description
Pin 0fields_containerfields_container

Configurations

NameExpected type(s)Default valueDescription
mutexboolfalseIf this option is set to true, the shared memory is prevented from being simultaneously accessed by multiple threads.

Scripting

Category: averaging

Plugin: core

Scripting name: elemental_mean_fc

Full name: averaging.elemental_mean_fc

Internal name: entity_average_fc

License: None

Changelog

  • Version 0.0.0: Initial release.