ansys机械工程30个例子

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

1第1例关键点和线的创建实例—正弦曲线/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,,02第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,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/REPLOT3第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,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,11VDRAG,1,,,,,,1,2,3,4,5/PNUM,KP,0/PNUM,LINE,0/PNUM,AREA,1/PNUM,VOLU,14CYLIND,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/REPLOTVPLOTFINISH5第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,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,566VSEL,S,,,5,9,4ASEL,S,,,4,28,24VSBA,ALL,ALLALLSEL,ALLVDELE,10,,,1VDELE,13,,,1/PNUM,VOLU,1/NUMBER,1/COLOR,VOLU,ORAN,ALL/REPLOTFINISH7第5例杆系结构的静力学分析实例—平面桁架/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,SAFINISH8第6例杆系结构的静力学分析实例—悬臂梁/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/POST1PLDISPFINISH9第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,4,,UYDL,2,,UXSFL,3,PRES,10E6SOLVESAVEFINISH/POST1PATH,P1,2PPATH,1,30PPATH,2,1PDEF,SR,S,XPDEF,ST,S,YPLPATH,SR,STFINISH10第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,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,ALLSOLVESAVEFINISH11/POST1/VIEW,1,1,1,1PLDISP,2PLNSOL,S,EQV,0,1NWPAVE,159/TYPE,1,SECT/CPLANE,1/REPLOTFINISH12第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,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,1113NSEL,S,LOC,Z,0.045NSEL,R,LOC,Y,0PRNSOL,U,Y!NSEL,S,LOC,Z,0,0.045!命令前加“!”号为注释语句,!ESLN,R,1!去掉“!”号即可执行该命令,!PLESOL,S,YZ!三个注释语句用于显示剪应力。FINISH14第10例模态分析实例—均匀直杆的固有频率分析/CLEAR/FILNAME,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,NEXTPLDIANMODE,10,0.5,,0FINISH15第11例模态分析实例—斜齿圆柱齿轮的固有频率分析/CLEAR/FILNAME,EXAMPLE11/PREP7ET,1,SOLID45MP,EX,1,2E11MP,PRXY,1,0.3MP,DENS,1,7800K,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,7LSYMM,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-3VS

1 / 69
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功