资源描述:
《钢球淬火过程温度分析》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、!(1)定义工作文件名:/FILNAME,Ball_thermal,0!(2)定义工作标题/TITLE,Coolingofasteelball!(3)关闭坐标符号的显示:/PLOPTS,INFO,3/PLOPTS,LEG1,1/PLOPTS,LEG2,1/PLOPTS,LEG3,1/PLOPTS,FRAME,1/PLOPTS,TITLE,1/PLOPTS,MINM,1/PLOPTS,FILE,0/PLOPTS,LOGO,1/PLOPTS,WINS,1/PLOPTS,WP,0/PLOPTS,DATE,2/TRIAD,OFF/REPLOT!*!2.定义单元类型及材料属性/PREP7!*E
2、T,1,PLANE55!*KEYOPT,1,1,0KEYOPT,1,3,1KEYOPT,1,4,0KEYOPT,1,8,0KEYOPT,1,9,0!*!*MPTEMP,,,,,,,,MPTEMP,1,0MPDATA,EX,1,,2.2E11MPDATA,PRXY,1,,0.28MPTEMP,,,,,,,,MPTEMP,1,0MPDATA,DENS,1,,7800MPTEMP,,,,,,,,MPTEMP,1,0UIMP,1,REFT,,,MPDATA,ALPX,1,,1.3E-6MPTEMP,,,,,,,,MPTEMP,1,0MPDATA,KXX,1,,70MPTEMP,,,,,,,,
3、MPTEMP,1,0MPDATA,C,1,,448!3.建立几何模型,并且划分网格,生成有限元模型!(1)建立1/4圆面:PCIRC,0.1,0,0,90,!!(2)划分网格:!(2)划分网格:!*LESIZE,ALL,,,20,,1,,,1,MSHKEY,0CM,_Y,AREAASEL,,,,1CM,_Y1,AREACHKMSH,'AREA'CMSEL,S,_Y!*AMESH,_Y1!*CMDELE,_YCMDELE,_Y1CMDELE,_Y2!*!Plot>Elements命令EPLOT!4.施加载荷和求解!(1)设定分析类型:FINISH/SOL!*ANTYPE,4!*TRNO
4、PT,FULLLUMPM,0!*!(2)设定载荷步、载荷子步:!*TIME,60AUTOTS,-1DELTIM,0.4,0.4,3,1KBC,0!*TSRES,ERASE!!(3)输出控制:!(3)输出控制:!*OUTRES,ALL,ALL,!(3)打开线编号:/PNUM,KP,0/PNUM,LINE,1/PNUM,AREA,0/PNUM,VOLU,0/PNUM,NODE,0/PNUM,TABN,0/PNUM,SVAL,0/NUMBER,0!*/PNUM,ELEM,0/REPLOT!*!Select>Entities/PNUM,KP,0/PNUM,LINE,1/PNUM,AREA,0
5、/PNUM,VOLU,0/PNUM,NODE,0/PNUM,TABN,0/PNUM,SVAL,0/NUMBER,0!*/PNUM,ELEM,0/REPLOT!*/REPLOTLPLOTLSEL,S,,,1TUNIF,500,LSEL,S,,,1NSLL,S,1FLST,2,21,1,ORDE,2FITEM,2,1FITEM,2,-21/GO!*SF,P51X,CONV,650,0ALLSEL,ALLSAVESAVE,'Ball_thermal','db','C:UsersAdministrator'/STATUS,SOLUSOLVE!4.查看结果(后处理)FINISH/POST
6、1!*/EFACET,1PLNSOL,TEMP,,0!(2)生成动画!*PLNS,TEMP,ANTIME,10,0.5,,1,0,0,0!*EPLOT!DefineVariables命令FINISH/POST26FILE,'Ball_thermal','rth','.'/UI,COLL,1NUMVAR,200SOLU,191,NCMITSTORE,MERGEFILLDATA,191,,,,1,1REALVAR,191,191!*!*!*NSOL,2,22,TEMP,,!*!(5)图形输出设置/AXLAB,X,/AXLAB,Y,TEMP/GTHK,AXIS,2/GRTYP,0/GROP
7、T,ASCAL,ON/GROPT,LOGX,OFF/GROPT,LOGY,OFF/GROPT,AXDV,1/GROPT,AXNM,ON/GROPT,AXNSC,1.3,/GROPT,DIG1,4,/GROPT,DIG2,3,/GROPT,XAXO,0,/GROPT,YAXO,0,/GROPT,DIVX,/GROPT,DIVY,/GROPT,REVX,0/GROPT,REVY,0/GROPT,LTYP,0!*/XRANGE,0,60/YRANGE,DEFAU