Theoretical Basis#
PyCBA
is based on the matrix stiffness method.
Note#
Until this section is completed, please also see the Matrix Stiffness Method lecture notes here for more information.
Elements#
The stiffness matrices for the elements used in PyCBA
are given below.
Note that the releases relate only to internal hinges within the elements themselves, and not to the supports conditions. Note also, that in modelling joints, there must always be one element with a ‘fixed’ end at a joint; otherwise the resulting global stiffness matrix will be singular.
Type 1: Fixed-Fixed#
Type 2: Fixed-Pinned#
Type 3: Pinned-Fixed#
Type 4: Pinned-Pinned#
Displacements#
Displacement along an element are found using cumulative trapezoidal integration to approximate the integral. It is not accurate to use the beam element shape functions due to the presence of inter-nodal loading. Thus, the rotations along an element are found by integrating the curvatures:
and similarly the displacements then found by integrating the rotations:
In both cases we approximate the integral with:
which is implemented using SciPy
’s cumulative trapezoidal integration along the \(n\) integration points along the member.
Note that \(\theta_0\) and \(\delta_0\) are required: the rotation and translation at the \(i\)-node of the element. This is typically the output of the global system of equations; i.e., the nodal displacements. However, for elements with releases (types 2, 3, 4 above), we need to determine the starting rotation, \(\theta_0\). From the slope deflection equations we can find this starting rotation at the \(i\)-node:
in which the \(FEM\) are the consistent nodal loading moments due to the inter-nodal loads, and the \(M\) moments are solved from the global stiffness equation.