Structure.add_elements
- Structure.add_elements(elements, type, thermal=False, axes={})[source]
Adds multiple elements of the same type to structure.elements.
- Parameters
elements (list) – List of lists of the nodes the elements are connected to.
type (str) – Element type: ‘HexahedronElement’, ‘BeamElement, ‘TrussElement’ etc.
thermal (bool) – Thermal properties on or off.
axes (dict) – The local element axes ‘ex’, ‘ey’ and ‘ez’ for all elements.
- Returns
list – Keys of the added or existing elements.
Notes
Elements are numbered sequentially starting from 0.