SWBPIPE · The open manual
Part VI · VerificationVI–A4

Part VI

Verification

A. System benchmarks  ·  Expansion loop with a curved bend

A pipe runs between two anchors: three meters up, a quarter-circle elbow, four meters across. A uniform temperature rise of 150 K causes thermal expansion. Both anchors remain fixed. The example calculates anchor forces and moments as the elbow becomes more flexible.

The hand calculation uses the force method, which the 1941 manual applied generally to piping. The benchmark compares this reference with SWBPIPE’s curved bend element and frame solver. The user-entered factor k multiplies the elbow’s in-plane flexibility. No code value is used.

Plane L-shaped pipe between anchor A below and anchor B at the right. The vertical leg is 3 meters; the quarter-circle elbow radius is 0.5 meter. The horizontal leg is 4 meters. The uniform temperature rise is 150 kelvin. ANCHOR A ANCHOR B T1 T2 L1 = 3.0 m L2 = 4.0 m R = 0.5 m X Y ΔT = +150 K UNIFORM, NO PRESSURE, NO WEIGHT ELBOW FLEXIBILITY × k
Fig. 3.—Plane L-bend between two anchors

1.Inputs.

Invented inputs that resemble an 8-inch (DN200) Schedule 40 carbon-steel line. No dimensional or material standard supplies these values.

QuantitySymbolValue
Outside diameterDo219.1 mm
Wall thicknesst8.18 mm
Elastic modulusE200 GPa
Expansion coefficientα12.0 × 10−6 /K
Temperature riseΔT+150 K
Legs and bend radiusL1, R, L23.0, 0.5, 4.0 m
Elbow flexibility factork1, 5, 10, 20

2.Method.

Release anchor B. The loop becomes a cantilever from A. Under the uniform temperature rise, the released end B moves by the free thermal strain times its distance from A.

εT = αΔT = 1.8 × 10−3,   Δ1T = 8.1 mm,   Δ2T = 6.3 mm(1)

The anchor must put B back. Its three reactions X1, X2, X3 are the redundants, found from the flexibility of the released loop, with the arc’s share multiplied by k:

EI fij = ∫legs mi mj ds + k ∫arc mi mj ds(2)
[EI f] {X} = −EI {ΔT}(3)

Each coefficient is integrated in closed form and checked against numerical quadrature. The 3 × 3 system is solved for each k, and the reactions at A follow from equilibrium of the whole loop.

Modeling assumptions. Like the classical method, the hand solution counts bending flexibility only and neglects axial and shear flexibility. The recorded solver comparison matches that assumption by making the members axially very stiff (area multiplied by 105). With the true axial stiffness the reactions change by at most 0.55 % at k = 1 and less at higher k. As a separate check, an independent 800-element stiffness model reproduces every reaction to within 5.4 × 10−6 relative.

3.Results.

Reactions are the forces and moments that the anchors exert on the pipe. Global +X points right, and +Y points up. Positive moments about +Z act counterclockwise in the figure.

Reactions at anchor A, and movement of the tangent point T2
k = 1k = 5k = 10k = 20
HA, N11 6367 4626 1445 282
VA, N7 6354 3303 3022 655
MA, N·m−21 598−17 286−15 893−14 925
ux(T2), mm−7.200−7.200−7.200−7.200
uy(T2), mm6.6926.4686.4186.419

Path exercised. The benchmark calls the bend element and frame kernel directly, with a dense solve and a thermal load vector formed by the harness. It does not exercise the desktop or product-physics load-generation path. The current product-physics entrypoint supports realized bends on the pressure-free route and under the v3 pressure contract. The v2 pressure contract remains straight-only. Separate product comparisons cover pressure through a realized bend, separately supported closures and pressure, heat and weight between anchors. This unpressurized kernel comparison does not qualify either product route (Status).

The current linear product route can publish actions from corrected member recovery while retaining the original binary64 nodal movements. Its conditional member-relative bound concerns the intended re-formed system. This historical table does not exercise that qualification (Part III A 6).

Recorded agreement. The benchmark source records that the anchor reactions match the hand calculation to within 5.8 × 10−8 relative, against a tolerance of 5.0 × 10−7. The recorded relative deviations are 6.0 × 10−8 for ux(T2) and 4.5 × 10−8 for uy(T2).

The recorded force residual is 2.9 × 10−5 N, rounded here previously to 3 × 10−5 N. The moment residual is 7.1 × 10−5 N·m. Both equilibrium tolerances are 1.0 × 10−3 in their respective units.

These are recorded comparison figures, not a new execution for this edition. The pinned benchmark source contains the comparison despite stale draft and TBD labels in the hand reference.

For the student

Make the elbow more flexible. Every anchor reaction magnitude falls in this sweep because the bend accommodates more thermal growth. Look at ux(T2): the value does not change.

Under the classical bending-only assumption, the top leg changes length only by thermal strain. Anchor B cannot move. Thus, T2 must move back by exactly εTL2. This independence from k gives a useful solver check. In contrast, uy(T2) is not monotonic across the sweep.

For the practitioner

The illustrative factors k are between 5 and 10. The horizontal anchor force HA is 53 to 64 % of its value at k = 1. A straight chord in place of the elbow is stiffer still. An elbow next to an anchor or nozzle must therefore be modeled with its flexibility factor. The status page explains why the distinction between chord and curved modes matters.

4.Run it yourself.

The following command selects the expansion-loop benchmark at revision 462f66975d. This edition records source evidence; it does not report a new execution of this command.

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

The hand reference for this comparison is validation/hand_calcs/mechanics/expansion_loop_curved_bend_thermal.md. Its inputs and derivation support the table. The comparison is wired in validation/benchmarks/mechanics/src/lib.rs. Neither record establishes production qualification or code compliance.

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