2D Pinned Truss Analysis
Physical Intuition: The Mechanics of Pinned Trusses
In structural engineering, a truss is a classical skeletal framework composed of straight, slender members connected at their endpoints. The joints connecting these members are idealized as frictionless pins (or hinges). In real-world structures, such as bridge trusses, roof trusses, crane booms, and aerospace space-frames, the connections are made using gusset plates, rivets, bolts, or welds. However, if the longitudinal axes of the members meet at a concurrent point at the joint, the frictionless pin assumption serves as an exceptionally accurate and computationally efficient mathematical model.
The Fundamental Assumptions of Truss Analysis
To analyze a truss using the Finite Element Method (FEM), we establish the following physical and kinematic assumptions:
The High Structural Efficiency of Trusses
Trusses are among the most weight-efficient structures in engineering. To understand why, consider a solid rectangular beam under bending. The bending stress $\sigma_b = My/I$ varies linearly from maximum tension at the top fiber to maximum compression at the bottom fiber, passing through zero at the neutral axis. As a result, the material located near the neutral axis is barely stressed, representing under-utilized weight.
In contrast, a truss member has a uniform stress state: every point in the cross-section is stressed to the exact same value $\sigma = P/A$ (where $P$ is the axial force and $A$ is the cross-sectional area). By eliminating bending, trusses ensure that every gram of material is loaded to its limit. This makes them ideal for spanning vast distances (e.g., long-span bridges and stadium roofs) with minimal self-weight.
Coordinate Systems: Local vs. Global Frames
To establish the finite element equations for a truss, we must define two coordinate systems:
This frame is unique to each individual member. The local $x'$-axis is defined along the longitudinal centerline of the bar, pointing from the start node (Node 1, or node $i$) to the end node (Node 2, or node $j$). The local $y'$-axis is oriented perpendicular to the member. In this local frame, the member behaves simply as a 1D axial bar. The only relevant deformation is the elongation or contraction along the $x'$-direction, represented by local displacement degrees of freedom $u_1'$ and $u_2'$.
This is a single, fixed Cartesian coordinate system used for the entire truss structure. All nodal positions, external loads, support reactions, and boundary conditions are defined in this global frame. At each node in a 2D truss, there are two global displacement degrees of freedom: horizontal displacement $u$ and vertical displacement $v$.
The Necessity of Coordinate Transformations
While it is simple to write the stiffness matrix of an individual bar in its local $x'-y'$ coordinates, a typical truss consists of multiple members oriented at different angles $\theta$ relative to the global horizontal. We cannot directly assemble these local stiffness matrices because they describe forces and displacements in different, non-aligned directions.
To solve the system, we must project the local force-displacement relationship of each member onto the global $x-y$ coordinate axes. Once all element matrices are transformed into the global frame, they can be assembled into the global structural stiffness matrix $[K]$ using standard nodal connectivity.
Orientation Angles and Direction Cosines
The orientation of a truss member is defined by the angle $\theta$ it makes with the positive global $x$-axis, measured counterclockwise from the start node to the end node.
Let the global coordinates of the start node (Node 1) be $(x_1, y_1)$ and the end node (Node 2) be $(x_2, y_2)$. The length $L$ of the member is calculated using the Pythagorean theorem:
The orientation is mathematically described by the direction cosines, which are the cosine and sine of the angle $\theta$:
Note that these cosines satisfy the trigonometric identity:
The direction cosines act as projection operators. For example, if a node moves by a distance $u$ horizontally in the global frame, its projection along the member's local longitudinal axis is $u \cos\theta = l u$. If it moves by $v$ vertically, its projection along the member's axis is $v \sin\theta = m v$.
Extended chapter reference
Coordinate transformation, global assembly, member forces, and stability
A truss element carries only axial force, but its global behavior requires geometric transformation. Correct direction cosines, connectivity, and supports determine whether the assembled structure is stable and physically meaningful.
Visual map
From formulation to verified result
Equation sheet
Governing relationships
Orient the local member axis globally.
Projects global nodal motion onto the member.
Positive for tension under the stated convention.
Engineering comparison
Selection and interpretation table
| Model | Connection | Internal actions | Use |
|---|---|---|---|
| Plane truss | Pinned | Axial force | Roof and bridge trusses |
| Space truss | Pinned | Axial force in 3D | Towers and space frames |
| Plane frame | Rigid | Axial, shear, moment | Building and machine frames |
| Cable net | Flexible | Tension only | Lightweight tensile structures |
Verification and application
Checks before accepting the result
- c squared plus s squared equals one
- Enough supports remove rigid modes
- Joint forces balance
- Compression members pass buckling checks
Industry application
For a crane boom truss, static member stress may be acceptable while a long compression chord remains unsafe in buckling. The FEM result must therefore be paired with an Euler or code-based stability check.