Skip to main content

VolumeMeshStatistics

Other

Statistics for a single volume mesh.

Import​

import ScriptingApi as api

# Access the class
# VolumeMeshStatistics is available via api.VolumeMeshStatistics

Properties​

name​

Name of the volume mesh.

Type: str


num_vertices​

Number of vertices.

Type: int


num_elements​

Number of elements (all types).

Type: int


num_tetrahedra​

Number of tetrahedral elements.

Type: int


num_hexahedra​

Number of hexahedral elements.

Type: int


num_wedges​

Number of wedge/prism elements.

Type: int


num_pyramids​

Number of pyramid elements.

Type: int


num_polyhedra​

Number of polyhedral elements.

Type: int


num_other_elements​

Number of other element types.

Type: int


num_edges​

Number of edges.

Type: int


num_faces​

Number of faces.

Type: int


total_volume​

Total volume in cubic millimeters.

Type: float


volume_fraction​

Volume fraction as percentage.

Type: float


surface_area​

Surface area in square millimeters.

Type: float


surface_area_fraction​

Surface area fraction as percentage.

Type: float


surface_area_to_volume_ratio​

Surface area to volume ratio.

Type: float


shape_index​

Shape index.

Type: float


sphericity​

Sphericity measure (1.0 = perfect sphere).

Type: float


compactness​

Compactness measure.

Type: float


diameter​

Maximum diameter.

Type: float


center_of_mass​

Center of mass [x, y, z].

Type: list


bounding_box_area​

Bounding box area.

Type: float


bounding_box_volume​

Bounding box volume.

Type: float


bounding_box_diagonal​

Bounding box diagonal length.

Type: float


bounding_box_size​

Bounding box size [x, y, z].

Type: list


bounding_box_center​

Bounding box center [x, y, z].

Type: list


num_regions​

Number of connected regions.

Type: int


num_boundary_faces​

Number of boundary faces.

Type: int


See Also​