|
Go to Common Results Node Settings for links to information about these sections: Data, Expression, Title, Quality, and Inherit Style.
|
|
To get the length of the streamlines, use an Export > Plot node. In its Settings window, select the Only export starting points and endpoints checkbox to include one row with the starting point, the endpoint, and the length of the streamline for each streamline.
|
|
The Selection section is available in for some datasets when you select On selected entities (3D) or On selected boundaries from the Positioning list under Streamline Positioning.
|
|
•
|
From the Arrow distribution list, choose Equal arc length (the default) to distribute the arrows uniformly over the streamlines’ arc length, Equal time to distribute the arrows using the weight function dt/darc, or Equal inverse time to distribute the arrows using the weight function darc/dt.
|
|
•
|
Select the Number of arrows checkbox to enter a number for the total number of arrows, on all streamlines, that are plotted. By default, the COMSOL Multiphysics software provides a reasonable number of arrows.
|
|
•
|
Specify a value in the Local time field (default: 0) for the local integration time along the streamlines for which the arrows are plotted. It is possible for integration times to be negative: For a starting point in the interior of a domain, streamlines are integrated both forward and backward in time unless you clear the Allow backward time integration checkbox in the Advanced section.
|
|
•
|
You can move the arrows along the local time by moving the slider. You can also create this effect using a player animation in an Animation node under Export, using a Streamline sequence type.
|
|
•
|
In the Extra release times field, enter any additional times for releasing arrows, or click the Range button (
|
|
•
|
|
•
|
From the Arrow length list, choose Normalized (the default), Logarithmic, or Proportional to make the arrows’ sizes depend on the magnitude of the plotted quantity, if desired. If you choose Logarithmic, the length of the arrows is proportional to the natural logarithm of the magnitude of the quantity they represent. This makes arrows representing small values relatively larger. The value in the Range quotient field (default: 100) determines the ratio between the smallest and largest values in the range of values for the logarithmic arrow length.
|
|
•
|
Use the slider, or select the Scale factor checkbox and enter a scale factor in the associated text field if you want to use another scaling than the one used by default.
|
|
•
|
Specify a value in the Local time field (default: 0) for the local integration time along the streamlines for which the points are plotted. It is possible for integration times to be negative: For a starting point in the interior of a domain, streamlines are integrated both forward and backward in time unless you clear the Allow backward time integration checkbox in the Advanced section.
|
|
•
|
You can move the points along the local time by moving the slider. You can also create this effect using a player animation in an Animation node under Export, using a Streamline sequence type.
|
|
•
|
In the Extra release times field, enter any additional times for releasing points, or click the Range button (
|
|
•
|
Select or enter an expression for the points’ radii in the Point radius expression field (SI unit: m). By default, the radius is scaled automatically. To enter a scale factor for the radius, select the Radius scale factor checkbox and enter a scale factor in the corresponding text field.
|
|
•
|
Select the Fixed size checkbox if you want to display the points with a fixed onscreen size.
|
|
•
|
Enter the Step length as a factor of the length of the bounding box’s edge. The default is 0.1. Edit to specify how accurately streamlines are computed. If using higher-order integration and/or adaptive integration, a longer step length can be used.
|
|
•
|
The Maximum streamline length field makes it possible to control the length of streamlines. Edit the default (Inf) to control the streamlines’ length. Enter the value as a fraction of the mean bounding box’s size. When the Allow backward time integration checkbox is selected (the default), the maximum length refers to the sum of the lengths of the forward and backward parts.
|
|
•
|
The Maximum number of integration steps field makes sure that the integration does not continue indefinitely. Edit the default (1,000,000 in 2D and 200,000 in 3D) to control when the computation stops.
|
|
•
|
The Maximum integration time field sets an upper time limit for the integration. The default is infinity (inf).
|
|
•
|
The Loop tolerance field default is 0.01. This is a fraction of the mean of the lengths of the bounding box of the geometry. If a streamline gets closer to its starting point than this distance, the streamline snaps to its starting point and is plotted as a connected loop. See also Method 5: Creating Streamlines with Variable Density and Magnitude Controlled.
|
|
•
|
From the Integrator list, choose one of the following Runge-Kutta integration methods: Runge-Kutta 2 (the default) or Runge-Kutta 4.
|
|
•
|
When Starting-point controlled is selected from the Positioning list, in the Streamline Positioning section, the Adaptive integration step length checkbox is available. It is selected by default so that the integrator automatically chooses a smaller step length in areas of high curvature. Clear the checkbox to not use adaptive step length.
|
|
•
|
Select the Allow backward time integration checkbox to integrate points from the starting points both in the direction of the vector field and in the opposite direction. This checkbox is selected by default.
|
|
1
|
|
The Selection section is made available for some datasets when On selected boundaries is selected from the Positioning list under Streamline Positioning.
|
|
2
|
Under Selection, select the boundaries from which the streamlines start. By selecting in the Graphics window and using the tools in the Selection section, select the boundaries for the starting positions for the streamlines.
|
|
3
|
From the Point distribution list, choose Uniform (the default), Magnitude controlled, or Mesh based.
|
|
-
|
If Point distribution is Uniform, enter the Number of streamlines (the default is 20). This number is a suggestion for how many streamlines are generated, but there is no guarantee that you get exactly the specified number of streamlines. The reason is that the streamline starting points are placed in a regular grid on the selected boundaries.
|
|
-
|
If Point distribution is Magnitude controlled, the density of the streamline starting points follow the evaluated values on the selected boundary. In the Minimum relative distance (default: 0.02) and Maximum relative distance (default: 0.1) fields, enter the desired distance between starting points for the locations where the magnitude reaches its minimum and maximum values, respectively. By default, the density of the starting points is determined by the magnitude of the vector field. Choose Custom expression from the Magnitude expression field to use an expression to control the density.
|
|
-
|
If Point distribution is Mesh based, the starting points are placed in the barycenters of boundary elements. You can specify a refinement as a positive integer (default: 1) in the Element refinement field.
|
|
1
|
|
2
|
|
3
|
Enter x and y (2D) or x, y, and z (3D) coordinates (SI unit: m). You can use a scalar value to represent a fixed value for some of the coordinates.
|
|
1
|
|
2
|
|
3
|
Enter the number of Points (the default is 20).
|
|
4
|
From the Along curve or surface (3D) or Along curve (2D) list, select None. The starting points are then distributed semirandomly but deterministically. You can also choose a Cut Line, Cut Plane, Parametric Curve, or Parametric Surface dataset, if applicable, to restrict the streamline start positions to a cut line, cut plane, parametric curve, or parametric surface, respectively.
|
|
1
|
|
2
|
Enter the Density level of the streamlines (the default is 5).
|
|
3
|
The Advanced parameters list defaults to Automatic. If required, select Manual to edit these parameters: Starting distance factor, Terminating distance factor, or First starting point.
|
|
-
|
The Starting distance factor is a factor multiplied with the distance specified in the Separating distance field (as a fraction of the mean of the lengths of the bounding box of the geometry). It sets the minimum distance between streamlines and the starting point for the next streamline.
|
|
-
|
The Terminating distance factor is a factor multiplied with the distance specified in the Separating distance field. It sets the minimum distance between any pair of streamlines. Thus, this distance is the minimal distance under which the integration of a streamline stops. It is possible to make the streamlines extend closer to the boundary by decreasing this factor.
|
|
-
|
By default the First starting point list defaults to Automatic, and it sets the starting point for the first streamline. It is selected in the element where the highest value of the velocity of the specified vector field occurs. If required, select Manual instead to override the default and enter x and y (2D) or x, y, and z (3D) coordinates.
|
|
1
|
|
2
|
Enter the density level for the region where the magnitude of the vector field is at its minimum value in the Minimum density level field, and for the region where the magnitude of the vector field is at its maximum value in the Maximum density level field (the default Minimum density level is 5, and the default Maximum density level is 12.3 in 2D and 9 in 3D).
|
|
•
|
It has used a predetermined amount of “time” for integrating (control this parameter with the Maximum integration time field).
|