You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 $Q$ by the summation of product between $k$ and $u$ as follows:
The formulation of matrix $k$ is in the local coordinates where the end forces are perpendicular or parallel with the axis of the member, for a generalized representation end forces also derived in a more global manner based on this picture below:
Stiffness coefficients derivation in global coordinates (Kassimali, A.)
For the global coordinates the variable used are $F$, $K$ and $v$ that corresponds to $Q$, $k$ and $u$ in local manner consecutively. We can write this equation that correlates stiffness, end forces and displacement in global coordinates:
$$ F = K \times v $$
For more details about formulation of $K$ it can be read through book in the resources below. Matrix $K$ can be derived from $k$ using coordinates transformation to get equation as follows:
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.
Input
joint data
support data
material property data
cross-sectional property data
member data
load data
Output
displacements
member end forces
What things that I learned during the process?
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: