Beruflich Dokumente
Kultur Dokumente
The Netherlands
D. Harutyunyan
/Numerical Analysis and Computational Mechanics
1/29
University of Twente
The Netherlands
Outline
Maxwell’s equations Finite element methods
• Time-dependent electromagnetic fields. • Functional spaces.
• Interface and Boundary conditions. • Weak formulation.
• Physical constraints. • Discretization.
D. Harutyunyan
/Numerical Analysis and Computational Mechanics
2/29
University of Twente
The Netherlands
D. Harutyunyan
/Numerical Analysis and Computational Mechanics
3/29
University of Twente
The Netherlands
Interface Conditions
The tangential component of E and H fields are continuous across two
media:
n × (E1 − E2) = 0
n × (H1 − H2) = 0
ε1 ε2 E2
E1 ε1 >ε2
D. Harutyunyan
/Numerical Analysis and Computational Mechanics
4/29
University of Twente
The Netherlands
Interface Conditions
The normal component of B and D fields are continuous across two media:
n · (D1 − D2) = 0
n · (B1 − B2) = 0
ε1 D1 ε2 D2
ε2> ε1
D. Harutyunyan
/Numerical Analysis and Computational Mechanics
5/29
University of Twente
The Netherlands
Boundary Conditions
D. Harutyunyan
/Numerical Analysis and Computational Mechanics
6/29
University of Twente
The Netherlands
Functional spaces
D. Harutyunyan
/Numerical Analysis and Computational Mechanics
7/29
University of Twente
The Netherlands
Functional spaces . . .
H(div, Ω) = {u ∈ L2(Ω)3| ∇ · u ∈ L2(Ω)}
D. Harutyunyan
/Numerical Analysis and Computational Mechanics
8/29
University of Twente
The Netherlands
Weak Formulation
• Find E ∈ H(curl, Ω) and B ∈ H(div, Ω) such that
Z Z
∂
E · V dx = (µ−1B) · (∇ × V )dx
∂t Ω Ω
Z Z
∂
B · Zdx = − ∇ × E · Zdx
∂t Ω Ω
H0(curl, Ω) = {u ∈ H(curl, Ω) | n × u = 0 on Γ}
H0(div, Ω) = {u ∈ H(div)| n · u = 0 on Γ}
D. Harutyunyan
/Numerical Analysis and Computational Mechanics
9/29
University of Twente
The Netherlands
Z
(wi · tj )ds = δij
1 2
1 1
z 9 1 0
ai x
2
5
7
W10
= (y − 1)(z − 1), 0, 0 W50
= 0, (x − 1)(z − 1), 0
W20
= − y(z − 1), 0, 0 W60
= 0, −x(z − 1), 0
W30
= − (y − 1)z, 0, 0 W70
= 0, −(x − 1)z, 0
W40
= yz, 0, 0 W80
= 0, xz, 0 , . . .
D. Harutyunyan
/Numerical Analysis and Computational Mechanics
11/29
University of Twente
The Netherlands
4
C1
B1 8 D1
ζ 9 11
C
1 2
ξ
B 7 D
D. Harutyunyan
/Numerical Analysis and Computational Mechanics
12/29
University of Twente
The Netherlands
F30 = 0, −1 + y, 0 F60 = 0, 0, z
D. Harutyunyan
/Numerical Analysis and Computational Mechanics
13/29
University of Twente
The Netherlands
D. Harutyunyan
/Numerical Analysis and Computational Mechanics
14/29
University of Twente
The Netherlands
∂e
C = KT b
∂t
∂b
G = −Ke
∂t
where
Z Z
Cij = Wi · Wj dx, Gij = µ−1Fi · Fj dx,
ZΩ Ω
D. Harutyunyan
/Numerical Analysis and Computational Mechanics
17/29
University of Twente
The Netherlands
Conservation
• Conservation of magnetic charge [G. Rodrigue, D. White]
Z Z
∇ · B n+1/2dΩ = ∇ · B n−1/2dΩ, n = 1, 2, . . .
Ω Ω
D. Harutyunyan
/Numerical Analysis and Computational Mechanics
18/29
University of Twente
The Netherlands
D. Harutyunyan
/Numerical Analysis and Computational Mechanics
19/29
University of Twente
The Netherlands
e p on each element is
• Dimension of the space Σ h
1
(p + 1)(p + 2)(p + 3)
2
• Dimension of the space Σph(divh0 ) on each element is
1
(p + 1)(p + 2)(2p + 9)
6
which is about 2/3 of the original space, hence
They are computationally cheap
D. Harutyunyan
/Numerical Analysis and Computational Mechanics
20/29
University of Twente
The Netherlands
DG Weak Formulation
p
Find Eh , Bh ∈ Σh (divh0 )
Z Z Z
∂
Eh · ϕ dx = µ−1Bh · (∇h × ϕ) dx + (nK × µ−1BbK ) · ϕ ds,
∂t ZK KZ Z ∂K
∂
Bh · ψ dx = − Eh · (∇h × ψ) dx − (nK × E
bK ) · ψ ds,
∂t K K ∂K
p
for all ϕ, ψ ∈ Σh (divh0 ), for all K ∈ Ih .
D. Harutyunyan
/Numerical Analysis and Computational Mechanics
22/29
University of Twente
The Netherlands
• Restriction of U · n on
f
– f1 and f3 faces is linear in X̄ 4 f 2
f
x
D. Harutyunyan
/Numerical Analysis and Computational Mechanics
23/29
University of Twente
The Netherlands
D. Harutyunyan
/Numerical Analysis and Computational Mechanics
24/29
University of Twente
The Netherlands
• The basis functions have quite global support, this reflects global nature
of the divergence–free condition.
D. Harutyunyan
/Numerical Analysis and Computational Mechanics
25/29
University of Twente
The Netherlands
Approximation results
D. Harutyunyan
/Numerical Analysis and Computational Mechanics
27/29
University of Twente
The Netherlands
D. Harutyunyan
/Numerical Analysis and Computational Mechanics
28/29
University of Twente
The Netherlands
Conclusion
• Vector finite elements
– The boundary conditions are satisfied in the best possible way.
– Provide the right kind of continuity for the fields (conforming ele-
ments).
– For some elements they satisfy the divergence constraint locally.
• Discontinuous Finite Elements
– Easy to do hp – adaptation.
– Locally divergence free.
– Satisfy the divergence constraints exactly.
D. Harutyunyan
/Numerical Analysis and Computational Mechanics
29/29