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.
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 |