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
| Input | Name | Expected type(s) | Description |
|---|---|---|---|
| Pin 0 Required | fields_container | fields_container | |
| Pin 1 | mesh | abstract_meshed_region, meshes_container | The mesh region in this pin is used to perform the averaging. It is used if there is no fields support. |
| Pin 3 | scoping | scoping, scopings_container | Average only on these elements. If it is a scoping container, the label must correspond to the one of the fields containers. |
| Pin 10 | collapse_shell_layers | bool | If true, the data across different shell layers is averaged as well (default is false). |
| Pin 26 | merge_solid_shell | bool | For 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 27 | shell_layer | int32 | 0: 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
| Output | Name | Expected type(s) | Description |
|---|---|---|---|
| Pin 0 | fields_container | fields_container |
Configurations
| Name | Expected type(s) | Default value | Description |
|---|---|---|---|
| mutex | bool | false | If this option is set to true, the shared memory is prevented from being simultaneously accessed by multiple threads. |
| num_threads | int32 | 0 | Number of threads to use to run in parallel |
| run_in_parallel | bool | true | Loops 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.