您好,欢迎访问三七文档
当前位置:首页 > 机械/制造/汽车 > 汽车理论 > 激光焊接ANSYS命令流
/CONFIG,NRES,10000/FILNAME,Thermal3,1/TITLE,Laserweldding/UNITS,SI/prep7LENGTH=0.050!焊缝长度WIDTH=0.050!焊接宽度的一半Rlaser=0.0003!激光最小半径Vlaser=0.3/60!激光焊接速度LSIZE=0.00025!划分最小单元尺寸TT=LENGTH/Vlaser!总的焊接时间F=30!激光脉冲频率TINC=1/F!激光作用周期L_ZONE=0.001!网格细化分宽度QMAX=35.38e8!激光最大输出能量et,1,shell57!采用shell57单元R,1,0.0005!厚度!定义材料属性!导热系数MPTEMP,,,,,,,,MPTEMP,1,293MPTEMP,2,373MPTEMP,3,473MPTEMP,4,573MPTEMP,5,673MPTEMP,6,773MPTEMP,7,873MPTEMP,8,973MPTEMP,9,1073MPTEMP,10,1173MPTEMP,11,1273MPTEMP,12,1373MPTEMP,13,1500MPTEMP,14,1600MPTEMP,15,1700MPTEMP,16,1800MPTEMP,17,1900MPTEMP,18,2000MPTEMP,19,2200MPTEMP,20,2400MPTEMP,21,2500MPTEMP,22,2600MPTEMP,23,2700MPTEMP,24,2800MPTEMP,25,2900MPTEMP,26,3000MPDATA,KXX,1,,10.8MPDATA,KXX,1,,11.9MPDATA,KXX,1,,12.9MPDATA,KXX,1,,14.2MPDATA,KXX,1,,15.8MPDATA,KXX,1,,17.6MPDATA,KXX,1,,19.5MPDATA,KXX,1,,21.3MPDATA,KXX,1,,23.2MPDATA,KXX,1,,24.8MPDATA,KXX,1,,26.3MPDATA,KXX,1,,27.4MPDATA,KXX,1,,28.2MPDATA,KXX,1,,41.1MPDATA,KXX,1,,41.1MPDATA,KXX,1,,41.1MPDATA,KXX,1,,41.1MPDATA,KXX,1,,41.1MPDATA,KXX,1,,41.1MPDATA,KXX,1,,41.1MPDATA,KXX,1,,41.1MPDATA,KXX,1,,41.1MPDATA,KXX,1,,41.1MPDATA,KXX,1,,41.1MPDATA,KXX,1,,41.1MPDATA,KXX,1,,41.1!定义密度MPTEMP,,,,,,,,MPTEMP,1,0MPDATA,DENS,1,,8890!定义比热容MPTEMP,,,,,,,,MPTEMP,1,293MPTEMP,2,373MPTEMP,3,473MPTEMP,4,573MPTEMP,5,673MPTEMP,6,773MPTEMP,7,873MPTEMP,8,973MPTEMP,9,1073MPTEMP,10,1173MPTEMP,11,1273MPTEMP,12,1373MPTEMP,13,1500MPTEMP,14,1600MPTEMP,15,1700MPTEMP,16,1800MPTEMP,17,1900MPTEMP,18,2000MPTEMP,19,2200MPTEMP,20,2400MPTEMP,21,2500MPTEMP,22,2600MPTEMP,23,2700MPTEMP,24,2800MPTEMP,25,2900MPTEMP,26,3000MPDATA,C,1,,423MPDATA,C,1,,454MPDATA,C,1,,472MPDATA,C,1,,489MPDATA,C,1,,505MPDATA,C,1,,522MPDATA,C,1,,538MPDATA,C,1,,553MPDATA,C,1,,569MPDATA,C,1,,584MPDATA,C,1,,598MPDATA,C,1,,613MPDATA,C,1,,830MPDATA,C,1,,1650MPDATA,C,1,,660MPDATA,C,1,,670MPDATA,C,1,,680MPDATA,C,1,,688MPDATA,C,1,,695MPDATA,C,1,,699MPDATA,C,1,,703MPDATA,C,1,,705MPDATA,C,1,,705MPDATA,C,1,,705MPDATA,C,1,,705MPDATA,C,1,,705!建立模型S_DIS=0.0005RECTNG,S_DIS,0.050+S_DIS,0,0.0008RECTNG,S_DIS,0.050+S_DIS,0.0008,0.0018RECTNG,S_DIS,0.050+S_DIS,0.0018,0.005RECTNG,S_DIS,0.050+S_DIS,0.005,0.050aglue,allnumcmp,all!划分网格!------------------------面4LESIZE,12,,,20LESIZE,13,,,20LESIZE,7,,,20MSHKEY,1MSHAPE,0,2DAMESH,4!-------------------------面3LESIZE,10,,,2LESIZE,11,,,2MSHKEY,1MSHAPE,0,2DAMESH,3LREFINE,5,,,1,1,OFF!-------------------------面2LESIZE,8,,,2LESIZE,9,,,2MSHKEY,1MSHAPE,0,2DAMESH,2LREFINE,3,,,1,1,OFF!------------------------面1LESIZE,2,,,4,LESIZE,4,,,4,MSHKEY,1MSHAPE,0,2DAMESH,1ALLSEL,ALLNUMCMP,ALLALLSEL,ALL/REPLOTFINISH/SOLUANTYPE,TRANSTRNOPT,FULLTUNIF,293nlgeom,offnropt,fullKK=3N_ONCE=TT/TINCMAX_TIME=N_ONCE+1MAX_X=(LENGTH+2*S_DIS)/LSIZE+1MAX_Y=2*L_ZONE/LSIZE+1H_MAX_Y=L_ZONE/LSIZE+1!------------------------定义载荷并求解-------------------------------SFA,2,,CONV,400,293SFA,3,,CONV,250,293SFA,4,,CONV,50,293*DIM,FLUX2,TABLE,MAX_X,MAX_Y,MAX_TIME,X,Y,TIME*DO,K,1,MAX_TIME,1*DO,I,1,MAX_X,1FLUX2(I,0,K)=(I-1)*LSIZE*ENDDO*DO,J,1,MAX_Y,1FLUX2(0,J,K)=-(H_MAX_Y-J)*LSIZE*ENDDO*DO,I,1,MAX_X,1*DO,J,1,MAX_Y,1XCENTER=(K-1)*Vlaser/FYCENTER=0XCOORD=(I-1)*LSIZEYCOORD=-(H_MAX_Y-J)*LSIZEDISTANCE=SQRT((XCOORD-XCENTER)**2+(YCOORD-YCENTER)**2)*IF,DISTANCE,LE,Rlaser,THENFLUX2(I,J,K)=QMAX/EXP(KK*(DISTANCE**2)/(Rlaser**2))*ELSEFLUX2(I,J,K)=0*ENDIF*ENDDO*ENDDOFLUX2(0,0,K)=(K-1)*TINCOUTRES,BASIC,ALLKBC,1TSRES,ERASETIMINT,ONLNSRCH,ONTM1=0.005+(K-1)*TINCTIME,TM1SFA,1,,HFLUX,%FLUX2%AUTOTS,-1NSUBST,4/GST,ON/REP,FAST/PSF,HFLUX,,1!表面上热流加载用带颜色填充曲面表示/REPLOTSOLVESFADELE,1,,HFLUXTM2=K*TINCTIME,TM2SFA,1,,CONV,400,293AUTOTS,-1NSUBST,4/GST,ONSOLVESFADELE,1,,CONVSAVE*ENDDOSAVE!***********************************!冷却阶段!************************************DO,k,1,30,1TIME,TT+5*k!载荷步结束时间NSUBST,25KBC,1SOLVESAVE*ENDDOoutres,all,allfinish/CONFIG,NRES,10000/FILNAME,stress3,1/TITLE,Laserweldding/UNITS,SI/PREP7et,1,solid45!把热单元转化成结构单元R,1,0.0005!------------------------设置结构分析的材料属性-----------------------MPTEMP,,,,,,,,MPTEMP,1,293MPTEMP,2,373MPTEMP,3,473MPTEMP,4,513MPTEMP,5,573MPTEMP,6,673MPTEMP,7,773MPTEMP,8,873MPTEMP,9,973MPTEMP,10,1073MPTEMP,11,1173MPTEMP,12,1273MPTEMP,13,1373MPTEMP,14,1423MPTEMP,15,1473MPTEMP,16,1596MPTEMP,17,1673MPTEMP,18,1873MPTEMP,19,2073MPTEMP,20,2273MPTEMP,21,2473MPTEMP,22,2673MPTEMP,23,2873MPTEMP,24,3073MPTEMP,25,3273MPDATA,ALPX,1,,0.184E-5MPDATA,ALPX,1,,1.17E-5MPDATA,ALPX,1,,1.21E-5MPDATA,ALPX,1,,1.28E-5MPDATA,ALPX,1,,1.31E-5MPDATA,ALPX,1,,1.35E-5MPDATA,ALPX,1,,1.40E-5MPDATA,ALPX,1,,1.47E-5MPDATA,ALPX,1,,1.55E-5MPDATA,ALPX,1,,1.60E-5MPDATA,ALPX,1,,1.65E-5MPDATA,ALPX,1,,1.8E-5MPDATA,ALPX,1,,1.8E-5MPDATA,ALPX,1,,1.8E-5MPDATA,ALPX,1,,1.8E-5MPDATA,ALPX,1,,1.8E-5MPDATA,ALPX,1,,1.8E-5MPDATA,ALPX,1,,1.8E-5MPDATA,ALPX,1,,1.8E-5MPDATA,ALPX,1,,1.8E-5MPDATA,ALPX,1,,1.8E-5MPDATA,ALPX,1,,1.8E-5MPDATA,ALPX,1,,1.8E-5MPDATA,ALPX,1,,1.8E-5MPDATA,ALPX,1,,1.8E-5MPTEMP,,,,,,,,MPTEMP,1,293MPTEMP,2,373MPTEMP,3,473MPTEMP,4,573MPTEMP,5,673MPTEMP,6,773MPTEMP,7,873MPTEMP,8,973MPTEMP,9,1073MPTEMP,10,1173MPTEMP,11,1273MPTEMP,12,1373MPTEMP,13,1473MPTEMP,14,1596MPTEMP,15,1673MPTEMP,16,1873MPTEMP,
本文标题:激光焊接ANSYS命令流
链接地址:https://www.777doc.com/doc-4683775 .html