Crank Nicolson Solution to the Heat Equation

Crank Nicolson Solution to the Heat Equation

ID:40057876

大小:125.15 KB

页数:8页

时间:2019-07-18

Crank Nicolson Solution to the Heat Equation_第1页
Crank Nicolson Solution to the Heat Equation_第2页
Crank Nicolson Solution to the Heat Equation_第3页
Crank Nicolson Solution to the Heat Equation_第4页
Crank Nicolson Solution to the Heat Equation_第5页
资源描述:

《Crank Nicolson Solution to the Heat Equation》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库

1、CrankNicolsonSolutiontotheHeatEquationME448/548NotesGeraldRecktenwaldPortlandStateUniversityDepartmentofMechanicalEngineeringgerry@me.pdx.eduME448/548:Crank-NicolsonSolutiontotheHeatEquationOverview221.Use niteapproximationsto@u=@tand@u=@x:samecomponentsusedinFTCSandBTCS.222.Averagecontributi

2、onfromtkandtk+1intheapproximationof@u=@x.k+13.Computationalformulais(still)implicit:allumustbesolvedsimultaneously.ikkkInformationfromu,u,anduareusedateachtimestepinthecomputationi1ii+1k+1ofu.i4.Solutionisnotsigni cantlymorecomplexthanBTCS.5.LikeBTCS,theCrank-Nicolsonmethodsisunconditionally

3、stablefortheheatequation.226.TruncationerrorisO(t)+O(Dx).TimeaccuracyisbetterthanBTCSorFTCS.ME448/548:Crank-NicolsonSolutiontotheHeatEquationpage1TheMethod22Evaluatethedi usionoperator@u=@xatbothtimestepstk+1andtimesteptk,anduseaweightedaverage"#"#k+1kuk+12uk+1+uk+1uk2uk+ukuiuii1ii+1i1

4、ii+1= +(1)(1)tx2x2where01=0()FTCS=1()BTCSME448/548:Crank-NicolsonSolutiontotheHeatEquationpage2Crank-NicolsonComputationalMoleculet.....................Crank-Nicolsonschemerequiressimultaneousk+1calculationofuatallknodesonthek+1meshlinek1Solutionisknownforthesenodest=0,k=1i=1i1ii+1

5、nxx=0x=LME448/548:Crank-NicolsonSolutiontotheHeatEquationpage3CompareComputationalMoleculesFTCSBTCSCrank-Nicolsonk+1k+1k+1kkki–1ii+1i–1ii+1i–1ii+1ME448/548:Crank-NicolsonSolutiontotheHeatEquationpage4CrankNicolsonApproximationtotheHeatEquationk+11k+1k+1u++uu=2x2i1tx2i2x2i+1k1kku+u

6、+u(2)2x2i1tx2i2x2i+1ME448/548:Crank-NicolsonSolutiontotheHeatEquationpage5Crank-NicolsonSystemofEquationsThesystemofequationshasthesamestructureasBTCS2323uk+123a1b10000617d1676uk+17676c2a2b200076276d2767676760c3a3b30076uk+176d376......763..7=6..7(3)600...076.76.76767674000cnx1anx1bnx1

7、56uk+174dnx154nx150000cnxanxk+1dnxunxwherethecoecientsoftheinteriornodes(i=2;3;:::;N1)are2ai=1=t+ =x=1=t(bi+ci);2bi=ci= =(2x);kkkdi=ciui1+(1=t+bi+ci)uibiui+1:ME448/548:Crank-NicolsonSolutiontotheHeatEquationpage6demoCNCode%---Co

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

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

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