先用二维单元如PLANE42建立齿轮的二维模型,然后通过拉伸生成实体三维模型。
齿轮的渐开线曲线可用渐开线函数,取一定数量的样点,逼近齿轮渐开线。
以下命令可以参考:
z=52
m=5
ha=1
c=0.25
ang=360/z
ang1=ang/2
r=m*z/2
rf=(z-2*ha-2*c)*m/2
ra=(z+2*ha)*m/2
r1=m*c
pi=4*Atan(1)
s=pi*m/2
inva=0.014904
*afun,deg
rb=r*cos(20)
*afun,rad
*dim,x,,12
*dim,y,,12
af=Acos(rb/rf)
invaf=tan(af)-af
phi=s/r-2*(invaf-inva)
x(1)=rf*cos(phi/2)
y(1)=rf*sin(phi/2)
*do,i,1,11
ri=rf+r1+i-1
j=i+1
ai=Acos(rb/ri)
invai=tan(ai)-ai
phi=s/r-2*(invai-inva)
x(j)=ri*cos(phi/2)
y(j)=ri*sin(phi/2)
*enddo
/title,'The Process of Gear Meshing'
/prep7
et,1,plane42
et,2,solid45
*do,i,1,12
k,i,x(i),y(i)
*enddo
k,13,ra,0
lstr,13,12
bsplin,12,11,10,9,8,7
bsplin,7,6,5,4,3,2
bsplin,2,1
lcomb,2,3,0
lcomb,2,4,0
/triad,ltop
cyl4,,,108.75,0,rf,ang1
参考资料:《ANSYS操作命令与参数化编程》
本回答被提问者和网友采纳