pysdic.Connectivity.element_type#

property Connectivity.element_type: str | None#

[Get or Set] The expected type of elements in the connectivity.

Element Type

Description

“segment_2”

2-node line element

“segment_3”

3-node line element

“triangle_3”

3-node triangular element

“triangle_6”

6-node triangular element

“quadrangle_4”

4-node quadrilateral element

“quadrangle_8”

8-node quadrilateral element

Parameters:

value (Optional[str]) – The expected type of elements in the connectivity. If None, no type enforcement is applied.

Returns:

The expected type of elements in the connectivity.

Return type:

Optional[str]

Raises:
  • TypeError – If the element type is not a string or None.

  • ValueError – If the element type is not one of the implemented types. If the current elements do not match the expected type.