一、连续钢梁的刚度和质量矩阵弹性模量:EX=2.0×1011Pa泊松比:PRXY=0.3密度:DENS=7811Kg/m3截面特性如右图。ANSYS命令流:/FILNAM,BEAMMASSANDKNIFFANALYSIS/TITLE,BEAMMASSANDKNIFFANALYSIS/PREP7ET,1,BEAM3MP,EX,1,2.0E11MP,NUXY,1,0.3MP,DENS,1,7800SECTYPE,1,BEAM,I,,3SECOFFSET,CENTSECDATA,0.15,0.15,0.3,0.02,0.02,0.01,0,0,0,0K,1,0,0,0K,2,10,0,0一、框架的刚度和质量矩阵的提取模型采用右图的集中质量模型,M1=2762Kg,M2=2760Kg,M3=2300Kg,层间刚度分别为:248500、192100、152200命令流如下:finish/clear/prep7et,1,combin14keyopt,1,2,1!一维弹簧单元(Ux平动)et,2,mass21keyopt,2,3,2!3-Dmass没有转动惯量*do,i,1,4,1n,i,0,(i-1)*3,0*enddo!质量常数r,2,2762r,3,2760r,4,2300type,2*do,i,2,4,1real,ie,i*enddo!层间刚度r,12,248500r,13,192100r,14,152200type,1*do,i,1,3,1real,11+ie,i,i+1*enddo!约束nsel,s,node,,2,4,1d,all,uz,0d,all,uy,0allseld,1,all,0/soluantype,7seopt,submat,3m,all,allsolveselist,submat,3/使用该命令流可以得到结构的刚度矩阵和质量矩阵结果:刚度矩阵:440600.00-192100.000.0000000-192100.00344300.00-152200.000.0000000-152200.00152200.00质量矩阵:2762.00000.00000000.00000000.00000002760.00000.00000000.00000000.00000002300.0000附件1:(运行ANSYS命令的输出结果,最后面是刚度和质量矩阵)PRINTCONTENTSOFSUPERELEMENTsubmatPRINTOPTION=3HEADER=83233404301100100112115501101166103submat107809229289469539769821027107209349401060044060030041900000000HEADERSUMMARY:NUMBEROFROWS=3NUMBEROFMATRICES=2NUMBEROFEDGEPLOTLINES=3NUMBEROFDEGREESOFFREEDOMPERNODE=3NUMBEROFDEGREEOFFREEDOMINDICES=4NUMBEROFNODES=3NUMBEROFLOADVECTORS=1NUMBEROFTRANSFORMATIONS=0BASEFILENAME=submatMAXIMUMSTIFFNESS=0.44060E+06DEGREESOFFREEDOMPERNODE=123DEGREESOFFREEDOMPERNODELABELS=UXUYUZDEGREESOFFREEDOMASGENERATED=4710REORDEREDDOFPOSITIONS=123ORIGINALDOFORDER=4710DEGREEOFFREEDOMINDICES=1234TITLE=NODES=234NODEXYZTHXYTHYZTHXZ20.00003.00000.00000.00000.00000.000030.00006.00000.00000.00000.00000.000040.00009.00000.00000.00000.00000.0000EDGEPLOTDATA=EDGEX1Y1Z1X2Y2Z210.00000.00000.00000.00003.00000.000020.00003.00000.00000.00006.00000.000030.00006.00000.00000.00009.00000.0000GLOBALDOFSET=336597GLOBALDOFSETNODES,LABELS=2UX3UX4UXMASSINFORMATION:TOTALMASS=7822.0CENTROID(X,Y,Z)=0.00005.82280.0000MOMENTOFINTERTIAABOUTORIGIN:IXX=0.31052E+06IYY=0.0000IZZ=0.31052E+06IXY=0.0000IYZ=0.0000IZX=0.0000ROW1MATRIX1440600.00-192100.000.0000000ROW1MATRIX22762.00000.00000000.0000000ROW2MATRIX1-192100.00344300.00-152200.00ROW2MATRIX20.00000002760.00000.0000000ROW3MATRIX10.0000000-152200.00152200.00ROW3MATRIX20.00000000.00000002300.0000LOADVECTOR10.00000000.00000000.0000000