ansys机械工程30个例子.doc
《ansys机械工程30个例子.doc》由会员分享,可在线阅读,更多相关《ansys机械工程30个例子.doc(72页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、第1例 关键点和线的创建实例正弦曲线/PREP7K,100,0,0,0CIRCLE,100,1,90 CSYS,1KFILL,2,1,4,3,1K,7,1+3./2,0,0CSYS,0KFILL,7,1,4,8,1KGEN,2,7,11,1,1 LSTR,8,13LSTR,9,14LSTR,10,15LSTR,11,16LANG,5,6,90,0 LANG,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,LO
2、WLCOMB,ALL,0第2例 工作平面的应用实例相交圆柱体/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,60 CYLIND,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.0
3、08WPSTYLE,1 CSYS,4VGEN,3,1,120VSBV,5,1VSBV,4,2VSBV,1,3WPROT,0,0,90 VSBW,ALLVDELE,1,4,3VADD,ALLVPLOT/REPLOT第3例 复杂形状实体的创建实例螺栓/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,
4、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.,0,-0.002K,92,0.,0,0/PNUM,KP,1 /PNUM,LINE,1GPLOTLSTR,1,90 LSTR,91,92LANG,7,90,60,0L
5、ANG,7,1,120,0AL,6,9,10,11VDRAG,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,
6、0.0131CONE,0.03477,0.00549,0.03,0.055,0,360VINV,1,3/REPLOTVPLOTFINISH第4例 复杂形状实体的创建实例杯子/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
7、, 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,
8、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/REPLOTFINISH第5例 杆系结构的静力学分析实例平面桁架/CLEAR/FILNAME, EXAMPLE5L=0.1A=1e-4/PR
9、EP7ET,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,SAFINISH第6例 杆系结构的静力学分析实例悬臂梁/CLEAR/FILNAME, EXAMPLE6/PREP7ET,1, BEAM3R,1,14.345e-4,245e-8,0.1 MP,EX,1,2E11MP,NUX
10、Y,1,0.3K,1,0,0,0K,2,1,0,0LSTR,1,2 LESIZE,1,50LMESH,1FINISH/SOLUDK,1,UXDK,1,UYDK,1,ROTZFK,2,FY,-10000SOLVEFINISH/POST1PLDISPFINISH第7例 平面问题的求解实例厚壁圆筒问题/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,
11、4,UYDL,2,UXSFL,3,PRES,10E6SOLVESAVEFINISH/POST1PATH,P1,2PPATH,1,30PPATH,2,1PDEF,SR,S,XPDEF,ST,S,YPLPATH,SR,STFINISH第8例 静力学问题的求解实例扳手的受力分析/CLEAR/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,
12、 0.015LSTR,1,4ASBL, 1, 10LESIZE,2,3LESIZE,3,3LESIZE,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,1 NWPAVE,159/TYPE,1, SECT/CPLANE
13、,1/REPLOTFINISH第9例 各种坐标系的应用实例圆轴扭转分析/CLEAR/FILNAME, EXAMPLE9/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,5 EXTOPT,ACLEAR,1VROTAT,1,1,4,360/VIEW,1,1,1,1WPROT,0,-90CSWPLA,11,1,1,1NSEL,S,LOC,X,0.025NROTAT,ALLFIN
14、ISH/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.045NSEL,R,LOC,Y,0PRNSOL,U,Y!NSEL,S,LOC,Z,0,0.045 !命令前加“!”号为注释语句,!ESLN,R,1 !去掉“!”号即可执行该命令,!PLESOL,S,YZ !三个注释语句用于显示剪应力 。 FINISH第10例 模态分析实例均匀直杆的固有频率分析/CLEAR/FILNA
15、ME, EXAMPLE10/PREP7ET,1,SOLID186MP,EX,1,2E11MP,PRXY,1,0.3MP,DENS,1,7800BLOCK,0,0.01,0,0.01,0,0.1LESIZE,1,3LESIZE,2,3LESIZE,9,15MSHAPE,0MSHKEY,1VMESH,1FINISH/SOLUANTYPE, MODALMODOPT,LANB,5MXPAND,5DA,1,UZDA,3,UYDA,5,UXSOLVESAVEFINISH/POST1SET,LISTSET,FIRST /VIEW,1,-1/REPLOTPLDIANMODE,10,0.5,0SET,NEXTP
16、LDIANMODE,10,0.5,0FINISH第11例 模态分析实例斜齿圆柱齿轮的固有频率分析/CLEAR /FILNAME, EXAMPLE11 /PREP7 ET,1,SOLID45 MP,EX,1,2E11 MP,PRXY,1,0.3 MP,DENS,1,7800 K,1,21.87E-3K,2,22.82E-3,1.13E-3K,3,24.02E-3,1.47E-3K,4,24.62E-3,1.73E-3K,5,25.22E-3,2.08E-3K,6,25.82E-3,2.4E-3K,7,26.92E-3,3.23E-3K,8,27.11E-3BSPLIN,2,3,4,5,6,7LS
17、YMM,Y,1LARC,2,9,1LARC,7,10,8AL,ALLCSYS,1VEXT, 1, , ,0, 8.412,20E-3VGEN,24,1,0,360/24CSYS,0CYL4,0,0,10E-3,0,26.37E-3,360,20E-3BLOCK,-3E-3,3E-3,0,12.8E-3,0,20E-3VSBV,25,ALLSMRTSIZE,9ESIZE,0.002MSHAPE,1MSHKEY, 0VMESH,ALLCSYS,1NSEL,S,LOC,X,0.01NROTAT,ALLD,ALL,UXALLSEL,ALLFINISH/SOLUANTYPE, MODALMODOPT,L
18、ANB,5MXPAND,5DA,208,UXNSEL,S,LOC,Z,0NSEL,A,LOC,Z,20E-3NSEL,R,LOC,X,0,15E-3D,ALL,UZALLSEL,ALLSOLVEFINISH/POST1SET,LISTFINISH第12例 有预应力模态分析实例弦的横向振动/CLEAR/FILNAME, EXAMPLE12/PREP7ET,1,LINK1MP,EX,1,2E11MP,PRXY,1,0.3MP,DENS,1,7800R,1,1E-6K,1,0,0,0K,2,1,0,0LSTR,1,2LESIZE,1,50LMESH,1FINISH/SOLUDK,1,UXDK,1,U
19、YDK,2,UYFK,2,FX,2000PSTRES,ONSOLVESAVEFINISH/SOLUANTYPE, MODALMODOPT,LANB,10MXPAND,10DK,2,UXPSTRES,ONSOLVEFINISH/POST1SET,LISTSET,FIRST PLDIANMODE,10,0.5,0SET,NEXTPLDIANMODE,10,0.5,0FINISH第13例 谐响应分析实例单自由度系统的受迫振动/CLEAR/FILNAME, EXAMPLE13/PREP7ET,1,MASS21ET,2,COMBIN14R,1,1 R,2,10000,63N,1,0,0,0N,2,1,0
20、,0TYPE,2REAL,2E,1,2TYPE,1REAL,1E,2FINISH/SOLUANTYPE, HARMICD,1,ALLD,2,UYD,2,UZD,2,ROTXD,2,ROTYD,2,ROTZHARFRQ,0,50NSUBST,25KBC,1F,2,FX,2000SOLVESAVEFINISH/POST26NSOL,2,2,U,X,DispXPLVAR,2PLCPLX,1PLVAR,2FINISH第14例 瞬态动力学分析实例凸轮从动件运动分析/CLEAR/FILNAME, EXAMPLE14/PREP7ET,1,PLANE42ET,2,SOLID45MP,EX,1,2E11MP,P
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ansys 机械工程 30 个例
限制150内