vector to scalars

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:

  1. velocity_X
  2. velocity_Y
  3. 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

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 RunBooleanPrevents the module from running when turned off.
ExecuteButtonAllows 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 NamesExpressionSets 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).