Thermal Assembly (Two-Segment Bar Between Rigid Walls)
stress
Verified build 6 relations · 2 identities proven · 3 modeling steps · 3 parity samplesTake two rods of different metals, weld them end to end, and wedge the pair between two walls stiff enough not to move. Now change the temperature uniformly by . Each segment wants to grow (or shrink) by its own free thermal strain — but the walls forbid it. Something has to give, and since the length cannot, a force does: an internal axial force builds up with no external load at all. A rail pinned between fixed abutments on a hot afternoon, a bridge girder without its expansion joint, a bolt clamping parts of mixed metals through a temperature swing — all live here.
This is the temperature-driven cousin of the composite bar: there two materials shared a load; here they share a temperature change, and the “load” is one they manufacture themselves. Like the propped cantilever it is statically indeterminate — a bar built in at both ends has a redundant reaction, and statics alone cannot say how large the force is. The missing equation, again, is geometry.
Free expansion, then the force that cancels it
Equilibrium is almost trivial: the two segments are in series with nothing pushing at their junction, so the same internal force runs through both, (call it ). That is one equation for one unknown magnitude — but it is the compatibility condition that fixes the value. The rigid walls hold the total length fixed, so the net elongation is zero: whatever each segment expands thermally must be taken straight back out elastically by the force. Segment by segment,
Solve the pair together and the force is the total free expansion divided by the total flexibility:
The build does not ask you to trust this. It certifies that equilibrium and compatibility form a
system linear in the unknowns , runs an exact solve at build time (the
same solveLinear capability the propped cantilever introduced), and checks the result back through
every relation. The flexibility sum in the denominator is the system determinant, guarded non-zero.
What the machine proves and what still rests on a textbook is on the
verification page.
The material really matters here — through the product
Set both segments to the same material and area and the whole thing collapses to the classic result every mechanics text carries,
and it holds a surprise. The stress depends on stiffness times expansivity, not expansivity alone. Aluminium expands about twice as much as steel ( vs ), so intuition says aluminium should stress more — but steel’s modulus is nearly three times larger, and wins: a fully restrained steel bar develops higher thermal stress than an aluminium one for the same . This is the temperature-world echo of the composite bar’s “stiffer carries more,” and of the flywheel’s “titanium deflects more than steel.” Swap either segment’s metal in the widget and watch and both stresses move:
- Young’s modulus and expansion coefficient enter together as the product that drives the force; a high- but compliant metal (aluminium) and a low- but stiff metal (steel) can push comparably hard.
- Yield strength sets each segment’s own margin and is independent of : the segment that stresses most is not always the one that yields first.
- Density plays no part — this is a force-and-stiffness story, not a mass one, so is not bound here.
Sign convention and scope
is taken positive in compression. A temperature rise () makes both segments want to lengthen against the walls, so the bar goes into compression: and the stresses are compressive (reported positive). A temperature drop flips every sign — the bar is held stretched, , the stresses are tensile. recovers the unstressed state exactly, (the widget’s zero check). The slimmer segment carries the higher stress because the force is common while . The model is linear-elastic and assumes truly rigid walls, a uniform temperature through both segments, and a bar braced against sideways buckling; the moment either segment reaches its yield stress the linear numbers stop being the truth, and the widget says so.
Try it
4 materials in the database are not listed here: no published value in our cited sources for every property this THING needs.
Materials modeled here: 2024-T3 aluminum sheet (bare) 304 stainless steel 6061-T6 aluminum 7075-T6 aluminum AISI 1045 medium-carbon steel AISI 4340 low-alloy steel (Ni-Cr-Mo) ASTM A36 structural steel (hot-rolled) C26000 Cartridge Brass (70/30) Ti-6Al-4V
Governing relations
Assumes: the two segments are in series between the walls with no load applied at their junction, so the internal axial force is the same throughout: F_1 = F_2 (call it F); one internal force path; the wall reactions are equal and opposite
Source: Gere, J. M., & Goodno, B. J., Mechanics of Materials, 9th ed., Cengage, 2018 — ch. 2 (Axially Loaded Members), §2.5 "Thermal Effects, Misfits, and Prestrains": free thermal strain α ΔT, and statically indeterminate bars with temperature changes solved by equilibrium + compatibility.
Assumes: rigid walls hold the total length fixed, so the net elongation is zero: the free thermal expansion α_i L_i ΔT of each segment is exactly cancelled by its elastic shortening F_i L_i /(A_i E_i) under the compression-positive internal force; linear-elastic segments (Hooke's law), uniform temperature change, stress below yield
Source: Gere, J. M., & Goodno, B. J., Mechanics of Materials, 9th ed., Cengage, 2018 — ch. 2 (Axially Loaded Members), §2.5 "Thermal Effects, Misfits, and Prestrains": free thermal strain α ΔT, and statically indeterminate bars with temperature changes solved by equilibrium + compatibility.
Assumes: uniform axial stress over the left segment section · Valid while: The LEFT segment has yielded — the magnitude of its thermal stress σ_1 reached the left material's yield strength. Past yield the response is no longer linear-elastic, so the computed force and stress (which assume Hooke's law) stop being trustworthy — the geometry still stands, but read the numbers as "at least this large."
Source: Gere, J. M., & Goodno, B. J., Mechanics of Materials, 9th ed., Cengage, 2018 — ch. 2 (Axially Loaded Members), §2.5 "Thermal Effects, Misfits, and Prestrains": free thermal strain α ΔT, and statically indeterminate bars with temperature changes solved by equilibrium + compatibility.
Assumes: uniform axial stress over the right segment section · Valid while: The RIGHT segment has yielded — the magnitude of its thermal stress σ_2 reached the right material's yield strength. Past yield the linear-elastic force/stress numbers stop being trustworthy — the geometry still stands, but read the numbers as "at least this large."
Source: Gere, J. M., & Goodno, B. J., Mechanics of Materials, 9th ed., Cengage, 2018 — ch. 2 (Axially Loaded Members), §2.5 "Thermal Effects, Misfits, and Prestrains": free thermal strain α ΔT, and statically indeterminate bars with temperature changes solved by equilibrium + compatibility.
Assumes: free thermal strain of the left segment if unconstrained (α_1 ΔT)
Source: Gere, J. M., & Goodno, B. J., Mechanics of Materials, 9th ed., Cengage, 2018 — ch. 2 (Axially Loaded Members), §2.5 "Thermal Effects, Misfits, and Prestrains": free thermal strain α ΔT, and statically indeterminate bars with temperature changes solved by equilibrium + compatibility.
Assumes: free thermal strain of the right segment if unconstrained (α_2 ΔT)
Source: Gere, J. M., & Goodno, B. J., Mechanics of Materials, 9th ed., Cengage, 2018 — ch. 2 (Axially Loaded Members), §2.5 "Thermal Effects, Misfits, and Prestrains": free thermal strain α ΔT, and statically indeterminate bars with temperature changes solved by equilibrium + compatibility.
Derivation
Steps marked modeling step are where physics enters by citation — every other line is machine-proven to follow from them, and the cited models are independently re-derived in the test pipeline where possible. See what is and isn't machine-verified.
1. Heat a bar by ΔT and, left free, it strains α ΔT — the material constant α (the coefficient of thermal expansion) is exactly how much strain each degree buys. Here the two segments carry DIFFERENT α, so left to themselves they would expand by different amounts: this mismatch, fought by the rigid walls, is the whole source of the stress. — thermal strain: ε_th = α ΔT modeling step
2. The bar is two segments in series between the walls with nothing pushing at their junction, so the same internal axial force runs through both — F_1 = F_2 (call it F). Statics gives only this; it cannot say how big F is, because a bar built in at both ends is statically indeterminate. The missing equation is geometric. — statics: one internal force path modeling step
3. Compatibility supplies it. The rigid walls hold the total length fixed, so the net elongation is zero: the free thermal growth α_i L_i ΔT of each segment must be swallowed exactly by its elastic shortening F_i L_i /(A_i E_i) under the compression-positive force. This is where the moduli and areas enter — the equation the walls impose. — compatibility: zero net elongation (rigid walls) modeling step
4. Solve the coupled pair exactly. With F_1 = F_2 = F, compatibility becomes one equation in F, and the thermal force is the total free expansion divided by the total flexibility. The build certifies the 2×2 system is linear in {F_1, F_2} and solves it in one step — no blind solve() — and the flexibility sum L_1/(A_1E_1) + L_2/(A_2E_2) in the denominator is the determinant that must stay non-zero. A temperature RISE gives F > 0 (compression); ΔT = 0 gives F = 0 exactly. — exact linear solve of the coupled system
5. Each segment's axial stress is its force over its area, σ_i = F/A_i — so the slimmer segment carries the higher stress even though the force is common. Swap either segment's metal and the force F (hence both stresses) shifts: a stiffer, higher-expansion metal pushes harder, the classic "which material stresses more when you heat it" question that the E·α product answers. — axial stress: σ = F/A
How it fails
The widget guards first yield of each segment separately, warning the moment reaches that segment’s yield strength. Because thermal stress scales with , it climbs fast: a fully restrained steel bar passes MPa after only about a rise. But yield is rarely the first thing that goes wrong here.
-
Buckling gets there first, on heating. A temperature rise puts the bar in compression, and a bar in compression between two walls is a column. A slender segment will buckle sideways long before it yields — the failure the published worked examples quietly assume away with the phrase “suitably braced against buckling.” The critical temperature rise for buckling scales with and is independent of ‘s partner effects; a long, thin restrained rail bows in the sun for exactly this reason. That is a stability limit governed by geometry and (see the Euler column), not the axial stress shown here, and this model does not see it. The widget’s numbers are the stress if the bar stays straight.
-
Past yield, the elastic force is a lie. Every number here assumes both segments stay linear-elastic. Once one yields it can carry no more force as the temperature climbs further; it flows plastically, the force plateaus, and on cooling back down the bar is left with a residual stress of the opposite sign. Repeated heating and cooling past yield ratchets — each cycle adds a little permanent strain until the part cracks (thermal fatigue). The warning marks where the linear model stops telling the truth; it says nothing about the cycles that follow.
-
Cooling loads it in tension — where brittle materials fail. Drop the temperature and the bar is stretched: , both stresses tensile. A brittle segment (gray cast iron, a casting) has no yield plateau to blunt a tensile overload and can simply crack; rate it against ultimate strength with a generous margin, not the yield-based warning here. A welded or bonded junction between the two metals sees this full tension too, and an interface is often the weakest link.
-
The walls are never truly rigid. The entire force follows from zero net elongation. Give the supports even a little flexibility — a real abutment settles, a bolted joint draws down, a designed expansion gap of width opens — and the compatibility equation changes: the bar first expands freely to close the gap, and only the blocked remainder generates force. This is precisely why bridges have expansion joints and pipelines have loops: a few millimetres of designed give can drop the thermal force from dangerous to negligible. Model the supports as springs, not walls, and every number here shrinks.
-
The properties themselves drift with temperature. This page treats and as constants read at a stated temperature — the mean CTE over a modest range near room temperature, the room-temperature modulus. Over a wide swing both change: generally rises with temperature and falls, so a large computed from a single room-temperature is only a first estimate. A faithful analysis integrates and uses — outside this model’s scope, and flagged on the verification page as a declared modeling choice.
-
Uniform temperature is an assumption too. The whole bar is taken to reach one temperature. A real transient heats the surface and the ends first; the resulting gradients drive their own stresses (and, in a bar of two conductivities, an uneven split) that a single lumped cannot represent. Time-dependent heat flow is a separate engine this THING does not carry.
Related THINGs
- Composite Bar (Core + Sleeve)
A solid core inside a concentric sleeve, bonded between rigid end plates and pushed by a centric axial load. The two materials must stretch together, so the load splits in proportion to each member's axial stiffness A·E — and the build solves that coupled 2×2 share exactly. Swap the sleeve's metal and watch the load migrate to the stiffer member.
- stress
- mass-cost
- Impact Loading (Falling Mass, Energy Method)
Drop a mass onto an elastic member and the peak stress is not W/A — it is n times the static stress, where the impact factor n = 1 + √(1 + 2h/δ_st). A suddenly-applied load (h = 0) already doubles the stress; a real drop multiplies it many times over. Stiffer members take HIGHER impact stress, because a smaller static deflection means a larger n.
- dynamics
- stress
- Symmetric Two-Bar Truss
Two identical pin-jointed bars share a load at a common joint — the member force is P/(2cos α), which blows up as the truss flattens toward horizontal. Statically determinate by construction: equilibrium alone fixes the forces, no compatibility needed. Flatten it and watch the forces (and the joint deflection) diverge; in compression each bar must also clear Euler buckling.
- statics
- stress
- stability
- mass-cost
- Cantilever Beam (End Load)
A beam fixed at one end, loaded at the other — the fruit-fly of structures. One widget shows why stiffness (E) and strength (σ_y) are independent axes: swap steel for titanium and deflection goes UP while the safety factor also goes up.
- stress
- mass-cost
- Circular Plate under Uniform Pressure (Clamped vs Simply Supported)
Push uniform pressure on a flat circular plate — a tank head, a porthole, a valve cover — and how hard it deflects and where it cracks depend entirely on the RIM. Bolt it down (clamped) and it is stiff and hottest at the edge; rest it on a ring (simply supported) and it sags four times as far and is hottest at the center. This is the page where Poisson's ratio moves a STRESS: the simply-supported stress carries ν, the clamped-edge stress carries no material property at all.
- stress
- Compound Cylinder (Shrink Fit)
Where the monobloc wall gave up: shrink a jacket over a liner and the interference squeezes the bore into hoop compression before the pressure ever arrives. Service tension must spend that compression first — and at the balanced fit with the interface at √(r_i·r_o), the elastic pressure ceiling approaches DOUBLE the one no solid wall could pass.
- stress
- mass-cost
Chains with
Outputs whose SI dimension and quantity kind match another THING's input — the
only wires the planner's connectionLegal accepts (invariant 2, computed at
build time, not hand-listed). Wire these on the chaining demo.
- Composite Bar (Core + Sleeve)
-
F_1P -
F_2P
-
- Symmetric Two-Bar Truss
-
F_1P -
F_2P
-
- Cantilever Beam (End Load)
-
F_1P -
F_2P
-
- Circular Plate under Uniform Pressure (Clamped vs Simply Supported)
-
sigma_1q -
sigma_1sigma_allow -
sigma_2q -
sigma_2sigma_allow
-
- Curved Beam in Bending (Winkler — Crane Hook, C-Clamp, Press Frame)
-
F_1P -
F_2P
-
- Simply Supported Beam (Center Load + UDL)
-
F_1P -
F_2P
-
- Transverse Shear in Beams (τ = VQ/Ib, Shear Flow, Fastener Spacing)
-
F_1V -
F_2V
-
- Eccentric Column (Secant Formula)
-
F_1P -
F_2P
-
+ 12 more THINGs its outputs can legally feed (showing the first 8 in course order).
Sources
- Gere, J. M., & Goodno, B. J., Mechanics of Materials, 9th ed., Cengage, 2018 — ch. 2 (Axially Loaded Members), §2.5 "Thermal Effects, Misfits, and Prestrains": free thermal strain α ΔT, and statically indeterminate bars with temperature changes solved by equilibrium + compatibility.
- Hibbeler, R. C., Mechanics of Materials, 10th ed., Pearson, 2017 — ch. 4 (Axial Load), thermal stress: a fully restrained bar heated by ΔT carries σ = E α ΔT; a compound restrained bar is solved by superposition (free expansion, then the restoring force that returns the length).