Part VI
Verification
C. Stress recovery · Oriented pipe, midspan stress
A 4.0 m cantilever pipe runs from (0.0, 0.0, 0.0) to (0.0, 4.0, 0.0), along global Y rather than global X. A reference vector (1.0, 0.0, 0.0) fixes its local y axis. It carries a uniform local load of −2.0 N/m and a point force of −4.0 N at midspan. Given its free-end movement in global terms, does the solver recover the same midspan moment and bending stress as for the same pipe laid along X?
1.Inputs.
Illustrative values, taken from no standard and chosen so the arithmetic can be followed by hand. Most do not describe a real pipe; read them in any consistent set of units.
| Quantity | Symbol | Value |
|---|---|---|
| Length | L | 4.0 m |
| Elastic modulus | E | 1000.0 Pa |
| Shear modulus | G | 400.0 Pa |
| Area | A | 3.0 m2 |
| Second moment about local y | Iy | 1.5 m4 |
| Second moment about local z | Iz | 2.0 m4 |
| Torsion constant | J | 1.0 m4 |
| Uniform local y load | q | −2.0 N/m |
| Point local y force | P | −4.0 N |
| Point force station | a/L | 0.5 |
| Node 1 global displacement | UX | −0.04533333 m |
| Node 1 global rotation | RZ | 0.01466667 rad |
| Section modulus about y | Zy | 2.5 m3 |
| Section modulus about z | Zz | 2.0 m3 |
| Torsion radius | r | 0.5 m |
2.Method.
With the given reference vector, local x points along global +Y, local y along global +X and local z along global −Z. The solver transforms the global displacements into local element coordinates before recovering forces. That gives the same local deflection and rotation as the aligned pipe.
From there the station walk is unchanged. The fixed-end shear is Vy,i = 12.0 and moment Mz,i = 24.0; the point force at the station is counted in. The bending stress is the moment over the section modulus.
3.Results.
| Quantity | Expected |
|---|---|
| Midspan bending moment, Mz | 4.0 N·m |
| Bending stress about z | 2.0 Pa |
| Axial normal stress | 0.0 Pa |
The tests check that:
- The midspan stress recovery completes without being blocked and is labelled as this case’s midspan station.
- The midspan bending moment matches 4.0 N·m.
- The bending stress about z matches 2.0 Pa.
- The axial normal stress is exactly zero.
- The result carries the review flags the program attaches to every result.
What it shows. Compared with an independent hand calculation.
Path exercised. The benchmark calls the solver’s components directly: elements, loads, frame solver and stress recovery. It does not go through the program’s own model-to-solve path.
Agreement. The moment and stresses must match the hand calculation to within an absolute difference of 1.0 × 10−9 in their own units. The zero axial stress, station label and review flag are checked exactly. Long values are shown here to seven significant figures; the tests compare the full values in the record.
The global rotation about Z is positive, yet the local rotation about z is negative. Nothing has changed physically: the local z axis points along global −Z, so the same rotation reads with the opposite sign. Recovering forces in the wrong frame is a common source of sign errors.
4.Run it yourself.
cd projects/chirality-piping cargo test --manifest-path validation/benchmarks/stress/Cargo.toml oriented_load_to_stress_fixture_recovers_midspan_bending_from_global_model
Hand calculation:
validation/hand_calcs/stress/tp_phys_005_oriented_load_to_stress.md.
Test record, with the recorded run of 2026-07-10:
stress-tp-phys-005-oriented-load-to-stress.md.