Surface#

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

Provides for displaying surface graphics.

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

from ansys.fluent.visualization.pyvista import Graphics

graphics_session = Graphics(session) surface1 = graphics_session.Surfaces[“surface-1”] surface1.definition.type = “iso-surface” surface1.definition.iso_surface.field= “velocity-magnitude” surface1.definition.iso_surface.rendering= “contour” surface1.definition.iso_surface.iso_value = 0.0 surface1.display(“window-0”)

Attributes

Member

Summary

definition

Specify surface definition type.

show_edges

Show edges for surface.

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.SurfaceDefn.definition

Attributes

Member

Summary

iso_surface

Iso surface definition.

plane_surface

Plane surface definition.

type

Surface type.

type.allowed_values

type 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

Surface

Surface’s child

ansys.fluent.core.post_objects.post_object_definitions.SurfaceDefn.definition.iso_surface

Attributes

Member

Summary

field

Iso surface field.

field.allowed_values

field allowed values.

iso_value

Iso value for field.

iso_value.range

iso_value range.

rendering

Iso surface rendering.

rendering.allowed_values

rendering 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

definition

definition’s child

ansys.fluent.core.post_objects.post_object_definitions.SurfaceDefn.definition.plane_surface

Attributes

Member

Summary

creation_method

Creation Method.

creation_method.allowed_values

creation_method allowed values.

xy_plane

XY Plane definition.

yz_plane

YZ Plane definition.

zx_plane

ZX Plane definition.

Commands

Command

Summary

get_ancestors_by_name

get_ancestors_by_type

get_path

get_root

get_session

get_session_handle

Included in

Parent

Summary

definition

definition’s child

ansys.fluent.core.post_objects.post_object_definitions.SurfaceDefn.definition.plane_surface.xy_plane

Attributes

Member

Summary

z

Z value.

z.range

z 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

plane_surface

plane_surface’s child

ansys.fluent.core.post_objects.post_object_definitions.SurfaceDefn.definition.plane_surface.yz_plane

Attributes

Member

Summary

x

X value.

x.range

x 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

plane_surface

plane_surface’s child

ansys.fluent.core.post_objects.post_object_definitions.SurfaceDefn.definition.plane_surface.zx_plane

Attributes

Member

Summary

y

Y value.

y.range

y 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

plane_surface

plane_surface’s child