Professional Documents
Culture Documents
1. Maxwells Equations
Basically, there is a single set of equations governing all electromagnetic phenomena,
Maxwells equations. They are comprised of four first-order partial differential equations
linking the fundamental electromagnetic quantities, the electric field intensity E (V/m), the
magnetic induction B (Vs/m2), the magnetic field intensity H (A/m), the electric flux density D
(As/m2), the electric current density J (A/m2), and the space charge density qe (As/m3).
The four partial differential equations (PDEs), stated as Maxwells equations in differential
form are:
r
r r D
H = J +
t
r
r
B
E =
t
r
D = qe
r
B = 0.
Strictly speaking, these equations are posed over the entire space R3 and they have to be
supplemented by the following material laws, where denotes the electric conductivity (S/m),
Ji an intrinsic current density (A/m2), the electric permittivity (As/Vm) and the magnetic
permeability (Vs/Am):
r r
r r r
J = J i + ( E + v B)
r
r
D = E
r
B = H .
The above combined equations form a set of partial differential equations, linear in space
and time, describing the behavior of electromagnetic waves. When electromagnetic fields
interact with materials, the equations can assume nonlinear forms.
Maxwells equations are based on experiments and empirical laws stated by Faraday,
Ampre, and Gauss. The great contribution of Maxwell was the unification of the different
equations to a set of partial differential equations, and the introduction of the displacement
current, which generalizes Ampres law.
1/6
r r
H = J
r
B = 0.
r
r
B
E =
t
r
D = qe .
r
B = H
r r
r r r
J = J i + ( E + v B)
r
r
D = E.
According to div B = 0, one can show that the magnetic field is solenoidal and therefore can
be described by the curl of a vector
r
r
B = A.
The vector A is called the magnetic vector potential. Substituting into Faradays law yields
r
r A
= 0.
E +
r
r
r r
r
A
A = Ji
+ (v A).
t
1
With more simplifications, namely assuming a static case with no moving bodies (v= 0), and
considering a 2D analysis, where Ji is an impressed current in z-direction we obtain the
following Poisson problem:
AZ = J Z .
2/6
Find:
A0
: 2
: .
A(t ) : [0, T ] 2
1
. AZ = J Z .
( )
(A) d = J i d ,
H 01 .
A(hx ) = e =1 N a Aae
Nen
A h ( x ae ) = Aae
The degrees of freedom are assigned to the node of elements, and the interpolation function
(Na), also called shape function, has local support. Local support means that the value of the
basis function is weighted in such a way that it is one for the associated node, decay to zero
at the neighbor nodes, and has no influence at nodes far away in the grid.
Fig.1: 2D mesh
__________________________________________________________________________________________
Finite Element Method for Maxwells Equation
3/6
Nodal elements, as presented above, are constructed to calculate scalar quantities at the
nodes of the finite elements.
r r
K A= f
Where the matrix K, normally called stiffness matrix, has the form:
K ij = (N i ) T
(N j ) d
Because of the local support characteristic of the basis function, the stiffness matrices
obtained are normally sparse.
And the right-hand-side, normally called load vector, has the form:
f i = N i J i d
For the calculation of the stiffness matrix, integration over the whole domain is necessary.
This integral can be approximated by a sum of integrals over each element, what leads to the
calculation of local stiffness matrix for each element. A numerical integration method should
be used to solve this numerically. The same principle is applied for calculation of the load
vector.
Finally, one can use a solver for the solution of the algebraic system of equations, obtaining
the magnetic vector potential at the discretization points.
__________________________________________________________________________________________
Finite Element Method for Maxwells Equation
4/6
A A h = E k Ake
k =1
where ne defines the number of edges in the finite element mesh, Ek the edge shape function
associated with the k-th edge, and Ake the degree of freedom. The degree of freedom is the
line integral of the magnetic vector potential along the k-th edge:
r
Ake = A ds
k
For tetrahedron elements, one can show that the following interpolation function can be
used:
E1 = N 1N 2 N 2 N 1
It represents the vector basis function along edge 1 defined by nodes 1 and 2, and N1 and N2
the nodal basis function in node 1 and 2, respectively.
To obtain for the tangential component of Ek the value 1, we have to scale the vector function
with the length of the corresponding edge, resulting in the following set of edge finite
elements for the tetrahedron:
E1 = ( N 1 N 2 N 2 N 1 ) l1
E 2 = ( N 1 N 3 N 3 N 1 ) l 2
E3 = ( N 1 N 4 N 4 N 1 ) l3
E 4 = ( N 2 N 3 N 3 N 2 ) l 4
E 5 = ( N 4 N 2 N 2 N 4 ) l5
E 6 = ( N 3 N 4 N 4 N 3 ) l6 .
Fig.5: Tetrahedral edge element
__________________________________________________________________________________________
Finite Element Method for Maxwells Equation
5/6
4. Simulation Example
In the following example, we performed a simulation using the finite element method with
both nodal finite elements and edge finite elements.
At this example we considered the calculation of the magnetic induction within a
ferromagnetic cube surrounded with air. A parameter jump in the magnetic permeability
across the cube/air interface by a factor of 1000 is assumed. The boundary conditions for the
magnetic vector potential are applied in such a way that we would expect a uniform magnetic
induction within the ferromagnetic cube. Both discretization methods (nodal and edge finite
elements) were used and the results presented below. We can observe that the calculation
with nodal elements results in a non-uniform field.
References
1. M. Kaltenbacher, Numerical Simulation of Mechatronic Sensor and Actuators,
Springer-Verlag Berlin Heidelberg, 2004.
2. S. Zaglmayr, High Order Finite Element Methods for Electromagnetic Field
Computation, Dissertation, Universitt Linz, 2006.
3. R. Beck, P. Deuflhard, R. Hiptmair, R. H. W. Hoppe, B. Wohlmuth, Adaptive multilevel
methods for edge element discretizations of Maxwells equations, Springer-Verlag,
Surveys on Mathematics for Industry (1999) 8: 271-312.
__________________________________________________________________________________________
Finite Element Method for Maxwells Equation
6/6