440 likes | 545 Views
Introduction to PDEs, applications in acoustics, fluid dynamics, numerical methods, industry solvers, and solving Maxwell's equations with Windows USEMe software. Learn about industry solvers, numerical methods, and practical applications of PDEs.
E N D
MA557/MA578/CS557Lecture 3 Spring 2003 Prof. Tim Warburton timwar@math.unm.edu
Week 1 (01/22/03, 01/24/03) • Introduction to partial differential equations and their use. • Examples of some applications for PDEs (acoustics, electromagnetics, fluid dynamics ….. ) • Review of some basic notation and definitions for multivariate calculus. • Inner-products, norms, Sobolev spaces….
PDE’s – Why Do We Care ? • Money: • If you can modify a vehicle’s geometry to significantly reduce turbulent drag (race car, commercial airplane…) • Modeling financial instruments (derivatives…) • Scientific curiosity: • Model’s of poorly understood physical phenomena (turbulence…) • Astrophysical models, solar models… • Engineering Applications: • Structural modeling • Electromagnetics, acoustics, fluid dynamics… • Environment: • Modeling environmental impact of those pesky greenhouse gases • Modeling weather to avoid damage or to predict crop performance • Predicting earthquakes, volcanic eruptions, tsunami (all belong in the “Money” section too?. • Defense: • Designing materials and profiles for stealth aircraft • Nuclear weapon stockpile stewardship • Discussion…. what else comes to mind – also how would you rank the relevant importance of the above (and how well do you think each area is funded) ?.
Some Time Dependent PDE • A typical PDE which is first order in time, and possibly higher order in space will have the general form: • Example: • We will see where these come from next lecture.
Commonly Used Numerical Methods • Finite difference • Finite volume • Finite element • hp-finite element • Spectral methods • Boundary elements • Numerical Greens function methods • Fast multipole methods • Meshfree methods Each has its own practical range of operation….
Industry Solvers • The state of the art in industrial solvers has evolved PDE solvers into word processor like technology (to some degree). • It is now possible to apply some of the previous methods to PDEs entered with math formulae (i.e. not computer code). • A few clicks will now allow an engineer to solve extremely complex problems • But…..
Your Turn To Solve a PDE • Download: • http://www.useme.org/WUM_v5.zip • Or • http://www.math.unm.edu/~timwar/WUM_v5.zip • Or – grab a spare cd-rom and copy the WUM_v5.zip file • Save it to the desktop and double click on it. • When you have unzip’d the file indicate that you are done. • We will now go through an insane sequence to simulate Maxwell’s equations in a two-dimensional domain
2D Transverse Magnetic Mode Maxwell’s Equations • We are going to solve the following equations to obtain Hx,Hy,Ez as coupled functions of time and space. • We will specify that: Hx(t=0,x,y)=Hy(t=0,x,y)=Ez(t=0,x,y)=0 • We also specify that no electric or magnetic fields travel inwards from the limit of large (x,y) • All boundaries we create will be perfectly electrically conducting (superconducting) where Ez=0 and (Hx,Hy) is tangential to the boundary. • We will specify epsilon (whereas mu=1 by default) • We have now specified the PDEs, the initial conditions and sufficient boundary conditions to allow us to solve for {Hx(t,x,y),Hy(t,x,y),Ez(t,x,y), t>=0}
Windows USEMe USEMe solvers by Tim Warburton USEMe gui by Nigel Nunn
Starting Up • Click on the WinUSEMe application
First we build a circular far field (must be unit radius for the Hagstrom boundary conditions – current implementation)
Next make a rectangle 4) Here it is 1) Click on Rect 2) Fill in rectangle details3) Press Apply
Now build a rectanglewhich has no associatedboundary conditions
Maxwell’s Hagstrom Module • This module is able to simulate variable epsilon Maxwell’s… • We need to click on each region and specify the epsilon for that region • The region including the far field shouldbe set to material parameter=1
Next click on regionso we can set the regionmaterial properties
Pin the regions dialogue • Click in each material region
Locate .neu file saved previouslyon pull-down menu and click on “Load”
Choose “Colormap” to change contour ranges
Using left mouse can change viewpoint • Click on “Auto Z-scale” • Increasing Surface scale raises surface
Note RCS in right window Click on Window/Tile Vertical
Homework. Due on 01/27/03 • Master the WUM code – so that you are able to build a mesh with: • a) a plus sign shaped PECholeb) far field is far type unit circle (see next slide) • c) Make sure the Region is set to one • Run the code for 15 units and print out a snap shot of the results (use alt-print scrn and paste into Powerpoint). Repeat this for different orders. Generally experiment. • Read chapters 1 and 2 of Leveque • In a few weeks you will be able to code up the Maxwell’s solver yourself and prove it converges