Applied Electromagnetics Using QuickField™ and MATLAB® is intended
as an introductory level textbook for teaching computer-based electricity,
magnetism and multiphysics. The text is easily accessible to advanced
undergraduates and beginning graduate students in physics and engineering.
Many exercises and demonstrations may be implemented using QuickField and
MATLAB in a traditional introductory level physics course. This second audience
will benefit from the visualization of electric and magnetic field distributions
and force calculations without a working knowledge of the finite element
method or potential theory.
QuickField is a window-based, Finite Element Method (FEM) software package that supports Electrostatics, DC and AC conduction, Magnetostatics, AC and Transient Magnetics, Steady State and Transient Heat Transfer and Stress Analysis problem types. Models are created in a ‘point-and-click’ CAD environment, where material properties and boundary conditions are assigned. Automatic mesh generation and post processing are fast and user-friendly. Solutions to most problems in the textbook can be displayed in a matter of seconds after the model has been created. The textbook is packaged with a companion CD with a student version of the software capable of solving all the problems in the text. Additional examples are included with the software. The student version of QuickField may also be downloaded from the Tera Analysis website at www.quickfield.com. The user’s guide and demonstration videos are also available on the website. Application-based examples in the text and on the website include the calculation of currents in biological tissue under electrical stimulation, superconducting magnetic shielding, magnetic levitation, electromagnetic nondestructive testing as well as the motion of charged particles in electric fields. Multiphysics applications include coupled stress, electromagnetic and thermal analysis. Students taking a course in electromagnetic theory usually concentrate mostly on analytical techniques, e.g., solving differential equations and boundary value problems. Unfortunately, students often come away with a limited understanding of how electromagnetic fields behave. Computer modeling serves to bridge this understanding gap in that it enables visualization of electric and magnetic fields and electrical currents and therefore builds an intuitive and qualitative understanding that is not readily gained in manipulating complex analytical expressions. Analytical methods developed in this text concentrate on separation of variables, conformal mapping, and Laplace transform techniques. Numerical finite difference and Monte Carlo methods are also introduced with examples in MATLAB. Comparison of numerical solutions with theory helps establish confidence in numerical methods and builds experience in establishing the reliability of computational results and the applicability of theoretical approximations. The book includes extensive problem sets that facilitate computer-based learning of electromagnetics and the application of QuickField and MATLAB illustrating some of the basic concepts in electromagnetic theory such as Gauss’ Law and Ampere’s Law. The exercises are designed to allow user selection of different parameters, dimensions, material properties, and initial conditions. Tables of physical properties and characteristic dimensions of engineering materials and biological materials in living cells and the human body are included in Appendices 4 and 5 for the reader’s convenience. The reader is encouraged to conform, modify, and extend these exercises according to his or her own interests. Chapter 1 introduces mathematical preliminaries and MATLAB concurrently with additional MATLAB examples in Appendix 1. The vector analysis component of Chapter 1 provides simple MATLAB examples calculating vector dot and cross products. The divergence, curl, gradient, and Laplacian are also calculated in different coordinate systems. The Laplace Transform introduced in Chapter 1 is used in chapters on transient magnetics, thermal analysis, stress analysis, and electrical circuit modeling. Analytical and computational methods of solving Laplace and Poisson’s equations are developed in Chapter 2. Readers wishing to jump directly into QuickField may begin with Chapter 3 “A Walk Through QuickField.” This chapter will get the reader started simulating simple electrostatic and magnetostatics problems in QuickField with step-by-step visual instructions for plotting electric and magnetic fields, creating contour graphs, and calculating integral values. Chapters 4 through 10 cover electrostatics, magnetostatics, time-harmonic magnetics, transient magnetics, superconductivity, alternating and direct current flow. Chapters 11 and 12 cover thermal and stress analysis and multiphysics examples with coupled heat transfer, stress and electromagnetic coupling. Applications include space capsule atmospheric reentry simulations that couple thermal and stress analysis as well as modeling the temperature distribution resulting from current flow in a fuel cell. The text concludes with Chapter 13 on passive electrical circuits. QuickField includes a CAD-based electrical circuit simulator that simulates circuits with AC or transient time dependence. Applications include filter circuits and equivalent circuit models of neurons and cells under electrical stimulations. |
Chapter 2 - Solutions To Laplace's Equation: Separation of Variables
In This Chapter
|
Cartesian Coordinates In Cartesian coordinates, Laplace’s equation ![]() where −∞ < x < ∞, −∞ < y < ∞, −∞ < z < ∞ . Applying separation of variables we assume a product solution ![]() Substituting this form of S into Laplace's equation and dividing by S gives ![]() Each term in the above equation must be equal to a constant if the sum is zero for all x, y, and z, since these variables may vary independently ![]() where α2 + β2 = γ2 . The solutions to these differential equations may be written as linear combinations of sine, cosine, and exponential functions so that we may construct a product solution ![]() with constants determined by the boundary conditions. As an example of the application of separation of variables, consider a unit square region with boundary condition S = 0 on three sides and S = 1 on the other side. Since there is no z dependence α2 + β2 equation (2.5) become ![]() Applying the boundary conditions S(0,y) = S(1,y) = 0, where the sine function is zero given α = nπ and relabeling the constants and writing the solution as a sum ![]() The condition S(x, 1) = 0 gives Bn = -An cosh(nπ)/sinh(nπ) and ![]() Finally, Anis determined by applying the boundary condition at S(x, 1) = 1 ![]() Multiplying both sides of this expression by sin(nπx) and integrating ![]() Making use of orthogonality, where only terms with n = n′ remain, and using the identity sin2(nπ) = (1 − cos 2nπ)/2, we have ![]() where Anis zero for even n so the sum is over odd n ![]() The following MATLAB program calculates equation (2.12) and plots the solution over the unit square: ![]() In the following coordinate systems we consider Laplace's equation with axial symmetry and no variation in the φ-direction, or with planar symmetry and no variation in the z-direction. These results will be useful for comparison to QuickField problems that have either axial or x-y symmetry. Cylindrical Coordinates In cylindrical coordinates with axial symmetry, Laplace's equation ![]() where r ≥ 0, −∞ < z < ∞. Substituting S(r, z) = R(r)Z(z) with separation constant k2 gives the differential equations ![]() so that we may construct our solution ![]() where J0(kr) and N0(kr) are Bessel functions of zero order. Laplace's equation in cylindrical coordinates without variation in the z-direction
where r ≥ 0, 0 < φ ≤ 2π. Substituting S(r,φ) = R(r)Φ(φ)
with terms that may include a0ln(r) + b0φ + c0, where a0, b0and c0 are constants. Bicylindrical Coordinates The Laplacian ![]() where −∞ < α < ∞, 0 ≤ β ≤ 2π. Substituting S(α, β) = Λ(α)Ω(β) with separation constant p2 gives ![]() Elliptic Cylindrical Coordinates The Laplacian ![]() where 0 ≤ α, 0 ≤ β ≤ 2π. Substituting S(α, β) = Λ(α)Ω(β) with separation constant p2gives ![]() Spherical Coordinates In spherical coordinates with axial symmetry, Laplace's equation ![]() Substituting S(r,θ) = R(r)Θ(θ) with separation constant l(l + 1) we obtain ![]() where Pland Qlare Legendre functions of the first and second kind, respectively. As an example of a spherically symmetric solution to (2.22) consider a spherical surface of radius R with boundary conditions S(R,θ) = V0and S(r → ∞,θ) = 0. Since there is no θ dependence we take l = 0 so that (2.23) becomes ![]() The boundary condition at infinity gives A = 0. The boundary condition at r = R gives B = RV0and we have ![]() Note that the same result may be obtained by setting the radial part of (2.22) equal to zero and integrating twice. Prolate Spheroidal Coordinates Laplace's equation in prolate spheroidal coordinates with axial symmetry ![]() where ξ ≥ 0, 0 ≤ η ≤ π.. Substituting S(ξ,η) = Y(ξ)Θ(η) with separation constant l(l+1) gives ![]() We now consider a football shaped prolate spheroidal surface ξ = ξ0with potential V0. There is no η dependence so that (2.27) becomes ![]() where P0(x) = 1. Applying the boundary conditions S(ξ → ∞) = 0 and S(ξ → ξ0) = V0 we have ![]() This is equivalent to ![]() which may also be obtained by setting the first term of (2.26) equal to zero and integrating twice. Fortified by this simple result it might be tempting to find the potential between two opposing electrodes in the shape of hyperboloids of revolution by setting the second term in (2.26) equal to zero and integrating twice. However, this procedure would not yield a solution over the region between the electrodes, where £ is varying. Instead we must use (2.27) ![]() where the Ql(cosh ξ) are divergent at ξ = 0 and are discarded. The constants Aland Blare determined by boundary conditions at η = η0, making use of the orthogonality of Pl(cosh η) and Ql(cosh η). Oblate Spheroidal Coordinates Laplace's equation in oblate spheroidal coordinates with axial symmetry ![]() where ξ ≥ 0, 0 ≤ η ≤ π. Substituting S(ξ,η) = Υ(ξ)Θ(η) with separation constant l(l+1) gives ![]() Toroidal Coordinates The Laplacian ![]() where α ≥ 0, −π ≤ β < π.. Substituting S(α, β) = Υ(α)Θ(β) with separation constant v2gives ![]() |
Applied Electromagnetics Using QuickField™ and MATLAB® is intended
as an introductory level textbook for teaching computer-based electricity,
magnetism and multiphysics. The text is easily accessible to advanced
undergraduates and beginning graduate students in physics and engineering.
Many exercises and demonstrations may be implemented using QuickField and
MATLAB in a traditional introductory level physics course. This second audience
will benefit from the visualization of electric and magnetic field distributions
and force calculations without a working knowledge of the finite element
method or potential theory.
TABLE OF CONTENTS 















S(r,φ) = 0 is written as


















