![FEM在求解連續(xù)梁振動問題中的應(yīng)用_第1頁](http://file4.renrendoc.com/view/37c9712db8c68851183bee2225018983/37c9712db8c68851183bee22250189831.gif)
![FEM在求解連續(xù)梁振動問題中的應(yīng)用_第2頁](http://file4.renrendoc.com/view/37c9712db8c68851183bee2225018983/37c9712db8c68851183bee22250189832.gif)
![FEM在求解連續(xù)梁振動問題中的應(yīng)用_第3頁](http://file4.renrendoc.com/view/37c9712db8c68851183bee2225018983/37c9712db8c68851183bee22250189833.gif)
![FEM在求解連續(xù)梁振動問題中的應(yīng)用_第4頁](http://file4.renrendoc.com/view/37c9712db8c68851183bee2225018983/37c9712db8c68851183bee22250189834.gif)
![FEM在求解連續(xù)梁振動問題中的應(yīng)用_第5頁](http://file4.renrendoc.com/view/37c9712db8c68851183bee2225018983/37c9712db8c68851183bee22250189835.gif)
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)
文檔簡介
ApplicationofFEMinsolvingthecontinuousbeamvibrationproblem)Ifwewrite,thisisasetoflinearhomogenousequationsintheunknowns,,…,.Bysolvingthefollowingeigenequation,wewillhavenrootsalsocalledtheeigenvalue,,…,.Notingthat,thenaturalfrequencyisgivenby.TheresultsoftheFEManalysisBasedonthetheorymentionedabove,weobtainaFEMcodeaccordingtofigure5usingMATLAB.Submittingtheboundarycondition,thematerialpropertiesandgeometryparametersintotheaboveequations,weobtainthefollowingresultsusingtheMATLABcode.Discretethebeaminto5elements,thenwegettheelementmassmatrixandstiffnessmatrixasfollows FigureSEQFigure\*ARABIC5theprogramchartThetotalmassmatrixandthetotalstiffnessmatrixThecantileverbeamTable1listthetop5inherentfrequenciesofthecantileverbeam.Aswecanseeintable1,theFEMresultsagreedwellwiththetheoreticalvalue.Inaddition,theerrorachievedbydividingthebeaminto5elementsislargerthantheerrorobtainedfromthemodelwith50discreteelements.Thevibrationmode(basedonthedatafromthemodelwith50discreteelements)correspondingtothetop6naturalfrequenciesarepresentedfigure6.TableSEQTable\*ARABIC1thenaturalfrequencyofcantileverbeamOrderTheoreticalvalueFEMresults(5elements)FEMresults(50elements)Error(%)Error(%)132.912032.91610.01245332.91570.011101602206.271206.3820.0538736206.2790.003888393577.473579.6620.379044577.5870.019798941131.851145.111.172051131.840.00044828151871.011900.601.581491871.020.000462699ThefirstordervibrationmodeThesecondordervibrationmodeThethirdordervibrationmodeTheforthordervibrationmodeThefifthordervibrationmodeThesixthordervibrationmodeFigureSEQFigure\*ARABIC6vibrationmodeofthecantileverbeamThesimplysupportedbeamTable2listthetop5inherentfrequenciesofthesimplysupportedbeam.Aswecanseeintable2,theFEMresultsagreedwellwiththetheoreticalvalue.Additionally,theerrorachievedbydividingthebeaminto5elementsislargerthantheerrorobtainedfromthemodelwith50discreteelements.Thevibrationmode(basedonthedatafromthemodelwith50discreteelements)correspondingtothetop6naturalfrequenciesarepresentedfigure7.TableSEQTable\*ARABIC2thenaturalfrequencyofsimplysupportedbeamOrderTheoreticalvalueFEMresults(5elements)FEMresults(50elements)Error(%)Error(%)192.405592.39560.010702592.39560.01110162370.195369.5830.165673369.5830.003888393838.165831.5610.794154831.5620.019798941512.391478.332.303681478.330.00044828152563.792309.8910.99182309.910.000462699ThefirstordervibrationmodeThesecondordervibrationmodeThethirdordervibrationmodeTheforthordervibrationmodeThefifthordervibrationmodeThesixthordervibrationmodeFigureSEQFigure\*ARABIC7vibrationmodeofthesimplysupportedbeamAppendix:MATLABcode%%利用有限元方法求解懸臂梁和簡支梁的振動問題%%clc;clearall;symsxlrhobtEA=b*t;I=b*t^3/12;n=input('Pleaseinputthenumberofdiscreteelementsn=');%inputthetotalelementsofthediscreteelement%%difinetheshapefunctionN1=1-3*(x/l)^2+2*(x/l)^3;N2=(x/l-2*(x/l)^2+(x/l)^3)*l;N3=3*(x/l)^2-2*(x/l)^3;N4=((x/l)^3-(x/l)^2)*l;%%%%solvetheelementmassmatrixandstiffnessmatix,totalmassmatrixandstiffnessmatrixN=[N1,N2,N3,N4];Me0=int(N'*N,x,0,l);%obtaintheelementmassmatrixMe=rho*A*Me0Ke0=int(diff(N.',x,2)*diff(N,x,2),x,0,l)%obtaintheelementstiffnessmatrixKe=(E*I)*Ke0;M0=zeros(2*(n+1),2*(n+1));K0=zeros(2*(n+1),2*(n+1));fori=1:1:nae=zeros(4,2*(n+1));forj=1:1:4ae(j,2*i+j-2)=1;%difinethecoordinatetransformationmatrixendM0=M0+ae.'*Me*ae;%solvethetotalmassstiffnessmatrixK0=K0+ae.'*Ke*ae;%solvethetotalstiffnessmatixenddisp('TheelementmassmatrixMe=');disp(Me);%showtheelementmassmatrixdisp('TheelementstiffnessmatrixKe=');disp(Ke);%showtheelementtiffnessmatrixdisp('ThetotalmassmatrixM=');disp(M0);%showthetotalmassmatrixdisp('ThetotalstiffnessmatrixK=');disp(K0);%showthetotaltiffnessmatrix%%Me1=matlabFunction(Me);Ke1=matlabFunction(Ke);M1=matlabFunction(M0);%將質(zhì)量符號矩陣轉(zhuǎn)換為代數(shù)矩陣K1=matlabFunction(K0);%將剛度符號矩陣轉(zhuǎn)換為代數(shù)矩陣%%inputthegeometryparametersandphysicalconstantsL=0.4;%thetotallengthofthebeam,mb=0.02;%thewidthofthebeam,mt=0.001;%thethicknessofthebeam,mE=2.1*10^11;%theelasticmodulus,GParho=7800;%thedensityofthebeam,kg/m^3l=L/n;MNumeric=M1(b,l,t,rho);KNumeric=K1(E,b,l,t);disp('ThenumericaltotalmassmatrixM=');disp(MNumeric);%showthetotalmassmatrixdisp('ThenumericaltotalstiffnessmatrixK=');disp(KNumeric);%showthetotaltiffnessmatrix%%1.懸臂梁的振動求解%對于懸臂梁考慮約束條件節(jié)點1:撓度為零,轉(zhuǎn)角為零;%采用消元法:消去整體質(zhì)量矩陣的前兩行,前兩列;消去整體剛度矩陣的前兩行,前兩列;M=MNumeric([3:2*n+2],[3:2*n+2]);K=KNumeric([3:2*n+2],[3:2*n+2]);[X,lamda]=eig(K,M);omega=sort(sqrt(diag(lamda)));XX=zeros(n,n);XX(1,:)=0;fori=2:nforj=1:nXX(i,j)=X(2*(i-1)+1,j);endend%%畫出前五階振型r=1:n;fori=1:6figure('Color',[111]);plot(r,XX(:,i));xlabel('\itx\rm/\itl','FontName','TimesNewRoman','FontSize',36);ylabel('u\rm(\itx\rm)','FontName','TimesNewRoman','FontSize',36);set(gca,'Linewidth',2);%settingupthelinewidthofthecoordinateset(gca,'FontName','TimesNewRoman','FontSize',36);set(get(gca,'Children'),'linewidth',3);%settingupthelinewidthofthecurveend%%根據(jù)振動力學(xué)方程得到懸臂梁固有頻率betal1=1.875;betal2=4.694;betal=[];omega_real=[];error=[];fori=1:20betal(1)=betal1;betal(2)=betal2;ifi>=3betal(i)=pi*(i-0.5);endomega_real(i)=(betal(i)/L)^2*sqrt(E*(b*t^3/12)/(rho*b*t));endifn>=20m=20;elsem=n;endfori=1:merror(i)=(abs(omega_real(i)-omega(i))/omega_real(i))*100;%outputthepercentageerrorend%%簡支梁的振動求解%%%對于簡支梁考慮約束條件:第一個節(jié)點的撓度為零,最后一個節(jié)點的撓度為零;%采用消元法:消去整體質(zhì)量矩陣的第1行,第1列;倒數(shù)第二行和倒數(shù)第二列%消去整體剛度矩陣的第1行,第1列;倒數(shù)第二行和倒數(shù)第二列Mssb=MNumeric([2:2*n,2*(n+1)],[2:2*n,2*(n+1)]);Kssb=KNumeric([2:2*n,2*(n+1)],[2:2*n,2*(n+1)]);[Xssb,lamdassb]=eig(Kssb,Mssb);omegassb=sort(sqrt(diag(lamdassb)));XXssb=zeros(n,n);XXssb(1,:)=0;XXssb(n,:)=0;fori=2:n-1forj=1:nXXssb(i,j)=Xssb(2*(i-1),j);endend%%根據(jù)振動力學(xué)方程得到簡
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025年雙方房產(chǎn)購置策劃協(xié)議書
- 2025年停車場安全管理合同模板
- 2025年企業(yè)員工食堂經(jīng)營合同
- 2025年上海餐飲股權(quán)轉(zhuǎn)讓合同范文
- 2025年度項目申請盡職調(diào)查服務(wù)協(xié)議樣本
- 2025年冷鏈貨物運(yùn)輸服務(wù)協(xié)議樣本
- 2025年共營項目合作協(xié)議
- 2025年企業(yè)宣傳冊印刷合同樣本
- 2025年智能鎖銷售合同協(xié)議
- 2025年安徽貨運(yùn)叢業(yè)資格證考試題及答案
- 2024-2030年一次性治療服裝市場發(fā)展現(xiàn)狀分析及行業(yè)投資戰(zhàn)略研究報告
- 關(guān)于開展農(nóng)業(yè)領(lǐng)域非法集資活動風(fēng)險排查工作的總結(jié)
- 幼兒園食品安全教育課件
- 《中國心力衰竭診斷和治療指南2024》解讀
- 2024年云南省中考數(shù)學(xué)模擬試卷(三)
- 信息系統(tǒng)安全等級保護(hù)(一級)基本要求
- DB37-T 4384-2021 混凝土橋梁有效預(yù)應(yīng)力無損檢測技術(shù)規(guī)程
- 2024年高中英語衡水體書法練字字帖
- 人教版二年級下冊口算題天天練1000道可打印帶答案
- 【跨境電商零售進(jìn)口稅收征管對策及建議16000字(論文)】
- 2024年襄陽漢江檢測有限公司招聘筆試參考題庫附帶答案詳解
評論
0/150
提交評論