vector magnitude
vector magnitude calculates the magnitude of a vector field data component at every node in a mesh. Input to the module must contain a mesh of any type and vector data. Nodal data components can be scalar or vector with up to 3 vector subcomponents. Cell vector data can also be selected for magnitude calculation.
Each selected vector produces a new scalar data component, named using the Variable Names template (by default {Analyte}_Magnitude).
Ports
| Direction | Name | Type | Description |
|---|---|---|---|
| Input | Input Field | Field | A field containing a vector data component. |
| Output | Output Field | Field | A field containing the magnitude of the vector component as data. |
| Output | Output Object | Renderable | A renderable object displaying the magnitude data. |
Properties
| Property | Type | Description |
|---|---|---|
| Variable Names | Expression | Sets the template for each data component name that is created from a vector. Available variable: Analyte (the vector analyte name). |
| Vector Data | Multi-select | Selects which nodal vector data components of the input field to use for creating the magnitude data. |
| Cell Vector Data | Multi-select | Selects which cell vector data components of the input field to use for creating the magnitude data. |