vector to scalars

vector to scalars

The vector to scalars module converts all vector nodal data components into individual scalars. For example, a vector data component named “velocity” will be converted to three scalar nodal data components such as:

  1. velocity_x
  2. velocity_y
  3. velocity_z

If multiple vector data components exist in the field, all will be converted. The naming pattern for the output scalar components can be customized using the Variable Names expression editor.

Ports

DirectionNameTypeDescription
InputInput FieldFieldA field containing either nodal or cell vector data.
OutputOutput FieldFieldA field containing the original scalar data components as well as converted, vector to scalar, data components.

Properties

PropertyTypeDescription
Allow RunBooleanThis toggle will prevent the module from running when turned to the off position.
ExecuteButtonThe Run Once button will allow the module to run one time even if the Allow Run toggle is turned to the off position, allowing the user to make multiple changes with only one update.
Variable NamesExpression EditorSets 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).