Enter nodes, members, areas, and material data quickly. Get element lengths, angles, and stiffness terms. Review the assembled matrix and displacement solution instantly here.
A 2D pin-jointed truss uses two degrees of freedom per node: horizontal displacement (ux) and vertical displacement (uy).
This example is a three-node triangular truss with three members. Node 1 is fixed, node 2 is a roller (uy fixed), and node 3 has a downward load.
| Node | x (m) | y (m) | Fx (kN) | Fy (kN) | Fix ux | Fix uy |
|---|---|---|---|---|---|---|
| 1 | 0 | 0 | 0 | 0 | Yes | Yes |
| 2 | 4 | 0 | 0 | 0 | No | Yes |
| 3 | 2 | 3 | 0 | -10 | No | No |
| Member | i | j | Area (m²) | E (GPa) |
|---|---|---|---|---|
| 1 | 1 | 2 | 0.003 | 200 |
| 2 | 2 | 3 | 0.003 | 200 |
| 3 | 3 | 1 | 0.003 | 200 |
Each 2D truss member connects two nodes and carries axial force only. In global coordinates, the member stiffness matrix is:
A truss stiffness matrix links nodal forces to nodal displacements using linear elasticity. For a 2D truss, each node contributes two degrees of freedom, so an n-node model forms a (2n × 2n) global matrix. Larger matrices store more connectivity detail and capture load paths through multiple members.
This calculator numbers DOFs as d1=ux1, d2=uy1, d3=ux2, d4=uy2, and so on. Accurate mapping is critical: each member contributes a 4×4 stiffness block that is assembled into the correct global rows and columns. A single indexing mistake can distort reactions and member forces.
Member orientation enters through c=Δx/L and s=Δy/L. Horizontal members have c≈1, s≈0, vertical members have c≈0, s≈1. Short members increase stiffness because AE/L grows as L decreases, so consistent coordinates and units matter.
Axial stiffness scales linearly with A and E. Typical steel has E≈200 GPa, aluminum E≈69 GPa, and timber often ranges 8–14 GPa depending on species and grade. Doubling area doubles member stiffness and typically reduces displacements roughly in proportion for well-constrained trusses.
A stable 2D truss needs sufficient restraints to remove rigid-body motion. If you leave both translations free for all nodes, the reduced matrix Kff becomes singular and the solver reports a near-zero pivot. Add realistic boundary conditions (pins/rollers) and ensure the geometry is not a mechanism (for example, a line of collinear nodes without bracing).
Computed displacements reflect small-deformation linear theory. If results are unexpectedly large, check units first: mixing mm coordinates with m² areas can inflate AE/L inconsistently. Reactions appear at constrained DOFs and should balance applied loads (sum of forces in each direction should match within rounding).
The calculator reports axial force with tension positive. A negative value indicates compression. Stress is computed as σ=N/A and displayed in MPa (or ksi for imperial modulus choices). Compare stress to allowable limits and consider buckling checks for compression members, which stiffness alone does not capture.
Before trusting a large model, validate with a small sub-truss or hand-calculated case. Confirm that symmetric geometry with symmetric loading produces symmetric displacements. Review the global matrix structure: disconnected nodes create zero rows/columns. Finally, verify that changing one member area or modulus produces a sensible local response, not random global changes.
You need node coordinates, member connectivity, and positive A and E for each member. Add at least one support condition and at least one load to see meaningful displacements and reactions.
It usually means the structure can move as a rigid body or behaves like a mechanism. Add supports (pin/roller), fix missing restraints, or add bracing members so the truss is stable.
No. It solves nodal loads for 2D axial truss members. Convert distributed loads into equivalent joint loads using statics, then enter those nodal forces as Fx and Fy.
After solving nodal displacements, the axial deformation along a member is projected using direction cosines. The force is N=(AE/L)·Δ, where Δ is the displacement difference along the member axis.
Positive axial force is tension; negative is compression. Nodal loads follow your input sign: positive Fx acts to the right, positive Fy acts upward.
Use one consistent unit set per run. The calculator applies a single length, area, modulus, and force unit selection to every input. Mixing units inside the same run will cause incorrect stiffness and results.
Matrix entries depend on the base computational units used internally. Showing K in SI keeps values consistent and comparable. Export CSV for complete precision, and interpret displacements and forces in your selected display units.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.