calc_beam
Perform first-cut Euler-Bernoulli beam bending analysis: compute deflection, bending moment, stress, and safety factor for cantilever and simply supported beams under point or uniform loads.
Instructions
Beam bending first-cut (Euler–Bernoulli): case one of cantilever_point, cantilever_udl, simply_point_center, simply_udl; section rect {b_mm,h_mm}, round {d_mm}, or tube {d_outer_mm,d_inner_mm}. Point loads in N, distributed in N/mm, E in GPa (default 200, steel). Returns I, max deflection, moment, bending stress, and a safety factor when you pass yield_mpa. No shear deflection, buckling, or stress concentration.
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": {
"case": "<case>",
"length_mm": "<length_mm>",
"section": "<section>",
"dims_mm": "<dims_mm>"
},
"name": "calc_beam"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| case | Yes | ||
| e_gpa | No | ||
| load_n | No | ||
| dims_mm | Yes | ||
| section | Yes | ||
| udl_n_mm | No | ||
| length_mm | Yes | ||
| yield_mpa | No |