Professional Documents
Culture Documents
of Electromagnetic Systems
October 2009
1
Introduction
Formulations of electromagnetic problems
Maxwell equations, material relations
Electrostatics, electrokinetics, magnetostatics, magnetodynamics
Strong and weak formulations
Discretization of electromagnetic problems
Finite elements, mesh, constraints
Very rich content of weak finite element formulations
2
Formulations
of Electromagnetic Problems
Electrostatics
Electrokinetics
Maxwell equations
Magnetostatics
Magnetodynamics
Waves
3
Electromagnetic models
All phenomena are described by Maxwell equations
Electrostatics
Distribution of electric field due to static charges and/or levels of electric
potential
Electrokinetics
Distribution of static electric current in conductors
Electrodynamics
Distribution of electric field and electric current in materials (insulating
and conducting)
Magnetostatics
Distribution of static magnetic field due to magnets and continuous
currents
Magnetodynamics
Distribution of magnetic field and eddy current due to moving magnets
and time variable currents
Wave propagation
Propagation of electromagnetic fields 4
Maxwell equations
Maxwell equations
div b = 0
Conservation equations
div d = v
Principles of electromagnetism
5
Material constitutive relations
Constitutive relations
b = h (+ bs) Magnetic relation
d = e (+ ds) Dielectric relation
j = e (+ js) Ohm law
8
Electrokinetics
Basis equations Type of electrokinetic structure
curl e = 0 & boundary conditions
div j = 0 0j
n e | 0e = 0
0e,1
j=e n j | 0j = 0
c
e electric field (V/m) 0e,0
j electric current density (C/m2) e=?, j=?
electric conductivity (1m1)
9
Electrostatic problem
Basis equations
curl e = 0 d=e div d =
0 3
Fe ( v)
Fd
grad e div d
0 e =d 3
Se F e1 e d Fd2 Sd
curl e curl d
S e1 F e2 0 (u) Fd1 S d2
div e gradd
S e2 F e3 0 Fd0 S d1
S e3 S d0
"e" side e = grad v
d = curl u "d" side
10
Electrokinetic problem
Basis equations
curl e = 0 j=e div j = 0
0 3
Fe ( v)
Fj
grad e div j
0 e =j 3
Se F e1 e d F j2 Sj
curl e curl j
S e1 F e2 0 (t) F j1 S j2
div e grad j
S e2 F e3 0 F j0 S j1
S e3 S j0
"e" side e = grad v
j = curl t "j" side
11
Classical and weak formulations
( u , L* v ) -
( f , v ) +
Q g ( v ) ds =
0 ,
v
V(
)
v test function Continuous level : system
u weak solution Discrete level : n n system
numerical solution
12
Classical and weak formulations
Application to the magnetostatic problem
curl e = 0
Electrostatic
div d = 0
classical formulation
e d=e d
n e e = 0 n . d d = 0
( div d , v' ) + < n . d , v' > = 0 , v' V() Weak formulation
of div d = 0
div d = 0 n . d d = 0 (+ boundary condition)
curl h = j
Magnetostatic
div b = 0 classical formulation
h b=h e
n h h = 0 n . b e = 0
( div b , ' ) + < n . b , ' > = 0 , ' () Weak formulation
of div b = 0
div b = 0 n . b e = 0 (+ boundary condition)
curl h = j + t d
curl h = j
Applications
Electrotechnic apparatus (motors, transformers, ...)
Frequencies from Hz to a few 100 kHz
15
Magnetostatics
Type of studied configuration
Equations
curl h = j Ampre equation
Constitutive relations
Studied domain
b = h + bs Magnetic relation m Magnetic domain
j= js Ohm law
& source current
s Inductor
16
Magnetodynamics
Type of studied configuration
Equations
curl h = j Ampre equation
Constitutive relations
Studied domain
b = h + bs Magnetic relation p Passive conductor
j = e + js and/or magnetic domain
Ohm law
& source current a Active conductor
s Inductor
17
Magnetic constitutive relation
18
Magnetodynamics
Inductor (portion : 1/8th)
All foils
20
Magnetodynamics - Joule losses
Temperature distribution
21
Magnetodynamics - Forces
22
Magnetodynamics - Forces
Magnetic field lines and electromagnetic force (N/m)
(8 groups, total current 3200 A)
23
Inductive and capacitive effects
Magnetic flux density Electric field
Frequency and
time domain
analyses
Any conformity
level
24
Magnetostatic formulations
Maxwell equations
(magnetic - static)
curl h = j b = h
div b = 0
Formulation a Formulation
Formulation a Formulation
Magnetic scalar potential
Magnetic vector potential a
h = hs grad
(h) OK (b) OK
b = curl a
hs given such as curl hs = j
(non-unique)
div ( ( hs grad ) ) = 0 (b) & (m) (h) & (m)
curl ( 1 curl a ) = j
grad
dom(grad)
cod(grad) curl
ker(curl) .0
dom(curl) cod(curl)
curl
h . dl =
-
grad
. dl =
AB
AB
A -
B
Gauge a . = 0
vector field with non-closed lines
linking any 2 points in
29
Magnetodynamic formulations
h- Formulation a* Formulation
Maxwell equations
(quasi-stationary)
curl h = j b=h
curl e = t b j = e
div b = 0
t- Formulation a-v Formulation
h- Formulation t- Formulation
Magnetic field h Electric vector potential t
Magnetic scalar potential
Magnetic scalar potential
h ds c (h) OK
j = curl t
h = hs grad ds cC (h) OK
curl hs = js h = t grad
(b)
curl (1 curl h) + t ( h) = 0 in c curl (1 curl t) + t ( (t grad )) = 0
div ( (hs grad )) = 0 in cC
div ( (t grad )) = 0
+ Gauge
31
Magnetodynamic formulations
Basis equations
curl e = t b
curl h = j
(h) b=h j=e div b = 0 (b)
b = curl a* b = curl a
(b) OK (b) OK
e = t a* e = t a grad v
+ Gauge in cC + Gauge in
32
Magnetostatic problem
Basis equations
curl h = j b=h div b = 0
b = curl a
"h" side h = t grad
"b" side
e = t a grad v 34
Continuous mathematical structure
Domain , Boundary = h U e
Basis structure Function spaces Fh0 L2, Fh1 L2, Fh2 L2, Fh3 L2
dom (gradh) = Fh0 = { L2() ; grad L2() , h = 0 }
dom (curlh)= Fh1 = { h L2() ; curl h L2() , n hh = 0 }
dom (divh)= Fh2 = { j L2() ; div j L2() , n . jh = 0 }
gradh Fh0 Fh1 , curlh Fh1 Fh2 , divh Fh2 Fh3 Boundary conditions on h
grad curl div
Sequence Fh 0
F
h1
h h
F
h 2
h
F
h 3
Basis structure Function spaces Fe0 L2, Fe1 L2, Fe2 L2, Fe3 L2
dom (grade) = Fe0 = { v L2() ; grad v L2() , ve = 0 }
dom (curle)= Fe1 = { a L2() ; curl a L2() , n ae = 0 }
dom (dive)= Fe2 = { b L2() ; div b L2() , n . be = 0 }
gradh Fe0 Fe1 , curle Fe1 Fe2 , dive Fe2 Fe3 Boundary conditions on e
div curl grad
Sequence Fe 3 e
F
e 2
F
e1
e
F
e 0
e
35
Discretization
of Electromagnetic Problems
36
Discrete mathematical structure
Continuous problem
Continuous function spaces & domain
Classical and weak formulations
Discretization Approximation
Discrete problem
Discrete function spaces piecewise defined
in a discrete domain (mesh)
Finite element method
Objective
Questions
To build a discrete structure
Classical & weak formulations ?
as similar as possible
Properties of the fields ?
as the continuous structure
37
Discrete mathematical structure
Finite element
Interpolation in a geometric + f
element of simple shape
38
Finite elements
39
Finite elements
Unisolvance
u PK , u is uniquely defined by the degrees of freedom
Interpolation
Degrees of freedom
nK
u K =
(u) p
i =
1
i i
Basis functions
40
Sequence of finite element spaces
Geometric elements
Tetrahedral Hexahedra Prisms
(4 nodes) (8 nodes) (6 nodes)
Mesh
Geometric entities
S0 S1 S2 S3
Sequence of function spaces
41
Sequence of finite element spaces
Degrees of
Functions Properties Functionals
freedom
Point Nodal
S0 {si , i N} Nodal value element
evaluation
Curve Circulation Edge
S1 {si , i E} element
i, j
E integral along edge
Surface Flux across Face
S2 {si , i F} element
integral face
Volume Volume Volume
S3 {si , i V} element
integral integral
S0 {si , i N} value
S0
S1 {si , i E} tangential component grad S0 S1
S1 grad S0
S2 {si , i F} normal component curl S1 S2
S2 curl S1
S3 {si , i V} discontinuity div S2 S3
S3 div S2
Conformity Sequence
grad curl div
S0
S
1
S
2
S
3
43
Function spaces S0 et S3
si (x) = pi (x) S0 0
0 0
0
1
at node i
p i =
0 at all other nodes node i pi = 1 0
0 0
pi continuous in
0
0 0
sv = 1 / vol (v) S3
44
Edge function space S1
se S1
se ij =
p j grad
p
r
N F, j i
r -
pi grad
p
r
N F,ij
r
Geometric interpretation
of the vector field se
p j grad
p r
r
N F, j i
N F , ji se ij =
p j grad
p
r
N F, j i
r -
pi grad
p
r
N F,ij
r
-
p i grad
p
r
N F,i j
r
N F , ij
46
Function space S2
#Nf
s f =
a f
c =
1
pq c grad
r
N F,qc q c +
1
p r
grad
r
N F,q c qc -
1
p r
sf S2
Illustration of the vector field sf
3 af = 2
#Nf =
4 af = 1
47
Particular subspaces of S1
Applications
Kernel of the curl operator
48
Kernel of the curl operator
Case of simply connected domains C
c
H =
{ h
S1 (
) ; curl h =
0 in
c C }
c
h = grad in cC c
h =
h
e
E
a s a =
h
k
E c
k s k +
h
l
E c C
l sl Ec
C C
Nc , E c
C C (interface)
h l =
h . dl =
-
grad
. dl =
a l -
b l
l ab
l ab
Nc , E c
h =
h
k
E c
k s k +
(
l
E c C
al )
-
b l s l
n' hk
h =
h
k
E c
k s k +
v
n
N c C
n n n
Base of H basis functions of
inner edges of c
with v =
s
n nj nodes of cC,
nj
E c C with those of c
49
Kernel of the curl operator
Case of multiply connected domains
H =
{ h
S1 (
) ; curl h =
0 in
c C }
h = grad in cC
= cont + disc (cuts)
+ = +eci eci = Ii
discontinuity
disc of disc
=
I
i
C
i qi
qi defined in cC
unit discontinuity across eci
h =
h k s k +
cont n v n +
I i ci continuous in a transition layer
zero out of this layer
k
A c n
N c C i
C
with c i =
s
nj
A c C
nj
Basis of H basis functions of
edges of cC
n
N eci
inner edges of c
starting from a node of the cut nodes of cC
and located on side '+' j
N c C +
but not on the cut j
N eci cuts of C
50
Gauged subspace of S1
Gauged space in
b = curl a with a =
a e se
S1 (
) , b =
bf sf
S2 (
)
e
E f
F
bf = CFE
b f =
i(e, f ) a
e
E
e , f
F matrix form:
ae
Face-edge
Tree set of edges connecting incidence matrix
(in ) all the nodes of without
"
forming any loop (E) tree
"
" E
Co-tree complementary set of the tree (E)
52
Mesh of electromagnetic devices
53
Mesh of electromagnetic devices
Types of elements
2D : triangles, quadrangles
54
Classical and weak formulations
( u , L* v ) -
( f , v ) +
Q g ( v ) ds =
0 ,
v
V(
)
v test function Continuous level : system
u weak solution Discrete level : n n system
numerical solution
55
Constraints in
partial differential problems
Local constraints (on local fields)
Boundary conditions
i.e., conditions on local fields on the boundary of the studied domain
Interface conditions
e.g., coupling of fields between sub-domains
Magnetodynamic h-formulation
Magnetodynamic a-formulation
58
h- formulation
59
a-v formulation
60
Dual Procedures to take Inductors
into account in
Magnetodymic Formulations
Magnetodynamics
Numerical modeling
with voltages
with circuit coupling
and currents
Constitutive relations
b=h
j=e
Inductor
h- and t- weak formulations
(1)
i.e. currents Ii
Ec : edges in c Basis functions
NcC : nodes in cC and on cC Circulation basis function,
C : cuts associated with a group of edges
from a cut
its circulation is equal to 1
along a closed path around c
Elementary geometrical
entities (nodes, edges) and
global ones (groups of edges)
Voltage as a weak global quantity
Discrete weak formulation
system of equations
(symmetrical matrix)
Test function h' = sk, vn classical treatment, no contribution for < >e
Test function h' = ci contribution for < >e
Electromotive force
Weak global quantity
Voltage as a weak global quantity
and circuit relations
Source of e.m.f.
Electromotive force
in (1)
Stranded inductor
Additional treatment
Tree technique ...
Number of turns
h'=hs,j
Natural way to compute the magnetic flux through all the wires !
Stranded inductors - Source field
Simplified source field
Source
Projection method
Electrokinetic problem
Source = Nj
(1)
At the discrete level : implication only true when grad Fv(c) Fa()
Generalized potential
(nonphysical field) Direct expression
Reduced support
72
Current as a weak global quantity
and circuit relations
for massive inductor i
in (2)
Source Source
Projection method Projection method
Source
Electrokinetic problem Electrokinetic problem
Source = Nj
Tensorial conductivity
With gauge condition (tree) &
boundary conditions
Conclusions
12
a-form., 200 Hz
11
10
Resistance R (!1/m)
h-form., 200 Hz
9
7
r,core = 100
6 a-form., 50 Hz
5 h-form., 50 Hz
4
2000 4000 6000 8000 10000 12000
Number of elements
(1/4th) 3
2.8
Inductance L (H/m)
Computation of resistance h-form., 50 Hz
r,core = 100
2.7
and inducance a-form., 50 Hz
h-form., 200 Hz
2.6
a-form., 200 Hz
hs
3.2
3
h-form., r=100
2.8
r,core = 10
2.6
a-form., r=100
h-form., r=10
Inductance L (H/m)
2.4 a-form., r=10
2.2
0.06
bz (T)
0.04
r,core = 100
= 5.9 107m S/m 0.02
-0.02
0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 0.2
x (y=0, z=0) and z (x=0, y=0) (m)
0.1
bz(x), h-form.
bz(x), a-form.
bz(z), h-form.
bz(z), a-form.
0.08
(1/16th)
0.06
bz (T)
0.04
1A
0
81
Application
Inductor-Core system in air
Inductance L (H/m)
0.7
h-form., r=10
h-form., r=10 1.4
0.6
a-form., r=10
2D Axi a-form., r=10
1.2
0.5
1
0.4
Axisymmetrical coil
Complementarity between a-v and h-
formulations validation at global level
82
Strong and weak formulations
Constitutive relation
b=h
Vector potential a
b = bs + curl a , with div bs = s
83
Strong formulations
Electrokinetics
curl e = 0 , div j = 0 , j = e , e = - grad v or j = curl u
Electrostatics
curl e = 0 , div d = s , d = e , e = - grad v or d = ds + curl u
Magnetostatics
curl h = js , div b = 0 , b = h , h = hs - grad or b = curl a
Magnetodynamics
curl h = j , curl e = t b , div b = 0 , b = h , j = e + js , ...
84
Grad-div weak formulation
85
Curl-curl weak formulation
86
Grad-div weak formulation
or 1 Local FE problems
87
A posteriori error estimation (1/2)
(1st order)
Electrokinetic / electrostatic problem V
Electric scalar
potential v
1.4
1.2 Solution e
Coarse mesh Fine mesh Refined solution e + ep
0 5 10 15 20 25 30 35 40
Higher order hierarchal correction vp
(2nd order, BFs and TFs on edges)
Y Correction ep
0 5 10 15 20 25 30 35 40
Position along top electrode (mm)
Large local
Z
Y
correction
Large error
X
88
Curl-curl weak formulation
Local FE problems 2
89
A posteriori error estimation (2/2)
V
Magnetostatic problem Magnetodynamic problem
potential a
(1st order)
Magnetic vector
Fine mesh
skin depth
Y Y
Y
Z X Z X
Z X
Coarse mesh
Large
local correction
Large error
Y Y
Z X Z X
90