MeshStatistics#
- class ansys.turbogrid.core.mesh_statistics.mesh_statistics.MeshStatistics(turbogrid_instance: PyTurboGrid, domain: str = 'ALL')#
Class for mesh statistics analysis based on the current mesh in a running session of TurboGrid.
Methods
MeshStatistics.create_histogram
(variable[, ...])Create a histogram from the mesh statistics using the matplotlib library.
MeshStatistics.get_domain_label
(domain)Get a label for a domain.
MeshStatistics.get_mesh_statistics
([variable])Get the basic mesh statistics.
Get a text version of the mesh statistics table.
Get the mesh statistics table data as a list of rows.
MeshStatistics.update_mesh_statistics
([domain])Re-read the mesh statistics from TurboGrid.
MeshStatistics.write_table_to_csv
(file_name)Write a csv file containing a table of the current mesh statistics values.
Attributes
The domain that was used for the last update of the mesh statistics.
Interface to a running session of TurboGrid.
Cache of the basic mesh statistics obtained by the last call to update_mesh_statistics or from the initialization of the object if update_mesh_statistics has not been called.