有限差分2 Introduction to Finite Difference Methods

有限差分2 Introduction to Finite Difference Methods

ID:41099146

大小:116.67 KB

页数:10页

时间:2019-08-16

有限差分2 Introduction to Finite Difference Methods_第1页
有限差分2 Introduction to Finite Difference Methods_第2页
有限差分2 Introduction to Finite Difference Methods_第3页
有限差分2 Introduction to Finite Difference Methods_第4页
有限差分2 Introduction to Finite Difference Methods_第5页
资源描述:

《有限差分2 Introduction to Finite Difference Methods》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库

1、IntroductiontoFiniteDi¤erenceMethodsApril22,20071TheOneDimensionalHeatEquationOneofthesimplestparabolic(orheat)equaionsistheonedimensionalproblemut(x;t)=uxx(x;t);t2(0;T];x2(0;a);(1)u(t;0)=h1(t);u(t;a)=h2(t);u(0;x)=f(x):Becausevaluesofthefunctionuarespeci…edattheendpointsx=0andx=aofthespaceint

2、ervale,wecallthisproblemaDirichletproblem.Ifvaluesofthederivativeuxarespeci…edattheboundariesx=0andx=a,theproblemiscalledaNeumannproblem.Toapproximatethesolutionofthisequation,weconstructaspace-timegrid.Thatis,wedividetherectangleR=f(x;t):0xa;0tTgintoagridofn1bym1rectangleswithsieds4x=a=

3、nand4t=T=m:Startingfromthebottomrowt=t1=0,thesolutionisu(xi;t1)=f(xi);i=1;2;:::;n:Toapproximatethesolutionatthenextgridline,thedi¤erentialequationisapproxi-matedbyadi¤erenceequationasfollows.Thetimederivatvieutisapproximatedbythedi¤erenceformulau(x;t+4t)u(x;t)ut(x;t)4tandthespacederivativeis

4、approximatedbyu(x+4x;t)2u(x;t)+u(x4x;t)uxx(x;t)4x2WecanshowusingTaylorseriesexpansionsthattheseapproximationsareoforder4tintimeand4x2inspace.Denotingbyutheapproximatevalueofu(x;y)thedi¤erentialijijequation(1)isapproximatedbythedi¤erenceequationui;j+1ui;jui+1;j2ui;j+ui1;j=:4t4x2110.90.80

5、.70.60.50.40.30.20.1000.10.20.30.40.50.60.70.80.91Substitutingr=4t=4x2(forconventience)andsolvingforu;weobtaini;j+1ui;j+1=rui+1;j(12r)ui;j+rui1;j:(2)ExampleFortheheatequationwithf(x)=4xx2;h(x)=h(x)=0;a=1;r=:45,12the…gurebelowshows10timestepsoftheevolutionofthesolution.Theinitialsolutionde

6、caystowardszerowithtimeasexpected.Repeatingthecalculationwithr=:6producestheresultsshownbelowInthiscasetheinitialsolutionbuildsuptwardsin…nity.Thisisatypicalcaseoftheinstabilityofthenumericalschemeusedtoapproximatethesolution.Wecanshowthatthesolutionisstableifandonlyifr:5:Theinstabilityinthep

7、reviousexamplecanbepredictedfrommathematicalanalysisbyamethodcalledNeumannstabilitymethod.Theideaistoconsiderthesolutionofthedi¤erenceequationasasuperpositionofFourierbasicfunctions(modes)andrequirethatnoneofthebasicfunctionsshouldblowu

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。