beam
Euler-Bernoulli beam, finite elements with cubic Hermite shape functions. Cantilever or simply supported, under a point load or a uniform load. Readings: maximum deflection and maximum bending moment; file deflection.csv (x, deflection).
- Field
- Mechanics, CAD and finite elements
- Version
- 0.1.0
- Runs as
- Compiled (Rust)
- Typical run
- 1 s
Compiled from source: run sh packs/install.sh once before admitting it.
A real run
- tip deflection
- 1.406 mm
- root moment
- 3000 N·m
- load
- 2000 N at the tip
- length
- 1.5 m
Known answers it must pass
r0001cantilever, end load: PL^3/3EI and PLpassed
max_deflection0.00166667 ± 1.7e-100.00166667locked0.028 % of the tolerance usedmax_moment2000 ± 0.00022000locked0.026 % of the tolerance usedr0002cantilever, uniform load: wL^4/8EI and wL^2/2passed
max_deflection0.000625 ± 6.3e-110.000625locked0.028 % of the tolerance usedmax_moment1000 ± 0.00011000locked0.023 % of the tolerance usedr0003simply supported, mid load: PL^3/48EI and PL/4passed
max_deflection0.000104167 ± 1e-110.000104167locked0.013 % of the tolerance usedmax_moment500 ± 5e-05500lockedunder 0.01 % of the tolerance usedr0004simply supported, uniform load: 5wL^4/384EI and wL^2/8passed
max_deflection6.51042e-05 ± 6.5e-126.51042e-05locked0.013 % of the tolerance usedmax_moment250 ± 2.5e-05250locked0.011 % of the tolerance used
Each line is one reading the kernel checked. The bright band is the tolerance; the needle is the value the instrument actually returned when it was admitted. A needle near the centre line used little of its tolerance.
Inputs
| Name | Unit | Default | Meaning |
|---|---|---|---|
support | cantilever | cantilever: fixed at x=0. simply_supported: pinned at both ends. | |
load | point_end | point_end: P at the free end (cantilever only). point_mid: P at mid-span. udl: w along the whole beam. | |
length | m | 2.0 | |
E | Pa | 200000000000.0 | Young's modulus. |
I | m^4 | 8e-06 | Second moment of area. |
P | N | 1000.0 | Point load. |
w | N/m | 500.0 | Uniform load. |
elements | 40 |
Readings
| Name | Unit | Meaning |
|---|---|---|
max_deflection | m | |
max_moment | N m | |
deflection.csv |
Try the call
Change a value and the command updates. Nothing runs here; paste it into your terminal or give it to your agent.