0% found this document useful (0 votes)
308 views19 pages

Engineering Electromagnetics

This document describes how to use MATLAB's PDE Toolbox to solve partial differential equations. It provides step-by-step instructions for solving Laplace's equation for electrostatics using the PDE Toolbox GUI. Specifically, it shows how to model a 2D rectangle with different voltage boundaries, specify the PDE and boundary conditions, solve for the voltage potential, and plot the electric field lines and potential contours. The overall purpose is to introduce the reader to using the PDE Toolbox for electrostatics problems.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
308 views19 pages

Engineering Electromagnetics

This document describes how to use MATLAB's PDE Toolbox to solve partial differential equations. It provides step-by-step instructions for solving Laplace's equation for electrostatics using the PDE Toolbox GUI. Specifically, it shows how to model a 2D rectangle with different voltage boundaries, specify the PDE and boundary conditions, solve for the voltage potential, and plot the electric field lines and potential contours. The overall purpose is to introduce the reader to using the PDE Toolbox for electrostatics problems.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 19

S. Mandayam/ EEMAG-1/ECE Dept.

/Rowan University

Engineering Electromagnetics 1
0909.301.01

Fall 2004 INTODUCTION TO MATLAB PDE TOOLBOX September 22, 2004 Shreekanth Mandayam
ECE Department Rowan University
http://engineering.rowan.edu/~shreek/fall04/eemag1/lectures/pdetoolbox.ppt

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.

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:
No Surface Charge

V=10

Laplaces Equation

V=0

V =0
No Surface Charge

S. Mandayam/ EEMAG-1/ECE Dept./Rowan University

Step 1
Start the toolbox by typing in >> pdetool at the Matlab prompt

S. Mandayam/ EEMAG-1/ECE Dept./Rowan University

Step 2

Select Electrostatics Application

S. Mandayam/ EEMAG-1/ECE Dept./Rowan University

Step 3

The Draw Menu

S. Mandayam/ EEMAG-1/ECE Dept./Rowan University

Step 4

Create Rectangle

S. Mandayam/ EEMAG-1/ECE Dept./Rowan University

Step 5

The Boundary Menu

S. Mandayam/ EEMAG-1/ECE Dept./Rowan University

Step 6

Display Options

S. Mandayam/ EEMAG-1/ECE Dept./Rowan University

Step 7

Select Boundary 4

S. Mandayam/ EEMAG-1/ECE Dept./Rowan University

Step 8

Specify Boundary Condition

Steps 9 - 10 Select Boundary 1 and specify condition

S. Mandayam/ EEMAG-1/ECE Dept./Rowan University

Steps 11 - 14 conditions

Specify remaining boundary

S. Mandayam/ EEMAG-1/ECE Dept./Rowan University

Step 15

The PDE Mode

S. Mandayam/ EEMAG-1/ECE Dept./Rowan University

Step 16

PDE Menu

S. Mandayam/ EEMAG-1/ECE Dept./Rowan University

Step 17

Specify PDE parameters

S. Mandayam/ EEMAG-1/ECE Dept./Rowan University

PDE Solution: Voltage Calculated

S. Mandayam/ EEMAG-1/ECE Dept./Rowan University

Step 18

The Plot Menu

S. Mandayam/ EEMAG-1/ECE Dept./Rowan University

Step 19

Specify plotting parameters

S. Mandayam/ EEMAG-1/ECE Dept./Rowan University

Solution: Electric Field Lines and Potential Contours

You might also like