Skip to content

Shaft Torsion Simulator

Shaft Torsion Simulator hero image
Modified:
Published:

A shaft that passes the strength check can still fail in service: if it twists too much under load, gears lose their mesh, couplings bind, and timing-critical assemblies go out of phase. The allowable angle of twist is often around one degree per metre, which is a number that is impossible to picture on a drawing. This simulator lets you orbit a 3D shaft as it twists, watch the shear-stress gradient build from zero at the neutral axis to its maximum at the surface, read the angle of twist for any combination of torque and geometry, and see immediately how much material a hollow bore saves for how small a stiffness penalty. All four analysis views update as you drag any parameter. #ShaftDesign #Torsion #SolidMechanics

Open Simulator

What You Can Analyze

Shear-stress distribution

See the linear shear-stress profile across the full radius: zero at the centre, maximum at the surface. A colour gradient on the 3D shaft and a chart across the section both show the same gradient.

Angle of twist

Read the total angle of twist and the twist per metre for any torque, length, and shear modulus. A chart plots the cumulative twist from the fixed end to the free end.

Solid vs hollow sizing

Compare a hollow shaft against a solid one of the same outer diameter. Charts show what fraction of material and torsional stiffness you retain as the bore ratio increases.

Power, torque, and safety check

Sweep the outer diameter against the allowable shear stress to find the minimum safe diameter, and read a live safety factor and a verdict for your current shaft.

Key Features



  1. 3D orbit, zoom, and auto-rotate with exaggerated twist The Three.js shaft renders painted surface lines that shear into helices as it twists. The displayed deformation is exaggerated so the twist is visible; the real angle reads on the charts.

  2. Live numerical readouts Peak shear stress, shear stress at the bore, polar moment J, angle of twist, twist per metre, surface shear strain, and the safety factor all update as you move any slider.

  3. Four analysis charts in two tabs The stress-and-twist tab shows shear stress versus radius and angle of twist versus position along the length. The sizing-and-material tab shows peak shear versus outer diameter (with the allowable stress line) and the hollow-versus-solid material and stiffness curves.

  4. Four shaft presets Solid steel, hollow steel, precision shaft, and aluminium shaft cover the most common starting points. Switch presets and the 3D shaft, charts, and summaries all update together.

  5. A/B shaft comparison Save the current shaft as Shaft A, change any parameters (for example switch from solid to hollow), and the A curves overlay every chart as a dashed purple line so you can compare both configurations directly.

  6. Diameter sweep The peak-shear chart sweeps the outer diameter from 10 mm to 90 mm at constant torque and bore ratio, with the allowable stress as a horizontal line. The intersection is the minimum safe diameter, read as a separate result.

  7. Watermarked free exports and paid downloads Export any chart as a watermarked PNG for free. Paid downloads (1 USD each) include a watermark-free lab report with all four charts, a full CSV dataset for both shafts when comparing, and a design-data sheet with animation video.

Preset Shaft Configurations



PresetT (Nm)L (mm)d_o (mm)d_i (mm)G (GPa)tau_allow (MPa)Represents
Solid steel shaft20050030079120Typical steel transmission shaft, solid section
Hollow steel shaft200500362679120Thin-walled steel tube, same torque as solid preset
Precision shaft804002507990Instrument or spindle shaft where twist is tightly controlled
Aluminium shaft1206003502670Lightweight aluminium drive shaft, lower G and allowable

Equations



Polar moment of area for solid and hollow circular sections:

J_solid = pi * d_o^4 / 32
J_hollow = pi * (d_o^4 - d_i^4) / 32

Shear stress at radius r from the centre (torsion formula):

tau(r) = T * r / J
tau_max = T * r_o / J (surface, r = r_o)
tau_bore = T * r_i / J (bore wall, r = r_i; zero for solid shaft)

Angle of twist over length L (in consistent units: T in N*mm, L in mm, G in MPa):

phi = T * L / (G * J) (radians)
phi_deg = phi * 180 / pi
twist_per_metre = phi_deg / (L / 1000) (deg/m)

Torque from power and angular velocity:

T = P / omega (P in watts, omega in rad/s, T in N*m)

Safety factor and minimum diameter check:

SF = tau_allow / tau_max
d_min = ( 16 * T / (pi * tau_allow * (1 - k^4)) )^(1/3)
where k = d_i / d_o (bore ratio; k = 0 for solid)

Hollow-versus-solid material and stiffness ratios (same outer diameter):

material ratio = (d_o^2 - d_i^2) / d_o^2 = 1 - k^2
stiffness ratio = J_hollow / J_solid = 1 - k^4

Guided Experiments



Work through the Shaft Torsion Experiments lesson for structured, Python-verified exercises that use this simulator as the measurement instrument:

  1. Shear-stress distribution across the radius
  2. Angle of twist and torsional stiffness
  3. Sizing a shaft to an allowable shear stress
  4. Hollow versus solid at the same outer diameter
  5. Effect of material: steel versus aluminium
  6. Twist limit as the governing design constraint


Comments

Loading comments...


© 2021-2026 SiliconWit®. All rights reserved.