This program is about structural analysis using stiffness method. During learning, I tried to code the concepts of stiffness in structral analysis using the simplest structure that is 2D truss. Unlike flexibility methods where internal forces are solved to get delfections, in stiffness method we solve for the deflections first to get internal forces.
This picture is the derivation of stiffness matrix for 2D truss:
Notation for stiffness coefficient derivation in 2D truss elements (Kassimali, A.)
2D truss elements have 2 degree of freedoms in each end. Therefore there is 4 degree of freedoms (u1, u2, u3, u4) in each elements (X, Y translations in each end).
This picture is the breakdown of total displacement into each displacement components (u1, u2, u3, u4):
Stiffness coefficients derivation (Kassimali, A.)
kij represents the force at the location and in the direction of Qi required, along with other end forces, to cause a unit value of displacement uj, while all other end displacements are zero. These forces per unit displacement are called stiffness coefficients. (Kassimali, A.)
From the figure we can get the value of
or in a matrix form as follows:
or
using equilibrium equations it can be shown that the matrix
The formulation of matrix
Stiffness coefficients derivation in global coordinates (Kassimali, A.)
For the global coordinates the variable used are
For more details about formulation of
For the next steps are in the resources. It contains the process of assembling element stiffness matrices into structural stiffness matrices and solving the equations using given compatibility of joint forces and reactions.
- joint data
- support data
- material property data
- cross-sectional property data
- member data
- load data
- displacements
- member end forces
- How structural analysis is done with computer modeling.
- Creating a simple applications to calculate structural responses from scratch.
- Understanding the program complexity in terms of space and time,
$O(NDOF^2)$ , where$NDOF$ is number of degree of freedom for a simple linear analysis. - Understanding this simple problem serves as the foundation to know for more generalized problems (3D frames) which has 6 degree of freedoms (X, Y, Z translations and rotations) in each end of the members. The stiffness coefficients matrix is given below:
where:
Kassimali, A., 2012. Matrix analysis of structures. 2nd ed. Stamford: Cengage Learning.