MATLAB的PED工具箱使用简介(in English).pdf

MATLAB的PED工具箱使用简介(in English).pdf

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

Using the MATLAB PDE TOOLBOX The MATLAB PDE Toolbox is a tool for solving two-dimensional linear partial differential equations by finite element methods. This document is intended to guide you through the use of the graphical user interface for interactive use. It assumes that the reader is running MATLAB and the PDE toolbox in a graphical environment. At the MATLAB prompt, type pdetool. You should see a window like the one below pop up. We will work through the solution of Laplaces equation with Dirichlet boundary conditions. Solutions of Laplaces equation, called harmonic functions, describe situations in which forces are balanced, as might occur in electrostatics or thermal equilibria. This is an example which might be first encountered in an elementary PDE course, and which you might solve by Fourier series methods, by hand; you will find that you obtain the solution faster with the PDE Toolbox, and that you also obtain a visual representation, which may contribute to the more important goal of understanding. We will then modify the example, to one which might not be so easily done by hand. 1. Draw the region of interest: suppose we want the rectangle (x,y) = [0, 3] X [0, 1]. o In the Options menu, select Grid and Snap; then set the Axes Limits to [-1 4] and [-1 2]. When finished, click Apply and Close the Axes Limits window. 1. o In the Draw menu, select Rectangle/Square (not centered). o In the drawing region, click and hold with the cursor at the origin, and drag it to the point with coordinates (3,1). The region will be shaded and marked R1. 2. Set up the boundary conditions: suppose we want the unknown solution function u to be - 1 on the long horizontal sides, and +1 on the short vertical sides. o In the Boundary menu, select Boundary Mode. The window changes to this: ? o In the drawing region, double click on the left edge of the rectangle. The boundary condition window pops up. The default Dirichlet condition h*u=r

文档评论(0)

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

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

1亿VIP精品文档

相关文档