资源描述:
《ansys 双椭球热源焊接APDL.pdf》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、finish/clear/BATCHWPSTYLE,,,,,,,,0/FILNAME,LaserBeamWelding,0/TITLE,laserBeamWelding/units,si!!!参数定义L=0.02B1=0.003B2=0.006B3=0.02H=0.0032D=0.001!焊缝宽度ah=D/2chf=2*ahchb=8*ahbh=0.005rf=2*chf/(chf+chb)rb=2*chb/(chf+chb)N=0.27!功率有效系数W0=2200!功率W=W0*N!有效功率/PREP7
2、!定义导热系数ET,1,SOLID70MPTEMP,1,20MPTEMP,2,100MPTEMP,3,200MPTEMP,4,300MPTEMP,5,400MPTEMP,6,500MPTEMP,7,600MPTEMP,8,700MPTEMP,9,800MPTEMP,10,900MPTEMP,11,1000MPTEMP,12,1200MPTEMP,13,1540MPTEMP,14,1700MPTEMP,15,2000MPTEMP,16,3000MPDATA,KXX,1,,6MPDATA,KXX,1,,6.5
3、MPDATA,KXX,1,,7MPDATA,KXX,1,,8MPDATA,KXX,1,,9MPDATA,KXX,1,,10MPDATA,KXX,1,,11MPDATA,KXX,1,,12MPDATA,KXX,1,,13MPDATA,KXX,1,,13.5MPDATA,KXX,1,,13.8MPDATA,KXX,1,,13.9MPDATA,KXX,1,,14MPDATA,KXX,1,,14.2MPDATA,KXX,1,,14.4MPDATA,KXX,1,,14.4!定义比热容MPTEMP,1,20MPTEM
4、P,2,100MPTEMP,3,200MPTEMP,4,300MPTEMP,5,400MPTEMP,6,500MPTEMP,7,600MPTEMP,8,700MPTEMP,9,800MPTEMP,10,900MPTEMP,11,1000MPTEMP,12,1200MPTEMP,13,1540MPTEMP,14,1700MPTEMP,15,2000MPTEMP,16,3000MPDATA,C,1,,600MPDATA,C,1,,620MPDATA,C,1,,640MPDATA,C,1,,660MPDATA,
5、C,1,,680MPDATA,C,1,,700MPDATA,C,1,,725MPDATA,C,1,,750MPDATA,C,1,,775MPDATA,C,1,,800MPDATA,C,1,,805MPDATA,C,1,,810MPDATA,C,1,,830MPDATA,C,1,,850MPDATA,C,1,,900MPDATA,C,1,,900!定义密度MP,DENS,1,4450!!!建立几何模型BLOCK,0,B1,0,L,0,H,BLOCK,B1,B2,0,L,0,H,BLOCK,B2,B3,0,L
6、,0,H,VGLUE,all!!!划分网格esize,h/16,0VSWEEP,1esize,h/2,0VSWEEP,5MSHAPE,1,3DMSHKEY,0VMESH,4FINISH!!!施加载荷STEP=0.002!N=L/STEPV=0.004!速度*DO,I,0,NYY=I*STEPT=(YY+STEP)/V/SOLUANTYPE,4TRNOPT,FULLTUNIF,293,OUTRES,NSOL,LASTTIME,TNROPT,FULL,,ONAUTOTS,1NSUBST,5,,,1!!!KBC
7、,1lnsrch,1!!!TSRES,ERASETINTP,,,,1,,,,,!!!TIMINT,0,structTIMINT,1,THERMTIMINT,0,MAG!!!添加第一个载荷步(焊接阶段,有对流和热源)NSEL,S,EXTNSEL,U,LOC,X,0ASEL,S,,,5ASEL,U,LOC,X,0LSLA,SNSLL,A,1SF,ALL,CONV,200,293ALLSEL,ALL!NSEL,ALL!*GET,CENTER,NODE,,MNLOC,X!NSEL,S,LOC,X,CENTER!S
8、F,ALL,HFLUX,0!!!双椭球热源的加载!!!前半球节点的选取LOCAL,11,2,0,YY,0,,,,3,8,NSEL,S,LOC,X,,DNSEL,R,LOC,Y,,90NSEL,R,LOC,Z,,90CM,FRONT,NODE!!!!!!!!!!!!!!!!!!!!!!!!!!!LOCAL,13,0,0,YY,0,,,,1,1,!!!前半球函数、表格定义*DEL,_FNCNAME*DEL,_FNCMTID*DEL