

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


import numpy as np
def standard_preload(Sy = 205, At = 5): Sp = 0.85Sy Fp = SpAt Fi = 0.75*Fp return Fi
def bolt_stiffness_threaded(t=0, t1=6, t2=3, d=3, At=5, E=200000): h = t + t if t2 < d: l = h + t2/ else: l = h + d/
L = h + 1.5d L = int(L) if L <= 125 and d < 48: LT = 2d + 6 elif L > 125 and L <= 200 and d < 48: LT = 2d + 12 elif L > 200 and d < 48: LT = 2d + 25 else: return 0 ld = L - LT lt = l - ld
Ad = np.pid*2/
kb = (AdAtE)/(Adlt + Atld) return kb
def bolt_stiffness_wnut(l=10, H=5, d=3, At=5, E=200000): L = l + H L = int(L) if L <= 125 and d < 48:
LT = 2d + 6 elif L > 125 and L <= 200 and d < 48: LT = 2d + 12 elif L > 200 and d < 48: LT = 2*d + 25 else: return 0 ld = L - LT lt = l - ld
Ad = np.pid*2/
kb = (AdAtE)/(Adlt + Atld) return kb
def member_stiffness(d=3, D=5.5, t=5, E=200000, a=np.pi/6): k = (np.piEdnp.tan(a))/((np.log((2tnp.tan(a) + D - d)(D + d))/((2tnp.tan(a) + D + d)*(D - d)))) return k
def torque_preload(Fi, d, K=0.2): T = FidK return T
Sy_value = 205 #MPa At_value = 5 #mm^ print(f'M3 SS316 BOLT PRELOAD= {np.round(standard_preload(Sy_value, At_value),2)} N')
Sy_value = 872 #MPa At_value = 5 #mm^ print(f'M3 Ti-6Al-4V BOLT PRELOAD= {np.round(standard_preload(Sy_value, At_value),2)} N')
Sy_value = 205 #MPa At_value = 8.8 #mm^ print(f'M4 SS316 BOLT PRELOAD= {np.round(standard_preload(Sy_value, At_value),2)} N')
Sy_value = 872 #MPa At_value = 8.8 #mm^ print(f'M4 Ti-6Al-4V BOLT PRELOAD= {np.round(standard_preload(Sy_value, At_value),2)} N')
t_value = 0 #mm t1_value = 6 #mm t2_value = 3 #mm d_value = 3 #mm At_value = 5 #mm^ E = 200 #GPa bolt_stiffness_Npmm = np.round(bolt_stiffness_threaded(t_value, t1_value, t2_value, d_value, At_value, E*1000),2) bolt_stiffness_kgpmm = np.round(bolt_stiffness_Npmm/9.81, 2) print(f'M{d_value} SS316 Threaded Bolt Stiffness= {bolt_stiffness_kgpmm} kg/mm')