Cold Work Problem

8.1. Cold Work Problem#

Cold working is the process of plastically deforming a material at room temperature in order to increase its strength. Most metal alloys such as steel, aluminum and brass will increase in yield strength and tensile strength when cold worked.

Cold working increases strength of polycrystalline metal alloys by increasing the dislocation density within the grains of the material. This dislocation density decreases subsequent dislocation motion, and therefore increases strength.

We are going to solve a coldwork problem using a Python package called SymPy. SymPy can be installed at the Anaconda Prompt using the command below:

> conda install sympy

We can use sympy to define the variables and equation which is used in coldwork calculations. The equation we are going to model is below:

\[ \%CW = \frac{A_i - A_f}{A_i} \times 100\% \]

Where \(A_i\) is the initial cross-sectional area and \(A_f\) is the final cross sectional area.

from sympy import symbols, Eq, solve, __version__
print(f"SymPy version: {__version__}")
SymPy version: 1.12
Ai, Af, CW = symbols('Ai Af CW')
di, df = symbols('di df')
eq1 = Eq( (Ai - Af)/Ai - CW, 0)
print(eq1)
Eq(-CW + (-Af + Ai)/Ai, 0)
exr = solve(eq1,Ai)
print(exr)
[-Af/(CW - 1)]
eq2 = eq1.subs(Af, (df/2)**2)
eq3 = eq2.subs(Ai, (di/2)**2)
eq3
\[\displaystyle - CW + \frac{4 \left(- \frac{df^{2}}{4} + \frac{di^{2}}{4}\right)}{di^{2}} = 0\]