3d streamlines

3d streamlines

The 3d streamlines module produces streamlines or stream-ribbons 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 gradient of 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 (toward high vector magnitudes), backwards (toward low vector magnitudes), or both with respect to the vector field. Streamlines are produced by integrating a velocity field using the Runge-Kutta method with adaptive time steps.

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.
Z ScaleDoubleEnsures that output lines are aligned with the scaled input.
Vector Nodal DataChoiceSpecifies which vector components to use for streamline generation.
Velocity UnitsStringSpecifies the units of the input vector data. By default 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 gradient at a starting point is less than the min). Setting this to a lower value will produce longer streamlines (and typically more). Higher values tend to produce fewer and shorter streamlines.
Extinction AngleDoubleThe maximum allowable angle between successive line segments before integration (streamline generation) should be 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.
Log Process VelocityBooleanSpecifies that velocity data will be output on a logarithmic scale.
Velocity MinimumDoubleThe minimum velocity value to clamp data before log processing. Helps avoid datamap issues in regions where velocity is very low or zero.