Download Partial Differential Equation Toolbox User's Guide

Transcript
1
Tutorial
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
What Does this Toolbox Do? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Can I Use the PDE Toolbox? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
What Problems Can I Solve? . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
In Which Areas Can the Toolbox Be Used? . . . . . . . . . . . . . . . . . 1-5
How Do I Define a PDE Problem? . . . . . . . . . . . . . . . . . . . . . . . . 1-5
How Can I Solve a PDE Problem? . . . . . . . . . . . . . . . . . . . . . . . . 1-6
Can I Use the Toolbox for Nonstandard Problems? . . . . . . . . . . 1-6
How Can I Visualize My Results? . . . . . . . . . . . . . . . . . . . . . . . . 1-6
Are There Any Applications Already Implemented? . . . . . . . . . 1-7
Can I Extend the Functionality of the Toolbox? . . . . . . . . . . . . . 1-7
How Can I Solve 3-D Problems by 2-D Models? . . . . . . . . . . . . . 1-8
Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9
Basics of The Finite Element Method . . . . . . . . . . . . . . . . . 1-18
Using the Graphical User Interface . . . . . . . . . . . . . . . . . . 1-23
The PDE Toolbox Graphical User Interface . . . . . . . . . . . . . . . 1-23
The Menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-24
The Toolbar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-25
The GUI Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-26
The CSG Model and the Set Formula . . . . . . . . . . . . . . . . . . . . 1-27
Creating Rounded Corners . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-28
Suggested Modeling Method . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-31
Object Selection Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-35
Display Additional Information . . . . . . . . . . . . . . . . . . . . . . . . . 1-35
Entering Parameter Values as MATLAB Expressions . . . . . . . 1-36
Using PDE Toolbox version 1.0 Model M-files . . . . . . . . . . . . . 1-36
Using Command-Line Functions . . . . . . . . . . . . . . . . . . . . . 1-37
Data Structures and Utility Functions . . . . . . . . . . . . . . . 1-37
Hints and Suggestions for Using Command-Line Function . . . 1-40