Contour#

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

Provides for displaying contour graphics.

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

from ansys.fluent.visualization.pyvista import Graphics

graphics_session = Graphics(session) contour1 = graphics_session.Contours[“contour-1”] contour1.field = “velocity-magnitude” contour1.surfaces_list = [‘wall’] contour1.display(“window-0”)

Attributes

Member

Summary

boundary_values

Draw boundary values.

contour_lines

Draw contour lines.

field

Contour field.

field.allowed_values

field allowed values.

filled

Draw filled contour.

node_values

Draw nodal data.

range

Range definition.

show_edges

Show edges.

surfaces_list

Contour surfaces.

surfaces_list.allowed_values

surfaces_list allowed values.

Commands

Command

Summary

display

Display graphics.

get_ancestors_by_name

get_ancestors_by_type

get_path

get_root

get_session

get_session_handle

ansys.fluent.core.post_objects.post_object_definitions.ContourDefn.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.

Commands

Command

Summary

get_ancestors_by_name

get_ancestors_by_type

get_path

get_root

get_session

get_session_handle

Included in

Parent

Summary

Contour

Contour’s child

ansys.fluent.core.post_objects.post_object_definitions.ContourDefn.range.auto_range_off

Attributes

Member

Summary

clip_to_range

Clip contour within range.

maximum

Range maximum.

minimum

Range minimum.

Commands

Command

Summary

get_ancestors_by_name

get_ancestors_by_type

get_path

get_root

get_session

get_session_handle

Included in

Parent

Summary

range

range’s child

ansys.fluent.core.post_objects.post_object_definitions.ContourDefn.range.auto_range_on

Attributes

Member

Summary

global_range

Show global range.

Commands

Command

Summary

get_ancestors_by_name

get_ancestors_by_type

get_path

get_root

get_session

get_session_handle

Included in

Parent

Summary

range

range’s child