您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 咨询培训 > ansys对称模型处理
轴对称与循环对称演示!symmetrydemo!author:tony.he@peraglobal.com!validatedbyansys11.0sp1!2008/08/30finish/clear/prep7mp,ex,1,210000mp,prxy,1,0.3mp,dens,1,7.85e-9!option=1!Axissymmetry!option=2!Fullmodel!option=3!Cyclicsymmetry-CYCLIC!option=4!Cyclicsymmetry-CPCYC*ask,option,'1forAxissymmetry,2forFullmodel,3forCyclicsymmetry-CYCLIC,4forCyclicsymmetry-CPCYC'*if,option,eq,1,thenet,1,42KEYOPT,1,3,1RECTNG,10,40,0,60,aesize,all,2.5MSHAPE,0,2DMSHKEY,1AMESH,ALL/SOLUNSEL,S,LOC,y,0D,ALL,allALLSEL,ALLNSEL,S,LOC,y,60*get,nnum,node,,countF,ALL,FY,-135200/nnumALLSEL,ALLSOLVE/POST1PLNSOL,S,EQV,0,1.0/EXPAND,36,AXIS,,,10*ENDIF*if,option,eq,2,thenet,1,200KEYOPT,1,1,6et,2,185PCIRC,40,10,0,360,wpro,,30.000000,ASBW,1WPCSYS,-1,0wpro,,,90.000000ASBW,allAESIZE,all,2.5,MSHKEY,1amesh,all/replotTYPE,2EXTOPT,ESIZE,24,0,EXTOPT,ACLEAR,0VOFFST,1,60,,VOFFST,4,60,,VOFFST,5,60,,VOFFST,6,60,,/REPLOTNUMMRG,NODE,,,,LOW/SOLNSEL,S,LOC,z,0D,ALL,allALLSEL,ALLNSEL,S,LOC,z,60*get,nnum,node,,countF,ALL,FZ,-135200/nnumALLSEL,ALLsolve/POST1PLNSOL,S,EQV,0,1.0*ENDIF*if,option,eq,3,thenet,1,200KEYOPT,1,1,6et,2,185PCIRC,40,10,-15,15,AESIZE,all,2.5,MSHKEY,1amesh,all/replotTYPE,2EXTOPT,ESIZE,24,0,EXTOPT,ACLEAR,0VOFFST,1,60,,CYCLIC,12,30,1,'CYCLIC',0,/SOLNSEL,S,LOC,z,0D,ALL,allALLSEL,ALLNSEL,S,LOC,z,60*get,nnum,node,,countcsys,1NSEL,r,LOC,y,-15csys,0F,ALL,FZ,-135200/(12*2*nnum)NSEL,S,LOC,z,60csys,1NSEL,r,LOC,y,15F,ALL,FZ,-135200/(12*2*nnum)ALLSEL,ALLNSEL,S,LOC,z,60csys,1NSEL,u,LOC,y,-15NSEL,u,LOC,y,15csys,0F,ALL,FZ,-135200/(12*nnum)allsel,allCYCOPT,COMBINE,1solve/POST1PLNSOL,S,EQV,0,1.0*ENDIF*if,option,eq,4,thenet,1,200KEYOPT,1,1,6et,2,185PCIRC,40,10,-15,15,AESIZE,all,2.5,MSHKEY,1amesh,all/replotTYPE,2EXTOPT,ESIZE,24,0,EXTOPT,ACLEAR,0VOFFST,1,60,,CPCYC,ALL,0.0001,1,0,30,0,0/SOLNSEL,S,LOC,z,0D,ALL,allALLSEL,ALLNSEL,S,LOC,z,60*get,nnum,node,,countcsys,1NSEL,r,LOC,y,-15csys,0F,ALL,FZ,-135200/(12*2*nnum)NSEL,S,LOC,z,60csys,1NSEL,r,LOC,y,15F,ALL,FZ,-135200/(12*2*nnum)ALLSEL,ALLNSEL,S,LOC,z,60csys,1NSEL,u,LOC,y,-15NSEL,u,LOC,y,15csys,0F,ALL,FZ,-135200/(12*nnum)allsel,allCYCOPT,COMBINE,1solve/POST1PLNSOL,S,EQV,0,1.0*endif对称与反对称!Modifiedsymmetrayandantisymmetray!author:tony.he@peraglobal.com!validatedbyansys11.0sp1!2008/08/30finish/clear*ask,option,1forModifiedsymmetray,2forModifiedantisymmetray*if,option,eq,1,then/view,1,-1,1,1/angle,1,240,z/auto,1/pnum,volu,on/prep7et,1,92et,2,200keyopt,2,1,5mp,ex,1,10e6mp,prxy,1,.3blc4,0,0,0.5,4,2wpoffs,,,-1!wpoff,,1.5wprot,,-45cyl4,0,0,0.35,,,,5vsbv,all,2wprotat,,90vsbw,all*ask,symmetry,*if,symmetry,eq,1,thenvdele,2,,,1type,2MSHAPE,1,2DMSHKEY,1esize,.15amesh,2cm,n1,nodetype,1mshkey,0vmesh,allwpcsys,1,0wpoffs,0.5,2,1wprot,,,90wprot,45cswplan,11,cmsel,s,n1nrotate,allnsel,r,loc,y,0,10nsel,u,loc,y,0cm,n2,node*get,ncount,node,,counta=0*do,icount,1,ncountcmsel,s,n2!leftsidenodeseta=ndnext(a)cmsel,s,n1!leftandrightsidenodesetce,(icount-1)*3+1,0,a,ux,1,node(nx(a),-ny(a),nz(a)),ux,1ce,(icount-1)*3+2,0,a,uy,1,node(nx(a),-ny(a),nz(a)),uy,1ce,(icount-1)*3+3,0,a,uz,1,node(nx(a),-ny(a),nz(a)),uz,-1*enddo/solucsys,0da,3,allnsel,s,loc,x,0.5sf,all,pres,100allssbctransolve*endif*if,symmetry,eq,2,thentype,2MSHAPE,1,2DMSHKEY,1esize,.15amesh,2cm,n1,nodetype,1mshkey,0vmesh,all/solucsys,0asel,s,,,3asel,a,,,4da,all,allnsel,s,loc,x,0.5sf,all,pres,100allssbctransolve*endif/post1/dscale,1,500plnsol,u,sum*endif*if,option,eq,2,then/prep7et,1,92et,2,200keyopt,2,1,5mp,ex,1,1e3mp,prxy,1,.3mp,dens,1,0.2/38blc4,0,0,0.5,4,2blc4,0,0,-0.5,4,2wpoffs,,,-1!wpoff,,1.5wprot,,-45cyl4,0,0,0.35,,,,5vsbv,all,3wprotat,,90vsbw,allvdele,2,3,,1vgen,,6,,,0.85,,,,,1vglue,all*ask,symmetry,*if,symmetry,eq,1,thenvdele,2,,,1type,2MSHAPE,1,2DMSHKEY,1esize,.15amesh,2cm,n1,nodetype,1mshkey,0vmesh,allwpcsys,1,0wpoffs,0.5,2,1wpoffs.-.15/2wprot,,45wprot,,,90cswplan,11,cmsel,s,n1nrotate,allnsel,r,loc,y,0,10nsel,u,loc,y,0cm,n2,node*get,ncount,node,,counta=0*do,icount,1,ncountcmsel,s,n2!leftsidenodeseta=ndnext(a)cmsel,s,n1!leftandrightsidenodesetce,(icount-1)*3+1,0,a,ux,1,node(nx(a),-ny(a),-nz(a)),ux,1ce,(icount-1)*3+2,0,a,uy,1,node(nx(a),-ny(a),-nz(a)),uy,1ce,(icount-1)*3+3,0,a,uz,1,node(nx(a),-ny(a),-nz(a)),uz,1*enddo/solucsys,0da,3,allda,3,ux,.1!da,10,all!da,10,ux,-.1allssbctransolve*endif*if,symmetry,eq,2,thentype,2MSHAPE,1,2DMSHKEY,1esize,.15amesh,2cm,n1,nodetype,1mshkey,0vmesh,all/solucsys,0da,3,allda,3,ux,.1da,10,allda,10,ux,-.1allssbctransolve*endif/post1/dscale,1,8plnsol,u,z*endifAWE上实现循环对称AWE上实现轴对称AWE上实现对称与反对称轴对称结构施加非轴对称载荷(plane25)!AxisymmetricElementswithNonaxisymmetricLoads!editedbytony.he@peraglobal.com!2008/09/05Finish/clear/PREP7/TITLE,BENDINGOFANAXISYMMETRICTHICKPIPEUNDERGRAVITYLOADINGANTYPE,STATIC!STATICANALYSISET,1,PLANE25,,,,,,2!PLANE25MP,EX,1,30.E6!DEFINEMATERIALPROPERTIESMP,DENS,1,.00073MP,NUXY,1,0!DEFINENUXYAS0.0K,1,.5!DEFINEKEYPOINTSK,2,.5,100KGEN,2,1,2,1,.5!GENERATE2ADDITIONALKEYPOINTSINXDIRECTIONL,1,2!DEFINELINESANDNUMBEROFDIVISIONSLESIZE,1,,,12L,2,4LESIZE,2,,,1L,3,4LESIZE,3,,,12L,1,3LESIZE,4,,,1A,3,1,2,4!DEFINEAREAAMESH,1!MESHAREA1ACEL,386,,-386!GRAVITYASTHESUMOFTWOHARMONICALLYV
本文标题:ansys对称模型处理
链接地址:https://www.777doc.com/doc-4572740 .html