trusspy.core.element module#

title: TrussPy - Truss Solver for Python author: Andreas Dutzler year: 2023

class trusspy.core.element.Element(label, conn, elem_type=1, mat_type=1, material_properties=[nan], geometric_properties=[nan], mprop=None, gprop=None)[source]#

Bases: object

Element class.

label#

Element ID number

Type:

int

conn#

Array containing Element connectivity : [Node 1, Node 2]

Type:

ndarray

elem_type#

Element Type. (default is 1 for truss)

Type:

int, optional

mat_type#

Material Type. (default is 1 for linear-elastic)

Type:

int, optional

material_properties#

List with material parameters, e.g. [Young’s modulus, Thermal expansion coefficient] (default is [])

Type:

array_like, optional

geometric_proerties#

List with geometric parameters, e.g. [Section area] (default is [])

Type:

array_like, optional