dump_session_data#
Module providing dump session data functionality.
Classes:
|
Reads dump data. |
Functions:
|
Dump session data. |
- class ansys.fluent.core.utils.dump_session_data.DumpDataReader(file_name)#
Bases:
object
Reads dump data.
Methods:
__init__
(file_name)Initialize DumpDataReader.
get_pathlines_data
(surface_ids, field_names, key)Get pathlines data.
get_scalar_field_data
(surface_ids, ...)Get scalar field data.
Get session data.
get_surface_data
(surface_ids, data_types)Get surface data.
get_vector_field_data
(surface_ids, field_names)Get vector field data.
- __init__(file_name)#
Initialize DumpDataReader.
- get_pathlines_data(surface_ids, field_names, key)#
Get pathlines data.
- get_scalar_field_data(surface_ids, data_location, provide_boundary_values, field_names)#
Get scalar field data.
- get_session_data()#
Get session data.
- get_surface_data(surface_ids, data_types)#
Get surface data.
- get_vector_field_data(surface_ids, field_names)#
Get vector field data.
- ansys.fluent.core.utils.dump_session_data.dump_session_data(session, file_name, fields=None, surfaces=None)#
Dump session data.
- Parameters:
- session
Session object.
- file_name: str
File path for the session dump.
- fields: list, optional
List of fields to write. If the list is empty, all fields are written.
- surfaces: list, optional
List of surfaces to write. If the list is empty, all surfaces are written.