Vector#

class ansys.fluent.visualization.pyvista.pyvista_objects.Vector(name, parent, api_helper)#

Provides for displaying vector graphics.

Parameters
name
parent
api_helper
.. code-block:: python

from ansys.fluent.visualization.pyvista import Graphics

graphics_session = Graphics(session) vector1 = graphics_session.Vectors[“vector-1”] vector1.surfaces_list = [‘symmetry’] vector1.scale = 4.0 vector1.skip = 4 vector1.display(“window-0”)

Attributes

Member

Summary

range

Range definition.

scale

Vector scale.

show_edges

Show edges.

skip

Vector skip.

surfaces_list

List of surfaces for vector graphics.

surfaces_list.allowed_values

surfaces_list allowed values.

vectors_of

Vector type.

vectors_of.allowed_values

vectors_of allowed values.

Commands

Command

Summary

display

Display graphics.

ansys.fluent.visualization.post_object_defns.VectorDefn.range

Attributes

Member

Summary

auto_range_off

Auto range off definition.

auto_range_on

Auto range on definition.

option

Range option.

option.allowed_values

option allowed values.

Included in

Parent

Summary

Vector

Vector’s child

ansys.fluent.visualization.post_object_defns.VectorDefn.range.auto_range_off

Attributes

Member

Summary

clip_to_range

Clip vector within range.

maximum

Range maximum.

minimum

Range minimum.

Included in

Parent

Summary

range

range’s child

ansys.fluent.visualization.post_object_defns.VectorDefn.range.auto_range_on

Attributes

Member

Summary

global_range

Show global range.

Included in

Parent

Summary

range

range’s child