SWBPIPE · The open manual
Part VI · VerificationVI–C8

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?

The loaded cantilever turned to run along global Y; checks that the midspan moment and bending stress come out as for the aligned pipe. w P 0.5L L THE PIPE RUNS ALONG GLOBAL Y
Fig. VI–C8.—Oriented pipe, midspan stress

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.

QuantitySymbolValue
LengthL4.0 m
Elastic modulusE1000.0 Pa
Shear modulusG400.0 Pa
AreaA3.0 m2
Second moment about local yIy1.5 m4
Second moment about local zIz2.0 m4
Torsion constantJ1.0 m4
Uniform local y loadq−2.0 N/m
Point local y forceP−4.0 N
Point force stationa/L0.5
Node 1 global displacementUX−0.04533333 m
Node 1 global rotationRZ0.01466667 rad
Section modulus about yZy2.5 m3
Section modulus about zZz2.0 m3
Torsion radiusr0.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.

vlocal,y = −0.04533333333333334 m,   θlocal,z = −0.014666666666666668 rad(1)
Vy(x) = 12.0 + (−2.0 × 2.0) + (−4.0) = 4.0 N(2)
Mz(x) = 24.0 − 12.0 × 2.0 − (−2.0 × 2.02/2) − (−4.0 × 0.0) = 4.0 N·m(3)
σb,z = Mz / Zz = 4.0 / 2.0 = 2.0 Pa(4)
σaxial = N / A = 0.0 / 3.0 = 0.0 Pa(5)

3.Results.

Expected midspan values
QuantityExpected
Midspan bending moment, Mz4.0 N·m
Bending stress about z2.0 Pa
Axial normal stress0.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.

For the student

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.

Contents · Part VI · The program: swbpipe.com · MIT licence