基于Python求解偏微分方程的有限差分法  被引量:4

Python programmed finite difference method for solving partial differential equations

在线阅读下载全文

作  者:王登岳[1] 张宏伟[1] 

机构地区:[1]西安石油大学电子工程学院光电油气测井与检测教育部重点实验室,陕西西安710065

出  处:《计算机时代》2016年第11期14-16,共3页Computer Era

基  金:国家自然基金项目(51504194);陕西省科技攻关项目(2016GY-167)

摘  要:偏微分方程的求解是很多科学技术问题的关键难点。随着计算机性能的不断提高,数值解法能够解复杂的偏微分方程并将计算结果图形化。相对于昂贵的科学计算软件,Python是一种免费的面向对象、动态的程序设计语言。有限差分法以其概念清晰,方法简单、直观等特点在偏微分方程的求解中得到了广泛的应用。文章对矩形区域的拉普拉斯方程进行数值求解,采用Numpy对有限差分法进行计算,运用Matplotlib绘制等值线,输出迭代次数以及误差。To solve the partial differential equations(PDE) is a key difficult point in many scientific and technical problems. With the development of computer performance, numeric solution can solve many sophisticated PDE and visualize the numeric results.Rather than the expensive science computing software, Python is a free object-oriented language, dynamic programming language.Finite difference method(FDM) is widely used for its clear, simple and intuitive. Laplace problem in a rectangular area is solved numerically in the article, computed through FDM with the Numpy library, visualized through plotting the contour by the Matplotlib library, and the number of iteration and the error are given.

关 键 词:偏微分方程 PYTHON 数值解法 有限差分法 

分 类 号:TP3[自动化与计算机技术—计算机科学与技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象