MaterialGroup#

class sectionproperties.analysis.section.MaterialGroup(num_nodes: int, material: Material)[source]#

Bases: object

Class for storing elements of different materials.

A MaterialGroup object contains the finite element objects for a specified material. The stress_result variable provides storage for stresses related each material.

Parameters:
  • num_nodes (int) – Number of nodes in the finite element mesh

  • material (Material) – Material object for the current MaterialGroup

  • stress_result (StressResult) – A StressResult object for saving the stresses of the current material

  • elements (list[Tri6]) – A list of finite element objects that are of the current material type

  • el_ids (list[int]) – A list of the element IDs of the elements that are of the current material type

Methods

add_element

Adds an element and its element ID to the MaterialGroup.

Attributes

num_nodes

material

stress_result

elements

el_ids

add_element(element: Tri6) None[source]#

Adds an element and its element ID to the MaterialGroup.

Parameters:

element (Tri6) – Element to add to the MaterialGroup