Virtual Work Beam Calculator: Compound Beam with a Hinge, Slope on Both Sides and a Full Check

Work out a beam made of segments of different stiffness, with supports, an internal hinge and point, uniform, triangular or trapezoid loads. The deflection and slope come from the virtual work method, shown segment by segment, and are checked against a separate finite element solve.

Calculated from standard textbook formulas, with every step shown. The formulas are fixed, so the working does not need checking: what matters is the numbers you type in. Use these calculators only if you are competent to choose the inputs (loads, material strength, dimensions, supports) and check your units and assumptions. For learning and checking your own working: design and sign-off are for a qualified engineer. Drafting Central does not store the numbers you type.

How this calculator works

Enter the modulus and the reference second moment of area, then the segments from the left, one per line, as a length and a stiffness multiple such as 2 for 2 EI.

Choose the left end (fixed, pinned or free), add roller or fixed supports, set the position of the hinge (0 for none) and list the loads: U for uniform, T for linear, P for a point load and M for an applied moment.

Enter the point where you want the deflection and slope. Put it at the hinge to get the slope on the left and the right. The calculator shows the reactions, the shear and bending moment piece by piece, the virtual work integral for every segment, the finite element check and plots of the deflection, slope, shear and moment.

Formulas used

  • \delta = \sum\frac{1}{k_i\,EI}\int M\,M_v\,dx\quad(M_v\text{ from a unit load})
  • \theta = \sum\frac{1}{k_i\,EI}\int M\,M_v\,dx\quad(M_v\text{ from a unit moment})
  • M(x) = \sum R_i\,(x - x_i) - \sum P_j\,(x - x_j) - \int q(s)\,(x - s)\,ds + \sum M_k

Worked example

With the default numbers in the calculator above:

  1. Stiffness of the reference section: 2000 kN m²
  2. Vertical reaction at x = 0 m: 42.5 kN up
  3. Moment reaction at x = 0 m: 97.5 kN m anticlockwise on the beam
  4. Vertical reaction at x = 8 m: 30 kN up
  5. Shear force through the hinge: 10 kN (the right-hand part pushes the left-hand part up)
  6. Equilibrium check (reactions minus loads): 0 kN out of balance
  7. Shear and bending moment, piece 1 (x = 0 to 3 m): V 42.5 to 12.5 kN, M -97.5 to -15 kN m
  8. Shear and bending moment, piece 2 (x = 3 to 6 m): V 12.5 to -10 kN, M -15 to 0 kN m
  9. Shear and bending moment, piece 3 (x = 6 to 8 m): V -10 to -10 kN, M 0 to -20 kN m
  10. Shear and bending moment, piece 4 (x = 8 to 9 m): V 20 to 20 kN, M -20 to 0 kN m
  11. Deflection by virtual work, segment 1 (x = 0 to 3 m, 2 EI): 360 kN m³
  12. Deflection by virtual work, segment 2 (x = 3 to 6 m, 1.5 EI): 14.25 kN m³

Change the numbers in the calculator to see the full working, every step, for your own case.

A second worked example

A different case, with these numbers: Point where you want the deflection and slope 9 m.

  1. Stiffness of the reference section: 2000 kN m²
  2. Vertical reaction at x = 0 m: 42.5 kN up
  3. Moment reaction at x = 0 m: 97.5 kN m anticlockwise on the beam
  4. Vertical reaction at x = 8 m: 30 kN up
  5. Shear force through the hinge: 10 kN (the right-hand part pushes the left-hand part up)
  6. Equilibrium check (reactions minus loads): 0 kN out of balance
  7. Shear and bending moment, piece 1 (x = 0 to 3 m): V 42.5 to 12.5 kN, M -97.5 to -15 kN m
  8. Shear and bending moment, piece 2 (x = 3 to 6 m): V 12.5 to -10 kN, M -15 to 0 kN m
  9. Shear and bending moment, piece 3 (x = 6 to 8 m): V -10 to -10 kN, M 0 to -20 kN m
  10. Shear and bending moment, piece 4 (x = 8 to 9 m): V 20 to 20 kN, M -20 to 0 kN m
  11. Deflection by virtual work, segment 1 (x = 0 to 3 m, 2 EI): 180 kN m³
  12. Deflection by virtual work, segment 2 (x = 3 to 6 m, 1.5 EI): 7.125 kN m³

Common questions

What is the virtual work method for a beam?

You apply a unit load (for a deflection) or a unit moment (for a slope) at the point you want, find the bending moment Mv it causes, and add up the integral of M x Mv / EI over every part of the beam. The sum is the deflection or slope in the real beam.

Why are there two slopes at a hinge?

A hinge carries shear but no bending moment, so the two sides can turn by different amounts. The slope on the left and on the right are different, and the difference is the rotation of the hinge. The virtual moment is applied to one side at a time.

How does the calculator check itself?

The virtual work answer uses the bending moment from statics. A separate finite element solve of the same beam gives its own deflection and slope. The calculator shows both and says whether they agree.

What does it assume?

Euler-Bernoulli bending, small deflections, a linear elastic material, a hinge that carries shear and no moment, no shear deformation and supports that do not move. It is a learning and checking aid, not a design check.

Related calculators

Got a question about this? Ask an engineering question and get a plain-language answer with references.

Further reading: Any structural analysis or mechanics of materials text (principle of virtual work, unit load method, beams with internal hinges).

Need a calculator we do not have?

Tell us what you would like to calculate. We read every request and build the most asked-for ones.

We store your request (and your email if you give it) to decide what to build. We do not store the numbers you type into calculators.

Embed this calculator on your own page

Copy this code into your page. The calculator runs inside the frame and links back to Drafting Central.

Need this drawn, designed or checked?

Drafting Central is a mechanical engineering and drafting business working with customers across Australia and around the world. A calculator gives you the numbers; we can turn them into drawings and designs.

Need help with a real project?

Talk to Drafting Central →

← All engineering calculators