Skip to main content

VolumeMeshCellType

Other

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

ValueDescription
VolumeMeshCellType.TetrahedronTetrahedron option
VolumeMeshCellType.HexahedronHexahedron option
VolumeMeshCellType.WedgeWedge option
VolumeMeshCellType.PyramidPyramid option
VolumeMeshCellType.QuadraticTetrahedronQuadraticTetrahedron option
VolumeMeshCellType.QuadraticHexahedronQuadraticHexahedron option
VolumeMeshCellType.QuadraticWedgeQuadraticWedge option
VolumeMeshCellType.QuadraticPyramidQuadraticPyramid option

Usage Example

import ScriptingApi as api

# Access enumeration values
value = api.VolumeMeshCellType.Tetrahedron

See Also