The Chartership Forum

The Finite Element Method: First Principles / One-dimensional finite elements

Derive and assemble the axial element

A complete two-element calculation with an auditable live implementation.

Lesson review: expert verification remains open

This lesson has received a full-context editorial review and a check of its technical explanations. Selected arithmetic has been checked separately. This is not independent engineering sign-off.

Checks needed for project use

  • Independent FEM/continuum reviewer to check derivations, pedagogical completeness, constraint conventions and the limits of the recorded benchmarks. Actual 125%, 150% and 200% browser zoom remains unqualified.

These are educational models and exercises. Check their assumptions before using the results. The full technical content and every diagram have not yet been independently verified.

Concrete and steel calculations retain their stated first-generation Eurocode teaching basis. Use the standards and amendments specified for your project; do not mix generations without an appropriate design basis.

Read the lesson register and outstanding review notes

By the end of this lesson you should be able to

  • Derive every entry of the axial element matrix
  • Carry out a two-element calculation by hand
  • Distinguish nodal accuracy, stress approximation and energy convergence

What you should already know

  • Strong and weak forms in this course
  • Two simultaneous linear equations
  • Linear elastic axial mechanics and unit conversion

Linear interpolation

Use local coordinate s from 0 to h. Seek uₕ(s)=a+bs. Enforcing uₕ(0)=d₁ and uₕ(h)=d₂ gives a=d₁ and b=(d₂−d₁)/h. Grouping the nodal values produces shape functions. Their sum is one, so the element represents rigid translation. Their linear combination also reproduces every linear axial displacement field.

N=[1−s/hs/h],B=[−1/h1/h]\mathbf N=[1-s/h\quad s/h],\qquad \mathbf B=[-1/h\quad 1/h]

What it calculates: Displacement interpolation and its derivative.

Ke=EA∫0h1h2[1−1−11]ds=EAh[1−1−11]\mathbf K_e=EA\int_0^h\frac1{h^2}\begin{bmatrix}1&-1\\-1&1\end{bmatrix}ds=\frac{EA}{h}\begin{bmatrix}1&-1\\-1&1\end{bmatrix}

What it calculates: Integrating BᵀEAB gives all four stiffness coefficients.

fe=∫0h[1−s/hs/h]q ds=qh2[11]\mathbf f_e=\int_0^h\begin{bmatrix}1-s/h\\s/h\end{bmatrix}q\,ds=\frac{qh}{2}\begin{bmatrix}1\\1\end{bmatrix}

What it calculates: Consistent nodal forces for a uniform axial line load.

Each coefficient of fₑ is a force. The nodal loads are obtained by equating work for every linear virtual displacement, not by dividing the total load without reference to shape functions. Equal halves happen here because q is uniform and the two linear basis functions have equal integrals. A varying q or higher-order interpolation needs its own integration.

For connectivity matrix Aₑ, dₑ=Aₑd. Summing virtual work gives K=ΣAₑᵀKₑAₑ and f=ΣAₑᵀfₑ plus nodal loads. A shared node receives contributions from both adjacent elements. Keep the unmodified K and f for reaction recovery.

Worked example

Two elements with distributed and end loads

Given

  • L = 2 m; two elements of length h = 1 m
  • E = 200 GPa; A = 400 mm²; EA = 80 MN
  • q = 10 kN/m; P = 20 kN at the right end; u₁ = 0

Find

Global matrices, free displacements, reaction, element stresses and energy.

    References and further study

    Klaus-Jürgen Bathe, Finite Element Procedures, Prentice Hall, 1996, ISBN 0-13-301458-4, section 3.3.4, pages 124–127, explains the differential, variational and Galerkin formulations used as the theoretical reference here. Peter Debney, Computational engineering, IStructE, version 1.3, July 2022, sections 7.8–7.9, pages 150–153, discuss model validity and independent checking. The supplied books are private references; no textbook example or figure is reproduced here.

    MIT OpenCourseWare: Bathe, Analysis of continuous systems introduces the virtual-displacement formulation. The displacement-based finite element method continues to discrete equations. These are further-learning links, not a claim that MIT verified this implementation.

    The calculations in this lesson were derived independently and checked against force integration, compliance and strain-energy identities. Verification applies to the stated axial model and test cases. It does not establish suitability for a real structure.