3d streamlines

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

DirectionNameTypeDescription
InputInput FieldFieldThe field to use for creating the streamlines.
InputInput Locations FieldFieldThe field to use for creating the starting locations of streamlines.
OutputOutput FieldFieldThe streamlines field.
OutputOutput ObjectRenderableA renderable object to display.

Properties

PropertyTypeDescription
Allow RunBooleanSpecifies whether the module is permitted to execute. Set to True to enable execution.
ExecuteButtonForces the module to run even if Allow Run is disabled.
Vector Nodal DataChoiceSpecifies which vector data component of the input field to use for streamline generation.
Velocity UnitsStringSpecifies the units of the input vector data. By default (linked) this is determined from the input field. Unlink to override manually.
Flow DirectionChoice: Backwards, Forwards, BothSelects the direction the lines will flow.

Terminating Conditions

PropertyTypeDescription
Max Segments TotalIntegerThe 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 VelocityDoubleThe 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 AngleDoubleThe maximum allowable angle between successive line segments before integration (streamline generation) is terminated.

Output Data Options

PropertyTypeDescription
Export Velocity And TimeBooleanSpecifies 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 TimeBooleanSpecifies 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 MinimumDoubleThe 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 VelocityBooleanSpecifies that velocity data will be output on a logarithmic scale.
Velocity MinimumDoubleThe 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.