Mech Beam Bending
mech_beam_bendingComputes support reactions, maximum shear, bending moment, deflection, and bending stress for simply supported or cantilever beams under point or uniform loads.
Instructions
Closed-form single-span beam: simply supported or cantilever, with one point load or a uniform load over the whole span. Returns support reactions, maximum shear, maximum bending moment, maximum deflection and maximum bending stress (Euler-Bernoulli, linear elastic, self-weight ignored). Section: rectangle, circle, tube, or custom second moment of area and extreme-fibre distance.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"length": "<length>",
"load": "<load>"
},
"name": "mech_beam_bending"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| load | Yes | Point load as a force, e.g. '5 kN', or for load_type 'udl' a force per length, e.g. '10 kN/m' | |
| width | No | Rectangle width b (parallel to the neutral axis), e.g. '50 mm' | |
| height | No | Rectangle height h (in the load direction), e.g. '100 mm' | |
| length | Yes | Span (simply supported) or length from wall to free end (cantilever), e.g. '2 m' | |
| section | No | 'rectangle' (width, height), 'circle' (diameter), 'tube' (diameter, inner_diameter) or 'custom' (second_moment, extreme_fiber). Bending is about the axis parallel to the width; the load acts along the height. | rectangle |
| support | No | 'simply_supported' or 'cantilever' | simply_supported |
| diameter | No | Circle or tube OUTER diameter, e.g. '40 mm' | |
| position | No | Point load only: distance from the left support (or from the wall for a cantilever), e.g. '0.5 m'. Empty = midspan (simply supported) or the free end (cantilever). | |
| load_type | No | 'point' (one concentrated load) or 'udl' (uniform over the whole length) | point |
| unit_system | No | Unit system of the results: 'metric' (kN, N*m, mm, MPa) or 'imperial' (lbf, lbf*ft, inch, ksi) | metric |
| extreme_fiber | No | Custom section: distance c from the neutral axis to the extreme fibre, e.g. '50 mm' | |
| second_moment | No | Custom section: second moment of area I, e.g. '4.17e6 mm^4' | |
| inner_diameter | No | Tube inner diameter, e.g. '32 mm' | |
| elastic_modulus | No | Young's modulus E, e.g. '210 GPa' (steel), '70 GPa' (aluminium) | 210 GPa |
| allowable_stress | No | Optional allowable bending stress, e.g. '160 MPa'. Gives the utilization. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | Non-quantity payload (reports, listings) | |
| error | No | ||
| value | No | Primary quantity result | |
| values | No | All named quantity results (includes the primary) | |
| warnings | No | ||
| artifacts | No | ||
| provenance | Yes | What produced the result and from which inputs. | |
| review_status | No | unreviewed |