theta=np.arange(0,2*np.pi,0.02)
# print(theta[0])
a=0
for i in theta:
a=a+1
ym=np.zeros(a)
for i in range(0,a):
ym[i]=(C_11*C_22-C_12**2)/(C_11*math.sin(theta[i])**4+C_22*math.cos(theta[i])**4+((C_11*C_22-C_12**2)/C_44-2*C_12)*math.cos(theta[i])**2*math.sin(theta[i])**2)
po=np.zeros(a)
for i in range(0,a):
po[i]= -( ((C_11+C_22-(C_11*C_22-C_12**2)/C_44)*math.cos(theta[i])**2*math.sin(theta[i])**2)-C_12*(math.sin(theta[i])**4+math.cos(theta[i])**4) ) / (C_11*math.sin(theta[i])**4+C_22*math.cos(theta[i])**4+((C_11*C_22-C_12**2)/C_44-2*C_12)*math.cos(theta[i])**2*math.sin(theta[i])**2)
No Comments
Leave a comment Cancel