Truss element
A truss bar carries axial force only. EduBeam has no separate truss element: a truss bar is a beam element with both end hinges ticked. This page shows why that is exactly the classic two-node truss element, gives its stiffness and transformation matrices, and explains what a hinged bar can do that a textbook truss bar cannot.
To model a truss in the app, tick Start hinge and End hinge for every bar, or tick both in the banner before you draw the bars with the mouse (end hinges). The plane truss tutorial builds one step by step.
Degrees of freedom
A truss bar works with the two translations at each end, in its local axes:
| Direction | Start node (1) | End node (2) |
|---|---|---|
| along local x | and X12 | and X21 |
| along local z | and Z12 | and Z21 |
The nodes keep their rotation Ry, because every member is a beam element, but a bar hinged at both ends neither feels nor transmits it: its end moments M12 and M21 are always zero. At a joint where every bar is hinged, nothing holds that rotation. The solver leaves it at zero, but a nodal moment applied at such a joint has nothing to act on and stops the solution with Structure is a mechanism: the stiffness matrix is singular.
Local stiffness matrix
with Young's modulus, the cross-sectional area and the length. Only stretching the bar costs energy, so the normal force of a bar without element loads is constant:
Why a beam with two hinges is a truss bar
Condense both end rotations out of the beam stiffness matrix, as for any end hinge. The axial terms do not involve rotations and stay as they are. The bending terms vanish entirely: once both rotations are free, any pair of end displacements , just turns the bar as a rigid body about its hinges, which costs no energy. The solver does this condensation numerically, for any shear coefficient, and gets the matrix above up to floating-point round-off.
The condensation, worked out
For the bending part, order the DOFs as kept, , and released, . From the beam matrix, with to and the shear parameter as defined there,
Since has two equal columns, only the sum of the entries of matters, which is :
With the factor is , so this is exactly and the condensed bending stiffness is zero.
Transformation matrix
For a bar at the angle from global x toward global z, with and , the local displacements are with
the translation rows and columns of the beam's transformation matrix. Mind the sign of with z pointing down: the rafter A → C of the truss above rises, so m, and .
Global stiffness matrix
multiplies out to
The Stiffness matrix window of a hinged bar shows these numbers in its translation rows and columns, and zeros for the rotations.
What a hinged beam does beyond a truss bar
Because a truss bar in EduBeam is still a beam element, it can do two things a textbook truss bar cannot:
- Carry loads along its length. A line load on a bar, such as its self-weight, bends the bar between its joints like a simply supported beam and passes to each joint. The other bars carry the normal forces of the truss under these joint loads. In the loaded bar itself, the component of the load along the bar makes vary linearly, and the truss force is its value at mid-length.
- Mix with beams. A frame can contain hinged bars, such as a tie or a bracing diagonal, with no special element type.
Add 5 kN/m to the tie of the truss above:
The hand check: at C, vertical equilibrium gives kN in each rafter. At A, the rafter's horizontal component, kN, is balanced by the tie, which is in tension with kN. The load on the tie goes straight into the supports at its ends: it adds kN to each reaction but nothing to the normal forces.
A truss has to be stable as a pin-jointed structure. A square panel without a diagonal, for instance, is a mechanism: EduBeam names the hinges and shows the motion (troubleshooting).