Download presentation
Presentation is loading. Please wait.
1
S. Mandayam/ EEMAG-1/ECE Dept./Rowan University Engineering Electromagnetics 1 0909.301.01 Fall 2004 Shreekanth Mandayam ECE Department Rowan University http://engineering.rowan.edu/~shreek/fall04/eemag1/lectures/pdetoolbox.ppt INTODUCTION TO MATLAB PDE TOOLBOX September 22, 2004
2
S. Mandayam/ EEMAG-1/ECE Dept./Rowan University The PDE Toolbox The Matlab PDE toolbox provides a user-friendly graphical interface for solving 2-D partial differential equations of functions of space and time Such equations arise in electromagnetics (electrostatics, magnetostatics, quasi-statics), thermal diffusion, structural analysis, etc. The GUI allows the user to draw 2-D cross-sections of objects, specify sources and boundary conditions and compute the variables (electromagnetic fields, temperatures, stresses, etc.). A numerical technique called the Finite Element Method (will not be discussed here) is used to solve the pdes.
3
S. Mandayam/ EEMAG-1/ECE Dept./Rowan University An Example from Electrostatics The following slides show an example application using the Matlab PDE toolbox. Problem statement: V=10 V=0 Laplace’s Equation No Surface Charge
4
S. Mandayam/ EEMAG-1/ECE Dept./Rowan University Step 1 Start the toolbox by typing in >> pdetool at the Matlab prompt
5
S. Mandayam/ EEMAG-1/ECE Dept./Rowan University Step 2Select Electrostatics Application
6
S. Mandayam/ EEMAG-1/ECE Dept./Rowan University Step 3The Draw Menu
7
S. Mandayam/ EEMAG-1/ECE Dept./Rowan University Step 4Create Rectangle
8
S. Mandayam/ EEMAG-1/ECE Dept./Rowan University Step 5The Boundary Menu
9
S. Mandayam/ EEMAG-1/ECE Dept./Rowan University Step 6Display Options
10
S. Mandayam/ EEMAG-1/ECE Dept./Rowan University Step 7Select Boundary 4
11
S. Mandayam/ EEMAG-1/ECE Dept./Rowan University Step 8Specify Boundary Condition Steps 9 - 10 Select Boundary 1 and specify condition
12
S. Mandayam/ EEMAG-1/ECE Dept./Rowan University Steps 11 - 14Specify remaining boundary conditions
13
S. Mandayam/ EEMAG-1/ECE Dept./Rowan University Step 15The PDE Mode
14
S. Mandayam/ EEMAG-1/ECE Dept./Rowan University Step 16PDE Menu
15
S. Mandayam/ EEMAG-1/ECE Dept./Rowan University Step 17Specify PDE parameters
16
S. Mandayam/ EEMAG-1/ECE Dept./Rowan University PDE Solution: Voltage Calculated
17
S. Mandayam/ EEMAG-1/ECE Dept./Rowan University Step 18The Plot Menu
18
S. Mandayam/ EEMAG-1/ECE Dept./Rowan University Step 19Specify plotting parameters
19
S. Mandayam/ EEMAG-1/ECE Dept./Rowan University Solution: Electric Field Lines and Potential Contours
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.