data#
- class ansys.api.pyensight.ensight_api.data(session: Session)#
Class wrapper for EnSight data module
This class acts as a proxy for the EnSight Python module ensight.data
Methods
data.add
(p0)Adds a new case and reads the given filename via the extension-to-reader mapping file (ensight_reader_extension.map).
Sets the byte (endian) order for binary geometry, result, and measured data files.
data.boundary
(p0)Specify the name for the boundary file.
data.format
(p0)Set the format type for the geometry and result files.
data.geometry
(p0)Set the name for the file containing geometric information.
data.mcfile_begin
(args)Data: mcfile_begin
Data: mcfile_end
Data: mcfile_generate
data.mcfile_name
(p0)Data: mcfile_name
data.measured
(p0)Specify the name for the measured particle file.
Data: multiple_case_read
Data: native_binary
Informs the client that the static data files have been modified.
Informs the client that the static data files are about to be modified.
data.new_time
(p0)Informs client that a new transient time step is available
Informs client of last transient time step available
Data: newviewport_on_add
data.path
(p0)Specify the directory under which the data files are located.
When the format is plot3d, specifies the dimensionality of the data.
When the format is plot3d, specifies the iblanking value for the geometry file.
When the format is plot3d, specifies that the file is single or multi zone.
When the format is plot3d, specifies how the file is formatted.
Read the geometry, result, and/or measured data files.
This command has not yet been documented.
Data: read_gui
Set user defined reader (UDR) optional flag.
data.replace
(p0)Replaces the current case and reads the given filename via the extension-to-reader mapping file (ensight_reader_extension.map).
data.resource
(p0)Sets the resource file name that will be passed to the EnSigtht SOS for reading and processing.
data.result
(p0)Set the name for the file containing result information.
Data: select_case_begin
Data: select_case_end
data.shift_time
(p0, p1, p2)This command has not yet been documented.
When using EnSight SOS data can be automatically decomposed by either the EnSight server or by User Defined Readers which implement this capability (e.g. Silo, ExodusII, CTH).
Data: sos_decompose_type
Depending upon which data format is selected for use with SOS and with EnSight resources, a file name may contain wild card symbols ('*').
data.start_time
(p0)When reading transient data load the timestep indicated as the initial time step.