3d streamlines
3d streamlines produces streamlines of a field containing a 2 or 3 element vector data component on any type of mesh. Streamlines are 3D polylines representing the pathways particles would travel based on the vector field. At least one of the nodal data components input to the module must be a vector. The direction of travel can be specified as forwards (in the direction of the vectors), backwards (against the direction of the vectors), or both. Streamlines are produced by integrating the velocity field using the Runge-Kutta method with adaptive time steps.
The starting locations of the streamlines are taken from the nodes of the field connected to the Input Locations Field port (for example, points from place glyph or a line or surface from another module).
When the vector data has proper velocity units (length/time), the output streamlines can carry velocity and travel time data, which can optionally be log processed for display.
Ports
| Direction | Name | Type | Description |
|---|---|---|---|
| Input | Input Field | Field | The field to use for creating the streamlines. |
| Input | Input Locations Field | Field | The field to use for creating the starting locations of streamlines. |
| Output | Output Field | Field | The streamlines field. |
| Output | Output Object | Renderable | A renderable object to display. |
Properties
| Property | Type | Description |
|---|---|---|
| Allow Run | Boolean | Specifies whether the module is permitted to execute. Set to True to enable execution. |
| Execute | Button | Forces the module to run even if Allow Run is disabled. |
| Vector Nodal Data | Choice | Specifies which vector data component of the input field to use for streamline generation. |
| Velocity Units | String | Specifies the units of the input vector data. By default (linked) this is determined from the input field. Unlink to override manually. |
| Flow Direction | Choice: Backwards, Forwards, Both | Selects the direction the lines will flow. |
Terminating Conditions
| Property | Type | Description |
|---|---|---|
| Max Segments Total | Integer | The maximum allowable number of streamline segments that will be completed for each streamline. If the number of segments along a streamline exceeds the max number, the streamline is terminated at the end of the last (max) segment. |
| Minimum Velocity | Double | The minimum velocity that will be considered in the integration. If the magnitude of the velocity field in a region is less than this minimum value, streamlines will end in that region (or will not be produced if the velocity at a starting point is less than the minimum). Setting this to a lower value will produce longer (and typically more) streamlines. Higher values tend to produce fewer and shorter streamlines. If streamlines are not visible, setting this to a lower value may produce them. |
| Extinction Angle | Double | The maximum allowable angle between successive line segments before integration (streamline generation) is terminated. |
Output Data Options
| Property | Type | Description |
|---|---|---|
| Export Velocity And Time | Boolean | Specifies whether velocity and time data will be included in the output field. If this option is enabled, the input Vector Nodal Data component must have proper velocity units (length/time). |
| Log Process Time | Boolean | Specifies that time data will be output on a logarithmic scale. This converts all time values to absolute, including those in the backward flow direction that would otherwise be negative. |
| Time Minimum | Double | The minimum value time data is clamped to before log processing. Useful to avoid datamap issues, especially at the start of streamlines where time values are very small or zero. Enabled when Log Process Time is on. |
| Log Process Velocity | Boolean | Specifies that velocity data will be output on a logarithmic scale. |
| Velocity Minimum | Double | The minimum velocity value data is clamped to before log processing. Helps avoid datamap issues in regions where velocity is very low or zero. Enabled when Log Process Velocity is on. |