SWBPIPE · The open manual
Part VI · VerificationVI–B11

Part VI

Verification

B. Elements and loads  ·  Loads on a turned pipe

A cantilever pipe four metres long runs along global Y, fixed at node 0 and free at node 1. It carries a uniform load of −2.0 N/m and a midspan point force of −4.0 N, both entered in global X. The loads must pass into the pipe’s own axes and the results back out again. Does the solver get the magnitudes and the signs right?

The same cantilever loads are applied to a pipe running along global Y; the coordinate transformation of loads and results is checked. w P L THE PIPE RUNS ALONG GLOBAL Y; LOADS ARE ENTERED IN GLOBAL X
Fig. VI–B11.—Loads on a turned pipe

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
Node 0—[0, 0, 0]
Node 1—[0, 4, 0]
LengthL4.0 m
Elastic modulusE1000.0 Pa
Shear modulusG400.0 Pa
AreaA3.0 m2
Second moment about yIy1.5 m4
Second moment about zIz2.0 m4
Torsion constantJ1.0 m4
Uniform load, global Xq−2.0 N/m
Point force, global XP−4.0 N
Point-force positiona/L0.5

2.Method.

The local axes in global terms are x = [0, 1, 0], y = [1, 0, 0] and z = [0, 0, −1]. A force in global X is therefore a local y force of the same sign. A local moment about z becomes a global moment about Z with the opposite sign.

In local axes the problem is the ordinary cantilever: equivalent end loads from the uniform load and the shape functions, free-end movement from the cantilever formulas, and midspan resultants from equilibrium. The answers are then turned back into global axes.

ux(L) = −0.032 + −0.013333333333333334 = −0.04533333333333334 m(1)
θz,global(L) = −(−0.010666666666666666 + −0.004) = 0.014666666666666668 rad(2)
Vy(x) = 12.0 + (−2.0 × 2.0) + −4.0 = 4.0 N(3)
Mz(x) = 24.0 − 12.0 × 2.0 − (−2.0 × 2.02/2) − (−4.0 × 0.0) = 4.0 N·m(4)

3.Results.

Global assembled loads, free-end movement and local midspan resultants
QuantityExpected
Assembled load, node 0, Ux−6.0 N
Assembled load, node 0, Rz4.666667 N·m
Assembled load, node 1, Ux−6.0 N
Assembled load, node 1, Rz−4.666667 N·m
Free-end displacement in global X−0.04533333 m
Free-end rotation about global Z0.01466667 rad
Midspan local shear Vy4.0 N
Midspan local bending moment Mz4.0 N·m

The tests check that:

  • The assembled global force and moment at the fixed node match the hand values, including sign.
  • The free-end displacement in global X and rotation about global Z match the hand values.
  • The midspan local shear and bending moment match the hand values.
  • All of these quantities are finite.

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. Each computed value must match the reference within an absolute difference of 1.0 × 10−9 in the case’s own units; counts and structural outcomes must match exactly. Long values are shown here to seven significant figures; the tests compare the full values in the record.

For the student

Compare the signs with the unturned pipe. The displacement keeps its sign, but the rotation and end moments change sign. Local z points along negative global Z, so a rotation that is negative in the pipe’s own axes is positive in global axes.

4.Run it yourself.

cd projects/chirality-piping
cargo test --manifest-path validation/benchmarks/mechanics/Cargo.toml tp_phys_005_oriented_load_to_resultant_fixture_transforms_global_loads

Hand calculation: validation/hand_calcs/mechanics/tp_phys_005_oriented_load_to_resultant.md. Test record, with the recorded run of 2026-07-10: mech-tp-phys-005-oriented-load-to-resultant.md.

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