网站大量收购独家精品文档,联系QQ:2885784924

A fortran program (RELAX3D) to solve the 3 dimensional poisson (Laplace) equation.pdf

A fortran program (RELAX3D) to solve the 3 dimensional poisson (Laplace) equation.pdf

  1. 1、本文档共6页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
A fortran program (RELAX3D) to solve the 3 dimensional poisson (Laplace) equation

A Fortran Program (RELAX3D) to Solve the 3 Dimensional Poisson (Laplace) Equation H. Houtman*, C.J. Kost TRIUMF, University of British Columbia Vancouver, B.C., Canada I) Introduction RELAX3D is an efficient, user friendly, interactive FORTRAN program which solves the Poisson (Laplace) equation q~ = p for a general 3 dimensional geometry consisting of Dirichlet and Neumann boundaries approximated to lie on a regular 3 dimensional mesh. The finite difference equations at these nodes are solved using a successive point-iterative over-relaxation method 1,2). A menu of commands, supplemented by an extensive HELP facility controls the dynamic loading of the subroutine describing the problem case, the iterations to converge to a solution, and the contour plotting of any desired slices etc. Basic parts of the program were developed in 1973 3) based on work by others4, 5) with the idea in mind that appropriate applications would be found for it at some future date when computers could run it in a practical manner. Fortunately, our view into the crystal ball turned out to be accurate and the program has found many problems to solve both at TRIUMF and elsewhere. 2) Method Finite difference methods, dating back to Gauss 6) can be used to obtain numerical solutions, to any desired accuracy, for all static electric and magnetic fields in uniform media and time-varying fields where eddy currents can be neglected. We will restrict ourselves to problems given in TABLE I. The partial differential equation for the field, being replaced by a set of finite difference equations at discrete points in a mesh occupying the volume of interest, results in a large number of equations connecting the potential ~ at each point with those of adjacent points and is solved by an iterative procedure known as relaxation. The basis of the iteration procedure is that the potential ¢ at each grid point (that is allowed to vary) on each iteration is replaced using the finite

文档评论(0)

l215322 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档