Beam element

Every member in EduBeam, whether a beam, a column or a truss bar, is the same element: a straight two-node Timoshenko beam in the x–z plane with a constant cross section. This page gives its formulation exactly as the solver computes it, so you can rebuild any element matrix or load vector by hand and check it against the app. The signs are those of Coordinate system & sign conventions, the code is Beam2D.ts in @edubeam/fem, and How EduBeam solves a model shows how the elements come together into a solution.

Degrees of freedom

Each node has three degrees of freedom (DOFs), so the element has six. In the element's local axes, each end displacement has a matching end force, the column of the Element results table:

xz12u1w1φ1u2w2φ2
The beam element's six degrees of freedom, each drawn positive; the dashed line marks the bottom fibres (local +z)
DirectionStart node (1)End node (2)
along local x and X12 and X21
along local z, down for an element drawn left to right and Z12 and Z21
rotation, counter-clockwise and M12 and M21

In this order they make up the element's displacement and force vectors:

Because z points down and rotations are counter-clockwise, the axis of a beam without shear deformation turns by .

Local stiffness matrix

The end forces of an element without element loads are , with

and

and are the material's Young's and shear moduli, the area, the second moment of area about y, the cross section's Shear coefficient and the element's length. is the shear parameter: it measures how flexible the member is in shear compared with bending, and grows as the member gets short and deep. With the terms are the familiar , , and of an Euler–Bernoulli beam. Axial and bending behaviour are uncoupled: and only meet .

Textbooks with y up print where this matrix has . Both describe the same stiffness; only the direction of the transverse displacement differs.

Where the matrix comes from: the exact shape functions

For a prismatic Timoshenko member without load, the equilibrium equations have an exact solution: linear in , cubic and quadratic. Written through the end displacements, with , the deflection is

For these are the cubic Hermite polynomials, and , the minus sign coming from . The stiffness matrix holds the end forces these exact shapes need, so it is the exact stiffness of the member, not an approximation that improves with more elements. The solver draws the deformed shape with the same functions.

Shear deformation: Timoshenko or Euler–Bernoulli?

Whether the element deforms in shear depends only on , and so on the cross section's shear coefficient : is the area that carries shear. Each kind of section starts with its own :

Cross sectionShear coefficient
The starter model and the built-in examples, which makes : Euler–Bernoulli
I-, H- and wide-flange sections from the library: the web carries the shear
Rectangular hollow sections from the library: the two side walls
Rectangles and squares from the library0.833
Circles from the library0.9
Circular hollow sections from the library0.5
Polygonal sections0.833 to start with
Add cross section dialog1 to start with

For a slender member the difference is small. Under a uniform load, shear adds to the bending deflection at mid-span of a simply supported beam. With an IPE 200 in steel that is 1.2 % over 6 m but 11 % over 2 m. To switch shear deformation off, set to a very large number such as 1e32. Unless they say otherwise, the live figures on this site use the shear-rigid example section, so they match hand calculations by Euler–Bernoulli theory. The one below does not:

IPE 200 over 2 m with k = h·tw/A = 0.393: w = 0.5657 mm at mid-span, 11 % more than the 0.5106 mm of Euler–Bernoulli theory (Φ = 0.135)0.5657q = 10 kN/m1010
IPE 200 over 2 m with k = h·tw/A = 0.393: w = 0.5657 mm at mid-span, 11 % more than the 0.5106 mm of Euler–Bernoulli theory (Φ = 0.135)Open in EduBeam

End hinges

A ticked end hinge makes the moment at that end of the element zero. The element's end rotation is then free, and the solver removes it by static condensation. Split the six DOFs into those kept, , and the released end rotations, :

Here are the fixed-end forces of the element loads. The second row gives the rotation at the hinge,

and putting it into the first row leaves the condensed stiffness and fixed-end forces

The solver writes back into a 6 × 6 matrix with zero rows and columns for the released rotations, so a hinged element is assembled exactly like any other. After the solution it recovers from the formula above, and the deformed shape shows the kink at the hinge.

With a hinge at the end node, the bending part for becomes

which for is the classic stiffness of a propped member. With hinges at both ends nothing is left of the bending terms and only remains: the element is a truss bar.

A hinge belongs to an element end, not to the node. If every element meeting at a node is hinged there, nothing is connected to the node's own rotation. The solver leaves it at zero, which is harmless, but a nodal moment applied at such a node has nothing to act on and makes the system singular.

Element loads

Loads along an element enter the solution as equivalent nodal loads, . The fixed-end forces are the end forces that hold the loaded element with both ends clamped.

All formulas below are in local axes. A load entered in global axes (with LCS unticked) is first turned into local components with and of the element's angle,

where the bar marks the global components. Line loads act per metre of the element's own length. A rafter from to , for example, has m, and (it rises, so decreases). A gravity load kN/m on it has kN/m, down the slope, and kN/m across it, and the rafter carries kN in all, not .

In the tables:

  • , : a uniform load; : a trapezoidal load, at the start node and at the end node.
  • , , : a force or moment at the distance from the start node, with .
  • : the bottom fibres warmer than the top ones; : the axis warmer. is the material's coefficient of thermal expansion and the section's Height.

Across the axis (z components) and for , at the start node:

At the end node:

Along the axis (x components), for any :

Fixed-end forces with shear deformation

The uniform load and the temperature load give the same fixed-end forces for any . For the others, with and (the z components):

They are the exact solutions of a clamped Timoshenko member, and so is the deflection the solver adds between the nodes for each load.

On a hinged element the fixed-end forces are condensed to , as in End hinges. A uniform load on an element with a hinge at its end node, for example, gives , , and (for ): the fixed-end forces of a propped cantilever.

After the solution, the internal forces along the element follow from its end forces and the statics of the load on it, and the deflection from the shape functions plus the clamped deflection of the load: see Results along the members.

Transformation matrix

An element at the angle , measured from global x toward global z (clockwise on screen), has

and its local end displacements follow from the global ones as , with

Rotations are the same in both systems. If a node has a Nodal LCS angle (an inclined support), its unknowns are in its own axes, turned by from global x toward global z. Their global components are

for that node's three DOFs. The solver multiplies on the right by the block-diagonal matrix of the two end nodes' (the identity for a node without its own axes), so the element connects to each node in that node's axes.

Global stiffness matrix

In global axes, the element's stiffness matrix and equivalent nodal loads are

with and already condensed if the element has hinges. is what the Stiffness matrix window shows for an element (open it from the Elements table or the element's context menu), in SI units: N/m, N and N·m. How EduBeam solves a model assembles these matrices and solves a small example by hand.