Download as pdf or txt
Download as pdf or txt
You are on page 1of 10

L4 Finite Element Method

Previous lecture
Industrial Electrical Engineering and Automation

L4: Finite Element Method

Formulation, implementation and experience

The equivalent circuit method (ECM) is essentially a finite element method (FEM) where the quickness is set against the accuracy Ka=f Stiffness matrix, vector of unknowns, load vector + boundary vector
Avo R Design of Electrical Machines 2

Industrial Electrical Engineering and Automation Lund University, Sweden

Todays goal
Industrial Electrical Engineering and Automation

What shall we know about FE method and formulation as a user FE formulation that is based to the weighted residual method
Mathematic form of the field problem that is suitable of FE method

FEMM for magnetic calculations Prior to the second home assignment

Avo R

Design of Electrical Machines

Industrial Electrical Engineering and Automation


Avo R

Design of Electrical Machines

EIEN20 Design of Electrical Machines, IEA, 2013

L4 Finite Element Method

Maxwells Stress Tensor


B
Industrial Electrical Engineering and Automation

Magnetic force on a surface according to magnetic pressure

Bn t

Finite Element Method


How much shall we know FEM?

tn =

1 2 Bn Bt2 2 0 B B tt = n t

tn

Bt t t

Avo R

Design of Electrical Machines

Industrial Electrical Engineering and Automation Lund University, Sweden

Finite Element Method


Industrial Electrical Engineering and Automation

Finite Element Method


Industrial Electrical Engineering and Automation

If the real model, which is a prototype, contains infinite number of degrees of freedom (d.o.f.) then the EC model incorporates too low d.o.f. (i.e. nodes) the FE gives an approximate solution to a physic problem described by differential or integral equations in a number of small regions finite number of d.o.f. The system equations are assembled according to the (main) solution methods: a variational method (integral kind) and a residual method (differential kind)

Field solution is based on solving potentials in accordance of the field equation and BC
2u = 0

Field solution is based on energy minimization (variational formulation)


W (u ) =
W (u ) =

1 2 u d 2

2u + g = 0

1 2 u d ugd 2

Avo R

Design of Electrical Machines

Avo R

Design of Electrical Machines

EIEN20 Design of Electrical Machines, IEA, 2013

L4 Finite Element Method

Finite element
Industrial Electrical Engineering and Automation

Interpolation of potential
2D 3D
Industrial Electrical Engineering and Automation

1D

the potentials ae within the element bounds is interpolated between its values at the nodal points according to element shape function Ne
= 1 + 2 x = 1 x = N ie 1 = N 2

A geometric object is divided into finite number of simple shape elements Element joins geometry and material properties Element shape function interpolates the potential values within the element
Avo R Design of Electrical Machines 9

1 = + x + y = 1 x y i 1 2 3 2 = N Ne = N e a e = NC 1 C j j 3 i = N ie N e N ke j = N e a e = NC 1 C j k
Design of Electrical Machines 10

Avo R

Element shape functions


Ne i (x)=1+ 2x j 1 Nie(x) 0 xi l xj x Nje(x)

Differentiation
Industrial Electrical Engineering and Automation

Industrial Electrical Engineering and Automation

C=

1 xi 1 xj

det C = l

N ie =

1 (x x j ) l 1 Ne j = ( x xi ) l

For the FE formulation of residual kind, it is important to derive the gradient of potential In accordance with linear element expression, the potential gradient is constant within the element.

dN j d N e e dN ie = a = i + j = dx x dx dx 1 1 1 = N e a e = B e a e = l l 2
e

1 x1 C= 1 x2 1 x3
Avo R

y1 y2 y3

N ie =

1 (x j yk xk y j + (y j yk )x + (xk x j )y ) det C 1 (xk yi xi yk + ( yk yi )x + (xi xk ) y ) Ne j = det C 1 (xi y j x j yi + (yi y j )x + (x j xi )y ) N ke = det C


Design of Electrical Machines 11

N e e a x = x = = e N ae y y N e N ie N ke j i j k x x = xe = N e a e = B e a e e e N i N j N k i k j y y y
12

Avo R

Design of Electrical Machines

EIEN20 Design of Electrical Machines, IEA, 2013

L4 Finite Element Method

Weak formulation
Industrial Electrical Engineering and Automation Industrial Electrical Engineering and Automation

Weight function
In order to take the advantage of the weak formulation, a weight function needs to be chosen so that the residual of the solution of the unknown function and a known trial function is a minimum. In accordance with the Galerkin weighted residual method the weight function is chosen to be equal with the trial function which is in the case the shape functions. v = Nc = c T N T
dv dN dN T = c = cT = cT B T dx dx dx
Avo R Design of Electrical Machines 14

Reformulation of strong form for FE implementation In the weak form only the first derivative of the (potential=) temperature is presented and the approximating functions need to be differentiable once To establish the weak of the strong form the latter is multiplied by an arbitrary weight function v and this multiplication is integrated over the pertinent region: l d d v A + Q dx = 0 dx dx 0 l l dv d A dx = ( vAq ) + ( vA ) h + vQdx = 0 x =0 x =l dx dx 0 0
Avo R Design of Electrical Machines 13

FE formulation
Industrial Electrical Engineering and Automation Industrial Electrical Engineering and Automation

2D FE formulation
Weak formulation (including convection term)

By substituting the derived expressions into weak formulation b l T b T cT B A B dx a + N Aq + N T Qdx = 0 a a 0

(v ) tD dA = vhtdL
T A Lh

Lg

vqntdL v ( amb )tdL + vQtdA


Lc A

=g

where cT is independent of x. The FE formulation is b l T b B ABdx a = N T Aq a + N T Qdx a 0

Temperature approximation, gradient and weight function = Na v = Nc = cT N T


= Na = Ba

v = Bc

FE formulation
T T T T T T A B tDBdA + LN NtdL a = LN htdL L N qntdL Tamb LN tdL + A N QtdA c h g c (K + K c ) a = fb + fl

which in compact form is expressed as Ka = f b + f l


Avo R Design of Electrical Machines 15

Avo R

Design of Electrical Machines

16

EIEN20 Design of Electrical Machines, IEA, 2013

L4 Finite Element Method

General form
2. diffusion
Industrial Electrical Engineering and Automation

2D and 3D
Industrial Electrical Engineering and Automation
17

4. absorption

f ( f ) + v f + af = g t
3. convection 5. source

In the general 3-D case, A is a vector with three components. In the 2-D planar and axisymmetric cases, two of these three components are zero, leaving just the component in the out-off the page direction. The problem formulation on 3D magnetic field analysis may take advantage either on total scalar potential or on vector potential as the unknown in the node points.

1. parabolic, transient term

The general form of a differential equation with its possible coefficients in the particular terms In the coupled field problems, such coefficients are field dependent and represents the link between the various field types such as magnetic/thermal etc.
Avo R Design of Electrical Machines

Avo R

Design of Electrical Machines

18

Strong formulation
Industrial Electrical Engineering and Automation Industrial Electrical Engineering and Automation

Magnetostatics
The problem in electromagnetic analysis on a macroscopic level is the problem of solving Maxwells equations subject to certain boundary conditions. Magnetostatic problems are problems in which the fields are time-invariant. The field intensity H and flux density B must obey the rules

d d A +Q = 0 dx dx ( D t ) + Q = 0 ( D ) + Q = 0

Thermal problem bases on a scalar field The stationary heat problem is described as a balance between heat supply and dissipation Formulation for 1D, 2D and 3D heat problem

H = J B = 0
Avo R Design of Electrical Machines 20

Avo R

Design of Electrical Machines

19

EIEN20 Design of Electrical Machines, IEA, 2013

L4 Finite Element Method

Constitutive relation
Industrial Electrical Engineering and Automation

Magnetic vector potential


Industrial Electrical Engineering and Automation

Subject to a constitutive relationship between B and H for each material:

B = H
If a material is nonlinear, the permeability, is actually a function of B:

Finite element magnetic solver calculates a field that satisfies via a magnetic vector potential approach. Flux density is written in terms of the vector potential, A, as:

B = A

B H (B )

By rewriting the equation by the Amperes circuit law

1 =J (B ) A M PM m
agn
Avo R

etisa t

Avo R

Design of Electrical Machines

21

Design of Electrical Machines

ion

22

Time harmonic magnet problem


Industrial Electrical Engineering and Automation

Ohms Law

J = E

Avo R

Cause for electric field intensity B E = Fixed frequency and phasor t transformation Replacing B by A A = Re a(cos t + j sin t ) = Re ae jt & E = A = A t Practical formulation er Consider 2D & umb nal t lex n ditio gradien p d m A integration e Co 1 oltag a = ja + J V & v E = A V (B ) eff
Design of Electrical Machines 23

Adding new terms to Amperes Law 1 & (B ) A = A + J V

Finite Element Method Magnetics


FEMM for magnetic calculations

Industrial Electrical Engineering and Automation Lund University, Sweden

EIEN20 Design of Electrical Machines, IEA, 2013

L4 Finite Element Method

Electromagnetic device
Industrial Electrical Engineering and Automation

Finite Element Analysis


Industrial Electrical Engineering and Automation

Symmetry? Estimated magnetic flux flux=mmf/(Rg+Ry+Rt)=6e-4 Vs


mmf=N*I=180*2=360 A Rg=l/(0A)=6e+5 1/H Rt=l/(0A)=2e+4 1/H Ry=l/(0A)=4e+4 1/H

Pre-processing
Select appropriate size for the model Geometry Material properties and sources

Boundary conditions Discretization FE-mesh Processing Post-processing Field distribution, flow density, etc

Flux density B=flux/A=0.4T Force F=0.5B2/ 0A=177N

Avo R

Design of Electrical Machines

25

Avo R

Design of Electrical Machines

26

Boundary conditions
Industrial Electrical Engineering and Automation

FEMM Pre-Processor
Industrial Electrical Engineering and Automation

The boundary conditions are used to reduce the size of the FE model and to constrain the field that surrounds the electrical device.
Dirichlet (essential) condition - flux (equi-potential) lines are parallel to the boundary Neumann's (natural) condition (/n, VM/n known) determines the surfaces that the magnetic flux crosses orthogonally Periodicity condition is set to reduce the size of the model according to the periodic structure.

Drawing the endpoints of the lines and arc segments for a region, Connecting the endpoints with either line segments or arc segments to complete the region, Defining material properties and mesh sizing for each region, Specifying boundary conditions on the outer edges of the geometry.

Avo R

Design of Electrical Machines

27

Avo R

Design of Electrical Machines

28

EIEN20 Design of Electrical Machines, IEA, 2013

L4 Finite Element Method

Coil
Industrial Electrical Engineering and Automation Industrial Electrical Engineering and Automation

FEMM Post-Processor
Flux lines show magnetic coupling between the magnetic conductive parts Flux density indicate magnetic loading Generally the forces are calculated by using weighted Maxwells stress tensor Flux linkage can be obtained from circuit-data

Wire specification (AWG) Coil & circuit specification (number of turns, parallel/series, current)
Avo R Design of Electrical Machines 29

Avo R

Design of Electrical Machines

30

Force calculation I
Industrial Electrical Engineering and Automation Industrial Electrical Engineering and Automation

Force calculation II
Flux density, B Force integration lines

forces for 1 m long mover stator


Avo R Design of Electrical Machines 31 Avo R

mover
32

Design of Electrical Machines

EIEN20 Design of Electrical Machines, IEA, 2013

L4 Finite Element Method

FEMM and LUA Script


Industrial Electrical Engineering and Automation

Femm functions can be called by LUA Script Scripting is similar to Matlab, it is possible to create user-independent calculation loop Matlab can be used as a design environment that also generates LUA script

Home assignment
Performance analysis of a synchronous machine

Avo R

Design of Electrical Machines

33

Industrial Electrical Engineering and Automation Lund University, Sweden

Synchronous machine
Industrial Electrical Engineering and Automation Industrial Electrical Engineering and Automation

Analysis scope
q number of slots per phase and pole q=0.5, 1, 2 Np number of poles Np=2, 4, 6 Heat transfer analysis: find Jm Electromagnetism analysis: find Tm Understand results


phase a phase b phase c 1 0.866 0.5

Learning construction and energy conversion, Discover operation principle Current from heat transfer at given J@max Torque from magnetostatics T@Jmax

-0.5 -0.866 -1 0

Avo R

1/6

1/3

1/2

Design of Electrical Machines

2/3

5/6

35

Avo R

Design of Electrical Machines

36

EIEN20 Design of Electrical Machines, IEA, 2013

L4 Finite Element Method

Analysis goals
Industrial Electrical Engineering and Automation Industrial Electrical Engineering and Automation

Apart from home assignments


Would it be enough to model just air-gap in order to focus on useful energy conversion in electrical machine? Are there any boundary conditions that match perfect?

Construction realization + Energy conversion implementation


Avo R Design of Electrical Machines 37

Avo R

Design of Electrical Machines

38

EIEN20 Design of Electrical Machines, IEA, 2013

10

You might also like