MeshElemType

class esmpy.api.constants.MeshElemType(value, names=None, module=None, type=None, start=1)

A Mesh can be constructed from a combination of different elements. The type of elements that can be used in a Mesh depends on the parametric dimension of the Mesh, which is set during Mesh creation. The following are the valid Mesh element types for each valid Mesh parametric dimension (2D or 3D).

TRI = <MeshElemType.TRI: 3>

2D triangular elements with 3 sides.

QUAD = <MeshElemType.QUAD: 4>

2D quadrilateral elements with 4 sides.

TETRA = <MeshElemType.TETRA: 10>

3D tetrahedral elements with 4 faces.

HEX = <MeshElemType.HEX: 12>

3D hexahedral elements with 6 faces.