post_objects_container#
Module providing visualization objects to facilitate integration with libraries like Matplotlib and pyvista.
Classes:
|
Base class for containers, for example, Plots, Graphics. |
|
Provides the pyvista |
|
Provides the Matplotlib |
- class ansys.fluent.core.post_objects.post_objects_container.Container(session, container_type, module, post_api_helper, local_surfaces_provider=None)#
Bases:
object
Base class for containers, for example, Plots, Graphics.
- Parameters:
- session
object
Session object.
- container_type: object
Container type (for example, Plots, Graphics)
- module: object
Python module containing post definitions
- post_api_helper: object
Provides helper APIs for post-processing
- local_surfaces_provider
object
,optional
Object providing local surfaces so that user can access surfaces created in other modules, such as PyVista. The default is
None
.
- session
Methods:
__init__
(session, container_type, module, ...)__init__ method of Container class.
get_path
()Get container path.
update
(value)Update the value.
Attributes:
Type.
- __init__(session, container_type, module, post_api_helper, local_surfaces_provider=None)#
__init__ method of Container class.
- get_path()#
Get container path.
- property type#
Type.
- update(value)#
Update the value.
- class ansys.fluent.core.post_objects.post_objects_container.Graphics(session, module, post_api_helper, local_surfaces_provider=None)#
Bases:
Container
Provides the pyvista
Graphics
objects manager.This class provides access to
Graphics
object containers for a given session so that graphics objects can be created.- Parameters:
- session
obj
Session object.
- module: object
Python module containing post definitions
- post_api_helper: object
Provides helper APIs for post-processing
- local_surfaces_provider
object
,optional
Object providing local surfaces so that you can access surfaces created in other modules, such as pyvista. The default is
None
.
- session
- Attributes:
Methods:
__init__
(session, module, post_api_helper[, ...])__init__ method of Graphics class.
Add a mesh outline.
- __init__(session, module, post_api_helper, local_surfaces_provider=None)#
__init__ method of Graphics class.
- class ansys.fluent.core.post_objects.post_objects_container.Plots(session, module, post_api_helper, local_surfaces_provider=None)#
Bases:
Container
Provides the Matplotlib
Plots
objects manager.This class provides access to
Plots
object containers for a given session so that plots can be created.- Parameters:
- session
obj
Session object.
- module: object
Python module containing post definitions
- post_api_helper: object
Provides helper APIs for post-processing
- local_surfaces_provider
object
,optional
Object providing local surfaces so that you can access surfaces created in other modules, such as pyvista. The default is
None
.
- session
- Attributes:
Methods:
__init__
(session, module, post_api_helper[, ...])__init__ method of Plots class.
- __init__(session, module, post_api_helper, local_surfaces_provider=None)#
__init__ method of Plots class.