Fundamentals / Mechanical engineering / Machine elements and contact mechanics / Notebooks

What thermal clearance survives the tolerance stack?

A replacement ring is heated while the shaft stays near room temperature. Predict the assembly clearance for the nominal diameters, then check the two tolerance extremes. The inputs represent an illustrative linear expansion calculation.

Interactive calculation · Fit clearance

Vary the notebook inputs and compare both plotted observables. The same equations generate the browser curves and the notebook reference; fixed material, geometry and model assumptions are stated in the readout.

Download the editable notebook for this example

Interactive calculation · Fit threshold

Vary the notebook inputs and compare both plotted observables. The same equations generate the browser curves and the notebook reference; fixed material, geometry and model assumptions are stated in the readout.

Download the editable notebook for this example

Save notebook (.ipynb)

Python runs on this device. The first run loads the scientific libraries.

Subtract the two freely expanded diameters

A positive clearance permits assembly in the ideal diameter model. Compute the threshold from the worst initial interference, including thermal expansion of the mating shaft.

Inspect the entire clearance band

The first figure assumes one shaft temperature. The second varies the shaft rise independently to show how a temperature measurement affects the inference.

Change both materials to the same expansion coefficient and give them the same temperature rise. Does the first-order clearance change? Try a nominal interference while keeping the original worst-case target. Explain why checking the nominal pair alone can miss a tight assembly.