pystran.spring module#
Define mechanical quantities of general springs.
- pystran.spring.assemble_stiffness(Kg, member, i, j)[source]#
Assemble the stiffness matrix of a general spring.
The details of the calculation depend on whether the spring is in two dimensions or in three dimensions.
- Parameters:
Kg – Global structural stiffness matrix.
member – Dictionary that defines the data of the member.
i – Dictionary that defines the data of the first joint of the member.
j – Dictionary that defines the data of the second joint of the member.
- Returns:
Updated global matrix is returned.
- Return type:
array
See also