Engineering Electromagnetics 10909.301.01Fall 2004 INTODUCTION TO MATLAB PDE TOOLBOXSeptember 22, 2004 Shreekanth Mandayam ECE Department Rowan University http://engineering.rowan.edu/~shreek/fall04/eemag1/lectures/pdetoolbox.ppt
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.
An Example from Electrostatics • The following slides show an example application using the Matlab PDE toolbox. • Problem statement: No Surface Charge V=0 V=10 Laplace’s Equation No Surface Charge
Step 1 • Start the toolbox by typing in >> pdetool at the Matlab prompt
Step 8 Specify Boundary Condition Steps 9 - 10 Select Boundary 1 and specify condition