The local stiffness matrix for an element of length and area and Young’s Modulus is given by:
Each element matrix is assembled into the global matrix. Note that if you have 3 elements, there will be 4 nodes so the matrix will be !
For example, if we have 3 elements:
- Element 1: Node 1, Node 2, stiffness
- Element 2: Node 2, Node 3, stiffness
- Element 3: Node 3, Node 4, stiffness
Then we can add the local matrices to the global matrix like this:
For Element 1:
For Element 2:
For Element 3:
Transformation to Global Coordinates
If an element is positioned at angle, such as many truss members, we have to use a transformation matrix.
Note that this matrix is as truss members have local matrices (2 degrees of freedom at each node)
A local element stiffness matrix can be transformed to global coordinates can be found by:
This can also be directly done with: