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
InputZ ScaleNumberThe factor for vertical scaling
OutputOutput FieldFieldThe streamlines field
OutputOutput ObjectRenderableA renderable object to display

Properties

PropertyTypeDescription
Allow RunBooleanThe Allow Run control specifies whether the module is permitted to execute. Set to True to enable execution.
ExecuteButtonThe Execute button forces the module to run even if Allow Run is disabled.
Z ScaleDoubleThe Z Scale control ensures that output lines are aligned with the scaled input.
Vector Nodal DataChoiceThe Vector Nodal Data specifies which vector components to use for streamline generation.
Velocity UnitsStringThe Velocity Units specify the units of the input vector data. By default this is determined from the input field. Unlink to override manually.
Flow DirectionChoice: Backwards, Forwards, BothThe Flow Direction allows the user to select 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 this value, the streamline is terminated at the end of the last 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 value, streamlines will end in that region. Setting this to a lower value will produce longer streamlines. 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 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. This is 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. This helps avoid datamap issues in regions where velocity is very low or zero.