资源描述:
《ansys实例仿真》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、某零件铸造过程热分析FINISH/FILNAME,Exercise14!定义隐式热分析文件名/PREP7!进入前处理器ET,1,SOLID70!选择单元MP,KXX,1,0.025MP,DENS,1,0.054MP,C,1,0.28!定义砂模热性能MPTEMP,,,,,,,,MPTEMP,1,0MPTEMP,2,2643MPTEMP,3,2750MPTEMP,4,2875MPDATA,KXX,2,,1.44MPDATA,KXX,2,,1.54MPDATA,KXX,2,,1.22MPDATA,KXX,2,,1.22MPTEMP,,,,,,,,MPTEMP,1,0MPTEMP
2、,2,2643MPTEMP,3,2750MPTEMP,4,2875MPDATA,ENTH,2,,0MPDATA,ENTH,2,,128.1MPDATA,ENTH,2,,163.8MPDATA,ENTH,2,,174.2!定义铸钢的热性能CYLIND,6,2,0,3,-15,15,wpoff,4CYLIND,0.5,0,0,3,0,360,VSBV,1,2WPAVE,0,0,0CSYS,0CYLIND,8,0,-2,5,-15,15,FLST,2,2,6,ORDE,2FITEM,2,1FITEM,2,3VOVLAP,P51XVSEL,S,,,2图一VATT,1,1,1,,!
3、附砂模材料属性VSEL,S,,,3VATT,2,1,1,,!附铸钢材料属性VSEL,ALL!选择所有的体ESIZE,0.35,0,!定义单元划分尺寸MSHAPE,1,3D!设置自由划分单元类型VMESH,ALL!划分单元图二/SOLUESEL,S,MAT,,2NSLEIC,ALL,TEMP,2875!设定铸钢的初始温度ESEL,S,MAT,,1NSLEIC,ALL,TEMP,80!设定砂模的初始温度ALLSEL,ALLsfA,1,1,CONV,0.014,80sfA,2,1,CONV,0.014,80sfA,7,1,CONV,0.014,80!设定砂模外边界对流ANTYP
4、E,TRANS!设置为瞬态求解KBC,1!设置为阶越载荷施加OUTRES,,ALL!定义结果输出TOFFST,460!定义温度偏移量ALLSEL,ALL!选择所有节点AUTOTS,ON!打开自动时间开关DELTIM,0.01,0.01,0.01!定义时间子步TIME,0.25!定义求解时间图三SOLVE!求解/POST1!进入后处理器SET,LAST!读入最后子步结果ESEL,S,MAT,,1!选择砂模单元NSLEPLNSOL,TEMP,,0,!显示砂模温度分布云图图四/EXPAND,9,POLAR,,,30!设置三维周期扩展选项PLNSOL,TEMP,,0,!显示砂模温
5、度分布云图图五ESEL,S,MAT,,2!选择铸钢单元NSLEPLNSOL,TEMP,,0,!显示铸钢温度分布云图图六/EXPAND!关闭三维周期扩展选项PLNSOL,TEMP,,0,!显示铸钢温度分布云图图七FLST,2,10,1FITEM,2,198FITEM,2,211FITEM,2,212FITEM,2,213FITEM,2,214FITEM,2,215FITEM,2,216FITEM,2,217FITEM,2,218FITEM,2,210PATH,R2,10,30,20,PPATH,P51X,1!建立径向路径PATH,STATPDEF,TR,TEMP,,AVG!
6、向所定义路径映射温度分析结果PLPATH,TR!显示沿路径温度变化曲线图图八PLPAGM,TR,1,Blank!在几何模型上显示径向温度分布云图图九/POST26!进入时间历程后处理器NSOL,2,210,TEMP,,TEMP_2STORE,MERGENSOL,3,599,TEMP,,TEMP_3STORE,MERGENSOL,4,592,TEMP,,TEMP_4STORE,MERGENSOL,5,20,TEMP,,TEMP_5STORE,MERGE!定义零件某些位置节点的时间温度变量/AXLAB,X,TIME/AXLAB,Y,TEMPERATURE!更改坐标轴标识/XR
7、ANGE,0,0.25!设定横坐标轴范围PLVAR,2,3,4,5!绘制4节点温度随时间的变化曲线图十/POST1!进入后处理器SET,FIRST!读入第一个子步结果/CVAL,1,0,2643,2767,0,0,0,0,0!定义图例值/EXPAND,9,POLAR,,,30!设置三维周期扩展选项PLNSOL,TEMP,,0,!显示温度分布云图图十一/EXIT,NOSAV!退出ANSYS