资源描述:
《ANSYS地震反应谱SRSS分析.docx》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、ANSYS地震反应谱SRSS分析我在ANSYS中作地震分解反应谱分析,一次X方向,一次Y方向,他们要求是独立互不干扰的,可是采用直进行一次模态分析的话,他生成的*.mcom文件好像是包含了前面的计算结果,命令流如下:!进入PREP7并建模/PREP7B=15!基本尺寸A1=1000!第一个面积A2=1000!第二个面积A3=1000!第三个面积ET,1,beam4!二维杆单元R,1,0.25,0.0052,0.0052,0.5,0.5!以参数形式的实参MP,EX,1,2.0E11!杨氏模量mp,PRXY,1,,0.3mp,dens,1,7.8e3N,1
2、,-B,0,0!定义结点N,2,0,0,0N,3,-B,0,bN,4,0,0,bN,5,-B,0,2*bN,6,0,0,2*bN,7,-B,0,3*bN,8,0,0,3*bE,1,3!定义单元E,2,4E,3,5E,4,6E,3,4E,5,6e,5,7e,6,8e,7,8D,1,ALL,0,,2FINISH!!进入求解器,定义载荷和求解/SOLUD,1,ALL,0,,2!结点UX=UY=0sfbeam,1,1,PRES,100000,sfbeam,3,1,PRES,100000,sfbeam,7,1,PRES,100000,SOLVEFINISHall
3、selNMODE=10/SOL!*ANTYPE,2!*MSAVE,0!*MODOPT,LANB,NMODEEQSLV,SPARMXPAND,NMODE,,,1LUMPM,0PSTRES,0!*MODOPT,LANB,NMODE,0,0,,OFFSOLVE*DIM,FRE,,NMODE*DO,I,1,NMODE*GET,FRE(I),MODE,I,FREQ!OBTAINMODEFREQENCYFORMODEI*ENDDOFINISH!地震影响系数grav=9.81tg=0.35amax=0.08c=0.05!*dim,a,,nmode*dim,t,,nm
4、ode*do,i,1,nmodet(i)=1.0/fre(i)*enddor=0.9+(0.05-c)/(0.5+5.0*c)p1=0.02+(0.05-c)/8p2=1+(0.05-c)/(0.06+1.7*c)*do,i,1,nmode*if,t(i),ge,0.0,and,t(i),lt,0.1,thena(i)=(0.45+(10.0*p2-4.5)*t(i))*amax*grav*elseif,t(i),ge,0.1,and,t(i),le,tga(i)=p2*amax*grav*elseif,t(i),gt,tg,and,t(i),le,5
5、*tga(i)=(tg/t(i))**r*p2*amax*grav*elsea(i)=(p2*0.2**r-p1*(t(i)-5*tg))*amax*grav*endif*enddo!!X-方向谱分析SpectrumanalysisalongGlobalX-axisdirection/SOLUANTYPE,SPECTR!SpectrumanalysisSPOPT,SPRS!SinglepointspectrumSED,1,,!GlobalX-axisasspectrumdirectionSVTYP,2!Seismicaccelerationrespon
6、sespectrum!FrequencypointsandSpectrumvaluesforSVvs.freq.tableFREQ,fre(1),fre(2),fre(3),fre(4),fre(5),fre(6),fre(7),fre(8),fre(9)FREQ,fre(10) SV,,a(1),a(2),a(3),a(4),a(5),a(6),a(7),a(8),a(9)SV,,a(10) FINISH!/SOLU!ANTYPE,MODAL!Mode-frequencyanalysis!EXPASS,ON!MXPAND,nmode,,,YES,
7、0.0!Expandnmodeshapes,calculateelementstresses!SOLVE!FINISH/SOLUANTYPE,SPECTRSRSS,0.0,DISP!SquareRootofSumofSquaresModecombination !withsignif=0.0anddisplacementsolutionrequestedSOLVEFINISH/POST1SET,LIST/INPUT,,mcom!***************EARTHQUAKEX******************ALLSEL,A
8、LLFINISH!Y-方向谱分析SpectrumanalysisalongGlobalX-ax