Skip to content
Omnikalc

Two-bar truss apex deflection by virtual work

Enter the geometry, the bar areas, the modulus and the loads at the apex of a two-bar truss to get the bar forces, the largest stress and the apex deflections by the unit-load method.

Updated on
Your inputs
ft

Value out of range

ft

Value out of range

kips

Value out of range

kips

Value out of range

in²

Value out of range

in²

Value out of range

ksi

Value out of range

Results

Total deflection of the apex

0.071 in

Length of each bar
10.00 ft
Force in the left bar (tension positive)
-13.54 kips
Force in the right bar (tension positive)
-19.79 kips
Largest axial stress
13.2 ksi
Vertical deflection of the apex (down)
0.069 in
Horizontal deflection of the apex (right)
0.017 in

The two-bar truss calculator finds the forces in the bars, the largest stress and the vertical and horizontal deflections of the apex by the virtual work (unit-load) method.

How the calculation works

  • Enter the half span, the height of the apex and the cross-section areas of the two bars, and the modulus of elasticity.
  • Enter the vertical load and the horizontal load that act at the apex.
  • The calculator gives the bar forces, the largest stress and the vertical and horizontal deflections of the apex by the unit-load method.

Example

A two-bar truss has its supports 8 ft from the vertical axis and its apex 6 ft above them, so each bar is 10 ft long, with sin θ = 0.6 and cos θ = 0.8. The apex carries 20 kips down and 5 kips to the right. The bars have 2.0 in² (left) and 1.5 in² (right), with E = 29,000 ksi. Equilibrium gives N1 = (5 / 0.8 − 20 / 0.6) / 2 = -13.54 kips and N2 = (−20 / 0.6 − 5 / 0.8) / 2 = -19.79 kips, both in compression. The largest stress is 13.2 ksi. With a unit vertical load, each bar has n = −1 / (2 sin θ) = -0.833, so δv = Σ N n L / (AE) = 0.069 in. A unit horizontal load gives δh = 0.017 in, and the apex moves 0.071 in in all.

Why it matters

The calculator helps students of structural analysis, engineers of brackets, hangers and small frames, and teachers to see the unit-load method on the simplest truss. The two bars let you follow every term by hand, and the choice of different areas shows how stiffness decides the direction of the movement.

Good to know

Check the signs of the forces: compression is negative here, and a bar in compression must be checked for buckling. The deflection grows with the bar length and falls with the area, so a flatter truss, with a small angle, moves much more than a steep one, since sin² θ is in the denominator. Use the same units for the loads, the areas and the modulus, and compare the result with the span, as a limit of L/360 is common for service loads.

The Warren truss calculator finds the member forces of a larger truss, the fixed-end moments calculator gives the moments of a fixed beam, the beam deflection calculator gives the deflection of a beam and the roof truss calculator sizes the rafters and the ties of a roof.

Frequently asked questions

What is the virtual work or unit-load method?

To find the deflection of a joint, apply a unit load at that joint in the direction you want, and find the bar forces n that this unit load causes. The deflection is the sum, over all the bars, of N n L / (A E), where N is the force due to the real loads. It follows from the principle of virtual work, and it works for any truss, whatever the support conditions, as long as the material is elastic.

Why does the calculator give two deflections?

The apex of a two-bar truss moves in both directions. A unit vertical load gives the vertical deflection, and a unit horizontal load gives the horizontal one. When the two bars have different areas, the vertical load also moves the apex sideways, and the horizontal load also moves it down, which is why the calculator uses both unit loads together with both real loads.

What if the bars have the same area?

When the two areas are equal, the cross terms vanish. The vertical deflection reduces to P L / (2 A E sin² θ) and the horizontal one to H L / (2 A E cos² θ). You can check the calculator with these formulas by setting the two areas equal. With different areas, the apex goes sideways under a pure vertical load, as the calculator shows.

What does the calculator leave out?

The calculator takes small deflections, so the geometry does not change under load, pinned joints, a symmetric frame and bars of the same material and length. It leaves out the buckling of the compressed bar, the thermal effects, the lack of fit and the weight of the bars. Check the slenderness of the bar in compression before you rely on the result.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.