vector to scalars
vector to scalars converts all vector nodal or cell data components into individual scalars. For example, with the default Variable Names template of {Analyte}_{XYZ}, a vector data component named “velocity” will be converted to three scalar data components:
- velocity_X
- velocity_Y
- velocity_Z
If multiple vector data components exist in the field, all will be converted. The original scalar data components are passed through unchanged.
Ports
| Direction | Name | Type | Description |
|---|---|---|---|
| Input | Input Field | Field | A field containing either nodal or cell vector data. |
| Output | Output Field | Field | A field containing the original scalar data components as well as converted, vector to scalar, data components. |
Properties
| Property | Type | Description |
|---|---|---|
| Allow Run | Boolean | Prevents the module from running when turned off. |
| Execute | Button | Allows the module to run one time even if Allow Run is turned off, allowing the user to make multiple changes with only one update. |
| Variable Names | Expression | Sets the template for each data component name that is created from a vector. Available variables: Analyte (the vector analyte name), Number (the position of the component in vector form), XYZ (the position listed alphabetically starting at X), IJK (the position listed alphabetically starting at I). |