explicit time integration of transient eddy current problems · pdf file2 graduate school ce,...

9
Explicit Time Integration of Transient Eddy Current Problems J. Dutin´ e 1* , M. Clemens 1 ,S.Sch¨ops 2 , G. Wimmer 3 1 Chair of Electromagnetic Theory, School of Electrical, Information and Media Engineering, University of Wuppertal, Rainer-Gruenter-Str. 21, 42119 Wuppertal, Germany 2 Graduate School CE, Technische Universit¨ at Darmstadt, Dolivostr. 15, 64293 Darmstadt, Germany 3 Fakult¨ at f¨ ur angewandte Natur- und Geisteswissenschaften, Hochschule f¨ ur angewandte Wissenschaften W¨ urzburg-Schweinfurt, Ignaz-Sch¨ onstr. 11, 97421 Schweinfurt, Germany Abstract. For time integration of transient eddy current problems com- monly implicit time integration methods are used, where in every time step one or several nonlinear systems of equations have to be linearized with the Newton-Raphson method due to ferromagnetic materials involved. In this paper, a generalized Schur-complement is applied to the magnetic vector po- tential formulation, which converts a differential-algebraic equation system of index 1 into a system of ordinary differential equations (ODE) with reduced stiffness. For the time integration of this ODE system of equations, the ex- plicit Euler method is applied. The Courant-Friedrich-Levy (CFL) stability criterion of explicit time integration methods may result in small time steps. Applying a pseudo-inverse of the discrete curl-curl operator in nonconducting regions of the problem is required in every time step. For the computation of the pseudo-inverse, the preconditioned conjugate gradient (PCG) method is used. The cascaded Subspace Extrapolation method (CSPE) is presented to produce suitable start vectors for these PCG iterations. The resulting scheme is validated using the TEAM 10 benchmark problem. 1 Introduction In the computation of magnetoquasistatic fields spatial discretization e.g by the Finite Element Method (FEM) of the magnetic vector potential formulation yields a differential- algebraic equation system of index 1 (DAE(1)) [1]. This DAE(1) system is of infinite stiffness and can only be integrated in time by suitable, unconditionally stable implicit This is the pre-peer reviewed version of the article, which has been accepted for publication by the International Journal of Numerical Modelling: Electronic Networks, Devices and Fields (ISSN: 1099- 1204). This article may be used for non-commercial purposes in accordance with Wiley Terms and Conditions for Self-Archiving. 1 arXiv:1701.03009v1 [cs.CE] 11 Jan 2017

Upload: buicong

Post on 22-Feb-2018

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Explicit Time Integration of Transient Eddy Current Problems · PDF file2 Graduate School CE, Technische Universit at Darmstadt, Dolivostr. 15, 64293 Darmstadt, Germany 3 Fakult at

Explicit Time Integration of Transient EddyCurrent Problems

J. Dutine1∗, M. Clemens1, S. Schops2, G. Wimmer3

1 Chair of Electromagnetic Theory, School of Electrical, Information and Media Engineering,University of Wuppertal, Rainer-Gruenter-Str. 21, 42119 Wuppertal, Germany

2 Graduate School CE, Technische Universitat Darmstadt, Dolivostr. 15, 64293 Darmstadt,Germany

3 Fakultat fur angewandte Natur- und Geisteswissenschaften, Hochschule fur angewandteWissenschaften Wurzburg-Schweinfurt, Ignaz-Schonstr. 11, 97421 Schweinfurt, Germany

Abstract. For time integration of transient eddy current problems com-monly implicit time integration methods are used, where in every time stepone or several nonlinear systems of equations have to be linearized with theNewton-Raphson method due to ferromagnetic materials involved. In thispaper, a generalized Schur-complement is applied to the magnetic vector po-tential formulation, which converts a differential-algebraic equation system ofindex 1 into a system of ordinary differential equations (ODE) with reducedstiffness. For the time integration of this ODE system of equations, the ex-plicit Euler method is applied. The Courant-Friedrich-Levy (CFL) stabilitycriterion of explicit time integration methods may result in small time steps.Applying a pseudo-inverse of the discrete curl-curl operator in nonconductingregions of the problem is required in every time step. For the computation ofthe pseudo-inverse, the preconditioned conjugate gradient (PCG) method isused. The cascaded Subspace Extrapolation method (CSPE) is presented toproduce suitable start vectors for these PCG iterations. The resulting schemeis validated using the TEAM 10 benchmark problem.

1 Introduction

In the computation of magnetoquasistatic fields spatial discretization e.g by the FiniteElement Method (FEM) of the magnetic vector potential formulation yields a differential-algebraic equation system of index 1 (DAE(1)) [1]. This DAE(1) system is of infinitestiffness and can only be integrated in time by suitable, unconditionally stable implicit

This is the pre-peer reviewed version of the article, which has been accepted for publication by theInternational Journal of Numerical Modelling: Electronic Networks, Devices and Fields (ISSN: 1099-1204). This article may be used for non-commercial purposes in accordance with Wiley Terms andConditions for Self-Archiving.

1

arX

iv:1

701.

0300

9v1

[cs

.CE

] 1

1 Ja

n 20

17

Page 2: Explicit Time Integration of Transient Eddy Current Problems · PDF file2 Graduate School CE, Technische Universit at Darmstadt, Dolivostr. 15, 64293 Darmstadt, Germany 3 Fakult at

J. Dutine, et al. – Explicit Time Integration of Transient Eddy Current Problems

time integration methods. Frequently used implicit time integration methods are e.g.the implicit Euler method or the singly diagonal implicit Runge-Kutta schemes (SDIRK)[2]. The nonlinear BH-characteristic in ferromagnetic materials requires the solution ofat least one large nonlinear equation system in every time step. For this, the Newton-Raphson method is an established linearization scheme which may require several it-erations per time step. In each Newton-Raphson iteration the stiffness-matrix and theJacobian-matrix need to be reassembled or at least updated and the resulting linear alge-braic equation system has to be solved. As these systems may be high dimensional for 3Dproblems, each time step is rather time consuming and the possibilities for accelerationand parallelization involve complicated numerical linear algebra techniques.

The use of the Newton-Raphson method can be avoided within explicit time integra-tion schemes which are not standard schemes for eddy current problems. An explicittime integration approach has been first proposed in [3], where the explicit Finite Dif-ference Time Domain (FDTD) method is used in the conductive regions of the problem.Here, in the nonconductive regions the boundary element method (BEM) is appliedfor computing the air parts of the solution, corresponding to a magnetostatic Poissonproblem [3]. As an alternative to the BEM, the use of an adapted Perfectly MatchedLayer (PML) is proposed in [4]. In [5] and [6], the conductive and nonconductive regionsare also treated differently. Here, within a Discontinuous Galerkin FEM-framework theexplicit time integration method is used for regions with conductive materials, whilean FEM formulation with continuous ansatz functions and an implicit time integrationmethod are applied to the nonconductive regions [5],[6].The work presented in this paper is originally based on an approach proposed in [1] and[7] based on a Schur-complement reformulation of the magnetoquasistatic problem. Inthis paper, the use of a generalized Schur-complement is proposed in which a pseudo-inverse of the singular curl-curl matrix is considered in the nonconductive regions. Thesolution of the resulting system of equations is obtained by the preconditioned conju-gate gradient (PCG) method. As this results in a multiple right-hand side problem, anoptimized starting vector for the PCG-method can be computed by the subspace pro-jection extrapolation method (SPE) [8]. The algorithm of the SPE has been modifiedto a cascaded SPE (CSPE) scheme that is used throughout this work. The generalizedSchur-complement formulation will be explained in Section 2, SPE and CSPE will beoutlined in Section 3 and the corresponding numerical results will be presented in Section4.

2 Mathematical Formulation

The partial differential equation describing maqnetoquasistatic problems using the mag-netic vector potential is given by:

κ∂~A(t)

∂t+ ~∇×

(ν(~A(t)

)~∇× ~A(t)

)= ~Js(t), (1)

2

Page 3: Explicit Time Integration of Transient Eddy Current Problems · PDF file2 Graduate School CE, Technische Universit at Darmstadt, Dolivostr. 15, 64293 Darmstadt, Germany 3 Fakult at

J. Dutine, et al. – Explicit Time Integration of Transient Eddy Current Problems

in which κ is the electrical conductivity, ~A(t) is the time-dependent magnetic vectorpotential, ν is the reluctivity which may be nonlinear in ferromagnetic materials and~Js(t) is the time-dependent source current density.

Spatial discretization of (1) by e.g. FEM [9] or the finite integration technique (FIT)[10], results in a differential-algebraic system of equations of index 1 (DAE(1)) of theform

Md

dta + K(a)a = js, (2)

where M is the mass-matrix of conductivities, a is the vector of the degrees of freedom(dofs) corresponding to the magnetic vector potential, K is the stiffness-matrix of re-luctivities corresponding to the singular curl-curl operator discretization and js is thetransient source current density. A solenoidal right-hand side in (2) ensures the existenceof a solution, which is achieved if the source current density equals the curl of the electricvector potential [11].

The dofs vector a in (2) is reordered into a part an corresponding to dofs in thenonconductive regions and into a part ac corresponding to dofs in conductive regions.The matrices K and M are decomposed accordingly and yield the reformulation of (2)with [

Mcc 00 0

]d

dt

[acan

]+

[Kcc(ac) Kcn

KTcn Knn

] [acan

]=

[0js,n

], (3)

where Mcc is the conductivity matrix, Kcc is the part of the curl-curl matrix in conduc-tive media, Knn is the singular curl-curl part in air and Kcn and is the coupling part ofK between both conducting and non-conducting regions, and js,n is the source currentdensity in the nonconductive region. Applying the Schur-complement to (3), transformsthe infinitely stiff DAE(1) into an ordinary differential equation system (ODE) of finitestiffness [7]

Mccd

dtac +

[Kcc(ac)−

(KcnK

#nnK

Tcn

)]ac = −KcnK

−1nnjs,n, (4a)

an = K#nnjs,n −K#

nnKTcnac, (4b)

where K#nn is the matrix representation of the pseudo-inverse of Knn. The matrix

product KcnK#nnKT

cn is the generalized Schur complement.Equation (4a) represents an ODE in which the explicit Euler method with time step

width ∆t can be used. In the (m+ 1)-th time step

am+1c := amc + ∆tM−1

cc

[KcnK

#nnj

m+1s,n −

(Kcc(a

mc )−KcnK

#nnK

Tcn

)amc

], (5)

is computed. With am+1c the solution vector am+1

n for the degrees of freedom in thenonconductive region can be separately calculated with

am+1n := K#

nnjm+1s,n −K#

nnKTcna

m+1c . (6)

3

Page 4: Explicit Time Integration of Transient Eddy Current Problems · PDF file2 Graduate School CE, Technische Universit at Darmstadt, Dolivostr. 15, 64293 Darmstadt, Germany 3 Fakult at

J. Dutine, et al. – Explicit Time Integration of Transient Eddy Current Problems

The singular matrix Knn could be regularized with a grad-div-regularization resultingin a discrete vector Laplacian operator in free space [7]. As this is computationallyexpensive [7], here the computation of a pseudo-inverse is proposed using the PCGmethod. In (5) and (6), the pseudo-inverse is evaluated by solving systems of the kind:

Knnkp = r, (7a)

kp := K#nnr, (7b)

where r represents one of the vectors with which K#nn is multiplied in (5), (6), i.e.

jm+1s,n , KT

cnamc and KT

cnam+1c . The matrix K#

nn does not need to be computed explicitely.Alternatively, a vector kp according to (7a), (7b) is computed by the PCG method for

each right-hand side r stated above replacing a matrix vector multiplication K#nnr in

(5), (6) with the discrete pseudo-inverse operator.

3 SPE and CSPE

For the evaluation of the pseudo-inverse and for the application of the inverse of thematrix Mcc in (5) and (6) algebraic systems of equations are solved by the PCG method.Due to constant matrices Mcc and Knn the corresponding systems of equations formmultiple right-hand side (mrhs) problems.

Solutions for kp from previous time steps are used to obtain an improved start vectorfor the PCG method. Within the subspace projection extrapolation (SPE) start vectorgeneration method [8], the solution vectors from m previous time steps are orthonor-malized by the modified Gram-Schmidt process (MGS) to form the linearly independentcolumn vectors of an operator V = {v1 | ... | vm}. Solving the projected system:

VTKnnVz = VTr, (8)

where r is the varying right-hand side vector, with a direct method yields the vectorz ∈ Rm. This holds the coefficients for computing a new start vector

x0,SPE := Vz, (9)

by linear combination of the earlier computed column vectors of the operator V [8].In this work, the SPE method is employed as follows: In the (m + 1)-th time step,

the solution from the last, i.e. m-th, time step is orthonormalized against the columnvectors in V by MGS, and is referred to as vm+1. If the number of required PCGiterations is larger in the m-th time step than it has been in the (m − 1)-th time step,vm+1 is appended as column vector to the operator V. Otherwise, it is inserted intothe last column of the operator V. An increasing number of PCG iterations resultsfrom increasingly worse start vectors obtained with an operator V storing insufficientinformation with respect to the new vector r. Appending vm+1 increases the spectralinformation content of V without deleting any information from previously includedcolumn vectors. In the computation of the product KnnV in (8) only the matrix-column-vector product Knn vm+1 changes in every time step. The other matrix-vectorproducts Knn vi, i = 1, ...,m, have been computed at previous time steps and can bereused. This modified version of the SPE is the so called ”Cascaded SPE” (CSPE).

4

Page 5: Explicit Time Integration of Transient Eddy Current Problems · PDF file2 Graduate School CE, Technische Universit at Darmstadt, Dolivostr. 15, 64293 Darmstadt, Germany 3 Fakult at

J. Dutine, et al. – Explicit Time Integration of Transient Eddy Current Problems

4 Numerical Results

The nonlinear magnetoquasistatic TEAM benchmark problem ”TEAM 10” [12] is sim-ulated. It consists of two steel plates in the shape of square brackets that are placedfacing each other with a third, rectangular steel plate in their midst, with small air gapsin between, as depicted in Figure 1. At time t = 0 s, the current in the excitation coilstarts to increase according to a (1 − exp(−t/τ)) function and the reaction of the fieldof the magnetic flux density was simulated for the first 120 ms. The time step width forthe explicit Euler method is bounded by

∆t ≤ 2

λmax

(M−1

cc

(Kcc(ac)−KcnK

#nnKT

cn

)) , (10)

as stated in [1]. For the maximum eigenvalue λmax the proportionality:

λmax

(M−1

cc

(Kcc(ac)−KcnK

#nnK

Tcn

))∝ 1

h2κµ, (11)

holds, whereas µ is the permeability, κ is the conductivity and h is the smallest edgelength of the mesh used for spatial discretization.

Figure 1: Geometry of the TEAM 10 model. The line S1 qualitatively shows where theaverage magnetic flux density is measured

Eqn. (11) shows that a fine mesh resolution, e.g. of an narrow air gap, results in asmall maximum stable CFL-time step criterion. A rather coarse mesh with 29,532 dofs isemployed in order to allow for the variation of several parameters in an acceptable overall

5

Page 6: Explicit Time Integration of Transient Eddy Current Problems · PDF file2 Graduate School CE, Technische Universit at Darmstadt, Dolivostr. 15, 64293 Darmstadt, Germany 3 Fakult at

J. Dutine, et al. – Explicit Time Integration of Transient Eddy Current Problems

simulation time. The maximum stable time step width for this mesh is ∆t = 1.2µs. Asstated in Section 3, the number of column vectors in the CSPE operator V is increasedif the number of PCG iterations required in each time step is increasing. Preventingthe number of column vectors in V from becoming too large, thus resulting in moreexpensive computations in the evaluation of (8), is done by additionally setting a limitof accepted PCG iterations (NCG,acc.). The number of column vectors in V is onlyincreased if NCG,acc. is exceeded. Parameters varied in the simulations are NCG,acc.

and the tolerance for the stopping criterion for the PCG method when computing thepseudo-inverse. For each PCG tolerance tolPCG ∈ {10−8, 10−7, 10−6} simulations withNCG,acc. ∈ {1, 3, 5} are run, in order to check the effect on the accuracy of the calculatedmagnetic flux density and on the simulation time.

Such a coarse mesh does not yield sufficient accuray with respect to the measuredreference results published in [12]. Therefore, the results for the magnetic flux densityobtained in simulations with the explicit time integration scheme are compared with theresults of a reference simulation on the same mesh using the standard formulation andthe implicit Euler method for time integration. The results are depcited in Figure 2and show good agreement. In order to prove the accuracy of the employed code itselfusing an implicit time integration method, a finer discretization with about 700,000 dofsis chosen, resulting in a simulation time of 5.38 days on a workstation with an IntelXeon E5-2660 processor. The results are presented in Figure 3. Independent of the timeintegration method, the spatial disretization is done by FEM based on 1st order edgeelements.

Figure 2: Comparison of results of implicitand explicit time integration atposition S1

Figure 3: Comparison of simulation withabout 700,000 dofs and measuredresults stated in [12]

The number of averagely used PCG iterations is decreased by reducing the prescribedPCG tolerance and by increasing the number of column vectors in the CSPE operatorV, as becomes evident in Figures 4 and 5. For each PCG tolerance, the use of the CSPEmethod reduces the average number of PCG iterations compared to using the solution

6

Page 7: Explicit Time Integration of Transient Eddy Current Problems · PDF file2 Graduate School CE, Technische Universit at Darmstadt, Dolivostr. 15, 64293 Darmstadt, Germany 3 Fakult at

J. Dutine, et al. – Explicit Time Integration of Transient Eddy Current Problems

Figure 4: Average number of required PCGiterations

Figure 5: Maximum number of column vec-tors in the CSPE operator V

Figure 6: Duration of the simulations with explicit time integration

from the previous time step as start vector by a factor of at least 4 up to a maximumof a factor 12. The effect of the number of column vectors in the operator V on theaverage number of required PCG iterations is less pronounced for lower PCG tolerances.Figure 2 demonstrates that there is no loss in accuracy by using a PCG tolerance of 10−6

when computing the pseudo-inverse for this test example. Figure 5 shows that a rathersmall number of column vectors of less than 20 in the CSPE operater V is sufficient.The simulation time is reduced by relaxing the PCG tolerance and using CSPE, as isshown in Figure 6. A decrease of simulation time with these two schemes by a factor ofabout 2.22 was achieved. However, the time needed for simulating this problem with animplicit Euler method was 2.35 h, so another speed-up of at least a factor of 1.9 will benecessary for the approach proposed in this method to become faster than the standardmethod using an implicit time integration scheme.

7

Page 8: Explicit Time Integration of Transient Eddy Current Problems · PDF file2 Graduate School CE, Technische Universit at Darmstadt, Dolivostr. 15, 64293 Darmstadt, Germany 3 Fakult at

J. Dutine, et al. – Explicit Time Integration of Transient Eddy Current Problems

5 Conclusion

A generalized Schur-complement was applied to the spatially discretized magnetic vectorpotential formulaiton of the eddy current problem. This transformed an inifitely stiffDAE(1) into an ODE of finite stiffness that was integrated in time using the explicitEuler method, thus avoiding linearization by the Newton-Raphson method. Withinthe generalized Schur-complement approach a pseudo-inverse for the singular curl-curl-matrix was evaluated by the PCG method. The average number of PCG iterations forevaluating this pseudo-inverse could be significantly reduced by generating an improvedstart vector for PCG with the CSPE method, which was demonstrated on simulationsof the ferromagnetic TEAM 10 benchmark problem. Although the simulation time wasreduced by use of the CSPE method, the main objective of being faster than the implicittime integration method should only become visible in case of easier to accomplishparallel implementation for massive many core systems. Further investigations shouldfocus on further increasing the speed with which each time step is executed and onreducing the number of required time steps by using coarse space discretization combinedwith higher order schemes.

Acknowledgement

This work was supported by DFG grants CL-143/11-1 and SCHO-1562/1- 1, the Excel-lence Initiative of German Federal and State Governments and the Graduate School CEat TU Darmstadt.

References

[1] Schops S, Bartel A, Clemens M. Higher Order Half-Explicit Time Integration ofEddy Current Problems Using Domain Substructuring. IEEE Transactions on Mag-netics 2012; 48(2), pp. 623-626, DOI:10.1109/TMAG.2011.2172780.

[2] Hairer E, Wanner G. 2010. Solving Ordinary Differential Equations II: Stiff andDifferential-Algebraic Problems (2nd rev. edn). Springer-Verlag.

[3] Yioultsis TV, Charitou KS, Antonopoulos CS, Tsiboukis TD. A Finite DifferenceTime Domain Scheme for Transient Eddy Current Problems. IEEE Transactions onMagnetics 2001; 37(5), pp. 3145-3149, DOI:10.1109/20.952563.

[4] Yioultsis TV. Explicit Finite-Difference Time-Domain Method With PerfectlyMatched Layers for Transient Low-Frequency Eddy-Current Analysis. IEEE Transac-tions on Magnetics 2002; 38(5), pp. 3439-3447, DOI:10.1109/TMAG.2002.802742.

[5] Außerhofer S, Bıro O, Preis K. Discontinuous Galerkin Formulation for Eddy-CurrentProblems. COMPEL 2009; 28(4), pp. 1081-1090, DOI:10.1108/03321640910959125.

8

Page 9: Explicit Time Integration of Transient Eddy Current Problems · PDF file2 Graduate School CE, Technische Universit at Darmstadt, Dolivostr. 15, 64293 Darmstadt, Germany 3 Fakult at

J. Dutine, et al. – Explicit Time Integration of Transient Eddy Current Problems

[6] Außerhofer S, Bıro O, Preis K. Discontinuous Galerkin Finite Elements in TimeDomain Eddy-Current Problems. IEEE Transactions on Magnetics 2009; 45(3),pp. 1300-1303, DOI:10.1109/TMAG.2009.2012604.

[7] Clemens M, Schops S, De Gersem H, Bartel A. Decomposition and Regularizationof Nonlinear Anisotropic Curl-Curl DAEs. COMPEL 2011; 30(6), pp. 1701-1714,DOI:10.1108/03321641111168039.

[8] Clemens M, Wilke M, Schuhmann R, Weiland T. Subspace Projection Extrap-olation Scheme for Transient Field Simulations. IEEE Transactions on Magnet-ics 2004; 40(2), pp. 934-937, DOI:10.1109/TMAG.2004.824583.

[9] Kameari A. Calculation of Transient 3D Eddy Current Using Edge-Elements. IEEETransactions on Magnetics 1990; 26(5), pp. 466-469, DOI:10.1109/20.106354.

[10] Clemens M, Weiland T. Transient Eddy Current Caclulation with theFI-Method. IEEE Transactions on Magnetics 1999; 35(3), pp. 1163-1166,DOI:10.1109/20.767155.

[11] Ren Z. Influence of the R.H.S. on the Convergence Behaviour of the Curl-Curl Equation. IEEE Transactions on Magnetics 1996; 32(3), pp. 655-658,DOI:10.1109/20.497323.

[12] Nakata T, Fujiwara K. Results for Benchmark Problem 10 (Steel Plates Around aCoil). COMPEL 1990; 9(3), pp. 181-192, DOI:10.1108/eb010074.

9