![]() |
![]() |
![]() |
![]() |
Particle_Advector
Synopsis
Advects particles with no mass based on the vector data at a node
Input Port
Parameters
Output Port
Description
Particle_Advector advects particles with no mass depending on the vector data at a node and animates them. If the vector data denote velocity then it is possible to simulate flow using this module.
The arrangement of the starting points of particles can be of three types: point, line and plane. Their positions can be changed using the Transform editor. The shape of the particle can set using the Glyph parameter.
Advection starts when you turn the Run toggle on. Advection for individual particles stops when one of the following conditions occurs:
A particle exceeds the Max Segments value.
The particle's velocity drops below the Min Velocity.
The particle goes outside the field's bounds.
Advection of all particles stops when one of the following two conditionsoccurs:
The End Time value is reached.
Input
The input is a field with 3 elements for each vector data. If the node has multiple components, the first component is selected. Use the extract component module to extract the necessary component if any other component is to be used.
A port to connect to a user interface object that contains the macro's widgets. By default, it is connected to the default user interface object in the application in which the macro is instanced. (This default connection is not drawn.)
Parameters
UIslider. This parameter is only valid when the probe type is either line or plane. X-dimension sets the sampling frequency of probes (number of starting points) in the x direction. However, in the case of line, this becomes the number of points in the line.
UIslider. This parameter is only valid when the probe type is plane. Y-dimension sets the sampling frequency of probes (number of starting points) in the y direction.
UItoggle. When this parameter is turned on, the tranformation editor for the probe is displayed. It is possible to rotate, translate and scale the probe using this editor. In addition, the probe can be transformed using the mouse after selecting the probe object i.e. without using this editor.
UIradioBoxLabel. Selects the glyph type to be used as particle. The following types are available: Sphere, Diamond, Arrow1, Arrow2, Arrow3, Arrow4 and Jet.
UIslider.Sets the number of subdivisions of the sphere. The larger the number of subdivisions, the smoother the sphere and the higher the load on the machine.
UIslider. Sets the number of subdivisions of the arrow-head. The larger the number of subdivisions, the more closely the arrow-head approximates a cone. However, the load on the machine is higher in this case.
Output Port
Example
File
See also related modules
![]() |
![]() |
![]() |
![]() |