Skip to main content

averaging:nodal to elemental (fields container)

Version: 0.0.0

Description

Transforms Nodal fields into Elemental fields using an averaging process. The result is computed on a given element's scoping. If the input fields are mixed shell/solid, and the shell's layers are not specified as collapsed, then the fields are split by element shape and the output fields container has an elshape label.

Inputs

InputNameExpected type(s)Description
Pin 0
Required
fields_containerfields_container
Pin 1meshabstract_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 3scopingscoping, scopings_containerAverage only on these elements. If it is a scoping container, the label must correspond to the one of the fields containers.
Pin 10collapse_shell_layersboolIf true, the data across different shell layers is averaged as well (default is false).
Pin 26merge_solid_shellboolFor shell/solid mixed fields, group in the same field all solids and shells (false by default). If this pin is true and collapse_shell_layers is false, a shell_layer needs to be specified.
Pin 27shell_layerint320: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid).

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.
num_threadsint320Number of threads to use to run in parallel
run_in_parallelbooltrueLoops are allowed to run in parallel if the value of this config is set to true.

Scripting

Category: averaging

Plugin: core

Scripting name: nodal_to_elemental_fc

Full name: averaging.nodal_to_elemental_fc

Internal name: nodal_to_elemental_fc

License: None

Changelog

  • Version 0.0.0: Initial release.