Tools › Structures › Beams › Torsion of Bars and Shafts


Torsion of Bars and Shafts

Enter a torque (or a power and a speed), a length, a shear modulus and a cross section; get the largest shear stress and where it is, the angle of twist and the torsional stiffness, with each equation written out with your numbers. Round and stepped shafts, rectangular, elliptical and triangular bars, thin-walled tubes and open sections. Related tools: Beam Stress (a drawn section), Box Beam Shear Flow (several cells), Shaft Design (fatigue of a rotating shaft).

  • Your section drawn with its shear stress: linear in a circle, largest at the middle of the long side of a rectangle

  • Stepped shafts: torque and twist diagrams, a fixed-fixed shaft solved by compatibility with the equation shown

  • A closed tube beside the same tube slit open, and a hollow shaft beside the solid shaft of equal weight

Torsion of Bars and Shafts


Unit System: /

/

What to Analyze


Torque





Cross Section











Stepped Shaft


Segments, From the Fixed Left End

1
2
3

Walls of the Open Section

1
2
3

Length and Material



Limits (optional)




×

Torsion of Bars and Shafts

Method: Torsion Formulas for Every Section, What It Assumes, Common Mistakes

What the tool does

It takes a bar that is twisted about its own axis and finds how hard the material is sheared and how far the bar turns. You give the torque (or the power and speed of a shaft), the length, the shear modulus and the cross section; the tool draws the stress over your section and writes each equation with your numbers in it.

The idea: shear that circles the axis

A torque T is carried by shear stress τ acting in the plane of the cross section, running around the axis. Each bit of area dA at distance r from the axis contributes a moment r τ dA, and all of them together must add up to T. In a round shaft every cross section stays flat and simply turns, so the shear strain, and with it the stress, grows in a straight line from zero on the axis to its largest value at the surface. In any other shape the section does not stay flat: it warps, the stress has to run parallel to the boundary, and it is largest where the boundary comes closest to the axis. That is why the corners of a rectangle carry nothing and the middle of its long side carries the most.

Left: a solid round shaft with shear stress arrows growing in a straight line from the center to the surface. Right: a 2 to 1 rectangle shaded by shear stress, darkest at the middle of the long sides and pale at the corners and the center
The same torque of 10,000 lb-in on a 2 in round shaft and on a 3 x 1.5 in rectangular bar. Round: 6.37 ksi at the surface, nothing at the center. Rectangle: 6.03 ksi at the middle of the long sides, 4.79 ksi at the middle of the short sides, nothing at the corners.

Three lines that hold for every section

θ = T / (G J)    φ = T L / (G J)    k = T / φ = G J / L

θ is the twist per unit length and φ the angle of twist over the length L, both in radians (multiply by 180 / π for degrees); G is the shear modulus of the material; k is the torsional stiffness. J is the torsion constant of the cross section. Only for a circle is it the polar moment of area. The strain energy stored is U = T φ / 2.

J and the largest stress, shape by shape

  • Round shaft, solid or hollow (outside diameter do, inside di): J = π (do4 − di4) / 32, τ = T r / J at radius r, largest at the surface: τm = T do / (2 J). For a solid shaft this is 16 T / (π d³).
  • Rectangle (long side a, short side b): J = β a b³, τm = T / (α a b²) at the middle of the long sides. β and α come from Saint-Venant's series and depend only on a / b: β = 1/3 − (64 / π5)(b / a) Σ tanh(nπa / 2b) / n5 and α = β / [1 − (8 / π²) Σ 1 / (n² cosh(nπa / 2b))], summed over n = 1, 3, 5, … For a square β = 0.1406 and α = 0.2082; for a thin strip both tend to 1/3. The stress at the middle of the short sides is lower: equal for a square, 74 % of the largest for a thin strip.
  • Ellipse (half-widths ae ≥ be): J = π ae³ be³ / (ae² + be²), τm = 2 T / (π ae be²) at the ends of the short axis.
  • Equilateral triangle (side s): J = √3 s4 / 80, τm = 20 T / s³ at the middle of each side.
  • Thin-walled closed tube (Bredt): the shear flows around the wall at a constant rate q = T / (2 Am), where Am is the area enclosed by the mid-line of the wall. The stress is τ = q / t, and for a wall of constant thickness t and mid-line length pm, J = 4 Am² t / pm. For a rectangular tube b by h outside, Am = (b − t)(h − t) and pm = 2 (b + h − 2t).
  • Thin-walled open section (angle, channel, I, slit tube): each wall of length b and thickness t is a thin strip, J = Σ b t³ / 3, and the stress at the surface of a wall is τ = T t / J, largest in the thickest wall.

Torque from power

Power is torque times angular speed: T = P / ω, with ω in radians per second (ω = 2π n / 60 for n in revolutions per minute). In U.S. customary units this is the familiar T (lb-in) = 63,025 × hp / rpm; in SI, T (N-m) = 9,549 × kW / rpm. The same power at a lower speed means a larger torque, which is why the slow shaft of a gearbox is the thick one.

Stepped shafts

Cut the shaft inside a segment and keep one side of the cut: the internal torque of that segment balances the torques applied to the part you kept. Each segment then twists by Ti Li / (Gi Ji), and the rotation of a joint is the sum of the twists between it and the fixed end. The largest stress is not always in the segment with the largest torque, because the stress goes with the diameter to the minus third power.

Both ends fixed. Two walls give two unknown reactions and statics gives one equation, so the shaft is statically indeterminate. The second equation is compatibility: the two ends do not turn, so the twists of the segments add up to zero. With Si the applied torques to the right of segment i and TB the reaction of the right wall,

Σ (Si + TB) Li / (Gi Ji) = 0

which is one linear equation for TB. For a uniform shaft with one torque T at distance a from the left wall this gives the well-known split TA = T (L − a) / L and TB = T a / L: the nearer wall takes more.

Closed against open

A closed wall lets the shear flow all the way around with a lever arm as large as the tube. Cut the wall along its length and the flow has to turn back inside the wall thickness, with a lever arm of about one third of the thickness. For the same wall the stiffness ratio is 12 Am² / (pm² t²). A round tube with a diameter 20 times its wall is 300 times as stiff closed as slit. This is why a weld seam, a riveted lap or a closing rib matters so much in a torsion member.

What it assumes

  • Uniform (Saint-Venant) torsion: the torque is constant along the bar and the cross sections are free to warp.
  • The material is elastic, isotropic and the same throughout; twists are small.
  • The bar is straight and its cross section does not change along the length (each segment of a stepped shaft separately).
  • Thin-walled formulas take the stress as uniform through the wall of a closed tube and as linear through the wall of an open one; the wall thickness is constant.

When it misleads

  • Stress raisers. Shoulder fillets, keyways, splines, holes and the inside corners of a rectangular tube raise the local stress well above the values here.
  • Restrained warping. An open section built in at one end is much stiffer near that end than J = Σ b t³ / 3 says, and carries direct stresses too. The tool gives the free-warping answer.
  • Thin walls buckle. A very thin tube wrinkles in shear before the stress above is reached.
  • Thick walls. Bredt's formula is for walls thin beside the tube; for a round tube use the round-shaft option, which is exact for any wall.
  • Beyond yield. Once the surface yields, the stress no longer grows in proportion to the radius and the twist grows faster than the torque.
  • Rotating shafts. A static check says nothing about fatigue; bending usually governs there.

Common mistakes

  • Using the polar moment of area for a section that is not round. For a 2 to 1 rectangle it is 1.8 times the torsion constant, so the twist comes out 1.8 times too small.
  • Looking for the largest stress at the corner of a rectangle because it is farthest from the axis. The corner is stress free; the largest stress is at the middle of the long side.
  • Using the radius where the formula wants the diameter: J = π d4 / 32 = π r4 / 2.
  • Leaving the angle in radians when the limit is in degrees, or putting rpm into T = P / ω without converting to radians per second.
  • Mixing units: a torque in lb-ft with a diameter in inches, or N-m with millimeters. The tool works every equation in one consistent set and says which.
  • Using the area of the material for Am in Bredt's formula. Am is the area the wall encloses.
  • Adding the stiffnesses of the segments of a stepped shaft. Segments in line share the torque and add their twists.
  • Taking the outside dimensions of a tube for its mid-line.

How it was checked

The closed forms for the ellipse, the triangle, the closed rectangular tube and the open section are those of the NASA Astronautic Structures Manual, Section B8, whose rectangular-tube example the opening case reproduces (15,394 psi, K = 12.27 in4, 0.122 rad). The rectangle coefficients were checked against a finite-difference solution of the torsion problem and against the β row of the manual's table; the α row printed in that table (0.256 at a / b = 2, for example) is higher than the exact series value (0.2459), and the tool uses the series. Stepped shafts were checked against an independent stiffness-matrix solution.

Related tools

Beam Stress for torque on a section you draw; Box Beam Shear Flow for closed sections of several cells; Shaft Design for fatigue and deflection of a rotating shaft.




References

National Aeronautics and Space Administration (1975). Astronautic Structures Manual, Volume II. NASA Technical Memorandum X-73306, George C. Marshall Space Flight Center, Marshall Space Flight Center, AL.

Timoshenko, S. P., and Goodier, J. N. (1970). Theory of Elasticity, 3rd ed. McGraw-Hill, New York.

Young, W. C., and Budynas, R. G. (2002). Roark's Formulas for Stress and Strain, 7th ed. McGraw-Hill, New York.


DISCLAIMER: The methods and calculation on aNOWysis.com are provided as means to educate the reader. There is no warranty, expessed or implied, as to the relevance or accuracy of the methods or calculations. All calculations should be checked by a qualified analyst for appropriateness and accuracy. We will not be held liable for any damages, injuries or deaths caused by using methods or calculations from this site.