Beam Bending Lab: Deflection, Bending Moment and Stress for Cantilevers and Supported Beams

Hang weights on a steel, aluminium, wood or acrylic beam, change the supports and the cross-section, and read deflection, moment, stress and safety factor from a finite-element beam checked against the textbook formulas.

Switch to 2D

Presets

Playback

Parameters

Camera

Layers

Quality

Model check

The science

What you see

A workbench with a straight beam of one material and a rectangular section b x h. The left end is either clamped or rests on a knife edge; the right end is free, on a roller, or clamped. A hanger carries a weight (drag it along the beam), optional sand adds a uniform load, and a dial gauge under the beam reads the true deflection at its position. The beam is drawn bent by the chosen exaggeration so that millimetres are visible; every number on the page is the true value. Colours show the bending stress at each fibre: blue is compression, red is tension, magenta is beyond yield.

The model

Euler-Bernoulli beam theory: plane sections stay plane and perpendicular to the bent axis, so M(x) = -E I w''(x) with I = b h^3 / 12 and, equivalently, E I w'''' = q(x). The page solves it with cubic Hermite finite elements (60 elements plus a node under the point load, so the point-load results are exact at the nodes), builds the support reactions from the stiffness equations, and gets the moment from the element curvature. The fibre stress is sigma = M y / I, so the largest stress sits at the surface where |M| is largest: sigma_max = M_max (h/2) / I. The safety factor is the yield (or bending) strength divided by that stress.

Standard results the code is compared with: cantilever tip load delta = P L^3 / (3 E I), simply supported centre load P L^3 / (48 E I), uniform load 5 w L^4 / (384 E I) (simply supported) and w L^4 / (384 E I) (fixed ends), end moment w L^2 / 12, propped-cantilever prop force 3 w L / 8.

Why depth matters so much

For a given load the deflection scales as 1 / (E b h^3) and the stress as 1 / (b h^2): doubling the depth makes the beam eight times stiffer and four times less stressed, but doubling the width only halves both. That is why floor joists stand on edge, and why the "Same load, double depth" preset shows exactly one eighth of the deflection.

Dropping the load

"Drop the load" releases the weight suddenly, and the beam rings down around the static shape at its first natural frequency with a small damping ratio (2 %, a typical value for a metal beam; it is illustrative, not measured). The frequency is estimated by Rayleigh's quotient w^2 = g sum(m w) / sum(m w^2) using the static deflection under the weights as the shape; it includes the mass of the load, and it is always an upper bound on the true value.

Honest simplifications

  • Linear elastic material and small deflections: the straight-line model ends at the yield strength (the page warns when the surface stress passes it) and when the deflection is no longer small compared with the length.
  • Shear deformation and rotary inertia are ignored. This is accurate for span/depth above about 10 and under-estimates the deflection of stubby beams; the readout flags span/depth below 10.
  • No lateral-torsional buckling, no local crushing under the hanger or supports, no friction at the roller, and no gap or slip in the clamp: supports are ideal.
  • Wood is treated as a uniform material along the grain with a typical stiffness and a bending strength for a clear-grained board; real timber varies by a factor of two between pieces and creeps under long loads. Carbon-fibre and acrylic values are typical datasheet numbers, not a specific product.
  • The yield stress for steel and aluminium is the tensile yield; the plastic collapse of a beam happens later (by the shape factor 1.5 for a rectangle), which is explored on the metal-bending page.
  • The drawn hanger, strap and dial gauge are decoration, not part of the load path; the dial needle turns once per 5 mm.

Checks

The five boxes under the controls run the page's own solver against independent calculations: the cantilever tip load formulas, the simply supported off-centre point load at five stations, the uniform-load formulas of three support types, the equilibrium and superposition tests together with the depth-cubed scaling, and Rayleigh's frequency against the exact first-mode frequency of a cantilever and of a simply supported beam.

Loading model...
Loading Blender model...
Deflection along the beam: finite elements against the formula
Bending moment along the beam
Maximum deflection against the point load
Made with 🟠 Blender · Three.js