Professional Documents
Culture Documents
Lecture5 Magnetostatics
Lecture5 Magnetostatics
Prof. Dr. Herbert De Gersem, Dr. Mané Harutyunyan, Prof. Dr. Sebastian Schöps
Computational Electromagnetics Group
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 1
Overview
1 Magnetostatic Fields
The Magnetic Vector Potential
Application Examples of Magnetostatics
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 2
Maxwell: Integral Notation
Law of ⃗ 𝑟,⃗ 𝑡)
𝜕𝐷(
∫ 𝐻(⃗ 𝑟,⃗ 𝑡) ⋅ d𝑠 ⃗ = ∫ ( + 𝐽 (⃗ 𝑟,⃗ 𝑡)) ⋅ d𝐴 ⃗
Maxwell-Ampère 𝜕𝐴 𝐴
𝜕𝑡
No magnetic
∫ 𝐵(⃗ 𝑟,⃗ 𝑡) ⋅ d𝐴 ⃗ = 0
monopoles 𝜕𝑉
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 3
𝜕
Static Limit Case 𝜕𝑡
→0
Law of 𝜕𝐵(⃗ 𝑟,
⃗𝑡)
∫ 𝐸(⃗ 𝑟,⃗ 𝑡) ⋅ d𝑠 ⃗ = − ∫ ⋅ d𝐴 ⃗
Faraday-Lenz 𝜕𝐴 𝐴
𝜕𝑡
Law of ⃗ 𝑟,
𝜕𝐷( ⃗
𝑡)
∫ 𝐻(⃗ 𝑟,⃗ 𝑡) ⋅ d𝑠 ⃗ = ∫ ( + 𝐽 (⃗ 𝑟,⃗ 𝑡)) ⋅ d𝐴 ⃗
Maxwell-Ampère 𝜕𝑡
𝜕𝐴 𝐴
No magnetic
monopoles ∫ 𝐵(⃗ 𝑟,⃗ 𝑡) ⋅ d𝐴 ⃗ = 0
𝜕𝑉
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 3
𝜕
Static fields 𝜕𝑡
=0
Law of
∫ 𝐸(⃗ 𝑟)⃗ ⋅ d𝑠 ⃗ = 0
Faraday-Lenz 𝜕𝐴
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 4
Static Electric and Magnetic Fields
Law of
∫ 𝐸(⃗ 𝑟)⃗ ⋅ d𝑠 ⃗ = 0
Faraday-Lenz 𝜕𝐴
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 4
Magnetostatics: Integral and Differential Form
Law of
Maxwell-Ampère ∫ 𝐻(⃗ 𝑟)⃗ ⋅ d𝑠 ⃗ = ∫ 𝐽 (⃗ 𝑟)⃗ ⋅ d𝐴 ⃗
𝜕𝐴 𝐴
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 5
Magnetostatics: Integral and Differential Form
Law of
Maxwell-Ampère ∫ 𝐻(⃗ 𝑟)⃗ ⋅ d𝑠 ⃗ = ∫ 𝐽 (⃗ 𝑟)⃗ ⋅ d𝐴 ⃗
𝜕𝐴 𝐴
↓ ∫ (∇ × 𝐹 ⃗) ⋅ d𝐴 ⃗ = ∫ 𝐹 ⃗ ⋅ d𝑠 ⃗
𝐴 𝜕𝐴
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 5
Magnetostatic and Electrostatic Fields (i)
Electrostatics Magnetostatics
∫ 𝐸 ⃗ ⋅ d𝑠 ⃗ = 0 ∫ 𝐻⃗ ⋅ d𝑠 ⃗ = ∫ 𝐽 ⃗ ⋅ d𝐴 ⃗
𝜕𝐴 𝜕𝐴 𝐴
∫ 𝐷⃗ ⋅ d𝐴 ⃗ = ∫ 𝜚 d𝑉 ∫ 𝐵⃗ ⋅ d𝐴 ⃗ = 0
𝜕𝑉 𝑉 𝜕𝑉
𝐷⃗ = 𝜖𝐸⃗ 𝐵⃗ = 𝜇𝐻⃗
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 6
Magnetostatic and Electrostatic Fields (ii)
Fields in Fields in
electrostatics (𝐷)⃗ magnetostatics (𝐵)⃗
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 7
Assumptions of Magnetostatics
Simplifications
all fields change so slowly that the time derivatives disappear
𝜕𝐷⃗ 𝜕𝐵⃗
=0 and =0
𝜕𝑡 𝜕𝑡
Only excitation currents exist
𝐽 ⃗ = 𝐽e⃗
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 8
Overview
1 Magnetostatic Fields
The Magnetic Vector Potential
Application Examples of Magnetostatics
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 9
Introduction of the Magnetic Vector Potential
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 10
Introduction of the Magnetic Vector Potential
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 10
Introduction of the Magnetic Vector Potential
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 10
Introduction of the Magnetic Vector Potential
∇ × 𝐻⃗ = 𝐽e⃗ ∇ × 𝐻⃗ = 𝐽e⃗
∇ ⋅ 𝐵⃗ = 0 𝐵⃗ = ∇ × 𝐴 ⃗
𝐵⃗ = 𝜇𝐻⃗ 𝐵⃗ = 𝜇𝐻⃗
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 11
Curl-Curl Equation
∇ × 𝐻⃗ = 𝐽e⃗ ∇ × 𝐻⃗ = 𝐽e⃗
∇ ⋅ 𝐵⃗ = 0 𝐵⃗ = ∇ × 𝐴 ⃗
𝐵⃗ = 𝜇𝐻⃗ 𝐵⃗ = 𝜇𝐻⃗
General vector differential equation
∇ × (𝜇−1 ∇ × 𝐴)⃗ = 𝐽e⃗
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 11
Curl-Curl Equation
∇ × 𝐻⃗ = 𝐽e⃗ ∇ × 𝐻⃗ = 𝐽e⃗
∇ ⋅ 𝐵⃗ = 0 𝐵⃗ = ∇ × 𝐴 ⃗
𝐵⃗ = 𝜇𝐻⃗ 𝐵⃗ = 𝜇𝐻⃗
General vector differential equation
∇ × (𝜇−1 ∇ × 𝐴)⃗ = 𝐽e⃗
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 11
Curl-Curl Operator (i)
𝜕 𝜕 𝜕 𝜕 𝜕 𝜕
( 𝐴 − 𝐴 )− ( 𝐴 − 𝐴 ) = 𝜇 𝐽𝑦
𝜕𝑧 𝜕𝑦 𝑧 𝜕𝑧 𝑦 𝜕𝑥 𝜕𝑥 𝑦 𝜕𝑦 𝑥
𝜕 𝜕 𝜕 𝜕 𝜕 𝜕
( 𝐴𝑥 − 𝐴𝑧 ) − ( 𝐴𝑧 − 𝐴 ) = 𝜇 𝐽𝑧 .
𝜕𝑥 𝜕𝑧 𝜕𝑥 𝜕𝑦 𝜕𝑦 𝜕𝑧 𝑦
In operator form
∇
⏟ × ∇× 𝐴 ⃗ = 𝜇𝐽e⃗
=∶curlcurl(⋅)
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 12
Curl-Curl Operator (ii)
2 2 2 2 2
𝜕 𝜕 𝜕 𝜕 𝜕 𝜕 𝜕 𝜕 𝜕
⎡ − 2 +
𝜕𝑥𝜕𝑦 2 − + 𝜕𝑧
2 2
𝜕𝑦𝜕𝑧 2 𝜕𝑦 𝜕𝑥 0 𝜕𝑧 𝜕𝑥 ⎤ 0
⎢ ⎥
𝜕2 𝜕2 𝜕2 𝜕2 𝜕𝜕 2𝜕
∇2 =⎢] ⎥ 0
𝜕 𝜕
[ curlcurl 𝜕𝑥 𝜕𝑦0 − 𝜕𝑧 −2 𝜕𝑥
2𝜕𝑥 +2𝜕𝑦2 +𝜕𝑧 2
𝜕𝑧𝜕𝑦
⎢ ⎥
⎢ 𝜕 𝜕 𝜕 𝜕 𝜕2 22
𝜕𝜕 ⎥ 𝜕2
𝜕𝑥 𝜕𝑧0 𝜕𝑦 𝜕𝑧 0− 𝜕𝑥 2 − 𝜕𝑦
𝜕𝑥22 + 𝜕𝑦 2
⎣ ⎦
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 13
Non-uniqueness of the Magnetic Vector Potential
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 14
Magnetic Vector Potential and Gradients
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 15
Magnetic Vector Potential and Gradients
𝐵⃗ = ∇ × 𝐴 ⃗ = ∇ × (𝐴
⏟ ⃗ + ∇Ψ)
=𝐴′⃗
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 15
Magnetic Vector Potential and Gradients
𝐵⃗ = ∇ × 𝐴 ⃗ = ∇ × (𝐴
⏟ ⃗ + ∇Ψ)
=𝐴′⃗
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 15
Magnetic Vector Potential and Gradients
𝐵⃗ = ∇ × 𝐴 ⃗ = ∇ × (𝐴
⏟ ⃗ + ∇Ψ)
=𝐴′⃗
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 15
Coulomb Gauge
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 16
Coulomb Gauge
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 16
Coulomb Gauge
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 16
Coulomb Gauge
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 16
Gauged Curl-curl Operator
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 17
Gauged Curl-curl Operator
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 17
Gauged Curl-curl Operator
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 17
Gauged Curl-curl Operator
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 17
Boundary Conditions
1 Magnetostatic Fields
The Magnetic Vector Potential
Application Examples of Magnetostatics
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 19
Magnetostatics – C-Magnet
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 20
Magnetostatics – C-Magnet (Linear)
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 21
Magnetostatics – C-Magnet (Linear)
Singularities
∇ × (𝜈∇ × 𝐴)⃗ = 𝐽𝑒⃗
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 21
Magnetostatics – C-Magnet (Nonlinear)
⃗
∇ × (𝜈(|𝐵|)∇ × 𝐴)⃗ = 𝐽e⃗
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 22
Overview
1 Magnetostatic Fields
The Magnetic Vector Potential
Application Examples of Magnetostatics
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 23
Cartesian Grid Pair in Magnetostatics
𝑦3
Primary grid
⌢
𝑏 𝑛 = ∫ 𝐵⃗ ⋅ d𝐴 ⃗
⌢
̃
𝔾
𝑒 𝑛 = ∫ 𝐸 ⃗ ⋅ d𝑠 ⃗
⌢
𝐿𝑛 𝐴𝑛
𝑦2
⃗
𝑛 = ∫ 𝐴 ⋅ d𝑠 ⃗
⌢
𝑎 𝜙𝑛 = Φ(𝑃𝑛 )
𝐿𝑛
𝑦1
Dual grid
𝑧1 𝑥1 𝑥2 𝑥3
𝑦 ⌢ ⌢
𝑗 𝑛 = ∫ 𝐽 ⃗ ⋅ d𝐴 ⃗ ℎ𝑛 = ∫ 𝐻⃗ ⋅ d𝑠 ⃗
⌢
𝑧2
𝔾 𝑥
̃
𝐴𝑛
̃𝑛
𝐿
𝑧3
𝑧
→ Integral quantities
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 24
Overview
1 Magnetostatic Fields
The Magnetic Vector Potential
Application Examples of Magnetostatics
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 25
FIT: Curl in Faraday’s induction law (i)
𝜕
∫𝐸⃗ ⋅ d𝑠 ⃗ = − ∫ 𝐵⃗ ⋅ d𝐴 ⃗ for all surfaces Γ
𝜕𝑡
𝜕Γ Γ
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 26
FIT: Curl in Faraday’s induction law (ii)
𝐿2
𝐿1
𝑛⃗
𝐴
𝐿3
𝐿4
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 27
FIT: Curl in Faraday’s induction law (ii)
𝐿2
𝐿1
𝑛⃗
𝐴
𝐿3
𝐿4
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 27
FIT: Curl in Faraday’s induction law (ii)
𝐿2
𝐿1
𝑛⃗
𝐴
𝐿3
𝐿4
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 27
FIT: Curl in Faraday’s induction law (iii)
𝜕
∫ 𝐸⃗ ⋅ d𝑠 ⃗ = − ∫ 𝐵⃗ ⋅ d𝐴 ⃗ for all 𝑛 = 1, … , 𝑁𝐴
𝜕𝑡
𝜕𝐴𝑛 𝐴𝑛
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 28
FIT: Curl in Faraday’s induction law (iii)
Grid equation:
⊤
⌢
⌢ e = [⌢
⌢
𝑒1 … ⌢
𝑒 𝑁𝐿 ] ⌢
⌢
d d
∑𝑖 ±⌢𝑒𝑖 = − d𝑡 𝑏𝑛 ⌢
⌢ ⌢ ⌢ ⊤
Ce
⌢
= − d𝑡 b
⌢ ⌢
b = [𝑏1 … 𝑏 𝑁𝐴 ]
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 28
FIT: Curl in Faraday’s induction law (iii)
Grid equation:
⊤
⌢
⌢ e = [⌢
⌢
𝑒1 … ⌢
𝑒 𝑁𝐿 ] ⌢
⌢
d d
∑𝑖 ±⌢𝑒𝑖 = − d𝑡 𝑏𝑛 ⌢
⌢ ⌢ ⌢ ⊤
Ce
⌢
= − d𝑡 b
⌢ ⌢
b = [𝑏1 … 𝑏 𝑁𝐴 ]
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 28
FIT: Curl in Faraday’s induction law (iii)
Grid equation:
⊤
⌢
⌢ e = [⌢
⌢
𝑒1 … ⌢
𝑒 𝑁𝐿 ] ⌢
⌢
d d
∑𝑖 ±⌢𝑒𝑖 = − d𝑡 𝑏𝑛 ⌢
⌢ ⌢ ⌢ ⊤
Ce
⌢
= − d𝑡 b
⌢ ⌢
b = [𝑏1 … 𝑏 𝑁𝐴 ]
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 29
FIT: Primary curl matrix (i)
𝑛⃗ 𝑥
𝐴𝑥,𝑛 𝑦
𝑃𝑛
𝑥
𝑧
𝑃𝑛+𝑀𝑧
Integral decomposition
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 30
FIT: Primary curl matrix (i)
𝐿𝑦,𝑛
𝑛⃗ 𝑥
𝐴𝑥,𝑛 𝑦
𝑃𝑛
𝑥
𝑧
𝑃𝑛+𝑀𝑧
Integral decomposition
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 30
FIT: Primary curl matrix (i)
𝑛⃗ 𝑥
𝐴𝑥,𝑛 𝑦
𝐿𝑦,𝑛+𝑀𝑧
𝑃𝑛
𝑥
𝑧
𝑃𝑛+𝑀𝑧
Integral decomposition
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 30
FIT: Primary curl matrix (i)
𝑛⃗ 𝑥
𝐴𝑥,𝑛 𝑦
𝑃𝑛
𝑥
𝐿𝑧,𝑛
𝑧
𝑃𝑛+𝑀𝑧
Integral decomposition
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 30
FIT: Primary curl matrix (i)
𝑛⃗ 𝑥
𝐴𝑥,𝑛 𝑦
𝑃𝑛
𝑥
𝑧
𝑃𝑛+𝑀𝑧
Integral decomposition
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 30
FIT: Primary curl matrix (ii)
𝜕 𝜕
0 − 𝜕𝑧 𝜕𝑦 𝐸𝑥 𝐵
⎡ 𝜕 𝜕 ⎤ ⎡𝐸 ⎤ 𝜕 ⎡ 𝑥⎤
Curl of 𝐸⃗ is ⎢ 𝜕𝑧 0 − 𝜕𝑥 ⎥ ⎢ 𝑦⎥ =− ⎢ 𝐵𝑦 ⎥
𝜕 𝜕 𝜕𝑡
⎣− 𝜕𝑦 𝜕𝑦 0 ⎦ ⎣ 𝐸𝑧 ⎦ ⎣ 𝐵𝑧 ⎦
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 31
FIT: Primary curl matrix (ii)
𝜕 𝜕
0 − 𝜕𝑧 𝜕𝑦 𝐸𝑥 𝐵
⎡ 𝜕 𝜕 ⎤ ⎡𝐸 ⎤ 𝜕 ⎡ 𝑥⎤
Curl of 𝐸⃗ is ⎢ 𝜕𝑧 0 − 𝜕𝑥 ⎥ ⎢ 𝑦⎥ =− ⎢ 𝐵𝑦 ⎥
𝜕 𝜕 𝜕𝑡
⎣− 𝜕𝑦 𝜕𝑦 0 ⎦ ⎣ 𝐸𝑧 ⎦ ⎣ 𝐵𝑧 ⎦
Indexing with the canonical index results in
⌢
⌢
e⌢
b𝑥 0 −P𝑧 P𝑦
𝑥 d ⎡⌢ ⌢ ⎤
C ⎢ e𝑦 ⎤
⎡ where C=⎡ P 0 −P𝑥 ⎤
⌢
⎥ = − b𝑦 ⎥
d𝑡 ⎢ ⌢ ⎢ 𝑧 ⎥
⎣ e𝑧 ⎦
⌢ ⌢
⎣ b𝑧 ⎦ ⎣−P𝑦 P𝑥 0 ⎦
+1
+1
+1
P𝑥 = −1 P𝑦 = −1 P𝑧 = −1
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 31
Overview
1 Magnetostatic Fields
The Magnetic Vector Potential
Application Examples of Magnetostatics
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 32
FIT: Ampère’s circuital law (i)
𝜕 ⃗ ⋅ d𝐴 ⃗
∫𝐻⃗ ⋅ d𝑠 ⃗ = ∫ ( 𝐷⃗ + 𝐽 ) for all surfaces Γ
𝜕𝑡
𝜕Γ Γ
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 33
FIT: Ampère’s circuital law (ii)
̃2
𝐿
̃1
𝐿
𝑛⃗
̃
𝐴
̃3
𝐿
̃4
𝐿
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 34
FIT: Ampère’s circuital law (ii)
̃2
𝐿
̃1
𝐿
𝑛⃗
̃
𝐴
̃3
𝐿
̃4
𝐿
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 34
FIT: Ampère’s circuital law (ii)
̃2
𝐿
̃1
𝐿
𝑛⃗
̃
𝐴
̃3
𝐿
̃4
𝐿
𝜕 ⃗ ⋅ d𝐴 ⃗
∫ 𝐻⃗ ⋅ d𝑠 ⃗ = ∫ ( 𝐷⃗ + 𝐽 ) for all 𝑛 = 1, … , 𝑁𝐴̃
𝜕𝑡
̃
𝜕𝐴 ̃
𝐴
𝑛 𝑛
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 35
FIT: Ampère’s circuital law (iii)
Grid equation:
⌢ ⌢ ⊤
h = [𝑒1
⌢
⌢ ⌢
⌢ ⌢
… ℎ𝑁̃ ] ⌢ ⌢
⌢
d ⌢
d ⌢ ⌢
C̃h =
𝐿
∑𝑖 ±ℎ𝑖 = 𝑑 + 𝑗𝑛
d𝑡 𝑛 ⌢
⌢ ⌢
⌢ d𝑡
d +j
d und j
̃
Each row 𝑛 refers to a dual facet 𝐴 𝑛
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 35
FIT: Ampère’s circuital law (iii)
Grid equation:
⌢ ⌢ ⊤
h = [𝑒1
⌢
⌢ ⌢
⌢ ⌢
… ℎ𝑁̃ ] ⌢ ⌢
⌢
d ⌢
d ⌢ ⌢
C̃h =
𝐿
∑𝑖 ±ℎ𝑖 = 𝑑 + 𝑗𝑛
d𝑡 𝑛 ⌢
⌢ ⌢
⌢ d𝑡
d +j
d und j
̃
Each row 𝑛 refers to a dual facet 𝐴 𝑛
Dual curl matrix C̃ enforces sign-correct sums
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 35
FIT: Ampère’s circuital law (iii)
Grid equation:
⌢ ⌢ ⊤
h = [𝑒1
⌢
⌢ ⌢
⌢ ⌢
… ℎ𝑁̃ ] ⌢ ⌢
⌢
d ⌢
d ⌢ ⌢
C̃h =
𝐿
∑𝑖 ±ℎ𝑖 = 𝑑 + 𝑗𝑛
d𝑡 𝑛 ⌢
⌢ ⌢
⌢ d𝑡
d +j
d und j
̃
Each row 𝑛 refers to a dual facet 𝐴 𝑛
Dual curl matrix C̃ enforces sign-correct sums
No approximation by discretization due to integral consideration.
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 35
FIT: Ampère’s circuital law (iv)
⌢ ⌢ ⌢ ⌢ ⌢
⌢ ⌢
⌢ ⌢
⌢
d d
ℎ1 ⌢
++ ℎ2 ⌢
𝑒+1 + ℎ3 ⌢
𝑒−2 − ℎ4 ⌢
𝑒−3 − 𝑒=4 =
− d𝑡
−𝑑d𝑡𝑛 𝑏+𝑛 𝑗 𝑛 ̃ =
Equation Ch
⌢ ⌢
d ⌢
⌢
⌢
d𝑡 d +j
Number of rows:
dual facets 𝑁𝐴̃
⎡ ⎤ Number of columns:
C̃ =⎢⎢ 0 1 0 1 0 −1 0 −1 0
⎥
⎥ dual edges 𝑁𝐿
⎢ ⎥ ̃
⎣ Row 𝑛 ⎦ Entries are only −1, 0 or 1
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 36
FIT: Dual curl matrix (i)
𝑃𝑛̃
𝑛⃗ 𝑥
̃
𝐴 𝑦
𝑥,𝑛
𝑥
𝑧
̃
𝑃𝑛−𝑀𝑦
Integral decomposition
⌢ ⌢ ⌢ ⌢
∫ 𝐻⃗ ⋅ d𝑠 ⃗ = +ℎ𝑦,𝑛−𝑀𝑧 −ℎ𝑦,𝑛 −ℎ𝑧,𝑛−𝑀𝑦 +ℎ𝑧,𝑛
̃
𝜕𝐴 𝑥,𝑛
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 37
FIT: Dual curl matrix (i)
𝑃𝑛̃
̃𝑦,𝑛−𝑀
𝐿 𝑧
𝑛⃗ 𝑥
̃
𝐴 𝑦
𝑥,𝑛
𝑥
𝑧
̃
𝑃𝑛−𝑀𝑦
Integral decomposition
⌢ ⌢ ⌢ ⌢
∫ 𝐻⃗ ⋅ d𝑠 ⃗ = +ℎ𝑦,𝑛−𝑀𝑧 −ℎ𝑦,𝑛 −ℎ𝑧,𝑛−𝑀𝑦 +ℎ𝑧,𝑛
̃
𝜕𝐴 𝑥,𝑛
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 37
FIT: Dual curl matrix (i)
𝑃𝑛̃
𝑛⃗ 𝑥
̃
𝐴 𝑦
̃𝑦,𝑛
𝐿 𝑥,𝑛
𝑥
𝑧
̃
𝑃𝑛−𝑀𝑦
Integral decomposition
⌢ ⌢ ⌢ ⌢
∫ 𝐻⃗ ⋅ d𝑠 ⃗ = +ℎ𝑦,𝑛−𝑀𝑧 −ℎ𝑦,𝑛 −ℎ𝑧,𝑛−𝑀𝑦 +ℎ𝑧,𝑛
̃
𝜕𝐴 𝑥,𝑛
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 37
FIT: Dual curl matrix (i)
𝑃𝑛̃
𝑛⃗ 𝑥
̃
𝐴 𝑦
𝑥,𝑛
𝑥
̃𝑧,𝑛−𝑀
𝐿 𝑦 𝑧
̃
𝑃𝑛−𝑀𝑦
Integral decomposition
⌢ ⌢ ⌢ ⌢
∫ 𝐻⃗ ⋅ d𝑠 ⃗ = +ℎ𝑦,𝑛−𝑀𝑧 −ℎ𝑦,𝑛 −ℎ𝑧,𝑛−𝑀𝑦 +ℎ𝑧,𝑛
̃
𝜕𝐴 𝑥,𝑛
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 37
FIT: Dual curl matrix (i)
̃𝑧,𝑛
𝐿
𝑃𝑛̃
𝑛⃗ 𝑥
̃
𝐴 𝑦
𝑥,𝑛
𝑥
𝑧
̃
𝑃𝑛−𝑀𝑦
Integral decomposition
⌢ ⌢ ⌢ ⌢
∫ 𝐻⃗ ⋅ d𝑠 ⃗ = +ℎ𝑦,𝑛−𝑀𝑧 −ℎ𝑦,𝑛 −ℎ𝑧,𝑛−𝑀𝑦 +ℎ𝑧,𝑛
̃
𝜕𝐴 𝑥,𝑛
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 37
FIT: Dual curl matrix (ii)
𝜕 𝜕
0 − 𝜕𝑧 𝜕𝑦 𝐻𝑥 𝐷 𝐽
⎡ 𝜕 𝜕 ⎤ ⎡𝐻 ⎤ 𝜕 ⎡ 𝑥⎤ ⎡ 𝑥⎤
Curl of 𝐻⃗ is ⎢ 𝜕𝑧 0 − 𝜕𝑥 ⎥ ⎢ 𝑦⎥ = ⎢ 𝐷𝑦 ⎥ + ⎢𝐽𝑦 ⎥
𝜕 𝜕 𝜕𝑡
⎣− 𝜕𝑦 𝜕𝑦 0 ⎦ ⎣ 𝐻𝑧 ⎦ ⎣ 𝐷𝑧 ⎦ ⎣ 𝐽𝑧 ⎦
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 38
FIT: Dual curl matrix (ii)
𝜕 𝜕
0 − 𝜕𝑧 𝜕𝑦 𝐻𝑥 𝐷 𝐽
⎡ 𝜕 𝜕 ⎤ ⎡𝐻 ⎤ 𝜕 ⎡ 𝑥⎤ ⎡ 𝑥⎤
Curl of 𝐻⃗ is ⎢ 𝜕𝑧 0 − 𝜕𝑥 ⎥ ⎢ 𝑦⎥ = ⎢ 𝐷𝑦 ⎥ + ⎢𝐽𝑦 ⎥
𝜕 𝜕 𝜕𝑡
⎣− 𝜕𝑦 𝜕𝑦 0 ⎦ ⎣ 𝐻𝑧 ⎦ ⎣ 𝐷𝑧 ⎦ ⎣ 𝐽𝑧 ⎦
Indexing with the canonical index results in
⌢
⌢ ⌢
⌢
j𝑥
⌢
h𝑥 d 0 −P̃𝑧 P̃𝑦
d ⎡ ⌢⌢𝑥 ⎤ ⎡⌢ ⌢ ⎤ ⎡ ⎤
C̃ ⎡
⌢ ⎤
h
⎢ ⌢ 𝑦 ⎥ d𝑡 ⎢d
= 𝑦⎥ + ⎢
⎢⌢
j𝑦⎥
⎥ where C̃ = ⎢ P̃𝑧 0 −P̃𝑥 ⎥
⌢
⎣ h𝑧 ⎦ ⎣−P̃𝑦 P̃𝑥
⌢
0 ⎦
⌢
⎣ d𝑧 ⎦ ⎣ j 𝑧 ⎦
𝑀𝑥 𝑀𝑦 𝑀𝑧
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 38
Overview
1 Magnetostatic Fields
The Magnetic Vector Potential
Application Examples of Magnetostatics
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 39
FIT: Non-existence of magnetic monopoles (i)
Describes the magnetic flux density through the hull of any volume. Ω
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 40
FIT: Non-existence of magnetic monopoles (ii)
𝑛̃⃗ 33
𝐴
̃ 𝑉
Ω
𝑉̃ ̃
𝐴4 𝐴1
̃6
𝐴
𝑧 6
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 41
FIT: Non-existence of magnetic monopoles (ii)
𝑛̃⃗ 33
𝐴 𝑛̃⃗ 33
𝐴
̃ 𝑉
Ω
𝑉̃ ̃ ̃ 𝑉
Ω
𝑉̃ ̃
𝐴4 𝐴1 𝐴 4 𝐴1
̃6
𝐴 ̃6
𝐴
𝑧 6 𝑧 6
𝑥 𝑥
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 41
FIT: Non-existence of magnetic monopoles (ii)
𝑛̃⃗ 33
𝐴 𝑛̃⃗ 33
𝐴
̃ 𝑉
Ω
𝑉̃ ̃ ̃ 𝑉
Ω
𝑉̃ ̃
𝐴4 𝐴1 𝐴 4 𝐴1
̃6
𝐴 ̃6
𝐴
𝑧 6 𝑧 6
𝑥 𝑥
∫ 𝐵⃗ ⋅ d𝐴 ⃗ = 0 for all 𝑛 = 1, … , 𝑁𝑉
𝜕𝑉𝑛
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 42
FIT: Non-existence of magnetic monopoles (iii)
∫ 𝐵⃗ ⋅ d𝐴 ⃗ = 0 for all 𝑛 = 1, … , 𝑁𝑉
𝜕𝑉𝑛
Grid equation:
⌢
⌢ ⌢
⌢ ⌢
⌢ T
⌢
⌢
b = [𝑏1 … 𝑏 𝑁𝐴 ] ⌢
⌢
∑𝑖 ± 𝑏 𝑖 = 0 Sb = 0
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 42
FIT: Non-existence of magnetic monopoles (iii)
∫ 𝐵⃗ ⋅ d𝐴 ⃗ = 0 for all 𝑛 = 1, … , 𝑁𝑉
𝜕𝑉𝑛
Grid equation:
⌢
⌢ ⌢
⌢ ⌢
⌢ T
⌢
⌢
b = [𝑏1 … 𝑏 𝑁𝐴 ] ⌢
⌢
∑𝑖 ± 𝑏 𝑖 = 0 Sb = 0
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 42
FIT: Non-existence of magnetic monopoles (iii)
∫ 𝐵⃗ ⋅ d𝐴 ⃗ = 0 for all 𝑛 = 1, … , 𝑁𝑉
𝜕𝑉𝑛
Grid equation:
⌢
⌢ ⌢
⌢ ⌢
⌢ T
⌢
⌢
b = [𝑏1 … 𝑏 𝑁𝐴 ] ⌢
⌢
∑𝑖 ± 𝑏 𝑖 = 0 Sb = 0
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 42
FIT: Non-existence of magnetic monopoles (iii)
∫ 𝐵⃗ ⋅ d𝐴 ⃗ = 0 for all 𝑛 = 1, … , 𝑁𝑉
𝜕𝑉𝑛
Grid equation:
⌢
⌢ ⌢
⌢ ⌢
⌢ T
⌢
⌢
b = [𝑏1 … 𝑏 𝑁𝐴 ] ⌢
⌢
∑𝑖 ± 𝑏 𝑖 = 0 Sb = 0
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 42
FIT: Non-existence of magnetic monopoles (iv)
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 43
FIT: Primary divergence matrix (i)
𝑦
𝑃𝑛
𝑃𝑛+𝑀𝑥
𝑥
𝑧
𝑃𝑛+𝑀𝑧
Integral decomposition
⌢ ⌢ ⌢ ⌢ ⌢ ⌢
∫ 𝐵⃗ ⋅ d𝐴 ⃗ = − 𝑏 𝑥,𝑛 + 𝑏 𝑥,𝑛+𝑀𝑥 − 𝑏 𝑦,𝑛 + 𝑏 𝑦,𝑛+𝑀𝑦 − 𝑏 𝑧,𝑛 + 𝑏 𝑧,𝑛+𝑀𝑧
⌢ ⌢ ⌢ ⌢ ⌢ ⌢
𝜕𝑉𝑛
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 44
FIT: Primary divergence matrix (i)
𝑦
𝑃𝑛
𝑥
𝑧
Integral decomposition
⌢ ⌢ ⌢ ⌢ ⌢ ⌢
∫ 𝐵⃗ ⋅ d𝐴 ⃗ = − 𝑏 𝑥,𝑛 + 𝑏 𝑥,𝑛+𝑀𝑥 − 𝑏 𝑦,𝑛 + 𝑏 𝑦,𝑛+𝑀𝑦 − 𝑏 𝑧,𝑛 + 𝑏 𝑧,𝑛+𝑀𝑧
⌢ ⌢ ⌢ ⌢ ⌢ ⌢
𝜕𝑉𝑛
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 44
FIT: Primary divergence matrix (i)
𝑦
𝑃𝑛+𝑀𝑥
𝑥
𝑧
Integral decomposition
⌢ ⌢ ⌢ ⌢ ⌢ ⌢
∫ 𝐵⃗ ⋅ d𝐴 ⃗ = − 𝑏 𝑥,𝑛 + 𝑏 𝑥,𝑛+𝑀𝑥 − 𝑏 𝑦,𝑛 + 𝑏 𝑦,𝑛+𝑀𝑦 − 𝑏 𝑧,𝑛 + 𝑏 𝑧,𝑛+𝑀𝑧
⌢ ⌢ ⌢ ⌢ ⌢ ⌢
𝜕𝑉𝑛
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 44
FIT: Primary divergence matrix (i)
𝑦
𝑃𝑛
𝑥
𝑧
Integral decomposition
⌢ ⌢ ⌢ ⌢ ⌢ ⌢
∫ 𝐵⃗ ⋅ d𝐴 ⃗ = − 𝑏 𝑥,𝑛 + 𝑏 𝑥,𝑛+𝑀𝑥 − 𝑏 𝑦,𝑛 + 𝑏 𝑦,𝑛+𝑀𝑦 − 𝑏 𝑧,𝑛 + 𝑏 𝑧,𝑛+𝑀𝑧
⌢ ⌢ ⌢ ⌢ ⌢ ⌢
𝜕𝑉𝑛
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 44
FIT: Primary divergence matrix (i)
𝑥
𝑧
Integral decomposition
⌢ ⌢ ⌢ ⌢ ⌢ ⌢
∫ 𝐵⃗ ⋅ d𝐴 ⃗ = − 𝑏 𝑥,𝑛 + 𝑏 𝑥,𝑛+𝑀𝑥 − 𝑏 𝑦,𝑛 + 𝑏 𝑦,𝑛+𝑀𝑦 − 𝑏 𝑧,𝑛 + 𝑏 𝑧,𝑛+𝑀𝑧
⌢ ⌢ ⌢ ⌢ ⌢ ⌢
𝜕𝑉𝑛
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 44
FIT: Primary divergence matrix (i)
𝑦
𝑃𝑛
𝑥
𝑧
Integral decomposition
⌢ ⌢ ⌢ ⌢ ⌢ ⌢
∫ 𝐵⃗ ⋅ d𝐴 ⃗ = − 𝑏 𝑥,𝑛 + 𝑏 𝑥,𝑛+𝑀𝑥 − 𝑏 𝑦,𝑛 + 𝑏 𝑦,𝑛+𝑀𝑦 − 𝑏 𝑧,𝑛 + 𝑏 𝑧,𝑛+𝑀𝑧
⌢ ⌢ ⌢ ⌢ ⌢ ⌢
𝜕𝑉𝑛
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 44
FIT: Primary divergence matrix (i)
𝑥
𝑧
𝑃𝑛+𝑀𝑧
Integral decomposition
⌢ ⌢ ⌢ ⌢ ⌢ ⌢
∫ 𝐵⃗ ⋅ d𝐴 ⃗ = − 𝑏 𝑥,𝑛 + 𝑏 𝑥,𝑛+𝑀𝑥 − 𝑏 𝑦,𝑛 + 𝑏 𝑦,𝑛+𝑀𝑦 − 𝑏 𝑧,𝑛 + 𝑏 𝑧,𝑛+𝑀𝑧
⌢ ⌢ ⌢ ⌢ ⌢ ⌢
𝜕𝑉𝑛
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 44
FIT: Primary divergence matrix (ii)
𝐵𝑥
Divergence of the 𝐵⃗ is given by ∇ ⋅ 𝐵⃗ = [ 𝜕𝑥
𝜕 𝜕
𝜕𝑦
𝜕
𝜕𝑧 ] ⋅⎡ ⎤
⎢𝐵𝑦 ⎥ = 0
⎣ 𝐵𝑧 ⎦
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 45
FIT: Primary divergence matrix (ii)
𝐵𝑥
Divergence of the 𝐵⃗ is given by ∇ ⋅ 𝐵⃗ = [ 𝜕𝑥
𝜕 𝜕
𝜕𝑦
𝜕
𝜕𝑧 ] ⋅⎡ ⎤
⎢𝐵𝑦 ⎥ = 0
⎣ 𝐵𝑧 ⎦
Indexing with the canonical index results in
⌢
⌢
b
⎡ ⌢⌢𝑥 ⎤
S ⎢ b𝑦 ⎥ = 0 where S = [P𝑥 P𝑦 P𝑧 ]
⌢
⌢
⎣ b𝑧 ⎦
for all spatial directions, so that
𝑀𝑥 𝑀𝑦 𝑀𝑧
+1
+1
+1
P𝑥 = −1 P𝑦 = −1 P𝑧 = −1
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 45
FIT: Primary divergence matrix (ii)
𝐵𝑥
Divergence of the 𝐵⃗ is given by ∇ ⋅ 𝐵⃗ = [ 𝜕𝑥
𝜕 𝜕
𝜕𝑦
𝜕
𝜕𝑧 ] ⋅⎡ ⎤
⎢𝐵𝑦 ⎥ = 0
⎣ 𝐵𝑧 ⎦
Indexing with the canonical index results in
⌢
⌢
b
⎡ ⌢⌢𝑥 ⎤
S ⎢ b𝑦 ⎥ = 0 where S = [P𝑥 P𝑦 P𝑧 ]
⌢
⌢
⎣ b𝑧 ⎦
for all spatial directions, so that
𝑀𝑥 𝑀𝑦 𝑀𝑧
+1
+1
+1
P𝑥 = −1 P𝑦 = −1 P𝑧 = −1
̃ = −S⊤
The dual gradient results analogous to the primary one as G
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 45
Overview
1 Magnetostatic Fields
The Magnetic Vector Potential
Application Examples of Magnetostatics
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 46
FIT: Properties of the grid operators (i)
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 47
FIT: Properties of the grid operators (i)
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 47
FIT: Properties of the grid operators (i)
SC = [P𝑦 P𝑧 − P𝑧 P𝑦 −P𝑥 P𝑧 + P𝑧 P𝑥 P𝑥 P𝑦 − P𝑦 P𝑥 ] = 0
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 47
FIT: Properties of the grid operators (ii)
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 48
FIT: Properties of the grid operators (ii)
⎣0 0 ̃ ⎦
SG
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 48
FIT: Properties of the grid operators (ii)
⎣0 0 ̃ ⎦
SG
where the diagonal blocks
̃ = P⊤𝑥 P𝑥 + P⊤𝑦 P𝑦 + P⊤𝑧 P𝑧
A = SG
correspond to the discrete (scalar-valued) Laplace operator.
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 48
FIT: Geometric interpretation of grid operators (i)
𝑙
̃𝑙
𝜕𝑉 ̃
𝐴𝑚
and
⌢ ⌢ ⌢
𝑗 𝑚 = [C̃h] with ℎ𝑛 = ∫𝐻⃗ ⋅ d𝑠 ⃗
⌢
𝑚
̃𝑛
𝐿
⌢ ⌢
Summary: ∑𝑚 ± 𝑗 𝑚 = ∑𝑚 ± (∑𝑛 ±ℎ𝑛 ) = 0
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 49
FIT: Geometric interpretation of grid operators (ii)
Summation
⌢ ⌢
∑ ± 𝑗 𝑚 = ∑ ± (∑ ±ℎ𝑛 ) = 0
𝑚 𝑚 𝑛
Interpretation
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 50
FIT: Geometric interpretation of grid operators (ii)
Summation
⌢ ⌢
∑ ± 𝑗 𝑚 = ∑ ± (∑ ±ℎ𝑛 ) = 0
𝑚 𝑚 𝑛
Interpretation
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 50
FIT: Geometric interpretation of grid operators (ii)
Summation
⌢ ⌢
∑ ± 𝑗 𝑚 = ∑ ± (∑ ±ℎ𝑛 ) = 0
𝑚 𝑚 𝑛
Interpretation
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 50
Overview
1 Magnetostatic Fields
The Magnetic Vector Potential
Application Examples of Magnetostatics
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 51
FIT: Material laws
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 52
FIT: Material laws
𝐽 ⃗ (𝑟,⃗ 𝑡) = 𝜎 (𝑟 ⃗ ) 𝐸⃗ (𝑟,⃗ 𝑡)
FIT ⌢
⌢
j = M𝜎 e
⌢
⌢
𝐵⃗ (𝑟,⃗ 𝑡) = 𝜇 (𝑟 ⃗ ) 𝐻⃗ (𝑟,⃗ 𝑡)
⌢ ⌢
b = M𝜇 h
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 52
FIT: Material laws
𝐽 ⃗ (𝑟,⃗ 𝑡) = 𝜎 (𝑟 ⃗ ) 𝐸⃗ (𝑟,⃗ 𝑡)
FIT ⌢
⌢
j = M𝜎 e
⌢
⌢
𝐵⃗ (𝑟,⃗ 𝑡) = 𝜇 (𝑟 ⃗ ) 𝐻⃗ (𝑟,⃗ 𝑡)
⌢ ⌢
b = M𝜇 h
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 52
FIT: Material laws
𝐽 ⃗ (𝑟,⃗ 𝑡) = 𝜎 (𝑟 ⃗ ) 𝐸⃗ (𝑟,⃗ 𝑡)
FIT ⌢
⌢
j = M𝜎 e
⌢
⌢
𝐵⃗ (𝑟,⃗ 𝑡) = 𝜇 (𝑟 ⃗ ) 𝐻⃗ (𝑟,⃗ 𝑡)
⌢ ⌢
b = M𝜇 h
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 52
FIT: Staircase Filling
𝜖1 , 𝜎 1 , 𝜇 1
Material interface
𝜖2 , 𝜎 2 , 𝜇 2
̃𝑛 ⌢
𝐿 ℎ𝑛 = ∫ 𝜇−1 𝐵⃗ ⋅ d𝑠 ⃗ ≈ 𝐵norm ∫ 𝜇−1 d𝑠
𝜇2 𝐴𝑛 ̃𝑛
𝐿 ̃𝑛
𝐿
⌢
𝑏 𝑛 = ∫ 𝐵⃗ ⋅ d𝐴 ⃗ ≈ 𝐵norm ∫ d𝐴
⌢
𝐴𝑛 𝐴𝑛
𝜇1
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 54
FIT: Material relations: 𝜇−1 -Averaging (i)
̃𝑛 ⌢
𝐿 ℎ𝑛 = ∫ 𝜇−1 𝐵⃗ ⋅ d𝑠 ⃗ ≈ 𝐵norm ∫ 𝜇−1 d𝑠
𝜇2 𝐴𝑛 ̃𝑛
𝐿 ̃𝑛
𝐿
⌢
𝑏 𝑛 = ∫ 𝐵⃗ ⋅ d𝐴 ⃗ ≈ 𝐵norm ∫ d𝐴
⌢
𝐴𝑛 𝐴𝑛
⌢
ℎ𝑛 𝐵norm ∫̃ 𝜇 d𝑠 −1
𝐿𝑛
[M𝜈 ]𝑛,𝑛 = ⌢ ≈
𝜇1
⌢
𝑏𝑛 𝐵norm ∫ d𝐴
𝐴𝑛
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 54
FIT: Material relations: 𝜇−1 -Averaging (ii)
⌢
ℎ𝑛 𝐵norm ∫̃ 𝜇−1 d𝑠 ∫̃ 𝜇−1 d𝑠
𝐿𝑛 𝐿𝑛
⌢ ≈ =
̃𝑛
⌢
𝑏𝑛 𝐵norm ∫ d𝐴 ∫ d𝐴
𝐿 𝐴𝑛 𝐴𝑛
𝜇2 𝐴𝑛
𝜇1
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 55
FIT: Material relations: 𝜇−1 -Averaging (ii)
⌢
ℎ𝑛 𝐵norm ∫̃ 𝜇−1 d𝑠 ∫̃ 𝜇−1 d𝑠
𝐿𝑛 𝐿𝑛
⌢ ≈ =
̃𝑛
⌢
𝑏𝑛 𝐵norm ∫ d𝐴 ∫ d𝐴
𝐿 𝐴𝑛 𝐴𝑛
𝜇2 𝐴𝑛
̃(1)
̃𝑛 = 𝐿
𝐿 ̃(2)
𝑛 ∪ 𝐿𝑛
𝜇1
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 55
FIT: Material relations: 𝜇−1 -Averaging (ii)
⌢
ℎ𝑛 𝐵norm ∫̃ 𝜇−1 d𝑠 ∫̃ 𝜇−1 d𝑠
𝐿𝑛 𝐿𝑛
⌢ ≈ =
̃𝑛
⌢
𝑏𝑛 𝐵norm ∫ d𝐴 ∫ d𝐴
𝐿 𝐴𝑛 𝐴𝑛
𝜇2 𝐴𝑛
̃(1)
̃𝑛 = 𝐿
𝐿 ̃(2)
𝑛 ∪ 𝐿𝑛
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 55
FIT: Material relations: 𝜇−1 -matrix
⌢ ̃𝑛 | ⌢
𝜈𝑛 |𝐿 ⌢
ℎ𝑛 = 𝑏 + 𝒪 (𝛿 2..3 )
|𝐴𝑛 | 𝑛
⌢
Error is at best 3rd order in edge length 𝛿 for ℎ𝑛 . This can be calculated
by Taylor expansion.
Averaging of the reluctance (inv. permeability) ⇒ Grid material law:
⌢ ⌢
⌢
h = M𝜈 b
with diagonal matrix
̃𝑛 | ̃ (1)
−1 ̃ (2)
𝜈𝑛 |𝐿 𝜇−1
1 |𝐿𝑛 | + 𝜇2 |𝐿𝑛 |
[M𝜈 ]𝑛,𝑛 = mit 𝜈𝑛 =
|𝐴𝑛 | ̃𝑛 |
|𝐿
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 56
FIT: Comparison of the material laws (i)
̃𝑛
𝐿
𝐿𝑛 𝜇2 𝐴𝑛
̃
𝐴 𝑛
𝐸tan
𝜖4 𝜖3
𝜇1
𝜖1 𝜖2
̃ | 4 (𝑖)
̃𝑛 |
𝜎𝑛 |𝐴 𝑛 |𝐴
[M𝜎 ]𝑛,𝑛 = 𝜎𝑛 = ∑ 𝜎𝑖
|𝐿𝑛 | 𝑖=1
̃ |
|𝐴𝑛
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 58
Overview
1 Magnetostatic Fields
The Magnetic Vector Potential
Application Examples of Magnetostatics
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 59
Grid equations in Magnetostatics
𝜕 d ⌢⌢
∇ × 𝐸(⃗ 𝑟,⃗ 𝑡) = − 𝐵(⃗ 𝑟,⃗ 𝑡) Ce(𝑡)
⌢
=− b(𝑡)
𝜕𝑡 d𝑡
𝜕 ⌢ d ⌢⌢ ⌢
⌢
∇ × 𝐻(⃗ 𝑟,⃗ 𝑡) = 𝐷( ⃗ 𝑟,⃗ 𝑡) + 𝐽 (⃗ 𝑟,⃗ 𝑡) C̃h(𝑡) = d(𝑡) + j (𝑡)
𝜕𝑡
⃗ 𝑟,⃗ 𝑡) = 𝜚(𝑟,⃗ 𝑡)
∇ ⋅ 𝐷(
FIT ⌢
d𝑡
̃ ⌢ = q(𝑡)
Sd(𝑡)
⌢
⌢
∇ ⋅ 𝐵(⃗ 𝑟,⃗ 𝑡) = 0 Sb(𝑡) = 0(𝑡)
⌢
𝐵(⃗ 𝑟,⃗ 𝑡) = ∇ × 𝐴(⃗ 𝑟,⃗ , 𝑡)
⌢
b(𝑡) = Ca(𝑡)
⌢
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 60
Grid equations in Magnetostatics
𝜕 d ⌢⌢
∇ × 𝐸(⃗ 𝑟,⃗ 𝑡) = − 𝐵(⃗ 𝑟,⃗ 𝑡) Ce(𝑡)
⌢
=− b(𝑡)
𝜕𝑡 d𝑡
𝜕 ⌢ d ⌢⌢ ⌢
⌢
∇ × 𝐻(⃗ 𝑟,⃗ 𝑡) = 𝐷( ⃗ 𝑟,⃗ 𝑡) + 𝐽 (⃗ 𝑟,⃗ 𝑡) C̃h(𝑡) = d(𝑡) + j (𝑡)
𝜕𝑡
⃗ 𝑟,⃗ 𝑡) = 𝜚(𝑟,⃗ 𝑡)
∇ ⋅ 𝐷(
FIT ⌢
d𝑡
̃ ⌢ = q(𝑡)
Sd(𝑡)
⌢
⌢
∇ ⋅ 𝐵(⃗ 𝑟,⃗ 𝑡) = 0 Sb(𝑡) = 0(𝑡)
⌢
𝐵(⃗ 𝑟,⃗ 𝑡) = ∇ × 𝐴(⃗ 𝑟,⃗ , 𝑡)
⌢
b(𝑡) = Ca(𝑡)
⌢
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 60
Discretization in magnetostatics
⌢ ⌢
̃ 𝜇−1 Ca
CM ⌢
= je
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 61
Discretization in magnetostatics
⌢ ⌢
̃ 𝜇−1 Ca
CM ⌢
= je
⃗ × 𝐴(⃗ 𝑟))
∇ × (𝜇−1 (𝑟)∇ ⃗ = 𝐽e⃗ (𝑟)⃗
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 61
Discretization in magnetostatics
⌢ ⌢
̃ 𝜇−1 Ca
CM ⌢
= je
⃗ × 𝐴(⃗ 𝑟))
∇ × (𝜇−1 (𝑟)∇ ⃗ = 𝐽e⃗ (𝑟)⃗
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 61
Numerical solution of the grid vector potential equation
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 62
Numerical solution of the grid vector potential equation
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 62
Numerical solution of the grid vector potential equation
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 62
Numerical solution of the grid vector potential equation
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 62
Numerical solution of the grid vector potential equation
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 62
Numerical solution of the grid vector potential equation
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 62
Numerical solution of the grid vector potential equation
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 62
Boundary conditions in magnetostatics
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 63
Boundary conditions in magnetostatics
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 63
Boundary conditions in magnetostatics
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 63
Boundary conditions in magnetostatics
Apart from these conditions, there are other possibilities (e.g. periodic)
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 63
FIT: Implementation of the boundary conditions
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 64
FIT: Implementation of the boundary conditions
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 64
FIT: Implementation of the boundary conditions
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 64
FIT: Implementation of the boundary conditions
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 64
FIT: Implementation of the boundary conditions
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 64
FIT: Implementation of the boundary conditions
The edge integrals at the edge are set to the known value
⊤
a
⌢ ⌢
= [𝑎 ⌢ ⌢ ⌢
1 , 𝑎2 , … , 𝑎𝑛 , … , 𝑎𝑁𝐿 ] ,
⃗
so that 𝑎 𝑛 = ∫ 𝐴D ⋅ d𝑠 ⃗ depending whether 𝐿𝑛 ∈ ΓD or not.
⌢
𝐿𝑛
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 64
FIT: Discrete gauge
⌢⋆
Not uniquely solvable: if a
⌢
solution, then also a =a
⌢
+ GΦ due to CG = 0.
⌢
⌢ ⌢⋆ ⌢⋆
On the other hand b = Ca = Ca , therefore any solution a
⌢
is suitable.
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 65
FIT: Discrete gauge
⌢⋆
Not uniquely solvable: if a
⌢
solution, then also a =a
⌢
+ GΦ due to CG = 0.
⌢
⌢ ⌢⋆ ⌢⋆
On the other hand b = Ca = Ca , therefore any solution a
⌢
is suitable.
Interative methods (e.g. the conjugate cradient method) for linear
⌢⋆
systems of equations can find a representative a
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 65
FIT: Discrete gauge
⌢⋆
Not uniquely solvable: if a
⌢
solution, then also a =a
⌢
+ GΦ due to CG = 0.
⌢
⌢ ⌢⋆ ⌢⋆
On the other hand b = Ca = Ca , therefore any solution a
⌢
is suitable.
Interative methods (e.g. the conjugate cradient method) for linear
⌢⋆
systems of equations can find a representative a
LU decomposition with Coulomb gauge: if material and computational
grid are homogeneous and one neglects boundary effects, then
1 ⌢ ⌢⌢
C̃ Ca = j e and S̃a
⌢
=0
𝜇|𝐿|
where |𝐿| denotes the constant edge length of the grid cells
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 65
FIT: Discrete gauge
⌢⋆
Not uniquely solvable: if a
⌢
solution, then also a =a
⌢
+ GΦ due to CG = 0.
⌢
⌢ ⌢⋆ ⌢⋆
On the other hand b = Ca = Ca , therefore any solution a
⌢
is suitable.
Interative methods (e.g. the conjugate cradient method) for linear
⌢⋆
systems of equations can find a representative a
LU decomposition with Coulomb gauge: if material and computational
grid are homogeneous and one neglects boundary effects, then
1 ⌢ ⌢⌢ ⌢ ⌢
C̃ Ca = j e and S̃a
⌢
=0 → ̃ − GS)
(CC ̃ a
⌢
= 𝜇|𝐿| j e
𝜇|𝐿|
where |𝐿| denotes the constant edge length of the grid cells
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 65
FIT: Discrete gauge
where |𝐿| denotes the constant edge length of the grid cells
June 14, 2022 | TU Darmstadt | Fachbereich 18 | Computational Electromagnetics Group | De Gersem, Harutyunyan, Schöps | 65