VolumeMeshCellType
Supported volume mesh cell shapes, used by get_geometry_data and set_geometry_data. The value in parentheses is the number of node indices each cell of that type occupies in the flat cell connectivity array (and the value its entry in cellSizes must equal). Available values: - Tetrahedron: Linear tetrahedron (4 nodes). - Hexahedron: Linear hexahedron (8 nodes). - Wedge: Linear wedge / triangular prism (6 nodes). - Pyramid: Linear pyramid (5 nodes). - QuadraticTetrahedron: Quadratic tetrahedron (10 nodes). - QuadraticHexahedron: Quadratic hexahedron (20 nodes). - QuadraticWedge: Quadratic wedge (15 nodes). - QuadraticPyramid: Quadratic pyramid (13 nodes).
Import
import ScriptingApi as api
# Access the class
# VolumeMeshCellType is available via api.VolumeMeshCellType
Enumeration Values
Enumeration Type from VolumeMeshCellType
| Value | Description |
|---|---|
VolumeMeshCellType.Tetrahedron | Tetrahedron option |
VolumeMeshCellType.Hexahedron | Hexahedron option |
VolumeMeshCellType.Wedge | Wedge option |
VolumeMeshCellType.Pyramid | Pyramid option |
VolumeMeshCellType.QuadraticTetrahedron | QuadraticTetrahedron option |
VolumeMeshCellType.QuadraticHexahedron | QuadraticHexahedron option |
VolumeMeshCellType.QuadraticWedge | QuadraticWedge option |
VolumeMeshCellType.QuadraticPyramid | QuadraticPyramid option |
Usage Example
import ScriptingApi as api
# Access enumeration values
value = api.VolumeMeshCellType.Tetrahedron