Element Descriptor#
- class ansys.dpf.core.element_descriptor.ElementDescriptor(enum_id, description, name, shape=None, n_corner_nodes=None, n_mid_nodes=None, n_nodes=None, is_solid=None, is_shell=None, is_beam=None, is_quadratic=None)#
Describes an element.
- Parameters:
element_id (int) –
description (str) – Specifies the element geometry and integration order.
name (str) –
shape (str, optional) – Can be
"solid"
,"shell"
, or"beam"
. The default isNone
.n_corner_nodes (int, optional) – The default is
None
.n_mid_nodes (int, optional) – The default is
None
.n_nodes (int, optional) – The default is
None
.is_solid (bool, optional) – Whether the element is a solid. The default is
None
.is_shell (bool, optional) – Whether the element is a shell. The default is
None
.is_beam (bool, optional) – Whether the element is a beam. The default is
None
.is_quadratic (bool, optional) – Whether the element is a quadratic. The default is
None
.
Examples
>>> from ansys.dpf import core as dpf >>> descriptor = dpf.ElementDescriptor(10, "Linear 4-nodes Tetrahedron", "tet4", "solid", 4, 0, 4, True, False, False, False)