Skip to content

Finite Element Analysis

From A Physical Truss To [K]{d}: The Direct-Stiffness Pipeline

Six nodes, nine bars, an inclined roller at 30°, and every step from bar element to member stress — with the missing geometry reconstructed from equilibrium.

Nov 26, 202611 min read

Explorer · Reconstructed truss, solver stresses

σe=ELe[−11][T]{D}e\sigma_e=\frac{E}{L_e}\begin{bmatrix}-1&1\end{bmatrix}[T]\{D\}_e
Compression0Tension
Displacements ×250

Member stress σ (MPa) — select a bar

1-7.62-7.631.241.2512.46-0.078.586.79-16.8

ΣFy reactions

70.000 kN

ΣFx residual

0.000 N

Roller slip u₆t

-1.3683 mm

[K] symmetric

Yes, 12×12

Problem

A planar truss has six nodes and nine pin-jointed bars. Chords (1–2, 2–3, 4–5, 5–6) have A=0.006 m2A = 0.006\ \text{m}^2; webs (1–4, 2–4, 3–4, 3–5, 3–6) have A=0.003 m2A = 0.003\ \text{m}^2. All bars are aluminium, E=70 GPaE = 70\ \text{GPa}. Downward loads of 50 kN50\ \text{kN} and 20 kN20\ \text{kN} act at nodes 4 and 5. Node 1 is pinned; node 6 sits on a roller inclined at γ=30∘\gamma = 30^\circ, which blocks motion normal to its track and allows tangential slip.

That gives 1212 translational DOFs, 33 constrained and 99 free. With 99 bars and 33 reactions against 2×6=122 \times 6 = 12 equilibrium equations, the truss is statically determinate — a fact that becomes useful below.

Reconstructing The Missing Geometry

The source record publishes stresses, displacements and reactions but not node coordinates. Rather than invent them, they can be recovered. At node 1 the bar forces are N14=(12.352 MPa)(0.003)=37.06 kNN_{14} = (12.352\ \text{MPa})(0.003) = 37.06\ \text{kN} (tension) and N12=(7.5888 MPa)(0.006)=45.53 kNN_{12} = (7.5888\ \text{MPa})(0.006) = 45.53\ \text{kN} (compression), with reactions Rx=23.299 kNR_x = 23.299\ \text{kN}, Ry=29.645 kNR_y = 29.645\ \text{kN}:

37.06 aL14−45.53+23.30=0  ⇒  aL14=0.600,29.645−37.06 hL14=0  ⇒  hL14=0.800.37.06\,\frac{a}{L_{14}} - 45.53 + 23.30 = 0 \;\Rightarrow\; \frac{a}{L_{14}} = 0.600, \qquad 29.645 - 37.06\,\frac{h}{L_{14}} = 0 \;\Rightarrow\; \frac{h}{L_{14}} = 0.800.

So every panel is a 3:4:5 triangle. Because the truss is determinate, stresses depend only on that proportion; displacements fix the scale. A panel width a=3 ma = 3\ \text{m} and height h=4 mh = 4\ \text{m} reproduces every published stress, displacement and reaction to the printed precision:

Node123456
(X,Y)(X, Y) m(0, 4)(3, 4)(6, 4)(3, 0)(6, 0)(9, 0)

This is a reconstruction, labelled as such; the explorer above draws it.

Bar Element

A linear axial field u(x)=N1u1+N2u2u(x) = N_1 u_1 + N_2 u_2 with N1=1−x/LeN_1 = 1 - x/L_e, N2=x/LeN_2 = x/L_e gives constant strain ϵx=[B]{u}\epsilon_x = [B]\{u\}, [B]=[−1/Le    1/Le][B] = [-1/L_e \;\; 1/L_e]. With σ=Eϵ\sigma = E\epsilon:

[ke′]=∫0LeBTEB Ae dx=AeELe[1−1−11].[k'_e] = \int_0^{L_e} B^T E B\, A_e\, dx = \frac{A_e E}{L_e}\begin{bmatrix} 1 & -1 \\ -1 & 1 \end{bmatrix}.

The isolated matrix is singular — it has a rigid-body translation mode. Only assembly with supports makes the system solvable.

Transformation To Global Coordinates

Direction cosines l=ΔX/Lel = \Delta X / L_e, m=ΔY/Lem = \Delta Y / L_e (with l2+m2=1l^2 + m^2 = 1) project the four global DOFs onto the bar axis, {d′}=[T]{d}e\{d'\} = [T]\{d\}_e with [T]=[lm0000lm][T] = \begin{bmatrix} l & m & 0 & 0 \\ 0 & 0 & l & m \end{bmatrix}:

[Ke]=[T]T[ke′][T]=AeELe[l2lm−l2−lmlmm2−lm−m2−l2−lml2lm−lm−m2lmm2].[K_e] = [T]^T [k'_e] [T] = \frac{A_e E}{L_e}\begin{bmatrix} l^2 & lm & -l^2 & -lm \\ lm & m^2 & -lm & -m^2 \\ -l^2 & -lm & l^2 & lm \\ -lm & -m^2 & lm & m^2 \end{bmatrix}.

For the diagonal 1–4, Le=5 mL_e = 5\ \text{m}, l=0.6l = 0.6, m=−0.8m = -0.8.

Assembly

Node nn owns DOFs 2n−12n-1 and 2n2n. Each bar's 4×44\times4 block is added into the 12×1212\times12 global matrix at [2i−1,2i,2j−1,2j][2i-1, 2i, 2j-1, 2j], giving [K]{d}={F}[K]\{d\} = \{F\}. The solver checks symmetry numerically rather than assuming it.

The Inclined Roller

At node 6 the displacement is rotated into tangential and normal components:

{utun}=[cos⁡γsin⁡γ−sin⁡γcos⁡γ]{u6v6},[K]mod=TG[K]TGT.\begin{Bmatrix} u_t \\ u_n \end{Bmatrix} = \begin{bmatrix} \cos\gamma & \sin\gamma \\ -\sin\gamma & \cos\gamma \end{bmatrix} \begin{Bmatrix} u_6 \\ v_6 \end{Bmatrix}, \qquad [K]_\text{mod} = T_G [K] T_G^T.

Only un=0u_n = 0 is imposed; utu_t stays free. The same TGT_G transforms the load vector and, afterwards, the displacements back to global axes.

Partition, Solve, Recover

dA=KAA−1(FA−KABdB),FB=KBAdA+KBBdB,d_A = K_{AA}^{-1}(F_A - K_{AB} d_B), \qquad F_B = K_{BA} d_A + K_{BB} d_B, ϵe=1Le[−1    1][T]De,σe=Eϵe,Ne=Aeσe.\epsilon_e = \frac{1}{L_e}[-1 \;\; 1][T] D_e, \qquad \sigma_e = E\epsilon_e, \qquad N_e = A_e \sigma_e.

Tension is positive.

Results

ElementNodesσ\sigma (MPa)State
11–2−7.5888Compression
22–3−7.5888Compression
34–5+1.1612Tension
45–6+1.1612Tension
51–4+12.352Tension
62–40Zero-force
73–4+8.4813Tension
83–5+6.6667Tension
93–6−16.815Compression (peak)

Displacements (mm): node 2 (−0.3252,−2.0663)(-0.3252, -2.0663), node 4 (−1.2845,−2.0663)(-1.2845, -2.0663), node 5 (−1.2348,−2.1655)(-1.2348, -2.1655), node 6 (−1.1850,−0.6842)(-1.1850, -0.6842) with tangential slip u6t=−1.3683u_{6t} = -1.3683. Reactions: node 1 (23.299,29.645) kN(23.299, 29.645)\ \text{kN}, node 6 (−23.299,40.355) kN(-23.299, 40.355)\ \text{kN}.

Correction: Node 6 Columns

The source table lists node 6 as ux=−0.6842u_x = -0.6842, uy=−1.1850 mmu_y = -1.1850\ \text{mm}. Those values violate the roller's own constraint: with the stated [Tc][T_c], un=−sin⁡30∘ux+cos⁡30∘uy=−0.684 mm≠0u_n = -\sin30^\circ u_x + \cos30^\circ u_y = -0.684\ \text{mm} \ne 0. Swapped, (ux,uy)=(−1.1850,−0.6842)(u_x, u_y) = (-1.1850, -0.6842) gives un=0u_n = 0 and ut=cos⁡30∘ux+sin⁡30∘uy=−1.3683 mmu_t = \cos30^\circ u_x + \sin30^\circ u_y = -1.3683\ \text{mm} — exactly the published slip. The solver returns the swapped pair; the source columns were transposed for that row.

Verification

  1. Equilibrium — the reactions sum to 70 kN70\ \text{kN} vertically and zero horizontally; the residual is computed, not typed in.
  2. Boundary conditions — node 1 is fixed and node 6's normal displacement is zero to machine precision.
  3. Independent recovery — the explorer's solver regenerates every value in the table from geometry, material and loads.
  4. Solver benchmark — the source reports agreement with ABAQUS; that is a comparison of two models, not proof they are identical.
  5. Visualization — colours and the deformed overlay are drawn from the solver arrays, with the displacement amplification stated.

Series · Finite Element Analysis

  1. Part 1

    From A Physical Truss To [K]{d}: The Direct-Stiffness Pipeline

  2. Part 2

    When Bending Is Not Enough: Euler–Bernoulli Versus Timoshenko

  3. Part 3

    From Continuum To Mesh: Plane Stress And The Patch Test

All analysis

Comments (2)

Demo discussion
  • Vicenta Castillo

    Vicenta@whitemeercat931

    Recovering the panel proportions from the node-1 reactions is a neat trick — equilibrium as a detective tool.

    • Rosa Cano

      Rosa@organicwolf313

      Did the inclined roller convention ever trip you up when back-transforming the reactions?