Professional Documents
Culture Documents
Kuczmann FEM in Electromagnetics Presentation
Kuczmann FEM in Electromagnetics Presentation
in Electromagnetics
Author
Prof. Miklós Kuczmann
Department of Automation
Széchenyi István University
Győr, Hungary
kuczmann@sze.hu
Reviewer
Prof. Anouar Belahcen
Aalto University, Helsinki, Finland
2014, 2016
Name
Country
Course materials:
http://maxwell.sze.hu/~kuczmann/Anouar
M. Kuczmann, A. Iványi
The Finite Element Method in Magnetics
Akadémiai Kiadó (Academic Press), Budapest 2008
ISBN 978 963 05 8649 8
J. Jin
The Finite Element Method in Electromagnetics
John Wiley and Sons, New York, 2002
O. Bíró, K. R. Richter
CAD in electromagnetism
in Series Advances in Electronics and Electron Physics, Academic Press, New York, 82,
1991.
A. Ivanyi
Hysteresis Models in Electromagnetic Computation
Akadémiai Kiadó (Academic Press), Budapest 1997
G. Meunier
The Finite Element Method for Electromagnetic Modeling
John Wiley and Sons Inc., 2008
J. Luomi
Finite Element Methods for Electrical Machines
Chalmers University of Technology, Gőteborg, 1993
K. E. Lonngren, S. V. Savov
Fundamentals of Electromagnetics with Matlab
SciTech Publishing Inc., 2005
G. Bertotti, I. D. Mayergoyz
The Science of Hysteresis
Academic Press, New York, 2006
M. N. O. Sadiku
Numerical Techniques in Electromagnetics
CRC Press LLC, 2001
Prof. Dr. habil. Miklós Kuczmann, DSc, PhD
Department of Automation
Széchenyi István University, Győr, Hungary
Content
Introduction to the numerical electromagnetic field computation
Aim of the lectures
Why numerical field analysis?
Numerical electromagnetic field computation, representative problems
Maxwell’s equations
Groups of electrodynamics
Software
Introduction to the
• Faster than measurements and modification in the laboratory (trial and error
method);
• Parameter sweep, there are extreme situations that can not be measured, but
can be simulated;
• It is possible to look inside the arrangement (e.g. eddy currents inside transformers
or near field can be simulated easily).
Fully Anechoic Chamber
Complement!
~3million euro
Drive
Prof. Dr. habil. Miklós Kuczmann, DSc, PhD
Department of Automation
Széchenyi István University, Győr, Hungary
Numerical electromagnetic field computation
Design and simulation of electrical machines
• Voltage
• Current
• Characteristics
• Impedance
• Force
• Torque
• Heat
• Vibration
• Noise
Prof. Dr. habil. Miklós Kuczmann, DSc, PhD
Department of Automation
Széchenyi István University, Győr, Hungary
Numerical electromagnetic field computation
Effect of eddy currents – testing
(enjoy break)
Maxwell’s equations
1820
1888
1831
characteristics
linear component
Scalar product
Vector product
Integral
Nabla operator
Curl
Divergence
Gradient
• Electromagnetic field
conical antenna
excitation
• Capacitor
• …
• Variables
• Vector, Matrix
• For cycle
• Linear algebra
• Plot
Homework:
1.) Try to find the analytical solution of a capacitor with two dielectrics!
2.) Find a paper for beginners in the course material (33 pages)!
3.) View YouTube videos about SciLab!
• Faster than measurements and modification in the laboratory (trial and error
method);
• Parameter sweep, there are extreme situations that can not be measured, but
can be simulated;
• It is possible to look inside the arrangement (e.g. eddy currents inside transformers
or near field can be simulated easily).
Fully Anechoic Chamber
Complement!
• Mathematical formulation
• Partial differential equations
• Boundary conditions
• Weak formulation and Galerkin technique
• Equations of one finite element
eq
ua
tio
ns
,s
ol
ve
r,
…
+ boundary conditions
Capacitance:
34.6 pF/m
TEMPLATES
Torque: -68Nm
y c1 y c3
f ( x ) h( x ) 0
f ( a) c0
y c0 y c2
f (b ) c 3
x 0 a x1
X
x1 x 3 b
Prof. Dr. habil. Miklós Kuczmann, DSc, PhD
Department of Automation
Széchenyi István University, Győr, Hungary
Simple 1D problem from scratch – capacitor
í U
Capacitor
1D model
x=0 x
x=d
Analytical solution is known!
Let us solve by FEM! – Details are shown in the course using blackboard!
PDE
W.R.
Gauss
theorem
Approximation
N=100
2.)
Simulate a capacitor with two different dielectric (linear or second order)
3.)
Neumann boundary condition
2.)
Realize the code for the 2nd order approximation of scalar potential
3.)
Study the following problem (see next slides)
PDE
eigenvalue problem
W.R.
Gauss
theorem
K = zeros(size(Connect,1),size(Connect,1));
B = zeros(size(Connect,1),1);
for i = 1:size(Connect,1),
// Point number of an element
p1 = Connect(i,1); p2 = Connect(i,2); p3 = Connect(i,3);
……
// Assembly
K(p1,p1) = K(p1,p1) + Ke(1,1); K(p1,p2) = K(p1,p2) + Ke(1,2); K(p1,p3) = K(p1,p3) + Ke(1,3);
K(p2,p1) = K(p2,p1) + Ke(2,1); K(p2,p2) = K(p2,p2) + Ke(2,2); K(p2,p3) = K(p2,p3) + Ke(2,3);
K(p3,p1) = K(p3,p1) + Ke(3,1); K(p3,p2) = K(p3,p2) + Ke(3,2); K(p3,p3) = K(p3,p3) + Ke(3,3);
B(Dirichlet(i),:) = B(Dirichlet(i),:) * 0;
B(:,Dirichlet(i)) = B(:,Dirichlet(i)) * 0;
end;
// Eigenvalues
[E,lambda] = eig(K,B);
[k,ki] = sort(sqrt(diag(lambda)));
// Numerical solution
k(1) -> 80.9
Connect = ...
[1,6,7,-1,13,2;...
1,7,2, -2,3,-11;...
6 7 8 9 10 2,7,8, -3,14,4;...
2,8,3, -4,5,-12;...
...
6,11,12,-6,15,-7;...
6,12,7, 7,8,-13;...
15 16 7,12,13,-8,16,-9;...
7,13,8, 9,10,-14;...
...];
static magnetic
• Total magnetic scalar potential, Y-formulation
•
field
Combination of magnetic scalar potentials, F-Y-formulation
• Applying F-formulation with appropriate representation of source current
• Magnetic vector potentail, A-formulation
• A, F-formulation
current field
• Current vector potential and magnetic scalar potential, T-F-formulation
eddy
• Magnetic vector potential and electric scalar potential, A-V-formulation
• Modified vector potential, A*-formulation
• T,F-F-formulation
• A,V-A-formulation gauged version with nodal finite elements
• A*-A-formulation
• T,F-A-formulation
• T,F-A-F-formulation ungauged version with edge finite elements
• A,V-F-formulation
• A,V-A-F-formulation
A,V A
T,F F
A*
T,F-F, A,V-A , A*-A, T,F-A, T,F-A-F, A,V-F, A,V-A-F (gauged and ungauged)
Prof. Dr. habil. Miklós Kuczmann, DSc, PhD
Department of Automation
Széchenyi István University, Győr, Hungary
Homework
1.)
Study the formulations in the book
Hysteresis in FEM
Magnetic hysteresis
Dynamic model
See code!
2.)
Study the Preisach model
3.)
Run the code applying Preisach model (Matlab)
2D 3D
Outlook
Parallel computation
A simple test problem
2D electrostatic problem for case study
E 0 ( )
D
~
D E N d N d
Scalar potential
E K b
~ I
D i 1 Ni i
Prof. Dr. habil. Miklós Kuczmann, DSc, PhD
Department of Automation
Széchenyi István University, Győr, Hungary
The idea of domain decomposition
http://glaros.dtc.umn.edu/gkhome/views/metis
Prof. Dr. habil. Miklós Kuczmann, DSc, PhD
Department of Automation
Széchenyi István University, Győr, Hungary
Decomposition of the FEM Mesh
partdmesh meshfile n
http://glaros.dtc.umn.edu/gkhome/views/metis
Prof. Dr. habil. Miklós Kuczmann, DSc, PhD
Department of Automation
Széchenyi István University, Győr, Hungary
Domain Decomposition Method
MPI – Message Passing Interface
1 2 K 11
0 0 0 K 15 1 b1
0 K 22 0 0 K 25 2 b 2
5 0 0 K 33 0 K 35 3 b 3
0 0 0 K 44 K 45 4 b 4
3 4
K
51 K 52 K 53 K 54 K 55 5 b 5
4 4
K 55
K 5i K ii1K i 5 5 b 5
K 5i K ii1 b i
i 1 i 1
• GPU processing
• Vector elements
• Time stepping
• Implementation
Prof. Dr. habil. Miklós Kuczmann, DSc, PhD
Department of Automation
Széchenyi István University, Győr, Hungary