beam_check
Check beam or shelf load capacity against bending stress and deflection using simple supports or cantilevers, with point or distributed loads. Returns pass/fail and governing check.
Instructions
Check whether a beam or shelf holds a load: bending stress and deflection.
Closed-form Euler–Bernoulli check. "point" puts the whole load at the centre (simply supported) or the free end (cantilever); "udl" spreads magnitude_n evenly along the span. Give the section either directly (section_modulus_m3 and inertia_m4) OR as a solid rectangle (width_m and height_m).
Args: span_m: clear span / length, metres. support_type: "simply_supported" (held both ends) or "cantilever" (one end). load_type: "point" or "udl" (uniformly distributed). magnitude_n: total load in newtons (1 kg ≈ 9.81 N). e_pa: Young's modulus of the material, pascals (steel ≈ 2.0e11, pine ≈ 9e9). allowable_stress_pa: allowable bending stress of the material, pascals. section_modulus_m3: Z, if known. Else give width_m and height_m. inertia_m4: I, if known. Else give width_m and height_m. width_m, height_m: for a solid rectangle, used to compute Z and I. deflection_limit_ratio: optional, e.g. 250 means limit deflection to span/250.
Returns: max_moment_nm, max_stress_pa, max_deflection_m, stress utilisation, pass/fail, governing check, and a short explanation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| e_pa | Yes | ||
| span_m | Yes | ||
| width_m | No | ||
| height_m | No | ||
| load_type | Yes | ||
| inertia_m4 | No | ||
| magnitude_n | Yes | ||
| support_type | Yes | ||
| section_modulus_m3 | No | ||
| allowable_stress_pa | Yes | ||
| deflection_limit_ratio | No |