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
. Thestress_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 materialelements (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
Adds an element and its element ID to the MaterialGroup.
Attributes
num_nodes
material
stress_result
elements
el_ids