2D Truss Analysis Calculator
Draw nodes and members on a grid with your finger or mouse, set pin and roller supports and joint loads, and solve the truss by the direct stiffness method: member forces coloured for tension and compression, support reactions, deflections, a statics check and the method-of-joints working for hand calculations, with CSV, SVG, PNG and a printed report.
ทำงานในเบราว์เซอร์ของคุณ ไฟล์ไม่ออกจากอุปกรณ์ ดูวิธีตรวจสอบ
…
วิธีทำ
- 1Draw the nodes
Choose Add node and tap the grid to place joints; set the grid snap to suit your panel sizes.
- 2Join the members
Choose Add member and tap two nodes in turn to connect them; keep tapping to draw a chain.
- 3Set supports
Tap a node and pick pin or roller so the truss is restrained against sliding and turning.
- 4Add loads
Enter Px and Py in kN at the loaded joints, with downward loads negative.
- 5Read the forces
Check tension and compression on the drawing, the reactions and the statics check, and open the joint steps.
- 6Export
Save the project, download CSV, SVG or PNG, or print the report with the drawing and tables.
เกี่ยวกับเครื่องมือนี้
A plane truss is a set of straight members joined by pins at their ends and loaded only at the joints, so every member carries a pure axial force: it is either pulled in tension or squeezed in compression. Roof trusses, bridge trusses, crane booms, towers and the frames that students solve in statics courses all work this way. This editor lets you draw the truss directly. Add nodes by tapping the grid, join them with members, drag a node to change the geometry and pick a support for each node: a pin restrains both directions, a roller restrains one. Loads are entered at the nodes in kilonewtons with x to the right and y upwards. The solver assembles the global stiffness matrix from the axial stiffness EA/L of every member, removes the restrained directions and solves for the joint displacements with Gaussian elimination. Member forces follow from the change in length, and the reactions from the restrained rows of the matrix. Because the stiffness method does not need the truss to be determinate, it also solves redundant trusses with extra diagonals, where the force in each member depends on its relative stiffness. The tool reports the count check m + r − 2j, so you can see whether the truss is determinate, indeterminate or short of members, and it warns when the matrix is singular, which means part of the truss can move as a mechanism. For determinate trusses it then walks through the joints one at a time, the way you would by hand, and writes out the equilibrium equations and the force found at each step.
Results and drawing
Members are drawn blue in tension and red in compression with a line width that grows with the force, and each member is labelled with its axial force in kN. Reactions appear under the supports, loads are drawn as green arrows and a deformed shape can be shown with a chosen magnification. Tables list length, force, state and axial stress (force divided by area) for every member, and the displacement of every node in millimetres.
Units
Lengths are in metres, loads in kilonewtons, Young's modulus in GPa and member area in mm². With these units the axial stiffness EA in kN is simply E multiplied by A, and stress comes out in MPa.
Limits
The model is an ideal pin-jointed truss with small, linear elastic deflections and loads only at joints. It does not include member self-weight, distributed loads on members, bending, buckling of compression members, connection design or load combinations, and it does not design or check sections against a code. Use it to find forces and check hand calculations, then size the members separately. Verify with a qualified engineer.
ตัวอย่างพร้อมวิธีทำ
The example is a Pratt truss of four 3 m panels and 3 m height with a pin at L0, a roller at L4 and 10 kN hanging from each of the three inner bottom joints. The solver gives reactions of 15 kN up at each support. The end diagonals L0-U1 and L4-U3 carry 21.21 kN compression, the bottom chord carries 15 kN tension in every panel, the top chord U1-U2-U3 carries 20 kN compression, the verticals L1-U1 and L3-U3 carry 10 kN tension, the inner diagonals carry 7.07 kN tension and the centre vertical L2-U2 is a zero-force member. With E = 200 GPa and A = 1500 mm² the bottom chord stress is 10 MPa and the largest deflection is about 1.3 mm. The method-of-joints tab starts at L0, finds L0-U1 = −21.21 kN and L0-L1 = 15 kN, and continues joint by joint to the same values.
สรุปสั้น ๆ
- หมวดหมู่: วิศวกรรมและก่อสร้าง
- ทำงานในเบราว์เซอร์ ไม่ต้องสมัคร ไม่ต้องอัปโหลด
- ข้อมูลที่คุณกรอกอยู่บนอุปกรณ์ของคุณ
- มีภาษาอังกฤษ
- ตรวจสอบเนื้อหาล่าสุด:
- แหล่งข้อมูลทางการ: Direct stiffness method for pin-jointed plane trusses and the method of joints, as taught in structural analysis texts (for example Hibbeler, Structural Analysis)
คำถามที่พบบ่อย
How do I know if my truss is statically determinate?
Count joints j, members m and reaction components r. If m + r = 2j and the truss is stable, it is determinate. If m + r is larger, it is indeterminate, and the tool still solves it using member stiffness. If it is smaller, the truss is a mechanism.
Why does the solver say the matrix is singular?
Some joint or panel can move without stretching any member, for example a square panel without a diagonal, or supports that do not stop the truss sliding or rotating. Add a diagonal member or another support restraint and solve again.
Is a negative force tension or compression?
Negative means compression and positive means tension, the usual sign convention. The drawing also colours compression red and tension blue so you can read the result at a glance.
Do E and A change the forces?
In a determinate truss they do not: forces come from statics alone, and E and A only change deflections and stresses. In an indeterminate truss stiffer members attract more force, so enter realistic values for each member.
Can I put a load in the middle of a member?
Not directly, because truss members are assumed to carry axial force only. Add a node at the load point and split the member in two, or replace the distributed load by equivalent joint loads.
Does it check buckling of the compression members?
No. It gives the axial forces you need for that check. Buckling depends on the member section, effective length and the design code, so check compression members separately.
