您好,欢迎访问三七文档
当前位置:首页 > 建筑/环境 > 工程监理 > Ansys-综合实例(含40例)
Ansys综合实例1第一章前处理第1例关键点和线的创建实例—正弦曲线FINISH/CLEAR,NOSTART/PREP7K,100,0,0,0CIRCLE,100,1,,,90CSYS,1KFILL,2,1,4,3,1K,7,1+3.1415926/2,0,0CSYS,0KFILL,7,1,4,8,1KGEN,2,7,11,1,,1LSTR,8,13LSTR,9,14LSTR,10,15LSTR,11,16LANG,5,6,90,,0LANG,4,5,90,,0LANG,3,4,90,,0LANG,2,3,90,,0BSPLIN,1,17,18,19,20,12LSEL,U,,,14LDELE,ALLLSEL,ALLKWPAVE,12CSYS,4LSYMM,X,14NUMMRG,KP,,,,LOWLCOMB,ALL,,0FINISH/CLEAR,NOSTART/PREP7PI=3.14159J=0*DO,I,0,PI,PI/10.0J=J+1X=IY=SIN(I)I=I+1K,J,X,Y*ENDDOBSPLIN,1,2,3,4,5,6BSPLIN,6,7,8,9,10,11csys,4KWPAVE,11LSYMM,y,1,2,,,,0KWPAVE,11LSYMM,x,3,4,,,,1以上程序有意没算到2为了使用几个命令Ansys综合实例2第2例工作平面的应用实例—相交圆柱体[本例提示]通过相交圆柱体的创建,本例主要介绍了工作平面的使用方法。通过本例,读者可以了解并掌握工作平面与所创建体的位置、方向的关系,学习工作平面的设置、偏移、旋转和激活为当前坐标系的方法。FINISH/CLEAR,NOSTART/PREP7CYLIND,0.015,0,0,0.08,0,360CYLIND,0.03,0,0,0.08,0,360/VIEW,1,1,1,1/PNUM,VOLU,1WPOFF,0,0.05,0.03WPROT,0,60CYLIND,0.012,0,0,0.055,0,360CYLIND,0.006,0,0,0.055,0,360VSEL,S,,,2,3,1CM,VV1,VOLUVSEL,INVECM,VV2,VOLUVSEL,ALLVSBV,VV1,VV2BLOCK,-0.002,0.002,-0.013,-0.009,0,0.008WPSTYLE,,,,,,1CSYS,4VGEN,3,1,,,,120VSBV,5,1VSBV,4,2VSBV,1,3WPROT,0,0,90VSBW,ALLVDELE,1,4,3VADD,ALLVPLOT/REPLOTAnsys综合实例3第3例复杂形状实体的创建实例—螺栓[本例提示]在使用ANSYS软件进行结构分析时,建立实体模型是最复杂最难以掌握的一个过程。因此,有必要熟练掌握实体模型的创建。本例使用ANSYS软件提供的各种建模工具,对复杂形状实体的创建进行了练习。/PREP7CSYS,1K,1,0.008,0,-0.002K,2,0.008,90,-0.0015K,3,0.008,180,-0.001K,4,0.008,270,-0.0005K,5,0.008,0,0/VIEW,1,1,1,1L,1,2L,2,3L,3,4L,4,5LGEN,7,ALL,,,,,0.002NUMMRG,KP,,,,LOWLCOMB,ALLK,80,0.008+0.0015/4,90,0.012+0.002/4K,81,0.008+2*0.0015/4,180,0.012+2*0.002/4K,82,0.008+3*0.0015/4,270,0.012+3*0.002/4K,83,0.008+4*0.0015/4,0,0.012+4*0.002/4L,35,80L,80,81L,81,82L,82,83CSYS,0K,90,0.008,0,-0.00025K,91,0.006918,0,-0.002K,92,0.006918,0,0/PNUM,KP,1/PNUM,LINE,1GPLOTLSTR,1,90LSTR,91,92LANG,7,90,60,,0LANG,7,1,120,,0AL,6,9,10,11Ansys综合实例4VDRAG,1,,,,,,1,2,3,4,5/PNUM,KP,0/PNUM,LINE,0/PNUM,AREA,1/PNUM,VOLU,1CYLIND,0.0079,,0,0.04,0,360VSEL,U,,,6CM,VVV2,VOLUALLSVSBV,6,VVV2/REPLOTK,93,0.0065,0,0K,94,0.0095,0,0.003K,95,0,0,0K,96,0,0,0.03LSTR,93,94AROTAT,6,,,,,,95,96,360ASEL,S,,,1,4,1VSBA,7,ALLASEL,ALLVDELE,1,,,1RPRISM,0.04,0.05,6,,0.0131CONE,0.03477,0.00549,0.03,0.055,0,360VINV,1,3/REPLOTVPLOTFINISHAnsys综合实例5第4例复杂形状实体的创建实例—杯子[本例提示]为了进一步掌握实体模型的创建方法和技巧,本例使用ANSYS软件提供的各种建模工具,对复杂形状实体的创建继续进行练习。/PREP7K,1,0,0,0K,2,0.0395,0,0K,3,0.05,0.12,0K,4,0.047,0.12,0K,5,0.03675,0.003,0K,6,0,0.003,0LSTR,1,2LSTR,2,3LSTR,3,4LSTR,4,5LSTR,5,6LSTR,6,1LFILLT,1,2,0.02LFILLT,4,5,0.017AL,ALLVROTAT,ALL,,,,,,1,6,360K,31,0,0.103,0K,32,0.078,0.103,0K,33,0.078,0.046,0K,34,0,0.0011,0LSTR,31,32LSTR,32,33LSTR,33,34LFILLT,54,55,0.013LFILLT,55,56,0.028K,41,0,0.103+0.002,0.005K,42,0,0.103+0.002,-0.005K,43,0,0.103-0.002,-0.005K,44,0,0.103-0.002,0.005LSTR,41,42LSTR,42,43LSTR,43,44LSTR,44,41LFILLT,59,60,0.001LFILLT,60,61,0.001LFILLT,61,62,0.001LFILLT,62,59,0.001AL,59,63,60,64,61,65,62,66VDRAG,33,,,,,,54,57,55,58,56VSEL,S,,,5,9,4ASEL,S,,,4,28,24VSBA,ALL,ALLALLSEL,ALLVDELE,10,,,1VDELE,13,,,1/PNUM,VOLU,1/NUMBER,1/COLOR,VOLU,ORAN,ALL/REPLOTFINISHAnsys综合实例6第二章结构静力学分析第5例杆系结构的静力学分析实例—平面桁架[本例提示]介绍了利用ANSYS求解杆系结构的方法、步骤和过程。/CLEAR/FILNAME,EXAMPLE5L=0.1A=1e-4/PREP7ET,1,BEAM3R,1,AMP,EX,1,2E11MP,PRXY,1,0.3N,1N,2,LN,3,2*LN,4,L,LE,1,2E,2,3E,1,4E,2,4E,3,4FINISH/SOLUD,1,UXD,1,UYD,3,UYF,4,FY,-2000SOLVEFINISH/POST1ETABLE,FA,SMISC,1ETABLE,SA,LS,1PRETAB,FA,SAFINISHAnsys综合实例7第6例杆系结构的静力学分析实例—悬臂梁[本例提示]介绍了利用ANSYS对杆系结构进行静力学分析的方法、步骤和过程。/CLEAR/FILNAME,EXAMPLE6/PREP7ET,1,BEAM3R,1,14.345e-4,245e-8,0.1MP,EX,1,2E11MP,NUXY,1,0.3K,1,0,0,0K,2,1,0,0LSTR,1,2LESIZE,1,,,50LMESH,1FINISH/SOLUDK,1,UXDK,1,UYDK,1,ROTZFK,2,FY,-10000SOLVEFINISH/POST1PLDISPFINISHAnsys综合实例8第7例平面问题的求解实例—厚壁圆筒问题[本例提示]介绍了利用ANSYS进行静力学分析的方法、步骤和过程,并对将空间问题简化为平面问题的条件、方法进行了简单的介绍。/CLEAR/FILNAME,EXAMPLE7/PREP7ET,1,PLANE183,,,2MP,EX,1,2E11MP,PRXY,1,0.3PCIRC,0.1,0.05,0,90LESIZE,4,,,6LESIZE,3,,,8MSHAPE,0MSHKEY,1AMESH,1FINISH/SOLUDL,4,,UYDL,2,,UXSFL,3,PRES,10E6SOLVESAVEFINISH/POST1PATH,P1,2!定义2个点PPATH,1,30!第一个节点30号(左端)PPATH,2,1!第二个节点1号(右端)PDEF,SR,S,X!描述径向应力PDEF,ST,S,Y!描述周向应力PLPATH,SR,ST!绘应力图FINISHAnsys综合实例9第8例静力学问题的求解实例—扳手的受力分析[本例提示]介绍了利用ANSYS进行空间问题静力学分析的方法、步骤和过程。/CLEAR,nostart/FILNAME,EXAMPLE8/PREP7ET,1,PLANE42ET,2,SOLID45MP,EX,1,2E11MP,PRXY,1,0.3RPR4,6,0,0,0.01K,7,0,0,0K,8,0,0,0.05K,9,0,0.1,0.05LSTR,7,8LSTR,8,9LFILLT,7,8,0.015LSTR,1,4ASBL,1,10LESIZE,2,,,3LESIZE,3,,,3Ansys综合实例10LESIZE,4,,,3LESIZE,7,0.01LESIZE,8,0.01LESIZE,9,0.01MSHAPE,0MSHKEY,1AMESH,ALLVDRAG,ALL,,,,,,7,9,8ACLEAR,2,3,1FINISH/SOLUDA,2,ALLDA,3,ALLKSEL,S,,,24,29,1FK,ALL,FX,100KSEL,ALLSOLVESAVEFINISH/POST1/VIEW,1,1,1,1PLDISP,2PLNSOL,S,EQV,0,1NWPAVE,362/TYPE,1,SECT/CPLANE,0/REPLOTFINISHAnsys综合实例11第9例各种坐标系的应用实例—圆轴扭转分析[本例提示]通过本例介绍了ANSYS坐标系统的特点、应用场合和使用方法、步骤,并使用解析解对有限元分析结果进行了验证。/CLEAR,nostart/FILNAME,EXAMPLE_9/PREP7ET,1,PLANE183ET,2,SOLID186MP,EX,1,2.08E11MP,PRXY,1,0.3RECTNG,0,0.025,0,0.12LESIZE,1,,,5LESIZE,2,,,8MSHAPE,0MSHKEY,1AMESH,1EXTOPT,ESIZE,5EXTOPT,ACLEAR,1VROTAT,1,,,,,,1,4,360/VIEW,1,1,1,1WPROT,0,-90CSWPLA,11,1,1,1NSEL,S,LOC,X,0.025NROTAT,ALLFINISH/SOLUD,ALL,UXNSEL,R,LOC,Z,0.12F,ALL,FY,1500ALLSEL,ALLDA,2,ALLDA,6,ALLDA,10,ALLDA,14,ALLSOLVESAVEFINISH/POST1PLDISP,1RSYS,11NSEL,S,LOC,Z,0.045NS
本文标题:Ansys-综合实例(含40例)
链接地址:https://www.777doc.com/doc-1838569 .html