Converter tool

Structural Beam and Frame Analysis

Solve 2D beams, trusses and frames by the direct stiffness method: reactions, shear, moment and deflection diagrams, member end forces and load combinations, with a plain explanation when the structure is a mechanism.

Units apply to every number you enter

1. Start from an example or build your own

Examples

E, A and I are entered directly or from dimensions

2. Sections

A and I from dimensions (cm)

2 of 80; coordinates in m

3. Nodes and supports

1 of 160; a hinge releases the moment at that end

4. Members

For a pin-jointed truss, tick both hinges on every member; joints where every member is hinged carry no moment.

Each load belongs to a case (D, L, W, ...) used by the combinations below

5. Loads

Loads on nodes

None.

Loads on members

Distributed loads are per metre (or foot) of member length. Gravity acts downward; positive perpendicular loads act along the member's local +y, which is its direction rotated 90 degrees counter-clockwise.

1 combination

6. Results

Largest node movement
0 mm
at node A
Equilibrium check
balanced
reactions plus loads, relative to the load
moment diagram of the structure for All cases x 1

Forces in kN, moments in kN m, displacements in mm

7. Tables

Support reactions
NodeFxFyMoment
A0300
B0300
Member end forces in local axes
MemberN startV startM startN endV endM end
M10301.0658e-140300
Member extremes and deflection check
MemberLengthMax MMin MMax VMin VDeflectionSpan / defl.Check
M1645-1.0658e-1430-30-10.547568.9within limit
Node displacements
NodeuxuyRotation (rad)
A00-0.005625
B000.005625

Deflection is measured from the chord between the member ends, so a rotated or supported-end movement does not count as bending. Internal moment is positive when it sags the member; the moment diagram is drawn on the tension side.

8. Export

This is an analysis aid for checking and learning. It performs no code checks and cannot replace a qualified engineer's design.

2D Beam and Frame Analysis

Operator: Abdulla Al Fahad. How tools are built and checked

A 6 m beam carrying 10 kN/m has a maximum moment of 45 kN m, a maximum shear of 30 kN and, for a typical steel section, a deflection near 10 mm. Textbook formulas give those three numbers in seconds; they stop helping the moment the beam has a hinge, a spring support, a second span or a column attached to it. This page solves those cases with the direct stiffness method and draws the shear, moment and deflection diagrams.

It handles two-dimensional beams, trusses and frames with up to 80 nodes and 160 members. Every load can belong to a case, and combinations such as 1.2 D + 1.6 L are solved one by one.

It is an analysis aid. It checks no code, it knows nothing about buckling or second-order effects, and its results carry no engineer's stamp.

Key features

  • Nodes with fixed, pinned, roller, spring or free supports; spring stiffnesses for each direction
  • Members with E, A and I, with a moment release (hinge) at either end, or both for truss bars
  • Point loads and moments on nodes, and on members at any distance; uniform and linearly varying distributed loads over a part or all of a member, in gravity, perpendicular, axial or horizontal direction
  • Self-weight from a unit weight, load cases and factored combinations
  • Reactions, member end forces, axial, shear, moment and deflection diagrams, with the deflection compared to a span limit
  • SI or US units, section properties from simple dimensions, CSV and PDF export

What the solver assumes, the sign conventions and how mechanisms are reported

Members are Euler-Bernoulli beam-column elements with three degrees of freedom per node. Distributed loads become equivalent nodal loads by integrating the element's shape functions, and the internal force diagrams and deflections are rebuilt from the end forces and the loads along the member, so a deflection between nodes is not limited to a cubic fit.

Local x runs from a member's start node to its end node and local y is x turned 90 degrees counter-clockwise. A distributed load in the perpendicular direction is positive along local y; gravity loads act downward whatever the member's angle. Moments are positive counter-clockwise, and the moment diagram is drawn on the tension side with sagging positive.

Deflection limits are checked on the deflection relative to the chord between a member's ends, which is the quantity span ratios such as L/360 refer to, rather than the absolute movement of the member.

How it works

Each member's stiffness is assembled into the structure matrix, hinges are removed by static condensation, supports are applied and the free equations are solved by Gaussian elimination on a matrix scaled to a unit diagonal. Reactions come from the unconstrained rows. After the solve the page checks that the reactions plus the applied loads balance and reports the residual.

If the matrix is singular the page does not just say so. It finds the direction with almost no stiffness, from the smallest eigenvalue of the scaled matrix, and names the node and movement that are free, such as the rotation of node 2.

A joint where every member is hinged and no support restrains rotation carries no moment, so its rotation is taken out of the system. That is what makes a truss of pinned members solvable.

Combinations are solved separately, each with its own loads, because they are linear: the results for a factored case are those of the factored loads.

Common use cases

  • A student checks a hand-calculated two-span continuous beam: the middle support takes 75 kN (5wL/4) and the hogging moment over it is 45 kN m.
  • A designer adds a roller and a spring under the end of a cantilever shelf to see how much a soft support picks up.
  • A portal frame with 20 kN sway and 15 kN/m on the beam gives the base moment of the fixed column and the thrust at the pinned base under two combinations.
  • A fabricator checks a Gerber-style beam with a hinge in the second span for the moment that jumps to zero at the hinge.
  • A teacher builds a three-bar truss with both hinges on every member and shows the axial forces of 18.03 kN compression and 10 kN tension from a 30 kN load.

How to use this tool

  1. Pick an example or start from the default beam and set the units.
  2. Define sections, then nodes with their supports, then members.
  3. Add loads to nodes and members and give each a case name.
  4. Type combinations, one per line, or leave the box empty to apply every case once.
  5. Switch between the diagrams and read the tables.

Example

The first example: nodes A (pinned) and B (roller) 6 m apart, one member with E = 200 GPa and I = 8,000 cm^4, a uniform gravity load of 10 kN/m

Combination: All cases x 1
Member M1, 6 m

Reactions, moment and deflection

Reactions: 30.00 kN at A and 30.00 kN at B
Maximum moment 45.00 kN m (wL^2/8 = 45), maximum shear 30.00 kN
Deflection 10.55 mm (5wL^4/384EI = 10.547 mm), span / deflection 569

Common pitfalls

Axial deformation is included, so a very long, slender column will shorten under load; set A large if you want a member that is rigid axially.

A support at a node that is not connected to any member is refused: every node must belong to the structure.

Loads belong to their case name exactly as typed; a combination naming a case no load uses is rejected, so spelling matters.

Distributed gravity loads are per length of member, not per horizontal length, which matters on sloping members.

  • Break a member into two where a point load or a change of section occurs only if you want the diagram to start a new line there; the loads on a single member can sit anywhere along it.
  • Check the equilibrium line first. A residual larger than about 1e-9 of the load means something in the model is inconsistent, such as a spring tiny compared with the member stiffness.

Common errors and how to fix them

The structure is a mechanism: the rotation of node 2 is not restrained.
A joint can rotate freely because a hinge or a support leaves it unrestrained. Add a support or a member there, or remove one of the hinges.
Node 4 is not connected to the rest of the structure by any member.
Add a member to it, or delete the node.
A distributed load on M1 must run from 0 to the member length at most.
Check the From and To fields, which are measured in the model's length unit along the member.
Load case "Live" in a combination is not used by any load.
Spell the case exactly as it appears on the loads: the page lists the cases in use.
Section S2: E, A and I must all be above zero.
Fill all three properties; use the dimension calculator for A and I.

Accuracy against closed-form cases

The solver reproduces the closed-form results for a simply supported beam under uniform and point loads, a cantilever under a tip load and a uniform load, a fixed-fixed beam under uniform and mid-span point loads, a propped cantilever, a triangular load, a moment load and a two-span continuous beam, all to better than 1e-9 relative. A fixed-base portal frame with a very stiff beam sways within 0.3 % of Ph^3/(24EI), the remainder being the columns' axial shortening, and a pin-jointed triangle gives the member forces from statics. These are the formulas collected in the AISC Steel Construction Manual's beam diagrams and in structural analysis texts.

Frequently asked questions

Can it design a section to a steel or concrete code?

No. It gives forces and deflections for the properties you enter and checks only the deflection ratio you type. Code checks need a design tool and the project's design rules.

Why is the deflection diagram so exaggerated?

It is scaled so the largest movement is about 12 % of the structure's size, and the page says by how many times. The numeric deflection in the tables is the true value.

How do I model a pin-jointed truss?

Tick the hinge at both ends of every member and put the loads on the nodes. Joints where only hinged members meet carry no moment.