ANSYSANSYSAALADRAGAROTATAOFFSTAFILLTASKINAGENARSYMASUBATRANALISTARSCALEAPLOTADELEASELASLLASLVRECTANGBLC4BLC5PCIRCCYL4CYL5RPOLYPOLYRPR4A,P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,P12,P13,P14,P15,P16,P17,P18P1~P181834ZXY1./prep7!csys,1!k,1,1$k,2,1,90!l,1,2!csys,0!k,3,-1$k,4,0,-1$k,5,0.5,-0.7!kpscale,all,,,3,3!a,1,2,3,4,5!l,6,7!csys,1!a,6,7,8,9,10!AL,L1,L2,L3,L4,L5,L6,L7,L8,L9,L10L1L10310L1L1L1ALLPL1=ALLL2L24/prep7!csys,1!*do,I,1,12!k,I,5,30*(I-1)$*enddo*do,I,1,11!lstr,I,I+1$*enddoL,1,12!AL,ALL!2.L12ADRAG,NL1,NL2,NL3,NL4,NL5,NL6,NLP1,NLP2,NLP3,NLP4,NLP5,NLP6NL1~NL6---ALLNLP1~NLP6---ADRAG3./PREP7!PI=ACOS(-1)!=3.1415926PI*DO,I,0,10,1!11K,2*I+1,I/5*PI,SIN(I/5*PI)*ENDDO!SPLIN,ALL!CM,PATH1,LINE!PATH1K,50,,,2!K,51,,1,4$L,1,50$L,50,51ADRAG,11,12,,,,,path1!PATH1L11L12AROTAT,NL1,NL2,NL3,NL4,NL5,NL6,PAX1,PAX2,ARC,NSEGNL1,NL2,NL3,NL4,NL5,NL6---NL1ALLPPAX1,PAX2---ARC---PAX1-PAX2360NSEG---89036044./PREP7!PI=ACOS(-1)!π=3.1415926*DO,I,0,10,1!11K,I+1,I/5*PI,SIN(I/5*PI)*ENDDO!*do,i,1,10!l,i,i+1*enddok,50,2,2!k,51,8,3arotat,all,,,,,,50,51,270,6!2706AOFFST,NAREA,DIST,KINCNAREA---ALLPDIST---KINC---/prep7!blc4,,,10,20!aoffst,all,10!5.AFILLT,NA1,NA2,RADNA1,NA2---12.RAD---6./prep7!k,1,1$k,2,0,2$k,3,-1!k,4$k,5,,,2l,1,2$l,2,3!l,4,5adrag,1,2,,,,,3!3afillt,1,2,0.5!0.5ASKIN,NL1,NL2,NL3,NL4,NL5,NL6,NL7,NL8,NL9NL1---1NL1ALL9NL2NL9---9NL1“”1147.16/9/22yxz+=/prep7!*do,i,1,20!1x=i-10!Xksel,none!*do,j,1,20!2y=j-10!Yz=x*x/9+y*y/16!Zk,,x,y,z!*enddo!1bsplin,all!*enddo!2allsel,all!cm,linecomp,line!askin,linecomp!AGEN,ITIME,NA1,NA2,NINC,DX,DY,DZ,KINC,NOELEM,IMOVEITIME---2NA1,NA2,NINC---NA1ALLDX,DY,DZ-----,D,DZ--,D,----KINC---NOELEM---NOELEM=0NOELEM=1IMOVE---IMOVE=0IMOVE=1ITIMEKINCNOELEM8.agen,2,1,,,,,20!Dz=20agen,,all,,,50,,,,,1!X50csys,1!agen,,all,,,,60,,,,1!60ARSYM,Ncomp,NA1,NA2,NINC,KINC,NOELEM,IMOVENcomp---XYZAGENARSYM,Y,ALL9.12.ALIST,NA1,NA2,NINC,LabLabLab=HPT13.命令:APLOT,NA1,NA2,NINC,DEGEN,SCALEDEGEN---DEGE/FACET,WIRESCALE---0.07514.命令:ADELE,NA1,NA2,NINC,KSWPKSWP---KSWP=0KSWP=1ASEL,Type,Item,Comp,VMIN,VMAX,VINC,KSWPType---S---R---A---U---ALL---NONE---INVE---STAT---Item---Type=S,R,A,UAREAAREA---EXT---LOC---CompX,Y,ZX,Y,ZMAT,TYPE,REAL,ESYS,---SECN---HPT---ACCA---ACCATVMIN,VMAX,VINC---LSELKSWP---KSWP=0KSWP=1Type=S15.16.ASLL,Type,ARKEYType---R,S,A,UARKEY---ARKEY=0LSELARKEY=117.ASLV,TypeTypeASLLRECTNG,X1,X2,Y1,Y2X1,X2---XY1,Y2---Y/prep7!wpoff,1,1!XY1rectng,1,2,0,1!A1wprota,,90!X90rectng,1,2,0,1!A2wprota,,,90!Y90wpoff,,,0.5!Z1rectng,0,1,0,1!A318.BLC4,XCORNER,YCORNER,WIDTH,HEIGHT,DEPTHXCORNER,YCORNER---1XYWIDTH---XXCORNERHEIGHT---YYCORNERDEPTH---ZDEPTH=0WIDTHHEIGHTDEPTH/PREP7!BLC4,,,1,2!A1BLC4,,,-1,-2!A2WPROTA,,90!X90BLC4,1,1,1,2!A319.BLC5,XCENTER,YCENTER,WIDTH,HEIGHT,DEPTHXCENTER,YCENTER---XYWIDTH---XHEIGHT---YDEPTH---ZDEPTH=0WIDTHHEIGHTDEPTH/PREP7!BLC5,,,1,2!A1BLC5,1,1,-2,-2!A2,BLC5,-1,-1,1,2,3!V1BLC5,-1,-1,1,2,-3!V220.PCIRC,RAD1,RAD2,THETA1,THETA2RAD1,RAD2---RAD1RAD20THETA1,THETA2---0360/PREP7!PCIRC,1,2,0,250!1,2250wpoff,4!pcirc,1,,0,110!1110pcirc,2,,150,260!2150260wprota,,,90!pcirc,4,,,90!49021.CYL4,XCENTER,YCENTER,RAD1,THETA1,RAD2,THETA2,DEPTHXCENTER,YCENTER---XYRAD1,RAD2---THETA1,THETA2---0360DEPTH---ZDEPTH=0/PREP7!cyl4,,,1,90,2,270!1,290270cyl4,,,1,,,60!160cyl4,3,,2!x=3,y=02wprota,,90!cyl4,6,,1,,2,260,3!22.CYL5,XEDGE1,YEDGE1,XEDGE2,YEDGE2,DEPTHXEDGE1,YEDGE1---XYXEDGE2,YEDGE2---XY/prep7!cyl5,1,-2,-1,3!cyl5,3,2,2,3,1!23.RPOLY,NSIDES,LSIDE,MAJRAD,MINRADNSIDES---2LSIDE---MAJRAD---LSIDEMINRAD---LSIDEMAJRAD/prep7!rpoly,5,1!15wpoff,2!rpoly,8,1!18wpoff,0,3!rpoly,8,,2!28wpoff,-2!rpoly,7,,,1!1724.RPR4,NSIDES,XCENTER,YCENTER,RADIUS,THETA,DEPTHNSIDES---2XCENTER,YCENTER---XYRADIUS---THETA---X10DEPTH---0/prep7!rpr4,3,1,1,2,90!x=1Y=12390rpr4,3,1,1,2!x=1Y=1230rpr4,5,3,3,2,90!x=3Y=3250wprota,,90!rpr4,7,-4,,3,,-1!x=-4Y=037!01Z25.3D3DVVAVDRAGVROTATVOFFSTVEXTVGENVSYMMVTRANVLSCALEVLISTVPLOTVSELVSLAVDELEBLOCKBLC4BLC5CYLINDCYL4CYL5RPRISMRPR4PRISMSPHERESPH4SPH5CONECON4TORUSV,P1,P2,P3,P4,P5,P6,P7,P8P1~P8---48/prep7!k,1,1$k,2,0,1$k,3,-1$k,4,0,-1!kgen,2,all,,,,,4!cm,kpcomp,kp!kgen,2,kpcomp,,,3!kgen,2,kpcomp,,,6!kgen,2,kpcomp,,,10!v,1,2,3,4,5,6,7,8!csys,1!v,9,10,11,12,13,14,15,16!local,12,1,6!v,20,19,18,17,24,23,22,21!local,13,2,10!v,25,26,27,28,29,30,31,32!1.VA,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10A1~A10410A1ALLP8/prep7!rpr4,6,,,2!260wpoff,,,20!rpr4,6,,,2,30!2630*do,i,1,5!a,i,i+1,i+6$a,i+1,i+6,i+7$*enddoa,1,6,12!a,1,12,7va,all!2.VDRAG,NA1,NA2,NA3,NA4,NA5,NA6,NLP1,NLP2,NLP3,NLP4,NLP5,NLP6NA1,NA2,NA3,NA4,NA5,NA6---NA1ALLPNLP1,NLP2,NLP3,NLP4,NLP5,NLP6---3./PREP7!RPOLY,6,2!cyl4,8,0,1!K,120!K,120,,,4K,121,,,40$K,122,,60,40L,120,121$L,121,122!LFILLT,11,12,10!VDRAG,1,2,,,,,11,13,12!11,13,1212VROTAT,NA1,NA2,NA3,NA4,NA5,NA6,PAX1,PAX2,ARC,NSEGNA1~NA6---VDRAGPAX1,PAX2---ARC---PAX1-PAX2360NSEG---8903604/prep7!k,1$k,2,,3!rpr4,5,10,,2!5rpr4,6,-15,,1!6vrotat,1,,,,,,1,2!1vrotat,2,,,,,,1,2!24.VOFFST,NAREA,DIST,KINCNAREA---DIST---KINC---0/prep7!rpr4,5,-10,,2!5wprota,,90!rpr4,7,8,,2!7voffst,1,20!1voffst,2,10!25.VEXT,NA1,NA2,NINC,DX,DY,DZ,RX,RY,RZNA1,NA2,NINC---NINCNA1NA2NA2NA1NINC1NA1ALLNA2NINCDX,DY,DZ