《ANSYS机械工程应用精华.docx》由会员分享,可在线阅读,更多相关《ANSYS机械工程应用精华.docx(75页珍藏版)》请在课桌文档上搜索。
1、ANSYS机械工程应用精华第1例关键点和线的创建实例一正弦曲线3第2例工作平面的应用实例一相交圆柱体4第3例复杂形状实体的创建实例一螺栓5第4例笈杂形状实体的创建实例一杯子7第5例杆系结构的静力学分析实例一平面桁架9第6例杆系结构的静力学分析实例一悬臂梁10第7例平面问题的求解实例一厚壁圆筒问题11第8例静力学问题的求解实例一扳手的受力分析12第9例各种坐标系的应用实例一圆轴扭转分析14第10例模态分析实例一均匀直杆的固有频率分析16第11例模态分析实例一斜齿圆柱齿轮的固有频率分析17第12例有预应力模态分析实例一弦的横向振动19第13例谐响应分析实例一单自由度系统的受迫振动21第14例瞬态动
2、力学分析实例一凸轮从动件运动分析23第15例连杆机构运动分析实例一曲柄滑块机构25第16例接触分析实例一平行圆柱体承受法向载荷时的接触应力分析27第17例稳定性问题分析实例一屈曲分析29第18例弹塑性分析实例一厚壁圆简问题31第19例非线性分析综合应用实例一冲击32第20例非线性分析综合应用实例一钢板卷制成圆筒35第21例瞬态热分析实例一水箱40第22例在结构上直接施加温度载荷进行热应力分析实例一双金属簧片42第23例热应力分析(间接法)实例一液体管路43第24例热应力分析(直接法)实例一液体管路45第25例用物理环境法进行流体结构耦合分析实例一液压缸46第26例优化设计实例一梁的优化设计50
3、第27例优化设计实例一曲柄摇杆机构的优化设计52第28例载荷工况组合实例一简支梁57第29例模型力学特性计算实例一液体容器倾翻特性的研究58第30例单元生死应用实例一焊接模拟60第31例利用MPC技术对SOLID-SHELL单元进行连接实例一简支梁67/PREP7K,100,0,0,0CIRCLE,100,1,90CSYSJKFlLL,21,4,3,1K,7,1+3.1415926/2AOCSYS,0KFILL,7,1,4,8,1KGEN,2,7,11,1,1LSTR13LSTR,9,14LSTRJOJ5LSTRJ1,16LANG5,6,90,0LANG4,5,90,0LANG3,4,90,0
4、LANG2,3,90,0BSPLIN,1,17,18,19,20,12LSELU4LDELE,ALLLSEL,ALLKWPAVE,12CSYS,4LSYMM,X,14NUMMRGKP,LOWLCOMB,ALL,0第2例工作平面的应用实例一相交圆柱体/PREP7CYLIND,0.015,0,0,0.08,0,360CYLIND,0.03,0,0,0.08,0,360/VIEWJ,1,1,1PNUM,VOLU,1WPoFF,0,0.05,0.03WPROT,0,60CYLlND,0.012,0,0,0.055,0,360CYLIND,0.006,0,0,0.055,0,360VSEL,S,2,3,
5、1CM,VVI5VOLUVSEL,INVECM,VV2,VOLUVSEL,ALLVSBV,VVI,VV2BLOCK,-0.002,0.002,-0.013,-0.009,0,0.008WPSTYLECSYS,4VGEN,3,1,120VSBV,5JVSBVA2VSBV,1,3WPROT,0,0,90VSBW,ALLVDELE,1,4,3VADD,ALLVPLOT/REPLOT/PREP7CSYSJK,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/VIEWJ,1
6、,1,1L,l,2L,2,3L,3,4L,4,5LGEN,7,ALL,0.002NUMMRGKP,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,
7、0.006918A0PNUM,KP,1PNUM,LINE,IGPLOTLSTRJ,90LSTR,91,92LANG7,90,60,。LANG7,1,120,0AL,6,9,10,llVDRAGI,123,4,5/PNUM,KP,0/PNUM,LINE,0PNUM,AREAJPNUM,VOLUJCYLIND,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,OAOK,96,0,0,0.03LSTR,93,94AROTAT,6,95,96,360AS
8、EL,S,1AlVSBA,7,ALLASEL,ALLVDELE,1,1RPRISM,0.04,0.05,6,0.0131CONE,0.03477,0.00549,0.03,0.055,0,360VINV,1,3/REPLOTVPLOTFINISH/PREP7K,l,OAOK,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,0LSTRJ,2LSTR,2,3LSTR,3,4LSTR45LSTR,5,6LSTR,6,1LFlLLT,1,2,0.02LFILLT,4,5,0.017AL,ALLVROTA
9、T,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.001
10、LFILLT,60,61,0.001LFILLT,61,62,0.001LFILLT,62,59,0.001AL59,63,60,64,61,65,62,66VDRAG33,54,57,55,58,56VSEL,S,5,9,4ASEL,S,4,28,24VSBA,ALL,ALLALLSEL,ALLVDELE,10,1VDELE,13,1PNUM,VOLU,1NUMBER,ICOLOR,VOLU,ORAN,ALL/REPLOTFINISH/CLEAR/FILNAME,EXAMPLE5L=O.1A=le-4/PREP7ET,1,BEAM3RJ,AMP,EX,2E11MP,PRXY,1,0.3NJN
11、,2,LN,3,2*LN,4,L,LE,l,2E23EJ,4E,2,4E,3,4FINISH/SOLUDJ,UXDJ,UYD,3,UYF,4,FY,-2000SOLVEFINISH/POSTlETABLE,FA,SMISCJETABLE,SA,LSJPRETAB,FA,SAFINISH/CLEAR/FILNAME,EXAMPLE6/PREP7ETJ,BEAM3RJ,14.345e-4,245e-8,0.1MHEX,1,2EllMP,NUXY,1,0.3K,l,0A0K,2,0,0LSTRJ,2LESIZE,1,50LMESH,1FINISH/SOLUDK,1,UXDK,1,UYDK,1,ROT
12、ZFK,2,FY,-100OOSOLVEFINISH/POSTlPLDISPFINISH/CLEAR/FILNAME,EXAMPLE7PREP7ET,1,PLANE183,2MP,EX,1,2E1IMHPRXY,1,0.3PCIRC,0.1,0.05,0,90LESIZE,4,6LESIZE,3,8MSHAPE,0MSHKEYJAMESH,1FINISH/SOLUDL,4,UYDL,2,UXSFL,3,PRES,10E6SOLVESAVEFINISH/POSTlPATH,P1,2PFTHJ,30PPATH,2,1PDEF,SR,S,XPDEF,ST,S,YPLPATH,SR,STFINISH/
13、CLEAR/FILNAME,EXAMPLESPREP7ETJ,PLANE42ET,2,SOLID45MP,EX,1,2EIIMP,PRXY,1,0.3RPR4.6,0,0,0.01K,7,0,0,0K,8,0,0,0.05K,9,0,0J,0.05LSTR,7,8LSTR,8,9LFILLT,7,8,0.015LSTRJ,4ASBL,1,IOLESlZE,2,”3LESIZE,3,3LESlZE,4,”3LESIZE,7,0.01LESIZE,8,0.01LESIZE,9,0.01MSHAPE,0MSHKEY,IAMESH,ALLVDRAG,ALL,7,9,8ACLEAR,2,3,1FINIS
14、H/SOLUDA,2,ALLDA,3,ALLKSEL,S,24,29,1FK,ALL,FX,100KSEL,ALLSOLVESAVEFINISH/POSTlVIEWJ,1,1,1PLDISP,2PLNSOUS,EQV,OJNWPAVEJ59/TYPEJ,SECTCPLANE,1/REPLOTFINISH第9例各种坐标系的应用实例一圆轴扭转分析/CLEAR/FILNAME,EXAMPLE9/PREP7ETJ,PLANE183ET,2,SOLID186MP,EX,l,2.08EIIMP,PRXY,1,0.3RECTNGO,0.025,0,0.12LESlZE,1,5LESIZE,2,m8MSHAP
15、E,0MSHKEYJAMESH,1EXTOPT,ESIZE,5EXTOPT,ACLEARJVRoTAT,1,1,4,360VIEWJ,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,I5OOAllseuallDA,2,ALLDA,6,ALLDA,10,ALLDA,14,ALLSOLVESAVEFINISH/POSTlPLDISP,1RSYSJINSEL,S,LOC,Z,0.045NSEL,R,LOC,XOPRNSOL,U,Y!NSEL,
16、S,LOC,Z,0,0.045!ESLN,RJ!plesol,s,yzFINISH!命令前加”!”号为注释语句,!去掉!”号即可执行该命令,!三个注释语句用于显示剪应力。第10例模态分析实例一均匀直杆的固有频率分析/CLEAR/FiLNAME,Exampleio/PREP7ET,1,SOLID186MHEX,1,2EllMP,PRXY,1,0.3MHDENS,1,7800BLOCK,0,0.01,0,0.01,0,0.1LESIZE,1,3LESlZE,2,3LESlZE,9,15MSHAPE,0MSHKEYJVMESH,1FINISH/SOLUANTYPE,MODALMoDOPT,LANB,
17、5MXPAND,5DA,1,UZDA,3,UYDA,5,UXSOLVESAVEFINISH/POSTlSET,LISTSET,FIRST/VIEW,lrl/REPLOTPLDIANMoDE,10,0.5,0SET,NEXTPLDIANMODEJ0A5,0FINISH/CLEAR/FiLNAME,examplei1/PREP7ETJ,SOLID45MP,EX,2E11MHPRXY,1,0.3MP,DENS,1,7800K,l,21.87E-3K,2,22.82E-3J.13E-3K,3,24.02E-3J.47E-3K,4,24.62E-3J.73E-3K,5,25.22E-3,2.08E-3K
18、,6,25.82E-3,2.4E-3K,7,26.92E-3,3.23E-3K,8,27.IIE-3BSPLIN,2,3,4,5,6,7LSYMM,Y,1LARC,2,9,1LARC,7,10,8AL,ALLCSYSJVEXT,1,0,8.412,20E-3VGEN,24,0,360/24CSYS,0CYL4。(U0E-3,0,26.37E-3,360,20E-3BLOCK,-3E-3,3E-3A12.8E-3,0,20E-3VSBV,25,ALLSMRTSIZE,9ESIZE,0.002MSHAPE,1MSHKEY,0VMESH,ALLCSYSJNSEL,SOC,X,0.01NROTAT,A
19、LLD,ALL,UXALLSEL,ALLFINISH/SOLUANTYPE,MODALMODOPT,LANB,5MXPAND,5DA,208,UXNSELsLOCZONSEL,AXOC,Z,20E-3NSEL,R,LOC,X,0,15E-3D,ALL,UZALLSEL,ALLSOLVEFINISH/POSTlSET,LISTFINISH第12例有预应力模态分析实例一弦的横向振动/CLEAR/FILNAME,EXAMPLE12PREP7ETJ,LINKlMP,EX,1,2E11MHPRXY,1,0.3MP,DENS,1,7800RJJE-6K,1,0AOK,2,0,0LSTRJ,2LESIZE,
20、1,50LMESH,1FINISH/SOLUDK,1,UXDK,1,UYDK,2,UYFK,2,FX,2000PSTRES,ONSOLVESAVEFINISH/SOLUANTYPE,MODALMODOPT,LANB,10MXPAND,10DK,2,UXPSTRES,ONSOLVEFINISH/POSTlSET,LISTSET,FIRSTPLDIANMODE,10,0.5,0SET,NEXTPLDIANMODEJ0,0.5,0FINISH第13例谐响应分析实例一单自由度系统的受迫振动/CLEAR/FILNAME,EXAMPLE13PREP7ETJ,MASS21ET,2,COMBIN14RJJR,
21、2,10000,63NJ,0,0,0N,2,l,0,0TYPE,2REAL,2E,l,2TYPE,1REAL,1E,2FINISH/SOLUANTYPE,HARMICDJ,ALLD,2,UYD,2,UZD,2,ROTXD,2,ROTYD,2,ROTZHARFRQ,0,50NSUBST,25KBCJF,2,FX,2000SOLVESAVEFINISHPOST26NSoL,2,2,U,X,DispXPLVAR,2PLCPLX,1PLVAR,2FINISH第14例瞬态动力学分析实例一凸轮从动件运动分析/CLEAR/FILNAME,EXAMPLE14/PREP7ETJ,PLANE42ET,2,SOLI
22、D45MP,EX,1,2EI1MP,PRXY,1,0.3MP,DENS,1,7800K,1AO,OK,2,0.015,0.015,0K,3,0,015,0.,0K,4A0.1,0LSTR,1,2LSTR23LSTR,3,4LSTR,4,1AL,ALLLESIZE,1,2LESiZE,3,”2LESIZE,2,10AATT,I,1,1MSHAPE,0MSHKEYJAMESHiALLTYPE,2EXT0PT,ESIZE,4EXTOPT,ACLEARJVROTAT,1,1,4,360WPROT,0,-90CSWPLA,11,CYLINASEL,S,3,15,4NSLA,S,1NROTAT,ALLFI
23、NISH/SOLUD,ALL,UXALLSEL,ALLANTYPE,TRANS!第1个载荷步!第2个载荷步!第3个载荷步!第4个载荷步OUTRES,ALL,ALLFK,4,FY,-1000TIMEJOAUToTSQNDELTlM,0.5,0.2,1KBC,ODK,1,UY,0.02LswritejTIME,20LSWRITE,2TIME,35DK,1,UY,OLSWRITE,3TIME,45LSWRITE,4LSSOLVE,1,4JSAVEFINISHPOST26NSOL,2,1,U,Y,uyDERIV,3,2DERIV,4,3JPLVAR,2,3PLVAR,2,4FINISH第15例连杆机构
24、运动分析实例一曲柄滑块机构/CLEAR/FILNAME,EXAMPLE15PREP7PI=3.14I5926R=0.25L=0.62E=0.2OMGA1=30T=60OMGA1FIO=ASIN(E(R+L)AX=OAY=OBX=R*COS(FIO)BY=-R*SIN(HO)CX=(R+L)*COS(FIO)CY=-EETJ,C0MBIN7ET,2,BEAM4MP,EX,1,2EI1MP,PRXY,1,0.3MP,DENS,1,1E-14RJ,1E9,1E3,1E3,OR,2,4E413333E8,1.3333E-8,002,0.02NJ,AX,AYN,2,BX,BYN,3,BX,BYN,4,C
25、X,CYN,5,BX,BY-ITYPE,1REAL,1E23,5TYPE,2REAL,2EJ,2E,3,4FINISH/SOLUANTYPE,TRANSNLGEOM,ONDELTIM,T/70KBC,0TIME,TOUTRES,ALL,ALLCNVTOL,F,1,0.1CNVToL,M,1,0.1D,ALL,UZD,ALL,ROTXD,ALL,ROTYD,1,ROTZ,2*PIDJ,UXDJ,UYD,4,UYSOLVESAVEFINISHPOST26NSoL,2,4,U,XDERIV,3,2,1DERIV,4,3,1PLVAR,2PLVAR,3PLVAR,4FINISH第16例接触分析实例一平
26、行圆柱体承受法向载荷时的接触应力分析/CLEAR/FILNAME,EXAMPLE16PREP7ETJ,PLANE183ET,2,SOLIDI86ET,3,TARGE170Etacontai74mm,ir,i,o.iMP,EX,1,2EIIMHPRXY,1,0.3CYU,OAO.1,0,0,90CYL4,0,0.15,0.05,-90,0,0WPOFEO.OlWPROT,0,0,90ASBW,ALLAATT,1,I,1ESIZE,0.0075MSHAPE,0MSHKEY,0AMESH,ALLKREFINE,2,4,2,3TYPE,2EXT0PT,ESIZE,5EXTOPT,ACLEAR,IVEX
27、T,ALL,0.01ASEL,S,14NSLA,S,1REAL,1TYPE,3ESURFALLSASELXJ8NSLASlREAL,1TYPE,4ESURFALLSFINISH/SOLUDA,16,UYDA,8,UYDA,15,UXDA,20,UXDA,1,UZDA,9,UZDA,13,UZDA,17,UZASEL,S,1U9,8NSLASISEVALL,1,PRES,1E6CP,1,UY,ALLALLSLNSRCH,ONAUTOTS,ONNSUBST,5,10,3OUTRES,ALL,ALLSOLVEFINISH/POSTlESELsTYPE,4ETABLE,PRES,CONT,PRESET
28、ABLE,ST,CONT,STZETABLE,GARCONT,GAPESORT,ETAB,PRES,0PRETAB,PRES,ST,GAP,PENEFINISH第17例稳定性问题分析实例一屈曲分析/CLEAR/FILNAME,EXAMPLE17PREP7ETJ,BEAM4MP,EX,2E11MHPRXY,1,0.3R,1,9E-4,6.75E-8,6.75E-8,0.03,0.03,0K,l,0A0K,2,0,2,0LSTRJ,2LESIZE,1,10TYPE,1MATJREALJLMESH,1FINISH/SOLUANTYPE,STATICPSTRES,ONDK,1,UXDK,1,UYDK,
29、1,UZDK,1,ROTXDK,1,ROTYDK,2,UXDK,2,UZDK,2,ROTXDK,2,ROTYFK,2,FY,-1SOLVEFINISH/SOLUANTYPE,BUCKLEBUCOPT,LANBJMXPAND,1OUTPR,ALL,ALLSOLVESAVEFINISH/POSTlSET,FIRSTSET,LISTPLDISP,2FINISH第18例弹塑性分析实例一厚壁圆筒问题/CLEAR/FiLNAME,examplei8/PREP7ET,1,183,2MP,EX,1,2EIIMP,NUXY,1,.3TB,BKIN,1JTBTEMROTBDATA,l,500E6,0PClRC,0
30、.1,0.05,0,90ESIZE,0.003MSHKEYJMSHAPE,0AMESH,ALLFINISH/SOLUDL,4,UYDL,2,UXAUTOTS,ONDELrnM,0.2,0.1,0.3KBC,OTIMEJSFL,3,PRES,375E6LSWRITETlME,2SFL,3,PRES,0LSWRITELSSOLVE,1,2FINISH/POSTlRSYSJSETJ,LASTPLNSOL,S,EQVFINISH第19例非线性分析综合应用实例一冲击/CLEARFILNAM,EXAMPLE19PREP7ETJ,SOLID45ET,2,SHELL43ET,3,COMBIN14Etacont
31、a173ET,5,TARGE170MP,EX,1,2EI1MRNUXY,1,0.3MHDENS,1,7800TB,BKIN,UTBTEMROTBDATA,240E6,2E8RJ,0.06R,2,100000R,3,0.5/VIEW,1,1,1,1K,1,-0.8,0,-1.5K,2,-0.8,0,1.5K,3,0.8,0,1.5K,4,0.8,0,-1.5A,1,2,3,4TYPE,2REALJESIZE,0.08AMESH,1BLOCK,-O.l,0.1,0.001,0.201,-0.1,0.1TYPE,IESIZE,0.05VMESH,1N,950,-0.8,-0.5,-1.5N,951,
32、0.8,-0.5,-1.5N,952,0.8,-0.5J.5N,953,-0.8,-0.5,1.5TYPE,3REAL,2EJ,950E,60,951E,40,952E,2,953NSEL,S,950,953,1D,ALL,ALLALLSELNSELsLOC,Y,0NSEL,R,LOC,X,-03,03NSEL,R,LOC,Z,-0.3,0.3REAL,3TYPE,5ESURFALLSASEL,S,4NSLASlREAL,3TYPE,4ESURFALLSFINI/SOLUANTYPE,TRANSACELA9.8VSELS,1NSLV,S,1IC,ALL,UY,-8D,ALL,UXD,ALL,U
33、ZALLSKBC,0LNSRCH,ONAUTOTQNOUTRES,ALL,ALLTIME,O.OOI3DELTIM,2.5E-5JE-6,4E-5SOLVEFFNI/POSTlPLNSoLSEQV,0,1.0FINIPOST26NSOL,2,880,U,YDERIV,3,2,1DERIV,4,3,1PLVAR,2FINI第20例非线性分析综合应用实例一钢板卷制成圆筒/CLEARFILNAM,EXAMPLE20/CONFIG,NRES,2000!清除数据库,新建文件!指定工作名!设置最大子步数!前处理/PREP7PNUM,VOLU,ONET,1,SHELL43ET,2,SOLID186MP,EX
34、,1,2E11MP,DENS,1,7800MHNUXY,1,0.3MP,EX,2,2E11MP,DENS,2,7800MP,NUXY,2,03TB,BKIN,2,1TBTEMR0TBDATA,240E6,2E8R,1,0.02CYLIND,0.38/2,0,0.3,2.3,0,360CYLlND,0.38/4,0,0.3,0,0,360CYLIND,0.38/4,026,2.3,0,360VGLUE,ALLVSEL,NONEWPOFF,0.54/2,-0.4CYLIND,0.3/2,0,0.3,2.3,0,360CYLIND,0.3/4,0,0.3,0,0,360CYLIND,0.3/4,0,
35、2.6,2.3,0,360VGLUE,ALLVSEL,NONEWPOFF,-0.54CYLIND,0.3/2,0,0.3,2.3,0,360CYLIND,0.3/4,0,0.3,0,0,360CYLIND,0.3/4,0,2.6,2.3,0,360VGLUE,ALLALLSVDELE,ALLHPTCREATE,AREA,5,COORDHPTCREATE,AREA,10”CoORD,0,0,2.6!进入前处理器!打开体号!选择单元类型,壳单元用于划分上下辑!实体单元用于划分钢板!定义材料模型1的弹性模量!定义材料模型1的密度!定义材料模型1的泊松比!定义材料模型2的弹性模量!定义材料模型2的密度
36、!定义材料模型2的泊松比!定义材料模型2的屈服极限、切向模量!定义实常数1,壳单元的厚度!创建上辑,圆柱体!粘接!偏移工作平面原点到右下辑中心!创建右下辑,圆柱体!偏移工作平面原点到左下辑中心!创建左下辑,圆柱体!选择所有实体!删除体,但保留面!在上辑端面中心处创建硬点HPTCREArE,AREA,34,COORD,-0.54/2,-0.4,2.6!在左下辑端面中心处创建硬点HPTCREATE,AREA,29,COORD,-0.54/2,-0.4,0HPTCREAE,AREA,22,COORD,0.54/2,-0.4,2.6!在右下辑端面中心处创建硬点HPTCREATE,AREA,17,COO
37、RD,0.54/2,-0.4,0MATJTYPE,1REAL,1ESIZE,0.05SMRTSIZE,8MSHAPE,1AMESH,ALLBLOCK,0.7,-1.0,0.3/2+.02,0.32+.020.03,0.5,2.1LESIZE,96,1MAT,2TYPE,2MSHKEY,1MSHAPE,0ESIZE,0.05VMESH,ALLET,4,TARGE170ET,5,CONTA174KEYOPT,5,12,IRJ0,0.1RJ1,0.1R,2,0.1ASEL,S,”40NSLASINSEL,U,LOC,Z,0.8.8MAT,3REALJOTYPE,4ESURFALLSASELs,3,4
38、,1NSLASINSEL,U,LOC,Z,0.9,1.7NSEL,U,LOC,Z,03,0.4NSELU,LOC,Z,2.2,2.3MAT,3REALJOTYPE,5ESURFALLSASEL,S,39NSLAsl!为上下辑划分单元指定属性,材料模型!单元类型!实常数!指定单元边长度!指定智能尺寸级别!指定单元形状为三角形!对所有面划分单元!创建钢板,块!指定线96(钢板厚度)被划分为1段!为钢板划分单元指定属性!映射网格!指定单元形状为六面体!指定单元边长度!对块划分网格!指定单元类型,用于创建接触对!设置单元5接触表面无滑动!定义实常数,KFN=OJ!在钢板上表面和上辑表面建立接触对!在钢
39、板下表面和左下辑表面建立接触对NSELU,LOC,Z,0.8.8MAT,4REALJITYPE,4ESURFALLSASEL,S,27,28,1NSLAslNSELU,LOC,Z,0.9.7NSEL,U,LOC,Z,0.3,0.4NSEL,U,LOC,Z,2.2,2.3MAT,4REAL,11TYPE,5ESURF!在钢板下表面和右下辑表面建立接触对ALLSASEL,S,39NSLASINSEL,U,LOC,Z,0.8.8MAT,4REAL,12TYPE,4ESURFALLSASEL,S,15,16,1NSLASINSEL,U,LOC,Z,0.9,1.7NSEL,U,LOC,Z,03,0.4N
40、SELU,LOC,Z,2.2,2.3MAT,4REAL,12TYPE,5ESURFALLSFINI!首先模拟下辑不动,上辑下降!进入求解器!在所有节点上施加约束!选择上辑轴线上节点!施加约束,上辑下降0.08 m/SOLUD,ALL,UZD,ALL,ROTXD,ALL,ROTYNSEL,S,LOC,XNSEL,R,LOC,YD,ALL,UY,0.08D,ALL,UX!选择下辑上所有面!选择下辑上所有节点!删除掉上一载荷步施加在下辑上的所有约束!在所有节点上施加约束!选择左下辑轴线上所有节点!转动半周!约束掉移动!偏移工作平面!选择右下辑轴线上所有节点!约束掉移动D,ALL,UZALLSCSYS
41、,4ASEL,S,LOC,Y,-2,0.3/2+0.01NSLAsID,ALL,ALLALLSANTYPE,TRANSNEQIT,100LNSRCH,ONNLGEOM,ONTIMEJAUTOT,ONNSUBST,30,80,20KBC,0OUTRES,ALL,ALLSOLVE!以下模拟下辑转动,驱动钢板前进CSYS,4ASEL,S,LOC,Y,-2,0.3/2+0.01NSLA,S,1DDELE,ALL,ALLALLSD,ALL,UZD,ALL,ROTXD,ALL,ROTYNSEL,S,LOC,X,0NSEL,R,LOC,YD,ALL,ROTZ,-3.1415926D,ALL,UXD,ALL,
42、UYALLSWPOFEO.54NSEL,S,LOC,X,0NSEL,R,LOC,YD,ALL,UXD,ALL,UY!激活工作平面坐标系!选择下辑上所有面!选择下辑上所有节点!约束掉所有自由度!瞬态分析!指定最大迭代次数!打开线性搜索!打开大变形选项!指定载荷步时间!打开自动载荷步长!指定子步数目!斜坡载荷!输出所有子步所有项目的结果!解答D,ALL,ROTZ,-3.1415926!转动半周TIME,2ALLSKBC,0NSUBST,200,1000,100SOLVE!解答!模拟卸载ACEL,0,9.8CSYS,0NSEL,S,LOC,XNSEL,R,LOC,YD,ALL,UY,-0.06D,ALL,UXD,ALL,UZD,ALL,ROTXD,ALL,ROTY!施加重力加速度!激活全球直角坐标系!选择上辑轴线上所有节点!上辑向上移动,卸载ALLSKBC,ONSUBST,20,3OO,IOTIME,2.1SOLVEFINI!查看结果/POSTl