Streamline
Create a streamline plot.
Syntax
model.result(<pgtag>).create(<ftag>,"Streamline");
model.result(<pgtag>).feature(<ftag>).set(property, <value>);
model.result(<pgtag>).feature(<ftag>).run();
Description
model.result(<pgtag>).create(<ftag>,"Streamline") creates a streamline plot feature named <ftag> belonging to the plot group <pgtag>.
Streamlines visualize a vector quantity on domains. A streamline is a curve everywhere tangent to an instantaneous vector field. Streamlines are available in 2D and 3D plot groups.
The following properties are available:
on | off
custom | black | blue | cyan | gray | green | magenta | red | white | yellow
black (2D), red (3D)
none | parent | data set name
The description of the expression in expr. Is used in the automatic title.
on | off
on | off
linpoint | harmonic | lintotal | lintotalavg | lintotalrms | lintotalpeak
If inheritplot is not none: Determines if the color is inherited.
If inheritplot is not none: Determines if the deformation scale is inherited.
none | plot name
If inheritplot is not none: Determines if the ribbon scale is inherited.
If inheritplot is not none and linetype is tube or ribbon: Determines if the tube or ribbon scale is inherited.
Time corresponding to last selected solnum for transient levels.
The time to use, for transient levels. Available when data is not parent and the underlying data is transient.
line | tube | ribbon
The index of the solution to use, per level, or interp, but only for transient solutions. Available when data is not parent and the underlying data has multiple solutions.
manual | automatic
The density of the streamlines. Active when posmethod is set to magnitude. Only available in 2D.
Starting distance factor. Active when madv is set to manual. Only available in 3D.
The first start point. Active when mseedactive is set to on.
on | off
on | off
on when vector field should be normalized.
cutplane | cartesian
magnitude | start | uniform | selection
off | pprint | ppr
The element refinement to use, if resolution is set to manual. Bear in mind that this is the refinement used for the base data set, so the number of elements in the model can increase radically if the plot uses, for example, a revolve data set.
norefine | coarse | normal | fine | finer | extrafine | custom
cylindrical | cartesian
none | material | internal | everywhere | expression
Smoothing settings. With material, smoothing is done inside material domains With internal, smoothing is done inside geometry domains. With expression, the smoothing is based on the expression in smoothexpr.
The expression to use for smoothing when smooth is set to expression.
The index of the solution to use. Available when data is not parent and the underlying data has multiple solutions.
solnum | solutioninfo
none | cut line or cut plane name
Active when posmethod is start: The line or plane where the start points are distributed evenly.
number | coord
Active when posmethod is start. Indicates whether the start points should be specified by number of points to distribute evenly or by coordinates.
The time to use, for transient problems. Available when data is not parent and the underlying data is transient.
manual | none
Threshold value (0-1), if threshold is set to manual.
on | off
on if t is used to determine time steps, off if solnum is used.
The title to use when titletype is manual.
auto | custom | manual | none
auto if the title contribution should be computed automatically, possibly using the group’s customization. custom if the title contribution should be computed automatically, but customized. manual if the manual title contribution should be used (the title property). none if no title contribution should be used.
on | off
manual | automatic
The unit to use for the expression in expr. If the old unit is not valid when the expression changes, the unit property is reset to default.
The first start point. Active when useedactive is set to on.
on | off
If true, widthscale is used; otherwise, the scale factor is computed automatically
Absolute coordinates in the z-direction, active when startmethod is set to coord. Available in 3D only.
Attributes
Color, Deform, Export, Filter
See Also
Particle, ParticleMass, StreamlineSurface