欢迎来到天天文库
浏览记录
ID:34589748
大小:332.40 KB
页数:45页
时间:2019-03-08
《Programming The Finite Element Method With Matlab.pdf》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、ProgramingtheFiniteElementMethodwithMatlabJackChessa3rdOctober20021IntroductionThegoalofthisdocumentistogiveaverybriefoverviewanddirectioninthewritingofniteelementcodeusingMatlab.Itisassumedthatthereaderhasabasicfamiliaritywiththetheoryoftheniteelementmethod,andouratte
2、ntionwillbemostlyontheimplementation.AnexampleniteelementcodeforanalyzingstaticlinearelasticproblemswritteninMatlabispresentedtoillustratehowtoprogramtheniteelementmethod.Theexampleprogramandsupportinglesareavailableathttp://www.tam.northwestern.edu/jfc795/Matlab/1.1No
3、tationForclarityweadoptthefollowingnotationinthispaper;thebolditalicsfontvdenotesavectorquantityofdimensionequaltothespacialdimensionoftheproblemi.e.thedisplacementorvelocityatapoint,theboldnon-italicizedfontddenotesavectorormatrixwhichisofdimensionofthenumberofunknownsin
4、thediscretesystemi.e.asystemmatrixlikethestinessmatrix,anuppercasesubscriptdenotesanodenumberwhereasalowercasesubscriptingeneraldenotesavectorcomponentalongaCartesianunitvector.So,ifdisthesystemvectorofnodalunknowns,uIisadisplacementvectorofnodeIanduIiisthecomponentofthe
5、displacementatnodeIintheidirection,oruIei.OftenMatlabsyntaxwillbeintermixedwithmathematicalnotationGraduateResearchAssistant,NorthwesternUniversity(j-chessa@northwestern.edu)1whichhopefullyaddsclaritytotheexplanation.Thetypewriterfont,font,isusedtoindicatethatMatlabsynt
6、axisbeingemployed.2AFewWordsonWritingMatlabProgramsTheMatlabprogramminglanguageisusefulinillustratinghowtoprogramtheniteelementmethodduetothefactitallowsonetoveryquicklycodenumericalmethodsandhasavastpredenedmathematicallibrary.Thisisalsoduetothefactthatmatrix(sparseand
7、dense),vectorandmanylinearalgebratoolsarealreadydenedandthedevelopercanfocusentirelyontheimplementationofthealgorithmnotdeningthesedatastructures.Theextensivemathematicsandgraphicsfunctionsfurtherfreethedeveloperfromthedrudgeryofdevelopingthesefunctionsthemselvesorndin
8、gequivalentpre-existinglibraries.AsimpletwodimensionalniteelementprograminMatlabneedonlybeafewh
此文档下载收益归作者所有