SYSTEM.INITIALIZE: BLUEPRINT_UNFOLD
DWG TITLEPORTFOLIO BLUEPRINT
DRAWN BYDINESH KUMAR
SCALE1:1
REVISIONA.02
← Back to FEM Dashboard
CHAPTER 5Element Formulations

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:

1.
Pure Axial Loading: Because the joints are frictionless pins, they cannot resist or transmit bending moments or transverse shear forces. Consequently, each member acts purely as a two-force member, carrying loads solely along its longitudinal axis. This means the stresses inside any member are uniform across its cross-section and are either purely tensile (positive) or purely compressive (negative).
2.
Joint Load Application: All external loads, support reactions, and boundary conditions are applied exclusively at the joints (nodes). If a member is subjected to distributed transverse loads (like wind load or self-weight), these loads must be replaced by statically equivalent point forces applied at the nodes.
3.
Small Deformation Theory: The displacements, rotations, and strains experienced by the truss are extremely small relative to its global dimensions. This linearity allows us to write the equations of equilibrium using the undeformed coordinate positions of the nodes, avoiding the need for non-linear geometric updates.
4.
Hookean Material Behavior: The material of the members is homogeneous, isotropic, and linear elastic. Thus, stress $\sigma$ is related to strain $\epsilon$ by Hooke's Law: $\sigma = E \epsilon$, where $E$ is the Young's modulus.

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:

1.
Local Coordinate System ($x'-y'$):

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'$.

2.
Global Coordinate System ($x-y$):

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:

$$L = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}$$

The orientation is mathematically described by the direction cosines, which are the cosine and sine of the angle $\theta$:

Horizontal Direction Cosine ($l$):
$$l = \cos\theta = \frac{x_2 - x_1}{L}$$
Vertical Direction Cosine ($m$):
$$m = \sin\theta = \frac{y_2 - y_1}{L}$$

Note that these cosines satisfy the trigonometric identity:

$$l^2 + m^2 = \cos^2\theta + \sin^2\theta = 1$$

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.

Transform a local axial element into global Cartesian coordinates.
Assemble multi-member trusses with shared translational DOFs.
Identify tension, compression, zero-force members, and unstable mechanisms.
Verify nodal equilibrium and strain-energy consistency.

Visual map

From formulation to verified result

2D Pinned Truss Analysis finite element workflowA six-stage engineering workflow from model definition through verification.2D Pinned Truss AnalysisModel-to-evidence sequence1
Member geometry
2
Direction cosines
3
Transform stiffness
4
Assemble structure
5
Solve nodal motion
6
Recover member force
Each stage produces evidence for the next. A reliable result preserves traceability from the physical idealization to the final engineering check.

Equation sheet

Governing relationships

Direction cosines
$$c=\frac{\Delta x}{L},\quad s=\frac{\Delta y}{L}$$

Orient the local member axis globally.

Axial extension
$$\delta=[-c\ -s\ c\ s]\{u\}^e$$

Projects global nodal motion onto the member.

Member force
$$N=\frac{AE}{L}\delta$$

Positive for tension under the stated convention.

Engineering comparison

Selection and interpretation table

ModelConnectionInternal actionsUse
Plane trussPinnedAxial forceRoof and bridge trusses
Space trussPinnedAxial force in 3DTowers and space frames
Plane frameRigidAxial, shear, momentBuilding and machine frames
Cable netFlexibleTension onlyLightweight 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.