# fracture_mechanics_crack_growth¶

class reliability.PoF.fracture_mechanics_crack_growth(Kc, C, m, P, W, t, Kt=1.0, a_initial=1.0, D=None, a_final=None, crack_type='edge', print_results=True, show_plot=True)

This function uses the principles of fracture mechanics to find the number of cycles required to grow a crack from an initial length until a final length. The final length (a_final) may be specified, but if not specified then a_final will be set as the critical crack length (a_crit) which causes failure due to rapid fracture.

This functions performs the same calculation using two methods; similified and iterative. The simplified method assumes that the geometry factor (f(g)), the stress (S_net), and the critical crack length (a_crit) are constant. This method is the way most textbooks show these problems solved as they can be done in a few steps. The iterative method does not make the assumptions that the simplified method does and as a result, the parameters f(g), S_net and a_crit must be recalculated based on the current crack length at every cycle.

This function is applicable only to thin plates with an edge crack or a centre crack (which is to be specified using the parameter crack_type).

You may also use this function for notched components by specifying the parameters Kt and D which are based on the geometry of the notch. For any notched components, this method assumes the notched component has a “shallow notch” where the notch depth (D) is much less than the plate width (W). The value of Kt for notched components may be found using the efatigue website. In the case of notched components, the local stress concentration from the notch will often cause slower crack growth. In these cases, the crack length is calculated in two parts (stage 1 and stage 2) which can clearly be seen on the plot using the iterative method. The only geometry this function is designed for is unnotched and notched thin flat plates. No centre holes are allowed.

Parameters: Kc (float, int) – fracture toughness Kt (float, int, optional) – The stress concentration factor. Default is 1 for no notch. D (float, int, None, optional) – Depth of the notch. Default is None for no notch. A notched specimen is assumed to be doubly-notched (equal notches on both sides). C (float, int) – Material constant (sometimes referred to as A). m (float, int) – Material constant (sometimes referred to as n). This value must not be 2 due to the way the formula works. P (float, int) – External load on the material (MPa) t (float, int) – Plate thickness (mm) W (float, int) – Plate width (mm) a_initial (float, int, optional) – Initial crack length (mm). Default is 1 mm. a_final (float, int, None, optional) – Final crack length (mm) - default is None in which case a_final is assumed to be a_crit (length at failure). It is useful to be able to enter a_final in cases where there are multiple loading regimes over time. crack_type (str, optional) – Must be either ‘edge’ or ‘center’. Default is ‘edge’. The geometry factor used for each of these in the simplified method is 1.12 for edge and 1.0 for center. The iterative method calculates these values exactly using a_initial and W (plate width). print_results (bool, optional) – Default is True. If True, the results will be printed to the console. show_plot (bool, optional) – Default is True. If True the iterative method’s crack growth will be plotted. Nf_stage_1_simplified (float) – Number of cycles in stage 1 of crack growth using the simplified method. Nf_stage_2_simplified (float) – Number of cycles in stage 2 of crack growth using the simplified method. Nf_total_simplified (float) – Total number of cycles (Nf_stage_1_simplified + Nf_stage_2_simplified) final_crack_length_simplified (float) – Final crack length using the simplified method transition_length_simplified (float) – The transition length (stage 1 - 2 interface) using the simplified method. Nf_stage_1_iterative (float) – Number of cycles in stage 1 of crack growth using the iterative method. Nf_stage_2_iterative (float) – Number of cycles in stage 2 of crack growth using the iterative method. Nf_total_iterative (float) – Total number of cycles (Nf_stage_1_iterative + Nf_stage_2_iterative) final_crack_length_iterative (float) – Final crack length using the iterative method transition_length_iterative (float) – The transition length (stage 1 - 2 interface) using the iterative method.

Notes

Example usage:

from reliability.PoF import fracture_mechanics_crack_growth
fracture_mechanics_crack_growth(Kc=66,C=6.91*10**-12,m=3,P=0.15,W=100,t=5,Kt=2.41,a_initial=1,D=10,crack_type='edge')
print('')
fracture_mechanics_crack_growth(Kc=66,C=3.81*10**-12,m=3,P=0.103,W=100,t=5,crack_type='center')

'''
Results from fracture_mechanics_crack_growth:
SIMPLIFIED METHOD (keeping f(g), S_max, and a_crit as constant):
Crack growth was found in two stages since the transition length ( 2.08 mm ) due to the notch, was greater than the initial crack length ( 1 mm ).
Stage 1 (a_initial to transition length): 6802 cycles
Stage 2 (transition length to a_final): 1133 cycles
Total cycles to failure: 7935 cycles.
Critical crack length to cause failure was found to be: 7.86 mm.

ITERATIVE METHOD (recalculating f(g), S_max, and a_crit for each cycle):
Crack growth was found in two stages since the transition length ( 2.45 mm ) due to the notch, was greater than the initial crack length ( 1 mm ).
Stage 1 (a_initial to transition length): 7576 cycles
Stage 2 (transition length to a_final): 671 cycles
Total cycles to failure: 8247 cycles.
Critical crack length to cause failure was found to be: 6.39 mm.

Results from fracture_mechanics_crack_growth:
SIMPLIFIED METHOD (keeping f(g), S_max, and a_crit as constant):
Crack growth was found in a single stage since the transition length ( 0.0 mm ) was less than the initial crack length 1.0 mm.
Total cycles to failure: 281359 cycles.
Critical crack length to cause failure was found to be: 32.67 mm.

ITERATIVE METHOD (recalculating f(g), S_max, and a_crit for each cycle):
Crack growth was found in a single stage since the transition length ( 0.0 mm ) was less than the initial crack length 1.0 mm.
Total cycles to failure: 225827 cycles.
Critical crack length to cause failure was found to be: 18.3 mm.
'''