Chapter 14: Brittle Fracture and Impact Testing

Example 14.1, Stress Corrosion Cracking, Page No. 494

In [1]:
from math import pi

#variable declaration
cg=0.01;
gr=10**-8;

#calculation
l=cg/(gr*3600*24);
K_l_SCC=10;
a_sigma2=K_l_SCC**2/(1.21*pi);
s=[500,300,100];

#result
print('\nEstimated Life = %g days')%(l);
print('\n\n\n---------------------------------\nStress, MPa\tCrack Length, mm\n---------------------------------\n');
for i in range (0,3):
    print('\t%g\t\t%g\n')%(s[i],a_sigma2*1000/s[i]**2);
print('---------------------------------');
Estimated Life = 11.5741 days



---------------------------------
Stress, MPa	Crack Length, mm
---------------------------------

	500		0.105226

	300		0.292296

	100		2.63066

---------------------------------