资源描述:
《ansys热分析实例》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、/PREP7/TITLE,Steady-statethermalanalysisofpipejunction/UNITS,BIN!英制单位;UseU.S.Customarysystemofunits(inches)!/SHOW,!SpecifygraphicsdriverforinteractiverunET,1,90!Define20-node,3-DthermalsolidelementMP,DENS,1,.285!Density=.285lbf/in^3MPTEMP,,70,200,300,400,500!CreatetemperaturetableMPDA
2、TA,KXX,1,,8.35/12,8.90/12,9.35/12,9.80/12,10.23/12!指定与温度相对应的数据材料属性;导热系数;DefineconductivityvaluesMPDATA,C,1,,.113,.117,.119,.122,.125!Definespecificheatvalues(比热)MPDATA,HF,2,,426/144,405/144,352/144,275/144,221/144!Definefilmcoefficient;除144是单位问题,上面的除12也是单元问题!Defineparametersformodelge
3、nerationRI1=1.3!InsideradiusofcylindricaltankRO1=1.5!OutsideradiusZ1=2!LengthRI2=.4!InsideradiusofpipeRO2=.5!OutsidepiperadiusZ2=2!PipelengthCYLIND,RI1,RO1,,Z1,,90!90degreecylindricalvolumefortankWPROTA,0,-90!旋转当前工作的平面;从Y到Z旋转-90度;;RotateworkingplanetopipeaxisCYLIND,RI2,RO2,,Z2,-90!角度选
4、择在了第四象限;90degreecylindricalvolumeforpipeWPSTYL,DEFA!重新安排工作平面的设置;另外WPSTYL,STATtolistthestatusoftheworkingplane;;ReturnworkingplanetodefaultsettingBOPT,NUMB,OFF!关掉布尔操作的数字警告信息;TurnoffBooleannumberingwarningVOVLAP,1,2!交迭体;Overlapthetwocylinders/PNUM,VOLU,1!体编号打开;Turnvolumenumberson/VIEW,,
5、-3,-1,1/TYPE,,4!精确面的显示;Precisehiddendisplay/TITLE,Volumesusedinbuildingpipe/tankjunctionVPLOTVDELE,3,4,,1!修剪一些体与体相关的体的因素都删掉;Trimoffexcessvolumes!Meshing网格划分ASEL,,LOC,Z,Z1!SelectareaatremoteZedgeoftankASEL,A,LOC,Y,0!SelectareaatremoteYedgeoftankCM,AREMOTE,AREA!为面建立数组;Createareacomponen
6、tcalledAREMOTE/PNUM,AREA,1/PNUM,LINE,1/TITLE,LinesshowingtheportionbeingmodeledAPLOT/NOERASE!预防抹去LPLOT!Overlaylineplotonareaplot/ERASEACCAT,ALL!连接面和线的准备映射;ConcatenateareasandlinesatremotetankedgesLCCAT,12,7LCCAT,10,5LESIZE,20,,,4!4divisionsthroughpipethicknessLESIZE,40,,,6!6divisionsa
7、longpipelengthLESIZE,6,,,4!4divisionsthroughtankthicknessALLSEL!RestorefullsetofentitiesESIZE,.4!Setdefaultelementsize线的默认划分数MSHAPE,0,3D!ChoosemappedbrickmeshMSHKEY,1!映射网格SAVE!SavedatabasebeforemeshingVMESH,ALL!Generatenodesandelementswithinvolumes/PNUM,DEFA!重新安排数字规格/TITLE,Elementsinp
8、ortio