Lecture 4 Maxwells Equations and Numerical Solution
Lecture 4 Maxwells Equations and Numerical Solution
Engineering Electromagnetics
SECTE
University of Wollongong
Australia
Lecture 4: Maxwell’s
Equations and Numerical
Solution
1
Outlines References
2
Introduction
3
4.1 Faraday's Law
A time-varying magnetic field produces an electromotive force (emf) that may establish a
current and/or an electric field; Faraday’s law results from the experimental research by
Michael Faraday in 1831, which shows that a current was induced in a conducting loop
when the magnetic flux linking the loop changed.
4
Example Applications
Metal detector
http://www.thomasathomas.com Induction stovetops
http://macao.com
munications.muse
um
Electricity generator
5
A Simple Demonstration: Current (and Electric
Field) can be Produced by Magnetism
7
Faraday’s Law of Induction
Faraday’s Law: The induced electromotive force in any
closed circuit is equal to the negative of the time rate of
change of the magnetic flux enclosed by the circuit.
• From the integral form of the law, we can prove using Stoke’s theorem that
the curl of the E field is equal to the negative changing rate of the
magnetic flux density.
• This is in contrast to the static case where the electric field is a conservative
field and the curl of the E field must be zero:
Motional emf due to Moving Closed Path
• The E integration path direction is determined by the right hand convention (thumb of right hand
in direction of n, fingers in direction of closed path). This is the direction of dL as shown in the
figure.
• From the equation, we see that E.dL is negative, meaning that E will point from terminals 2 to 1
as shown. As we have a perfectly-conducing path, E will exist only at the voltmeter.
4.2 Displacement Current
We can verify that H=J is true only for time-invariant cases. Ampere’s circuital
law must be modified for time-varying fields to account for the fact that a time-
varying electric field produces a magnetic field.
12
Why Introduce Displacement Current
d
1. A time-varying magnetic field V0(t)
links a wire loop that is connected
to a parallel-plate capacitor. S H
D
area = A
2. We assume for the moment that
conduction current I exists in the
wire. Ampere’s Law is applied to
the circular path shown, whose
radius is very small compared to the
local wire length. The wire therefore
appears very long and straight. We
obtain:
• Now suppose the surface S, Stretched surface now intercepts electric field lines,
surrounded by the original and no conduction current
contour, k, is stretched so that it
intercepts the electric field
between capacitor plates.
• The same current enters the left plate (ic) as leaves the right plate. Although current
is flowing through the capacitor, no actual charge is transported through the vacuum
between its plates. The explanation is that a displacement current id “flows” in the
vacuum.
https://www.miniphysics.com/uy1-displacement-current.html
Displacement Current Density
• We could further prove . Define the displacement current
density as
• The circulation of H depends not only on the current but also on the rate of
change with time of the electric flux (which is termed displacement current).
• The inclusion of the “displacement current” in Ampere’s formula was the key
contribution by Maxwell in his electromagnetic field theory; acknowledged as
one of the most innovative concepts ever introduced in the development of
physical science.
Example 4.2: Displacement Current
• In a free space, , where k is constant. Find the
displacement current density and electric field.
Answer: In order to answer this question, we need to use
We first find the curl of H using the curl formula for rectangular coordinates
Note that many terms in the curl computation become zeros in this problem.
Jd must also be equal to , we then compute the integral of Jd to find the E field:
4.3 Maxwell’s Equations for Time-
varying Fields
18
Maxwell’s Equations in Point Form
20
Maxwell’s Equations in Integral Forms
Ampère's circuital law (with Maxwell's addition) (A magnetic field can
result from a current or time variation of the electric field or both. )
21
Example 4.3: Maxwell’s Equations
• In a source-free dielectric, the electric field intensity is given by
where E0 is the amplitude, is the angular frequency, and k is the phase constant.
Determine the relationship between and k.
Answer: A source-free dielectric indicates . We apply the Maxwell’s
equation first. Using the curl formula for rectangular coordinates
We can find
Taking integral of -E with respect to time (and setting the integration constant to 0)
where E0 is the amplitude, is the angular frequency, and k is the phase constant.
Determine the relationship between and k.
Answer (cont’d): H and D must also satisfy another Maxwell’s equation
We have found
Then
It must be equal to
• There are usually no free charges and no surface currents at the interface
between the two lossless media. We would have
(Self study)
26
Introduction
• It is often needed to find the distributions of electric and magnetic fields.
27
Poisson’s Equations in Rectangular Coordinates
• For static electric fields, the Poisson’s equation is written as
• In rectangular coordinates,
28
4.4.1 Finite Difference Method
(FDM)
Solving Poisson’s equations by using appropriate finite-difference
approximations to the derivative terms. Find the potentials at grid
points by discretizing the derivatives.
29
Finite Difference Method (FDM)
• General idea: Divide the solution domain into finite discrete points and
replace the partial differential equation with a set of difference
equations.
• The error in the solution can be minimized if the discrete points are
selected close to one another.
• For studying the principles and methods, we use electric field examples in
two-dimensional spaces.
30
The Problem
• Consider the two-dimensional Poisson equation
Region under
study
31
Grid Points
• Consider a section of the mesh. V1(x,y+h) denotes the potential at the grid
point (x, y+h) and others are defined similarly. We wish to write an
approximation to the Poisson’s equation for Point O(x,y).
V1
h/2
A h
y
V2 B V0 O(x,y) D V4
x
V3
33
Equation for a Single Grid Point
• Following the same method:
34
Boundary Conditions
• Unique solutions of the partial differential equations can be achieved
only when a specified set of boundary conditions are given
V=g
35
Example FDM – Generating Grids
• Determine the electrostatic potential distribution inside the region.
y y
x x
• This is a source-less case with ρ=0. Assume square mesh; from the
earlier result, the potential of any grid point is related to its four
neighbors' potentials:
36
Example FDM – Apply approximation to each grid point
Apply to the four points:
The FEM is more suitable than FDM for regions with irregular boundaries.
38
General Idea – Energy Minimization
• The FDM requires a partial differential equation and a set of boundary
conditions
• FEM was originally developed to evaluate the stresses and strains in complex
structures. The basic idea is that although a function can be complex over a
large region, it may be sufficient to use a simple approximation for a small
subregion. Each (non-overlapping) subregion is called a finite element.
• FEM can be used to find the potentials by solving an equivalent minimization
problem that minimizes the electrostatic energy inside the bounded region
• We have used
39
Elements
• In finite element analysis,the region can be divided into a finite number of n
triangular meshes
The eth element:
40
Condition for Energy Minimization
• In order to minimize the energy, we must have
• From the above equation, if the partial derivative vector has a simple form in V,
then we may be able to find V easily and the problem is solved.
• This can be achieved by assuming that for each element, the potential function is
a linear function and thus at each point inside the element the potential has a
linear (interpolation) relationship to the potentials at the three vertices; the
associated E-field is then approximately constant for a given element; when the
element is small enough, such assumption tends to be precise. 41
Linear Interpolation in Elements
• Note that each point inside a given
element divides the triangular area
into 3 smaller triangular areas.
Assume that the potential is a linear
function over the element. We can
then write:
• The coefficients (weights) are equal to the ratios of the areas of the triangle
42
Area Ratios as Interpolation Coefficients
43
Express E Components
• Now we shall be able to write W as a quadratic function of V, and the partial
derivative of W with respect to V will be in a linear form.
• The two E-field components:
• Now we restore the element index and define a 21 vector to characterize
the two components of the E-field at each point in a given element:
(determined by the location of the point in (list the potentials at the 3 vertices)
the element) 44
Revisit the Energy Minimization Condition
• Now the potential energy is given by
46
Example FEM – For Element 1
y
1 2 3 From slides 19 and 20:
2 3
4 1 5 4 6
5 8
6
7 8 7 9 x
2 3
4 1 5 4 6
5 8
6
7 8 7 9 x
2 3
4 1 5 4 6
5 8
6
7 8 7 9 x
49
Example FEM – Prepare to assemble the needed
equation in Slide 21
y
1 2 3 For element 2:
2 3
4 1 5 4 6
5 8
6
7 8 7 9 x
50
Finally, Form and Solve an Overall Equation
y
1 2 3 Add the equations for all elements
2 3
4 1 5 4 6
51
FEM Implementations
• FEM has been widely adopted by general software for solving partial differential
equations and also by specialized software for electromagnetic applications, such as
MATLAB PDE toolbox and ANSYS HFSS