trusspy.core.boundary module#

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

class trusspy.core.boundary.BoundaryT(element, value)[source]#

Bases: object

Thermal element based boundary class.

Parameter#

elementint

Element ID number

valuefloat

Value of thermal load

element#

Element ID number

Type:

int

value#

Value of thermal load

Type:

float

class trusspy.core.boundary.BoundaryU(node, values)[source]#

Bases: object

Mechanical (displacement) node based boundary class.

Parameter#

nodeint

Node ID number

valuesarray_like

List of boundary components: [U1, U2, U3]. Set 1 for active (free) DOF and 0 for inactive (locked) DOF.

node#

Node ID number

Type:

int

values#

Array of boundary components: array([U1, U2, U3]). Set 1 for active (free) DOF and 0 for inactive (locked) DOF.

Type:

ndarray