Structures Truss
structures_trussAnalyze 2D/3D pin-jointed trusses using direct stiffness to compute nodal displacements, reactions, axial forces, stresses, elongations, and optional Euler buckling under mechanical and thermal loads.
Instructions
2D/3D pin-jointed truss direct stiffness, thermal initial strain, nodal displacement/reactions, axial tension/compression, stress and elongation. Reports equilibrium residual and refuses mechanisms. Optional member I gives pinned Euler load. data.applied_total_fx/fy and loaded_nodes show the joint loads summed: compare with your hand total. Linear small displacement, axial bars only; <=200 nodes/400 members.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "structures_truss"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loads | No | Joint forces 'node,Fx,Fy[,Fz]', e.g. 'b,10 kN,0 N'; '' omits loads; <=400 records, repeated loads add. | |
| nodes | No | Required nodes 'id,x,y[,z]' with lengths, e.g. 'a,0 m,0 m;b,2 m,0 m'; <=200, semicolon/newline separators. | |
| members | No | Required bars 'id,node_i,node_j,E,A[,I]', e.g. 'e,a,b,200 GPa,100 mm^2'; I enables Euler compression checks; <=400. | |
| thermal | No | Member temperature/expansion overrides 'member,dT,alpha', e.g. 'e,100 K,0.00001 1/K'; '' omits overrides. | |
| supports | No | Restrained global directions 'node,axes', e.g. 'a,xy;b,y'; unique x/y/z letters, <=200; '' omits but model must be stable. | |
| dimension | No | Spatial dimension, 2 or 3; node/load rows must have that many components. | |
| unit_system | No | Output units: metric (m, N, Pa) or imperial (inch, lbf, psi). CSV columns explicitly name their units. | metric |
| buckling_factor | No | Dimensionless effective-length K for Euler checks of members with I, e.g. 1.0; range 0.1..10. | |
| thermal_expansion | No | Default linear thermal expansion per temperature, e.g. '0.00001 1/K'; requires temperature_change; '' omits. | |
| temperature_change | No | Default member temperature difference, e.g. '50 K'; requires thermal_expansion; '' omits; absolute offset units refused. |