ElementDescriptor#

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 is None.

  • 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)

Overview#

__str__

Provide more details in the string representation.

Import detail#

from ansys.dpf.core.element_descriptor import ElementDescriptor

Attribute detail#

ElementDescriptor.enum_id#
ElementDescriptor.description#
ElementDescriptor.name#
ElementDescriptor.n_corner_nodes#
ElementDescriptor.n_mid_nodes#
ElementDescriptor.n_nodes#
ElementDescriptor.shape#
ElementDescriptor.is_solid#
ElementDescriptor.is_shell#
ElementDescriptor.is_beam#
ElementDescriptor.is_quadratic#

Method detail#

ElementDescriptor.__str__()#

Provide more details in the string representation.