This page intentionally left blank
The Finite Element Method for Electromagnetic Modeling
This page intentionally l...
587 downloads
4928 Views
5MB Size
Report
This content was uploaded by our users and we assume good faith they have the permission to share this book. If you own the copyright to this book and it is wrongfully on our website, we offer a simple DMCA procedure to remove your content from our site. Start by pressing the button below!
Report copyright / DMCA form
This page intentionally left blank
The Finite Element Method for Electromagnetic Modeling
This page intentionally left blank
The Finite Element Method for Electromagnetic Modeling
Edited by Gérard Meunier
First published in France in three volumes by Hermes Science/Lavoisier entitled “Electromagnétisme et éléments finis Vol. 1, 2 et 3” First published in Great Britain and the United States in 2008 by ISTE Ltd and John Wiley & Sons, Inc. Apart from any fair dealing for the purposes of research or private study, or criticism or review, as permitted under the Copyright, Designs and Patents Act 1988, this publication may only be reproduced, stored or transmitted, in any form or by any means, with the prior permission in writing of the publishers, or in the case of reprographic reproduction in accordance with the terms and licenses issued by the CLA. Enquiries concerning reproduction outside these terms should be sent to the publishers at the undermentioned address: ISTE Ltd 6 Fitzroy Square London W1T 5DX UK
John Wiley & Sons, Inc. 111 River Street Hoboken, NJ 07030 USA
www.iste.co.uk
www.wiley.com
© ISTE Ltd, 2008 © LAVOISIER, 2002, 2003 The rights of Gérard Meunier to be identified as the author of this work have been asserted by him in accordance with the Copyright, Designs and Patents Act 1988. Library of Congress Cataloging-in-Publication Data Electromagnétisme et éléments finis. English The finite element method for electromagnetic modeling / edited by Gérard Meunier. p. cm. Includes bibliographical references and index. ISBN: 978-1-84821-030-1 1. Electromagnetic devices--Mathematical models. 2. Electromagnetism--Mathematical models. 3. Engineering mathematics. 4. Finite element method. I. Meunier, Gérard. TK7872.M25E4284 2008 621.301'51825--dc22 2007046086 British Library Cataloguing-in-Publication Data A CIP record for this book is available from the British Library ISBN: 978-1-84821-030-1 Printed and bound in Great Britain by Antony Rowe Ltd, Chippenham, Wiltshire.
Table of Contents
Chapter 1. Introduction to Nodal Finite Elements . . . . . . . . . . . . . . . . Jean-Louis COULOMB
1
1.1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.1.1. The finite element method . . . . . . . . . . . . . . . . . . . . . . . . . 1.2. The 1D finite element method . . . . . . . . . . . . . . . . . . . . . . . . . 1.2.1. A simple electrostatics problem . . . . . . . . . . . . . . . . . . . . . . 1.2.2. Differential approach . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.2.3. Variational approach . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.2.4. First-order finite elements . . . . . . . . . . . . . . . . . . . . . . . . . 1.2.5. Second-order finite elements . . . . . . . . . . . . . . . . . . . . . . . 1.3. The finite element method in two dimensions . . . . . . . . . . . . . . . . 1.3.1. The problem of the condenser with square section. . . . . . . . . . . 1.3.2. Differential approach . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.3.3. Variational approach . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.3.4. Meshing in first-order triangular finite elements . . . . . . . . . . . . 1.3.5. Finite element interpolation . . . . . . . . . . . . . . . . . . . . . . . . 1.3.6. Construction of the system of equations by the Ritz method . . . . . 1.3.7. Calculation of the matrix coefficients . . . . . . . . . . . . . . . . . . 1.3.8. Analysis of the results . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.3.9. Dual formations, framing and convergence . . . . . . . . . . . . . . . 1.3.10. Resolution of the nonlinear problems. . . . . . . . . . . . . . . . . . 1.3.11. Alternative to the variational method: the weighted residues method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.4. The reference elements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.4.1. Linear reference elements . . . . . . . . . . . . . . . . . . . . . . . . . 1.4.2. Surface reference elements. . . . . . . . . . . . . . . . . . . . . . . . . 1.4.3. Volume reference elements . . . . . . . . . . . . . . . . . . . . . . . . 1.4.4. Properties of the shape functions . . . . . . . . . . . . . . . . . . . . . 1.4.5. Transformation from reference coordinates to domain coordinates . 1.4.6. Approximation of the physical variable . . . . . . . . . . . . . . . . .
1 1 2 2 3 4 6 9 10 10 12 14 15 17 19 21 25 42 44 45 47 48 49 52 53 54 56
vi
The Finite Element Method for Electromagnetic Modeling
1.4.7. Numerical integrations on the reference elements 1.4.8. Local Jacobian derivative method . . . . . . . . . 1.5. Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . 1.6. References . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . .
. . . .
. . . .
Chapter 2. Static Formulations: Electrostatic, Electrokinetic, Magnetostatics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Patrick DULAR and Francis PIRIOU 2.1. Problems to solve . . . . . . . . . . . . . . . . . . . . . . . . . 2.1.1. Maxwell’s equations . . . . . . . . . . . . . . . . . . . . 2.1.2. Behavior laws of materials . . . . . . . . . . . . . . . . . 2.1.3. Boundary conditions . . . . . . . . . . . . . . . . . . . . 2.1.4. Complete static models . . . . . . . . . . . . . . . . . . . 2.1.5. The formulations in potentials. . . . . . . . . . . . . . . 2.2. Function spaces in the fields and weak formulations . . . . 2.2.1. Integral expressions: introduction. . . . . . . . . . . . . 2.2.2. Definitions of function spaces . . . . . . . . . . . . . . . 2.2.3. Tonti diagram: synthesis scheme of a problem . . . . . 2.2.4. Weak formulations . . . . . . . . . . . . . . . . . . . . . 2.3. Discretization of function spaces and weak formulations . 2.3.1. Finite elements . . . . . . . . . . . . . . . . . . . . . . . . 2.3.2. Sequence of discrete spaces . . . . . . . . . . . . . . . . 2.3.3. Gauge conditions and source terms in discrete spaces. 2.3.4. Weak discrete formulations . . . . . . . . . . . . . . . . 2.3.5. Expression of global variables. . . . . . . . . . . . . . . 2.4. References . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . .
. . . .
60 63 66 66
. . . . . . . .
69
. . . . . . . . . . . . . . . . . .
. . . .
. . . . . . . . . . . . . . . . . .
. . . .
. . . . . . . . . . . . . . . . . .
. . . .
. . . . . . . . . . . . . . . . . .
. . . .
. . . . . . . . . . . . . . . . . .
. . . .
. . . . . . . . . . . . . . . . . .
70 70 71 71 74 75 82 82 82 84 86 91 91 93 106 109 114 115
Chapter 3. Magnetodynamic Formulations . . . . . . . . . . . . . . . . . . . . Zhuoxiang REN and Frédéric BOUILLAULT
117
3.1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 3.2. Electric formulations . . . . . . . . . . . . . . . . . . . . 3.2.1. Formulation in electric field . . . . . . . . . . . . . 3.2.2. Formulation in combined potentials a - \ . . . . 3.2.3. Comparison of the formulations in field and in combined potentials . . . . . . . . . . . . . . . . . 3.3. Magnetic formulations . . . . . . . . . . . . . . . . . . . 3.3.1. Formulation in magnetic field . . . . . . . . . . . . 3.3.2. Formulation in combined potentials t - I . . . . . 3.3.3. Numerical example . . . . . . . . . . . . . . . . . . 3.4. Hybrid formulation . . . . . . . . . . . . . . . . . . . . . 3.5. Electric and magnetic formulation complementarities 3.5.1. Complementary features . . . . . . . . . . . . . . . 3.5.2. Concerning the energy bounds . . . . . . . . . . . 3.5.3. Numerical example . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . .
. . . . . . . . . . . . . . . . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
117 119 119 120
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
121 123 123 124 125 127 128 128 129 129
Table of Contents
vii
3.6. Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.7. References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
133 134
Chapter 4. Mixed Finite Element Methods in Electromagnetism . . . . . . Bernard BANDELIER and Françoise RIOUX-DAMIDAU
139
4.1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.2. Mixed formulations in magnetostatics. . . . . . . . . . . . . . . . . . . . . 4.2.1. Magnetic induction oriented formulation . . . . . . . . . . . . . . . . 4.2.2. Formulation oriented magnetic field . . . . . . . . . . . . . . . . . . . 4.2.3. Formulation in induction and field . . . . . . . . . . . . . . . . . . . . 4.2.4. Alternate case . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.3. Energy approach: minimization problems, searching for a saddle-point. 4.3.1. Minimization of a functional calculus related to energy . . . . . . . 4.3.2. Variational principle of magnetic energy . . . . . . . . . . . . . . . . 4.3.3. Searching for a saddle-point . . . . . . . . . . . . . . . . . . . . . . . . 4.3.4. Functional calculus related to the constitutive relationship . . . . . . 4.4. Hybrid formulations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.4.1. Magnetic induction oriented hybrid formulation . . . . . . . . . . . . 4.4.2. Hybrid formulation oriented magnetic field. . . . . . . . . . . . . . . 4.4.3. Mixed hybrid method . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.5. Compatibility of approximation spaces – inf-sup condition . . . . . . . . 4.5.1. Mixed magnetic induction oriented formulation . . . . . . . . . . . . 4.5.2. Mixed formulation oriented magnetic field . . . . . . . . . . . . . . . 4.5.3. General case . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.6. Mixed finite elements, Whitney elements. . . . . . . . . . . . . . . . . . . 4.6.1. Magnetic induction oriented formulation . . . . . . . . . . . . . . . . 4.6.2. Magnetic field oriented formulation . . . . . . . . . . . . . . . . . . . 4.7. Mixed formulations in magnetodynamics. . . . . . . . . . . . . . . . . . . 4.7.1. Magnetic field oriented formulation . . . . . . . . . . . . . . . . . . . 4.7.2. Formulation oriented electric field . . . . . . . . . . . . . . . . . . . . 4.8. Solving techniques . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.8.1. Penalization methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.8.2. Algorithm using the Schur complement . . . . . . . . . . . . . . . . . 4.9. References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
139 140 141 144 146 147 147 147 149 151 154 154 154 156 157 157 158 160 160 161 162 163 164 164 167 167 168 171 174
Chapter 5. Behavior Laws of Materials . . . . . . . . . . . . . . . . . . . . . . Frédéric BOUILLAULT, Afef KEDOUS-LEBOUC, Gérard MEUNIER, Florence OSSART and Francis PIRIOU
177
5.1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.2. Behavior law of ferromagnetic materials . . . . . . . . . . . . 5.2.1. Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.2.2. Hysteresis and anisotropy . . . . . . . . . . . . . . . . . . 5.2.3. Classificiation of models dealing with the behavior law 5.3. Implementation of nonlinear behavior models . . . . . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
177 178 178 179 180 183
viii
The Finite Element Method for Electromagnetic Modeling
5.3.1. Newton method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.3.2. Fixed point method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.3.3. Particular case of a behavior with hysteresis . . . . . . . . . . . . . . 5.4. Modeling of magnetic sheets . . . . . . . . . . . . . . . . . . . . . . . . . . 5.4.1. Some words about magnetic sheets. . . . . . . . . . . . . . . . . . . . 5.4.2. Example of stress in the electric machines . . . . . . . . . . . . . . . 5.4.3. Anisotropy of sheets with oriented grains . . . . . . . . . . . . . . . . 5.4.4. Hysteresis and dynamic behavior under uniaxial stress . . . . . . . . 5.4.5. Determination of iron losses in electric machines: nonlinear isotropic finite element modeling and calculation of the losses a posteriori . . . . . 5.4.6. Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.5. Modeling of permanent magnets . . . . . . . . . . . . . . . . . . . . . . . . 5.5.1. Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.5.2. Magnets obtained by powder metallurgy . . . . . . . . . . . . . . . . 5.5.3. Study of linear anisotropic behavior . . . . . . . . . . . . . . . . . . . 5.5.4. Study of nonlinear behavior . . . . . . . . . . . . . . . . . . . . . . . . 5.5.5. Implementation of the model in finite element software . . . . . . . 5.5.6. Validation: the experiment by Joel Chavanne . . . . . . . . . . . . . 5.5.7. Conductive magnet subjected to an AC field . . . . . . . . . . . . . . 5.6. Modeling of superconductors . . . . . . . . . . . . . . . . . . . . . . . . . . 5.6.1. Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.6.2. Behavior of superconductors . . . . . . . . . . . . . . . . . . . . . . . 5.6.3. Modeling of electric behavior of superconductors . . . . . . . . . . . 5.6.4. Particular case of the Bean model. . . . . . . . . . . . . . . . . . . . . 5.6.5. Examples of modeling . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.7. Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.8. References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
183 187 191 192 192 192 194 200 209 215 216 216 216 218 220 223 224 225 226 226 227 230 232 237 240 241
Chapter 6. Modeling on Thin and Line Regions . . . . . . . . . . . . . . . . . Christophe GUÉRIN
245
6.1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.2. Different special elements and their interest . . . . . . . . . . . . . . . 6.3. Method for taking into account thin regions without potential jump . 6.4. Method for taking into account thin regions with potential jump . . . 6.4.1. Analytical integration method . . . . . . . . . . . . . . . . . . . . . 6.4.2. Numerical integration method . . . . . . . . . . . . . . . . . . . . . 6.5. Method for taking thin regions into account . . . . . . . . . . . . . . . 6.6. Thin and line regions in magnetostatics . . . . . . . . . . . . . . . . . . 6.6.1. Thin and line regions in magnetic scalar potential formulations. 6.6.2. Thin and line regions in magnetic vector potential formulations 6.7. Thin and line regions in magnetoharmonics . . . . . . . . . . . . . . . 6.7.1. Solid conducting regions presenting a strong skin effect . . . . . 6.7.2. Thin conducting regions . . . . . . . . . . . . . . . . . . . . . . . .
245 245 249 250 251 252 255 256 256 257 257 258 265
. . . . . . . . . . . . .
. . . . . . . . . . . . .
Table of Contents
6.8. Thin regions in electrostatic problems: “electric harmonic problems” and electric conduction problems . . . . . . . . . . . . . . . . . . . . . . . . . . 6.9. Thin thermal regions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.10. References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ix
272 272 273
Chapter 7. Coupling with Circuit Equations . . . . . . . . . . . . . . . . . . . 277 Gérard MEUNIER, Yvan LEFEVRE, Patrick LOMBARD and Yann LE FLOCH 7.1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.2. Review of the various methods of setting up electric circuit equations . 7.2.1. Circuit equations with nodal potentials . . . . . . . . . . . . . . . . . 7.2.2. Circuit equations with mesh currents. . . . . . . . . . . . . . . . . . . 7.2.3. Circuit eqautions with time integrated nodal potentials . . . . . . . . 7.2.4. Formulation of circuit equations in the form of state equations . . . 7.2.5. Conclusion on the methods of setting up electric equations . . . . . 7.3. Different types of coupling . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.3.1. Indirect coupling. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.3.2. Integro-differential formulation . . . . . . . . . . . . . . . . . . . . . . 7.3.3. Simultaneous resolution . . . . . . . . . . . . . . . . . . . . . . . . . . 7.3.4. Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.4. Establishment of the “current-voltage” relations . . . . . . . . . . . . . . 7.4.1. Insulated massive conductor with two ends: basic assumptions and preliminary relations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.4.2. Current-voltage relations using the magnetic vector potential . . . . 7.4.3. Current-voltage relations using magnetic induction . . . . . . . . . . 7.4.4. Wound conductors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.4.5. Losses in the wound conductors . . . . . . . . . . . . . . . . . . . . . 7.5. Establishment of the coupled field and circuit equations . . . . . . . . . . 7.5.1. Coupling with a vector potential formulation in 2D . . . . . . . . . . 7.5.2. Coupling with a vector potential formulation in 3D . . . . . . . . . . 7.5.3. Coupling with a scalar potential formulation in 3D . . . . . . . . . . 7.6. General conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.7. References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Chapter 8. Modeling of Motion: Accounting for Movement in the Modeling of Magnetic Phenomena . . . . . . . . . . . . . . . . . . . . . . . . . Vincent LECONTE 8.1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.2. Formulation of an electromagnetic problem with motion 8.2.1. Definition of motion . . . . . . . . . . . . . . . . . . . 8.2.2. Maxwell equations and motion . . . . . . . . . . . . . 8.2.3. Formulations in potentials . . . . . . . . . . . . . . . . 8.2.4. Eulerian approach . . . . . . . . . . . . . . . . . . . . . 8.2.5. Lagrangian approach . . . . . . . . . . . . . . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
277 278 278 279 280 281 283 284 285 285 285 285 286 286 287 288 290 291 292 292 303 310 317 318 321 321 322 322 325 329 335 338
x
The Finite Element Method for Electromagnetic Modeling
8.2.6. Example application. . . . . . . . . . . . . . . . . . . . . . . . . . . 8.3. Methods for taking the movement into account . . . . . . . . . . . . . 8.3.1. Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.3.2. Methods for rotating machines . . . . . . . . . . . . . . . . . . . . 8.3.3. Coupling methods without meshing and with the finite element method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.3.4. Coupling of boundary integrals with the finite element method . 8.3.5. Automatic remeshing methods for large distortions . . . . . . . . 8.4. Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.5. References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . .
. . . .
342 346 346 346
. . . . .
. . . . .
348 350 355 362 363
Chapter 9. Symmetric Components and Numerical Modeling . . . . . . . . Jacques LOBRY, Eric NENS and Christian BROCHE
369
9.1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.2. Representation of group theory . . . . . . . . . . . . . . . . 9.2.1. Finite groups . . . . . . . . . . . . . . . . . . . . . . . . 9.2.2. Symmetric functions and irreducible representations 9.2.3. Orthogonal decomposition of a function. . . . . . . . 9.2.4. Symmetries and vector fields . . . . . . . . . . . . . . 9.3. Poisson’s problem and geometric symmetries . . . . . . . 9.3.1. Differential and integral formulations . . . . . . . . . 9.3.2. Numerical processing . . . . . . . . . . . . . . . . . . . 9.4. Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.4.1. 2D magnetostatics . . . . . . . . . . . . . . . . . . . . . 9.4.2. 3D magnetodynamics . . . . . . . . . . . . . . . . . . . 9.5. Conclusions and future work . . . . . . . . . . . . . . . . . 9.6. References . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . .
. . . . . . . . . . . . . .
369 371 371 374 378 379 384 384 387 388 388 394 403 404
Chapter 10. Magneto-thermal Coupling . . . . . . . . . . . . . . . . . . . . . . Mouloud FÉLIACHI and Javad FOULADGAR
405
10.1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 10.2. Magneto-thermal phenomena and fundamental equations 10.2.1. Electromagentism . . . . . . . . . . . . . . . . . . . . . 10.2.2. Thermal . . . . . . . . . . . . . . . . . . . . . . . . . . . 10.2.3. Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10.3. Behavior laws and couplings . . . . . . . . . . . . . . . . . 10.3.1. Electrmagnetic phenomena . . . . . . . . . . . . . . . . 10.3.2. Thermal phenomena . . . . . . . . . . . . . . . . . . . . 10.3.3. Flow phenomena . . . . . . . . . . . . . . . . . . . . . . 10.4. Resolution methods . . . . . . . . . . . . . . . . . . . . . . . 10.4.1. Numerical methods . . . . . . . . . . . . . . . . . . . . 10.4.2. Semi-analytical methods . . . . . . . . . . . . . . . . . 10.4.3. Analytical-numerical methods . . . . . . . . . . . . . . 10.4.4. Magneto-thermal coupling models . . . . . . . . . . .
. . . . . . . . . . . . . .
. . . . . . . . . . . . . .
. . . . . . . . . . . . . .
. . . . . . . . . . . . . .
. . . . . . . . . . . . . .
. . . . . . . . . . . . . .
. . . . . . . . . . . . . .
. . . . . . . . . . . . . .
. . . . . . . . . . . . . .
. . . . . . . . . . . . . .
. . . . . . . . . . . . . .
. . . . . . . . . . . . . .
. . . . . . . . . . . . . .
. . . . . . . . . . . . . .
. . . . . . . . . . . . . .
405 406 406 408 408 409 409 409 409 409 409 410 411 411
Table of Contents
10.5. Heating of a moving work piece . 10.6. Induction plasma . . . . . . . . . . 10.6.1. Introduction . . . . . . . . . . . 10.6.2. Inductive plasma installation . 10.6.3. Mathematical models . . . . . 10.6.4. Results . . . . . . . . . . . . . . 10.6.5. Conclusion . . . . . . . . . . . 10.7. References . . . . . . . . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
xi
. . . . . . . .
413 417 417 418 418 426 427 428
Chapter 11. Magneto-mechanical Modeling . . . . . . . . . . . . . . . . . . . Yvan LEFEVRE and Gilbert REYNE
431
11.1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.2. Modeling of coupled magneto-mechancial phenomena. . . . . . . . . . 11.2.1. Modeling of mechanical structure . . . . . . . . . . . . . . . . . . . . 11.2.2. Coupled magneto-mechanical modeling . . . . . . . . . . . . . . . . 11.2.3. Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.3. Numerical modeling of electromechancial conversion in conventional actuators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.3.1. General simulation procedure . . . . . . . . . . . . . . . . . . . . . . 11.3.2. Global magnetic force calculation method. . . . . . . . . . . . . . . 11.3.3. Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.4. Numerical modeling of electromagnetic vibrations . . . . . . . . . . . . 11.4.1. Magnetostriction vs. magnetic forces . . . . . . . . . . . . . . . . . . 11.4.2. Procedure for simulating vibrations of magnetic origin . . . . . . . 11.4.3. Magnetic forces density. . . . . . . . . . . . . . . . . . . . . . . . . . 11.4.4. Case of rotating machine teeth . . . . . . . . . . . . . . . . . . . . . . 11.4.5. Magnetic response modeling . . . . . . . . . . . . . . . . . . . . . . . 11.4.6. Model superposition method . . . . . . . . . . . . . . . . . . . . . . . 11.4.7. Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.5. Modeling strongly coupled phenomena . . . . . . . . . . . . . . . . . . . 11.5.1. Weak coupling and strong coupling from a physical viewpoint . . 11.5.2. Weak coupling or strong coupling problem from a numerical modeling analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.5.3. Weak coupling and intelligent use of software tools . . . . . . . . . 11.5.4. Displacement and deformation of a magnetic system . . . . . . . . 11.5.5. Structural modeling based on magnetostrictive materials . . . . . . 11.5.6. Electromagnetic induction launchers . . . . . . . . . . . . . . . . . . 11.6. Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.7. References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
431 432 433 437 442 442 443 444 447 447 447 449 449 452 453 455 458 459 459 460 461 463 465 469 470 471
Chapter 12. Magnetohydrodynamics: Modeling of a Kinematic Dynamo . Franck PLUNIAN and Philippe MASSÉ
477
12.1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12.1.1. Generalities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
477 477
xii
The Finite Element Method for Electromagnetic Modeling
12.1.2. Maxwell’s equations and Ohm’s law . . . . . . . . . . 12.1.3. The induction equation . . . . . . . . . . . . . . . . . . 12.1.4. The dimensionless equation . . . . . . . . . . . . . . . 12.2. Modeling the induction equation using finite elements . . 12.2.1. Potential (A,I) quadric-vector formulation . . . . . . 12.2.2. 2D1/2 quadri-vector potential formulation . . . . . . . 12.3. Some simulation examples. . . . . . . . . . . . . . . . . . . 12.3.1. Screw dynamo (Ponomarenko dynamo) . . . . . . . . 12.3.2. Two-scale dynamo without walls (Roberts dynamo). 12.3.3. Two-scale dynamo with walls . . . . . . . . . . . . . . 12.3.4. A dynamo at the industrial scale. . . . . . . . . . . . . 12.4. Modeling of the dynamic problem . . . . . . . . . . . . . . 12.5. References . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . .
481 482 483 485 485 488 491 491 495 498 502 503 504
Chapter 13. Mesh Generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . Yves DU TERRAIL COUVAT, François-Xavier ZGAINSKI and Yves MARÉCHAL
509
13.1. Introduction . . . . . . . . . . . . . . . . . . . . . 13.2. General definition . . . . . . . . . . . . . . . . . . 13.3. A short history . . . . . . . . . . . . . . . . . . . . 13.4. Mesh algorithms . . . . . . . . . . . . . . . . . . . 13.4.1. The basic algorithms. . . . . . . . . . . . . . 13.4.2. General mesh algorithms . . . . . . . . . . . 13.5. Mesh regularization . . . . . . . . . . . . . . . . . 13.5.1. Regularization by displacement of nodes . 13.5.2. Regularization by bubbles . . . . . . . . . . 13.5.3. Adaptation of nodes population . . . . . . . 13.5.4. Insertion in meshing algorithms . . . . . . . 13.5.5. Value of bubble regularization. . . . . . . . 13.6. Mesh processer and modeling environment. . . 13.6.1. Some typical criteria. . . . . . . . . . . . . . 13.6.2. Electromagnetism and meshing constraints 13.7. Conclusion . . . . . . . . . . . . . . . . . . . . . . 13.8. References . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . .
Chapter 14. Optimization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Jean-Louis COULOMB
547
. . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . .
509 510 512 512 512 518 526 526 528 530 530 531 533 533 534 541 541
. . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
14.1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.1.1. Optimization: who, why, how? . . . . . . . . . . . . . . . . 14.1.2. Optimization by numerical simulation: is this reasonable? 14.1.3. Optimization by numerical simulation: difficulties. . . . . 14.1.4. Numerical design of experiments (DOE) method: an elegant solution . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . .
. . . .
. . . . . . . . . . . . . . . . .
. . . .
. . . .
547 547 548 549
. . . . .
549
Table of Contents
xiii
14.1.5. Sensitivity analysis: an “added value” accessible by simulation . 14.1.6. Organization of this chapter . . . . . . . . . . . . . . . . . . . . . . . 14.2. Optimization methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.2.1. Optimization problems: some definitions . . . . . . . . . . . . . . . 14.2.2. Optimization problems without constraints . . . . . . . . . . . . . . 14.2.3. Constrained optimization problems . . . . . . . . . . . . . . . . . . . 14.2.4. Multi-objective optimization . . . . . . . . . . . . . . . . . . . . . . . 14.3. Design of experiments (DOE) method. . . . . . . . . . . . . . . . . . . . 14.3.1. The direct control of the simulation tool by an optimization algorithm: principle and disadvantages . . . . . . . . . . . . . . . . . . . . . 14.3.2. The response surface: an approximation enabling indirect optimization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.3.3. DOE method: a short history . . . . . . . . . . . . . . . . . . . . . . . 14.3.4. DOE method: a simple example . . . . . . . . . . . . . . . . . . . . . 14.4. Response surfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.4.1. Basic principles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.4.2. Polynomial surfaces of degree 1 without interaction: simple but sometimes useful . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.4.3. Polynomial surfaces of degree 1 with interactions: quite useful for screening . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.4.4. Polynomial surfaces of degree 2: a first approach for nonlinearities. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.4.5. Response surfaces of degrees 1 and 2: interests and limits . . . . . 14.4.6. Response surfaces by combination of radial functions. . . . . . . . 14.4.7. Response surfaces using diffuse elements . . . . . . . . . . . . . . . 14.4.8. Adaptive response surfaces. . . . . . . . . . . . . . . . . . . . . . . . 14.5. Sensitivity analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.5.1. Finite difference method . . . . . . . . . . . . . . . . . . . . . . . . . 14.5.2. Method for local derivation of the Jacobian matrix . . . . . . . . . 14.5.3. Steadiness of state variables: steadiness of state equations . . . . . 14.5.4. Sensitivity of the objective function: the adjoint state method . . . 14.5.5. Higher order derivative . . . . . . . . . . . . . . . . . . . . . . . . . . 14.6. A complete example of optimization. . . . . . . . . . . . . . . . . . . . . 14.6.1. The problem of optimization . . . . . . . . . . . . . . . . . . . . . . 14.6.2. Determination of the influential parameters by the DOE method . 14.6.3. Approximation of the objective function by a response surface . . 14.6.4. Search for the optimum on the response surface . . . . . . . . . . . 14.6.5. Verification of the solution by simulation . . . . . . . . . . . . . . . 14.7. Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.8. References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
550 551 551 551 553 559 560 562 562 563 565 565 572 572 573 573 574 576 576 577 579 579 579 580 581 583 583 584 584 585 587 587 587 588 588
List of Authors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
595
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
599
This page intentionally left blank
Chapter 1
Introduction to Nodal Finite Elements
1.1. Introduction 1.1.1. The finite element method The finite element method, resulting from the matrix techniques of calculation of the discrete or semi-discrete mechanical structures (assembly of beams), is a tool for resolving problems with partial differential equations involved in physics problems. We will thus tackle this method accordingly because it is useful in modeling mechanical, thermal, neutron and electromagnetic problems [ZIE 79], [SIL 83], [DHA 84], [SAB 86], [HOO 89]. The aim of this chapter is to present the principles of this method which have become essential in the panoply of the engineer. For this presentation, we will only deal with electrostatics. Indeed, this field has a familiar formulation in scalar potential, particularly suitable for the presentation of nodal finite elements, which will be the only ones discussed here. We will develop two examples of increasing complexity which are manageable “by hand”, 1D in a first part and 2D in a second. As it is very close to physical considerations, the variational approach will most of the time be favored. However, the more general method of weighted residues will also be presented. In our examples, we will see how to solve the problems at issue, but also how, using the obtained fields, to extract more relevant information.
Chapter written by Jean-Louis COULOMB.
2
The Finite Element Method for Electromagnetic Modeling
In the third and last part, we will present the concept of a reference element and the principles that make it possible to pass from the local coordinates to the domain coordinates. We will see that beyond the possibility of handling curvilinear elements, which is quite convenient for the discretization of manufactured objects, this technique leads to a general tool for working with geometric deformations. 1.2. The 1D finite element method 1.2.1. A simple electrostatics problem In order to present the finite element method, we propose, initially, to implement it on a simple 1D electrostatics example, borrowed from [HOO 89]. We will first formulate this problem in its differential form, then in its variation form. This form of integral will enable us to introduce the concept of first-order finite elements and then second-order finite elements. We thus consider the problem of Figure 1.1 where two long distant parallel plates of 10 m are: one with the electric potential of 0 V and the other with the potential of 100 V. Between the two plates, the density of electric charges and the dielectric permittivity are assumed to be constant. This problem could represent a hydrocarbon storage tank in which we wish to know the distribution of the electric potential. The lower plate corresponds to the free surface of the liquid, the upper plate to the ceiling of the tank and the intermediate part to the electrically charged vapors. x
f
v=100V
x+dx
* :
x
s
H U
10m
f
0 v=0V Figure 1.1. The cloud of electric charges between the two plates
Introduction to Nodal Finite Elements
3
1.2.2. Differential approach The physical and geometric quantities varying only according to one direction, this problem is 1D in the interval x [0, 10] and the electric field E and electric flux density D = HE vectors have only one non-zero component Ex and Dx. Let us consider a parallelepipedic elementary volume of constant section s in the direction perpendicular to x and of length dx. The flux of the electric density vector, leaving its border *, and the internal electric charge to its volume : are respectively:
³³ D.d* >Dx ( x dx ) Dx ( x )@.s
[1.1]
³³³ Ud: U .s.dx
[1.2]
*
:
The Gaussian electric law implies the equality of these two integrals, which gives, for the electric flux density, the following differential equation:
dDx dx
[1.3]
U
This equation is specifically one of Maxwell’s equations: divD
[1.4]
U
applied to a 1D problem in which the variations in the orthogonal directions to the x axis are zero. On the terminals of the domain, the boundary conditions are expressed in terms of electric potential v(0) = 0 V and v(10) = 100 V. It is thus judicious to specify the problem entirely in terms of v which is connected to the electric field by the relation dv E x grad v , which, in our 1D case, gives E x . The equation and the dx boundary conditions governing the distribution of the electric potential are thus d ª dv º H » dx «¬ dx ¼ v 0 v 100
U
for x[0, 10] for x = 0 for x = 10
[1.5]
4
The Finite Element Method for Electromagnetic Modeling
In our case, the electric permittivity is constant, which simplifies the equation and becomes
d 2v dx
2
U , H
v ( 0)
0,
v (10)
100
[1.6]
This problem has the following analytical solution v( x )
U 2H
Uº ª x 2 «1 »10 x 2 H¼ ¬
[1.7]
the knowledge of which will be useful for us when evaluating the quality of the solution given by the finite element method, which we will present below. 1.2.3. Variational approach
In fact, the finite element method does not directly use the previous differential form, but is based on an equivalent integral form. For this reason we will develop the variational approach which here is connected to the internal energy of the device. This approach is based on a functional (i.e. a function of the unknown function v(x)) which is extremal when v(x) is the solution. The functional, called coenergy for reasons which will be explained later, corresponding to electrostatics problem [1.5] is 2
Wc ( v )
1 10 ª dv º 10 H « » dx ³0 Uv dx ³ 0 2 ¬ dx ¼
[1.8]
We will show that, if it exists, a continuous and derivable function vm(x) which fulfills the boundary conditions vm(0) = 0 and vm(10) = 100 and which makes functional [1.8] extremal is also the solution of problem [1.5]. For that, let us consider a function v(x) built on the basis of vm(x) as follows v( x )
vm ( x ) DM ( x )
[1.9]
where D is an unspecified real number and M(x) is an arbitrary continuous and derivable function which becomes zero at the boundary of the domain (M(0) = 0 and M(10) = 0). By construction, function v(x) automatically verifies the boundary conditions v(0) = 0 and v(10) = 100.
Introduction to Nodal Finite Elements
5
The introduction into [1.8] of this function v(x) defines a simple function of D 2
Wc (D )
1 10 ª d º 10 H « >vm DM @» dx ³0 U >vm DM @dx ³ 0 2 ¼ ¬ dx
[1.10]
Note that, by assumption, for D = 0 this function is extremal. Let us now express the increase of Wc with respect to its extremum, 2
Wc (D ) Wc (0)
1 10 ª dM º 10 dv dM 10 dx D ³0 UMdx [1.11] D 2 ³0 H « » dx D ³0 H m dx dx 2 ¬ dx ¼
The integration by parts of the second integral gives 10
ª dvm º 10 dvm dM 10 d ª dvm º ³0 H dx dx dx «H dx M » ³0 dx «H dx »Mdx ¬ ¼ ¬ ¼0
dv dM
d
dv
ª 10 10 m mº ³0 H dx dx dx ³0 dx «H dx »Mdx ¬ ¼
[1.12]
because the arbitrary function M(x) is zero on the boundaries of the domain. We thus obtain for the increase of the functional 2
Wc (D ) Wc (0)
½ 1 10 ª dM º 10 d ª dv º D 2 ³0 H « » dx D ³0 ® «H m » U ¾Mdx 2 ¬ dx ¼ ¯ dx ¬ dx ¼ ¿
[1.13]
This polynomial of the second-degree is extremum for D = 0, therefore the coefficient of D must be zero. This coefficient is an integral, to be zero whatever the arbitrary function M(x), and it is necessary that the weighting coefficient of this function becomes zero for any X d ª dvm º H U dx «¬ dx »¼
0
x >0, 10@
[1.14]
which corresponds precisely to equation [1.5], which we want to solve. Therefore, if function vm(x) exists, it is indeed the solution of the specified problem. Moreover, the coefficient of D2 being positive, the extremum is a minimum. The result that we have just obtained is a particular case of a proof that is much more general of the calculus of variations. Equation [1.14] is in fact the Euler
6
The Finite Element Method for Electromagnetic Modeling
equation of functional [1.8], and could thus have been obtained directly by application of a traditional theorem. 1.2.4. First-order finite elements
In order to present the finite element method, we introduce several concepts shown in Figure 1.2. First of all, in the field of study, we define nodes at the positions x1 = 0, x2 = 10/3, x3 = 20/3 and x4 = 10. The electric potentials v1, v2, v3 and v4 at these nodes are called nodal values. Two of these nodal values, v1 = 0 and v4 = 100, are already known thanks to the boundary conditions, while two others, v2 and v3, will have to be determined by application of the finite element method. v
v4= 100
100 v2= ? v3= ?
v1 = 0
x x1=0
x2=10/3
x3=20/3
x4=10
Figure 1.2. Subdivision of the domain into three first-order finite elements
We thus define a subdivision of the domain into finite elements [x1, x2], [x2, x3] and [x3, x4] on which we apply an interpolation for the electric potential. We choose the linear interpolation (order 1) which is the simplest of the interpolations ensuring the continuity of the potential and its derivability per piece, as that is required by the variational approach. On the element [xi, xi+1], this gives for the potential v( x )
x x x x vi i 1 vi 1 i xi 1 xi xi xi 1
[1.15]
Introduction to Nodal Finite Elements
7
and for its gradient dv dx
vi 1 vi xi 1 xi
[1.16]
In order to determine the unknown nodal values v2 and v3, we will use functional [1.8], into which we will introduce the function v(x) defined in [1.15] per piece on each finite element. We will then obtain a function of the only two unknown factors. The extremality conditions of this function will be the equations defining these unknown factors. The subdivision of the domain allows the integral giving the functional to be expressed in a sum of integrals on the finite elements Wc
x3
x2
10
³
³
x1
0
³
x4
x2
Wc 1 Wc 2 Wc 3
³
[1.17]
x3
The elementary contribution Wc i of the element [xi, xi+1] is written Wc i
Wc i
1 2
xi 1
³
xi
2
xi 1 ªv v º ª x x x x º vi 1 i H « i 1 i » dx ³ U «vi i 1 » dx xi xi 1 ¼ ¬ xi 1 xi ¼ ¬ xi 1 xi x i
1 >vi 1 vi @2 1 U >vi 1 vi @>xi 1 xi @ H 2 xi 1 xi 2
[1.18]
The integral thus becomes Wc
1 >v2 v1 @2 1 H U >v2 v1 @>x2 x1 @ 2 x2 x1 2 1 >v v @2 1 H 3 2 U >v3 v2 @>x3 x2 @ 2 x3 x2 2 1 >v v @2 1 H 4 3 U >v4 v3 @>x4 x3 @ 2 x4 x3 2
[1.19]
8
The Finite Element Method for Electromagnetic Modeling
The stationarity conditions of Wc, with respect to the two unknown variables v2 and v3, lead to the following two equations wWc wv2
H
v2 v1 1 v v 1 U >x2 x1 @ H 3 2 U >x3 x2 @ x2 x1 2 x3 x2 2
0
wWc wv3
H
v3 v2 1 v v 1 U >x3 x2 @ H 4 3 U >x4 x3 @ x3 x2 2 x4 x3 2
0
[1.20]
To go numerically further, we arbitrarily fix the ratio between the electric permittivity and the density of electric charges
U H
1
[1.21]
We obtain the system of two equations with two unknown variables according to 3v2 3v3 10 5 10 3 3v2 3v3 100 10 5 3
[1.22]
which has the solution v2 v3
400 9 700 9
[1.23]
In Figure 1.3, we can evaluate the quality of the approximation obtained. The interpolation by first-order finite elements is not very far away from the reference solution. It is even exact at the nodes of the grid. In fact, this coincidence is related to the simplicity of the problem taken as an illustration and will not be found in more realistic applications. Here, the exact solution is a second-degree polynomial, whose average behavior is perfectly represented on each piece by linear interpolations. In order to improve the solution, we have two strategies. The first consists of decreasing the size of the finite elements; it is called the h method by reference to the diameter of the elements which is often denoted h. The second consists of increasing the order of the finite elements; it is denoted the p method because p is
Introduction to Nodal Finite Elements
9
often used to represent the order of the approximation. It is this second strategy which we will implement below.
v3
0 x Figure 1.3. Exact solution in continuous line and solution by first-order finite elements in dotted lines
1.2.5. Second-order finite elements
We now decide to implement the second-order elements. In order to simplify our work to the maximum, we define a minimal subdivision of the domain, i.e. three nodes at the positions x1 = 0, x2 = 5, x3 = 10 having the three nodal values v1, v2, and v3 and defining only one second-order finite element [x1, x2, x3]. The nodal values on the limits are v1 = 0 V and v3 = 100 V. Only the internal nodal value v2 is to be determined by the finite element method. On the single finite element, the electric potential is interpolated by v( x )
v1
>x2 x @>x3 x @ v >x3 x @>x1 x @ v >x1 x @>x2 x @ [1.24] >x2 x1 @>x3 x1 @ 2 >x3 x2 @>x1 x2 @ 3 >x1 x3 @>x2 x3 @
and its gradient by dv dx
v1
2 x x 2 x3 2 x x3 x1 2 x x1 x2 [1.25] v3 v2 >x2 x1 @>x3 x1 @ >x3 x2 @>x1 x2 @ >x1 x3 @>x2 x3 @
10
The Finite Element Method for Electromagnetic Modeling
The introduction of these approximations into functional [1.8], the integration then the application of the stationarity condition with respect to v2, led to the equation 2H v 2
H v1 H v 3 25U
[1.26]
which, for the numerical values selected previously v1 = 0, v3 = 100 and U/H = 1 results, for the unknown nodal value, in v2 = 125/2, which is the good value. Figure 1.4 shows the exact solution and the second-order finite elements solution. These are exactly superimposed. Indeed, the exact solution [1.7] is a second-degree polynomial, which is precisely the type of approximation implemented in the second-order finite element method. Here again, this coincidence is only related to the simplicity of the concerned problem. In more complex applications, we will no longer find such perfect solutions.
0
Figure 1.4. The exact solution and the second-order finite elements are exactly superimposed
1.3. The finite element method in two dimensions 1.3.1. The problem of the condenser with square section
We will again be interested in a problem of electrostatics, but this time of a 2D nature, in order to handle a more realistic example of implementation of the finite element method. We will find the differential then the variational forms of this type of problem, with the associated boundary conditions. We will present the general
Introduction to Nodal Finite Elements
11
concepts of domain meshing and finite element interpolation. We will explain the Ritz method and we will implement it to find an approximate solution to the problem. Lastly, we will see how to take advantage of this solution to obtain local and global information that is more explicit than a simple set of nodal values. The studied device is a condenser whose cross-section is represented in Figure 1.5 and whose depth h is very large in front of the section dimensions. y
H=HrH0 U=0
8
P4
4
P1
0V P3
P2
100V x 0
4
8
Figure 1.5. Cross-section of the long condenser
This condenser is composed of two overlapped conductors of square sections, one with the electric potential of 100 V and the other with the potential of 0 V. Taking into account the high dimension of the condenser in the direction perpendicular to the xOy plane, the 2D study of the device in its cross-section will give a very good idea of its global behavior. In fact, we are interested here in the capacitor of this condenser, which we will obtain by using the finite element method. For this purpose, we will initially determine the distribution of the electric potential within the dielectric, assumed to be perfect, placed between the two electrodes.
12
The Finite Element Method for Electromagnetic Modeling
1.3.2. Differential approach
The Maxwell’s equations, representative of the distribution of the electrostatic field in the dielectric, are (Gauss law)
[1.27]
curlE 0
(Faraday law in static mode)
[1.28]
D HE
(constitutive law of the dielectric material)
[1.29]
divD
U
where D is the electric flux density vector, E the electric field vector, U the density of electric charges and H the permittivity of the dielectric. The introduction of v, the electric scalar potential, such that E
[1.30]
grad v
automatically solves the second Maxwell’s equation since the rotational of a gradient is systematically zero. By combining the first and third equations, we obtain the partial differential equation of the electric potential div>H grad v @ U
[1.31]
which, in the reference frame xOy, is written w ª wv º w ª wv º H «H » wx «¬ wx »¼ wy ¬ wy ¼
U
[1.32]
and in the particular case of a constant electric permittivity and of a density of electric charges equal to zero w 2v wx
2
w 2v wy 2
'v
0
[1.33]
However, for the sought generality, we will use expression [1.31] in the rest of this presentation. To go further in the definition of the problem, we should specify the field of study and the boundary conditions. We could take the whole cross-section of the dielectric of Figure 1.5 as field of study, with v = 0 V on the external edge and
Introduction to Nodal Finite Elements
13
v = 100 V on the internal edge. However, the presence of several symmetries allows the zone of study to be considerably reduced, and thus the efforts of calculation. Indeed, we have just to calculate the solution in the eighth [P1, P2, P3, P4] of the domain (see Figure 1.6), then to reconstitute, thanks to symmetries, the distribution of the electric potential in all the dielectric.
y
P4
P3
0V
8 wv wn
0
4 P1
div>H grad v @ U
100V
wv wn
0
P2
x 0
4
8
Figure 1.6. Reduction of the field of study thanks to symmetries
With a partial differential equation such as [1.31], of elliptic type, and in order to specify the problem clearly, it is necessary to impose conditions on all the limits of the field of studies, either on the state variable v, called the Dirichlet condition, or on its normal derivative
wv , called the Neumann condition. We already know that wn
v = 100 V on the edge P1P2 and that v = 0 V on the edge P3P4. It remains to define the conditions on the rest of the border. On the axes of symmetry P2P3 and P4P1, the field has a particular direction: it is tangential. In fact, no electric flux crosses these parts of the border. Mathematically it means that the normal component of the induction is zero Dn = 0, i.e. a zero normal component of the field En = 0 and thus
that the homogenous Neumann condition will take as conditions on these limits.
wv wn
0 on the electric potential, which we
14
The Finite Element Method for Electromagnetic Modeling
1.3.3. Variational approach
The functional of coenergy of the previous differential equation which generalizes that given in [1.8] to the 2D case is ª H >grad v @2
³³ « «¬
2
º Uv » dxdy »¼
[1.34]
This first functional would be well adapted to the specified problem; however, we would rather use the following expression Wc ( v )
grad v
³³ ª«¬ ³0
D dE Uv º hdxdy »¼
[1.35]
This second functional is more general because it is able to handle a possible nonlinearity in the constitutive law D(E), and the presence of the depth h of the device makes it homogenous to an electrical energy. Let us check that the continuous and derivable function vm(x,y) which satisfies the boundary conditions vm = 100 V on P1P2 and vm = 0 V on P3P4 and which makes functional [1.35] stationary, is a solution of equation [1.31] and also satisfies wvm wn
0 on P2P3 and P4P1P2P3.
For this purpose, starting from vm(x,y), we build the function v x, y
v m x , y Gv x , y
[1.36]
where Gv(x,y) is a continuous and derivable function, zero on the Dirichlet type boundaries which play the role of an unspecified infinitesimal variation around the balance function vm(x,y). By construction, v(x,y) always verifies the boundary conditions of the problem on P1P2 and P3P4. Let us introduce v(x,y) into functional [1.35] and express the variation
GWc
³³ > D grad Gv U Gv @hdxdy
[1.37]
By using the vector relation div>D Gv @
divD Gv D grad GV
[1.38]
Introduction to Nodal Finite Elements
15
then the divergence theorem, we obtain
GWc
³³ >divD U @Gv hdxdy ³ Dn Gv hd*
[1.39]
The second integral relates to the border of the domain which can be either of the Dirichlet type or Neumann type. On Dirichlet borders, the variations Gv are zero and the integrals disappear. It remains
GWc
³³ >divD U @Gv hdxdy
³ Dn Gv hd* Neumann
[1.40]
This quantity GWc expresses the variation of functional [1.35] around the stationary state Wc(vm). Therefore, it has to be zero whatever variation Gv, which implies at the same time divD U 0 in the domain and Dn 0 on the Neumann boundaries. We thus recognize the partial differential equation and the desired homogenous Neumann boundary conditions. Moreover, with the usual behavior laws D(E) (monotonous increasing), it can be shown that this stationarity corresponds to a minimum. 1.3.4. Meshing in first-order triangular finite elements
The first stage of the finite element method consists of subdividing the domain of study into elementary sub-domains. For the 2D domain, the simplest subdivision method consists of cutting out in triangles. Figure 1.7 represents such meshing which comprises Nn = 12 nodes n1, n2, …, n12 and Ne = 12 finite elements, e1, e2, …, e12. The fact that here the number of nodes is equal to the number of elements is fortuitous. This meshing complies with the rules known as conformity rules. Thus, the elements do not overlap and two elements are neighbors, either by a common node, or by a common edge which they then share entirely. The details on the positions and the nodal values of the nodes are indicated in Table 1.1. The nodes located on border P1P2 have an electric potential fixed at 100 V and the nodes on P3P4 have a potential of 0 V. On the other hand, the potentials of the other nodes, internal or located on the Neumann borders, are unknown a priori and will thus have to be determined by the finite element method. The connectivities, the electric permittivities and the densities of electric charges of the finite elements are given in Table 1.2. For example, the nodes of the triangle e1 are the three nodes D = n2, E = n1, J = n5 in the prescribed order, its relative permittivity is equal to 1 and its density of electric charges is zero.
16
The Finite Element Method for Electromagnetic Modeling
0
Figure 1.7. Meshing of the domain in triangular finite elements
n1
n2
n3
n4
n5
n6
n7
n8
n9
n10
n11
n12
x
0
2
4
6
0
2
4
0
2
4
6
8
y
6
6
6
6
4
4
4
8
8
8
8
8
v
?
?
?
?
100
100
100
0
0
0
0
0
Table 1.1. Positions and nodal values of meshing nodes
e1
e2
e3
e4
e5
e6
e7
e8
e9
e10
e11
e12
D
n2
n5
n3
n6
n4
n9
n1
n10
n2
n11
n3
n12
E
n1
n6
n2
n7
n3
n8
n2
n9
n3
n10
n4
n11
J
n5
n2
n6
n3
n7
n1
n9
n2
n10
n3
n11
n4
Hr
1
1
1
1
1
1
1
1
1
1
1
1
U
0
0
0
0
0
0
0
0
0
0
0
0
Table 1.2. Relative connectivities, permittivities and densities of charges of the elements
Introduction to Nodal Finite Elements
17
1.3.5. Finite element interpolation
One of the characteristics of the finite element method relies on the way the interpolations of functions, which are defined per piece, i.e. per finite element, are built. Thus, let us consider the triangle of nodes nD, nE, nJ of nodal values vD, vE, vJ. The simplest of the interpolations for the electric potential, compatible with the constraints of continuity and derivability per piece imposed by physics and the variation approach, is a linear interpolation in x and y, of type v ( x, y )
[1.41]
a bx cy
The unknown coefficients a, b and c depend on the nodal values and on the shape of the triangle. The previous formula, expressed at each of the nodes of the element, must turn over the corresponding nodal value, which gives the system of three equations with three unknown variables vD vE vJ
ª vD º a bxD cyD « » a bx E cy E i.e., «v E » « vJ » a bxJ cyJ ¬ ¼
ª1 xD « «1 x E «1 xJ ¬
yD º ªa º » y E ».«« b »» yJ »¼ «¬ c »¼
[1.42]
For a triangle of a non-zero surface, the 3x3 matrix is invertible, which gives ªa º «b» « » «¬ c »¼
ª1 xD « «1 x E «1 xJ ¬
1
yD º ª vD º » « » y E » . «v E » yJ »¼ «¬ vJ »¼
[1.43]
The introduction of a, b and c in interpolation [1.41] leads to the formula v ( x, y )
vD M D ( x, y ) v E M E ( x, y ) vJ M J ( x, y )
[1.44]
where the functions MD(x,y), ME(x,y) and MJ(x,y) have as an expression
MD ( x , y ) M E ( x, y ) MJ ( x, y )
>xE yJ xJ yE yE yJ x xJ xE y @ / 2S >xJ yD xD yJ yJ yD x xD xJ y @ / 2S >xD yE xE yD yD yE x xE xD y @ / 2S
[1.45]
in which the determinant of the matrix is twice the surface of the triangle 2S
x E yJ xJ y E xJ yD xD yJ xD y E x E yD
[1.46]
18
The Finite Element Method for Electromagnetic Modeling
These three functions are called the shape functions of the finite element and have the following characteristic properties
MD ( xD , yD ) 1 MD ( xE , y E ) 0 MD ( xJ , yJ ) 0 M E ( xD , yD ) 0 M E ( x E , y E ) 1 M E ( xJ , yJ ) 0 MJ ( xD , yD ) 0 MJ ( x E , y E ) 0 MJ ( xJ , yJ ) 1 MD ( x, y ) M E ( x, y ) MJ ( x, y ) 1
(x,y) in the element
[1.47] [1.48]
Figure 1.8 shows the variation of the shape function defined on element e4 and associated with node n3. M3 (x,y)
y
M 1
v6 e4 0
v7
v3
x
Figure 1.8. Shape function defined on element e4 and associated with node n3
Let us now consider a node in the domain. The shape function of the domain, associated with this node, is defined per piece in the following way. For an element which has this node, the shape function of the domain is the shape function of this node on the element. For elements which do not have this node, the shape function of the domain is zero. From the construction of the shape functions on each element, the interpolation on an edge depends only on the nodal values of these edges. For an edge common to two elements, the interpolation is identical, whether it is seen by the first element or by the second one. This property ensures the continuity of the function in passing from one element to another. The shape functions of the domain are thus, by construction, continuous on all the domain and derivable per piece. Moreover, they preserve the properties listed in [1.47] and [1.48] which, in a more general way, are written
M i ( xi , yi )
1
M j zi ( xi , yi )
0
Nn
¦M j x, y 1
j 1
[1.49]
Introduction to Nodal Finite Elements
19
As an illustration, the shape function of the domain M3(x,y) of node n3, common to the triangles e3, e4, e5, e9, e10 and e11 is represented in Figure 1.9. It is a pyramid with a hexagonal base which is worth 1 at node n3 and 0 at all the other nodes. M3 (x,y)
M
y
1
0
x
Figure 1.9. Shape function of the domain associated with node n3
Ultimately, these functions, weighted by the nodal values, make it possible to interpolate the electric potential in the domain by the formula v ( x, y )
Nn
¦ v j M j x, y
[1.50]
j 1
1.3.6. Construction of the system of equations by the Ritz method
We have an interpolation function of electric potential [1.50] parameterized by the nodal values v1, v2, …, v12. For Dirichlet boundaries, as for everywhere else, the electric potential is interpolated linearly. Thus, if we fix the nodal values v5, v6 and v7 to 100 V, all this part of the border will be at 100 V. Similarly, if we impose the nodal values v8, v9, …, v12 at 0 V, all the corresponding borders will be at this potential. With the help of these few constraints, our interpolation function systematically verifies the Dirichlet conditions of the problem. Let us separate the nodal values into two groups. The first group comprises the NL = 4 nodal values v1, v2, v3 and v4 which are still unknown, whereas the second corresponds to Nn–NL = 8 nodal values v5, v6, …, v12 fixed a priori thanks to the Dirichlet boundary conditions. In order to obtain an approximation of the solution, we will determine the unknown nodal values by using the Ritz method. This method consists of
20
The Finite Element Method for Electromagnetic Modeling
introducing the interpolation function of the electric potential into functional [1.35], which then becomes a simple function of the unknown nodal values Wc ( v1,..., v N L )
ª
Nn
grad ¦ v j M j x , y
³³ « ³0
j 1
«¬
ª ³³ « U «¬
º D dE » hdxdy »¼
Nn
º ¦ v j M j x, y »h dxdy »¼ j 1
[1.51]
The combination of the unknown nodal values which makes the functional Wc stationary will be regarded as the best possible choice within the meaning of the Ritz method and will thus be retained. This stationarity leads to the NL following necessary conditions wWc wvi
³³ D. grad M i h dxdy ³³ U M i hdxdy
0 for i = 1, 2, …, NL
[1.52]
This is the system of the NL equations of which the resolution gives the NL unknown nodal values. In this case, the electric flux density is a linear function of the electric field and thus of the gradient of the electric potential, which allows the following additional developments Nn
³³ H ¦ v j grad M j . grad M i hdxdy ³³ U M i hdxdy 0 j 1
Nn
¦ v j ³³ H grad M j . grad M i hdxdy ³³ U M i hdxdy 0
[1.53]
j 1
By assigning M ij Ri
³³ H grad M j . grad M i hdxdy ³³ U M i hdxdy
[1.54]
equation [1.53] becomes Nn
¦ v j M ij Ri 0
j 1
[1.55]
Introduction to Nodal Finite Elements
21
The separation of the unknown nodal values and the fixed values NL
¦ v j M ij
Ri
j 1
Nn
¦ v j M ij j N L 1
for i = 1, 2, …, NL
[1.56]
lead to the matrix system SV
[1.57]
Q
where S is a square symmetric matrix of dimension NL*NL and of coefficient Sij M ij , V is the column vector of the NL unknown nodal values, and Q is the column vector of the NL sources with Qi
Ri
Nn
¦v j j N L 1
M ij .
The resolution of this matrix system will be able to directly give the required nodal values. 1.3.7. Calculation of the matrix coefficients
We are interested here in the effective construction of linear system [1.57] starting from information which we have on the meshing of the domain in finite elements. In fact, coefficients [1.54], at the origin of this system, are integrals of the domain which it is natural to express as sums of integrals on the sub-domains which are the finite elements
M ij
³³
...
domain
Ri
³³
domain
...
Ne
¦ e 1
sub domain e
Ne
¦ e 1
...
³³
³³
...
sub domain e
Ne
¦M
e ij
[1.58]
e 1
Ne
e i
¦R
[1.59]
e 1
with for each finite element e M ije
³³ H grad M j . grad M i hdxdy
[1.60]
e
Rie
³³ U M i hdxdy e
[1.61]
22
The Finite Element Method for Electromagnetic Modeling
We know that the shape functions of the domain Mi(x,y) are zero on the elements which do not have node ni. Consequently, summation [1.59] relates in fact only to the elements which share this node. In the same way, summation [1.58] relates only to the elements which have, at the same time, node ni and node nj
¦
M ij
M ije
[1.62]
e having ni and n j
Ri
¦
[1.63]
Rie
e having ni
Only the Mij coefficients corresponding to nodes belonging to the same element are non-zero. This property explains the sparse character of the finite element matrices. Let us now consider a triangle e, having for nodes nD, nE, nJ. Shape functions [1.45] are linear, their gradient is constant, the integral terms of [1.60] and [1.61] are thus very easy to integrate and have as expressions M ie j ri
hH xi ' xi" x j ' x j" yi ' yi" y j ' y j" 2 2S hUS 3
[1.64] [1.65]
with (i,i’,i") = (D,E,J), (E,J,D), (J,D,E) and (j,j’,j") = (D,E,J), (E,J,D), (J,D,E). Thanks to formulae [1.64] and [1.65], we would be able to evaluate the elementary contributions to the Mij and Ri coefficients defined in [1.62] and [1.63], then determine the coefficients of matrix S and second member Q defined in [1.57]. However, in practice, to reduce the calculation times, we factorize the calculations by elements, and we directly assemble matrix S and second member Q without making explicit coefficients Mij and Ri. Moreover, those whose line index corresponds to a Dirichlet value are not used at the time of the resolution. First of all, let us consider factorization by element. For a triangle, there are 3x3 coefficients [1.64] and 3 coefficients [1.65]. It is judicious to gather these calculations, to perform the intermediate operations only once, such as the access to the data and the calculation of the surface. For example, for element e1 of nodes n2, n1, n5, the application of formulae [1.64] and [1.65] provides the following results gathered in a large matrix Nn * Nn and in a large vector Nn
Introduction to Nodal Finite Elements
ª 2 1 « 1 1 « « . . « . « . « 1 0 « hH « . 2 « . « « . « . « « . « . « «¬ .
M e1
.
.
. . .
. . .
1 . 0 . .
.
.
1
.
.
.
.
.
. . . . . .
.º » » » » » » » » R e1 » » » » » » » » . ¼»
ª1º «1» «» «.» «» «.» «1» «» 2hU « . » 3 «.» «» «.» «.» «» «.» «.» «» ¬« . ¼»
23
[1.66]
After each basic calculation, the results are accumulated, while following the rules defined in [1.57], in matrix S and in second member Q which temporarily play the roles of accumulator, reserved initially for Mij and Ri. A loop on all the elements thus allows the components of the linear system to be obtained. However, there is still a penalizing aspect to this process. To factorize the calculations, we do so element by element, which is a good thing, but we store the intermediate results in a large matrix and in a large, almost empty vector [1.66]. It is much more judicious to gather the results in an elementary sub-matrix and subvector of respective size 3x3 and 3 for a triangle.
me
e ªmDD « e «mED « e m ¬« JD
e mDE
e mEE e
mJE
e º mDJ » e e mEJ » and r » e mJJ ¼»
ª rDe º « e» « rE » «re » ¬J ¼
[1.67]
For example, element e1 has as an elementary sub-matrix and sub-vector
m
e1
ª 1 1 0 º hH « 1 2 1»» and r e1 2 « «¬ 0 1 1 »¼
ª1º 2 hU « » 1 3 «» «¬1»¼
[1.68]
24
The Finite Element Method for Electromagnetic Modeling
The passage of indices 1,2,3 of [1.68] to the indices of the total arrangement e1 D,E,J of [1.66] is given by the connectivity of the element. Thus, coefficient m22
e
corresponds to coefficient M 111 , because the second node of the triangle e1 is n1. Let us notice by the way that, in accordance with formula [1.60], matrices me and M are symmetric. Moreover, the sum of the gradients of the form functions being zero according to [1.49], the sum of the coefficients of any line or column of these matrices is zero. e
Finally, we will retain the following algorithm for the construction of matrix S and second member Q which we retain ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
Sm0 Qm0 For e m 1 to Ne ~ Calculation of the sub-matrix m and the sub-vector r ~ For k m 1 to 3 ~ ~ i m Connectivity [k,e] ~ ~ if ni is free then ~ ~ ~ Q[i] m Q[i]+r[k] ~ ~ ~ For l m 1 to 3 ~ ~ ~ ~ j m Connectivity [l,e] ~ ~ ~ ~ If nj is free then ~ ~ ~ ~ ~ S[i,j] m S[i,j]+m[k,l] ~ ~ ~ ~ Otherwise ~ ~ ~ ~ ~ Q[i] m Q[i]–m[k,l]*V[j]
The application of the previous algorithm on the example of the condenser leads to the linear system 0 º ª v1 º ª 4 2 0 « 2 8 2 0 » «v » « ».« 2 » « 0 2 8 2» « v3 » « »« » 0 2 4 ¼ ¬ v4 ¼ ¬ 0
ª100 º «200» « » «200» « » ¬ 0 ¼
[1.69]
Introduction to Nodal Finite Elements
25
which has the solution ª v1 º «v » « 2» « v3 » « » ¬ v4 ¼
ª 48,89 º « 47,78» « » «42,22» « » ¬ 21,11 ¼
[1.70]
Linear system matrix [1.69] is also symmetric and, we will admit it, defined positive. Lastly, as was already stated, it is sparse. The collection of all these properties is very favorable, because this authorizes the use of very powerful methods of resolution of linear systems. 1.3.8. Analysis of the results
We now have a complete set of nodal values, some of which were known from the beginning thanks to the Dirichlet conditions, while others were obtained by resolution of the system of equations [1.52], or, in the linear case, by solving the system of linear equations [1.57]. These nodal values represent an approximate value of the electric potential at the nodes of the meshing. Their knowledge is indeed important, but not necessarily easy to understand. The expert, who is interested in the characteristics of the studied condenser, would certainly like to have local information, such as the potential or the field in any point, or global, as the charges stored on the electrodes or the capacity [COU 85]. We will see how, starting from the nodal values of the scalar electric potential, it is possible to deduce all information relating to the operation of the device. 1.3.8.1. Electric potential in an unspecified point The first of the physical quantities that can be very easily obtained in a point of coordinates (x,y) starting from the meshing and nodal values is the electric potential. For this purpose, it is enough to determine the element which contains the point, then to apply the interpolation formula which is the basis of the finite element method v ( x, y )
¦ v j M j x, y
[1.71]
26
The Finite Element Method for Electromagnetic Modeling
1.3.8.2. Electric field vector in an unspecified point It is also very easy to determine the electric field vector in this point by E ( x, y )
[1.72]
¦ v j grad M j
In first-order triangles, the electric potential having a linear variation in the space, the electric field is constant on each element. 1.3.8.3. Electric flux density vector in an unspecified point With regards to the electric flux density vector, it is obtained starting from the electric field and from the constitutive law of the material D( E ( x, y )) here D( x, y )
D( x, y )
[1.73]
HE ( x, y )
1.3.8.4. Electric energy It is sometimes useful to evaluate global information, such as the electric energy stored in the condenser. The latter corresponds to the injection of energy necessary to introduce the space charges and the electrode charges. We will assume that these operations were carried out in two stages. On the basis of an initial state where there is no charge and a uniformly potential zero, the first stage consists of introducing the space charges, the potential of the electrodes remaining zero. The second stage corresponds to the adjustment of the electrode potentials, the space charges remaining unchanged. During the first stage, the introduction of the charge Gq into an infinitesimal volume :q, of border *q, in which the potential created by all the other charges already present in the domain is worth v, requires the energy [DUR 64]
GWe
[1.74]
v Gq
According to Gauss’s law, the charge is equal to the outgoing flux of the infinitesimal volume and to the entering flux in its complementary
G We
v
³ > GDn @hd*
*q
³ > vGDn @hd*
[1.75]
*q
By applying the divergence theorem to complementary volume, we obtain
G We
³³
domain : q
div > vG D @ hdxdy
v³ > vG D @ hd * n
border
[1.76]
Introduction to Nodal Finite Elements
27
By noting that the potential or the flux variations are zero on the borders of the domain, we obtain
GWe
³³
domain:q
ª¬gradvG D vdiv>G D@º¼ hdxdy
³³ > EG D vGU@ hdxdy
[1.77]
domain:q
Outside the infinitesimal volume, the variations of charge density are zero
G We
³³ > EG D @ hdxdy
domain :q
³³ > EG D@ hdxdy ³³ > EG D @ hdxdy
domain
[1.78]
:q
An opposite treatment to that used above would show that the interaction energy in :q is zero. The variation of electric energy due to the introduction of the charge into the infinitesimal volume is thus
G We
[1.79]
³³ > EG D @ hdxdy
domain
The successive introduction of all the space charges leads, for the first stage, to the increase of energy
We 1 We 0
³³ ª¬« ³
domain
D1
0
EdD º hdxdy ¼»
[1.80]
where D1 is the field produced only by the internal charges, the electrodes being at potential 0 V. During the second stage, the injection of electric energy depends on potentials Vk of each electrode and on their charge variation GQk
GWe
[1.81]
¦VkGQk
Gauss’s law on the electric charges also applies to their variation. Thus, the charge variation on each electrode is equal to the opposite of the flux variation entering into the electrode
GWe ¦Vk
v³
electrodek
G Dnhd* ¦
v³
electrodek
vG Dnhd*
v³ vG D hd* n
[1.82]
border
The successive transformations above are possible because the potential is uniform on each electrode, the edges of electrodes belong to the border of the
28
The Finite Element Method for Electromagnetic Modeling
domain, and the flux variation is zero on the other parts of the border. The application of the theorem of the divergence gives
G We
div > vG D @ hdxdy
³³
domain
³³ > EG D vGU @ hdxdy
[1.83]
domain
With invariant space charges, the electric energy brought during stage 2 is D
³³ ª«¬ ³D1 E dD º»¼ hdxdy
We 2 We 1
[1.84]
The electric energy stored during the sequence of the two stages is thus
³³ ª«¬ ³
We 2 We 0
domain
D
0
EdD º hdxdy »¼
[1.85]
In the linear case, this gives the familiar expression We
D.E
[1.86]
³³ 2 hdxdy
An approximation of this stored electric energy can be obtained by integration on the elementary sub-domains. When the elements are first-order triangles, vectors E and D are uniform on the element and the density of energy is itself uniform. The elementary integral is thus the product of the density of energy by the surface of the element. Table 1.3 recapitulates the values of the stored electric energy for each triangle and a depth h of 1 m. e1
e2
e3
e4
e5
e6
e7
e8
e9
e10
e11
e12
Total
we 5.78 6.03 6.10 7.38 8.36 5.28 5.05 5.05 4.01 3.94 1.97 0.98 59.93 Table 1.3. Energy by triangle in nJ for a depth h = 1 m
The summation on the 12 triangles gives 59.93 nJ and represents the electric energy stored in 1/8 of the device. It is advisable to multiply the figure by 8 to obtain the total energy, which leads to We = 479.4 nJ.
Introduction to Nodal Finite Elements
29
1.3.8.5. Electric coenergy In a dual way, by considering this time that the state of the device is controlled by the voltage, we can define the variation of a quantity, called coenergy, homogenous with an energy, and depending on the charges and on variations of potential. During the first stage, the introduction of a space charge q into the infinitesimal volume :q produces a variation of potential Gv. The coenergy is defined by the variation
GWc
[1.87]
qGv
The successive introduction of all the space charges results, after some processes similar to those carried out on the energy, in the increase
Wc 1 Wc 0
³³ ª«¬ ³
domain
E1
0
DdE U v1 º hdxdy »¼
[1.88]
where E1 and v1 are the field and the potential produced only by the internal charges. During the second stage with invariant space charges, the variation of coenergy due to evolutions on the electrodes is defined by
GWc
[1.89]
¦ QkGVk
which leads to partial and total increases of the coenergy E
Wc 2 Wc 1
³³ ª«¬ ³E1 DdE º»¼ hdxdy ³³ >U >v v1 @@hdxdy
Wc 2 Wc 0
E ³³ ª«¬ ³0 DdE Uv º»¼ hdxdy
[1.90]
While comparing [1.90] with [1.35], we note that this increase in coenergy is the value taken by the functional when the exact solution is introduced there, i.e. when this functional is stationary. It is not a coincidence, because, chronologically, it is the knowledge of the coenergy expression that allowed the expression of the functional to be proposed. The mathematical step of minimization of the functional corresponds, in fact, to the search of a state with minimum energy.
30
The Finite Element Method for Electromagnetic Modeling
In the case of a linear law of behavior D(E), the coenergy expression is Wc
DE
ª º ³³ « 2 Uv » hdxdy ¬ ¼
[1.91]
1.3.8.6. Flux of the electric induction vector We are also interested in the flux of the electric induction vector through a surface. Thus, if L is the trace of surface in the 2D domain and h is its depth, this flux is calculated by numerical integration Qc
³ Dn hdL
[1.92]
L
where the induction vector itself is given by [1.73] at the points of integration. 1.3.8.7. Electric charges accumulated on an electrode In fact, the most frequent flux calculation takes place on the equipotential electrodes, because it then represents the accumulated electric charges. The previous formula could of course be applied there. However, there is an energy method prolonging the variation approach which is much more accurate and does not require any local evaluation [COU 85]. We know that the electric coenergy of system [1.90] is equivalent to functional [1.35] when this energy is at its minimal value. When the potentials of the electrodes vary, these two quantities evolve in an identical way. The identification of the variations, defined by [1.89] for the coenergy, and by
GWc
¦
wWc GVk wVk
[1.93]
for the functional, indicates that Qk
wWc wVk
[1.94]
We thus have an indirect way to determine this charge, by calculating the derivative of the functional with respect to the potential of the electrode. In fact, in the finite element approximation, the functional is controlled by the nodal values. The Dirichlet nodal values are themselves controlled by the potentials
Introduction to Nodal Finite Elements
31
of the electrodes, while the others are in the balance state. The derivative of the functional then becomes
wWc wVk wWc wVk
N N wW c
wvi 1 wvi wVk
¦
i
NL
¦ i 1
wWc wvi wWc wvi wWc wvi ¦ ¦ wvi wVk i electrode k wvi wVk i other electrodes wvi wVk
[1.95]
When the functional is at its extremal value, according to [1.52], the NL first derivatives are zero, which eliminates the first summation. Only the summation corresponding to electrode k remains since on the others the nodal values are attached to a different potential. Finally, the entering flux through this electrode is simply
Qk
wWc i electrode k wvi
¦
[1.96]
This algorithm offers several advantages. On the one hand, it is very simple to implement, since it re-uses coefficients already calculated during the resolution of the problem. In addition, it is in practice more accurate than the algorithm based on numerical integration of the flux evaluated locally on the border. Indeed, this algorithm is based on the same variational bases as those used for the resolution of the problem. In fact, the field distributions obtained being only approximations of the solution, two mathematically equivalent algorithms (boundary integration or domain integration) can differ significantly when they are transposed in the discretized situation. It is thus often judicious to wonder about the most appropriate algorithm for the discretization used! 1.3.8.8. Influence coefficients of one electrode on another: linear case The influence coefficient Ckl is the ratio of the electric charge variation Qk stored on the electrode k, according to the variation of potential Vl on electrode l, the other electrodes being maintained at constant potentials. Ckl
wQk wVl
[1.97]
32
The Finite Element Method for Electromagnetic Modeling
In the case of a linear problem, the dielectric permittivity being constant, these coefficients are constant whatever the voltages. It is thus very easy to determine them by using as many calculations of electric field as there are electrodes. For each calculation, it is enough to consider the densities of electric charges of the domain to be zero and to consider the potentials on all the electrodes to be zero except on electrode l where the potential is fixed at a non-zero value, for example 1 V. The accumulated electric charges Qk on an electrode k are then calculated by formula [1.96] and the influence coefficients are obtained by Ckl
Qk Vl
[1.98]
The electric charges accumulated on the electrodes l counterbalance the electric charges accumulated on all the other electrodes, which results in the equality Cll
[1.99]
¦ Ckl k zl
In the even more specific case (although very usual) of a linear problem simply comprising two electrodes with potentials V1 and V2, the effects of potential variations on one or other of the electrodes are identical, but with opposite signs. Only one influence coefficient, its capacity C, then characterizes the condenser C
C11
C22
C12
C21
Q1 V1 V2
Q2 V2 V1
[1.100]
In this case, this capacity is also directly calculable from [1.86] C
2We
V2 V1 2
[1.101]
The capacity of our condenser, corresponding to energy of 479.4 nJ for a potential difference of 100 V, is of 95.89 pF. 1.3.8.9. Influence coefficients of one electrode on another: nonlinear case When the problem is nonlinear, it is still possible to determine the influence coefficients. However, these coefficients are no longer constant, because they depend on the point of polarization of the device. We are thus dealing with incremental influence coefficients.
Introduction to Nodal Finite Elements
33
For this purpose, let us start again with definition [1.97] of an influence coefficient and formula [1.96] giving the charge on the electrode k
Ckl
w wVl
ª wW wv º «¦ c i » «¬ i wvi wVk »¼
w 2Wc wvi wW w ª wvi º ¦ c « » w w w i Vl vi Vk i wvi wVl ¬ wVk ¼
¦
[1.102]
The second summation disappears because node i is either free or on an wvi wWc 0 and the second electrode. In the first case = 1 or 0. We obtain wVk wvi
Ckl
¦¦ i
j
wvi w 2Wc wv j wVk wv j wvi wVl
[1.103]
When node j is on electrode l, derivative
wv j
is worth 1 and, when this node is wVl on another electrode, the derivative is worth 0. When the nodal value is free, its wWc variation is determined by noting that, according to [1.52], the quantities are wvi equal to zero, therefore with zero variations, whatever Vl is, which results in w ª wWc º « » wVl ¬ wvi ¼
w 2Wc wv j j wv j wvi wVl
Nn
¦
Nn w 2Wc wv j w 2Wc wv j ¦ j 1 wv j wvi wVl j N L 1 wv j wvi wVl
NL
¦
0 [1.104]
These equations, written for all the free nodal values, constitute the following system of NL linear equations with NL unknown variables
w 2Wc wv j ¦ j 1 wv j wvi wVl NL
w 2Wc for i = 1, 2, …, NL ¦ j electrode l wv j wvi
[1.105]
Its resolution supplements the set of the derivatives. This process also provides wvi the . Everything is then available for the calculation of the coefficient of wVk influence sought by formula [1.103], which can be reorganized in order to factorize the incremental charges.
34
The Finite Element Method for Electromagnetic Modeling
The matrix of this system, which is square and symmetric, is called the tangent matrix, because it also appears in the resolution of the system of nonlinear equations [1.52] by the Newton-Raphson method. For a linear problem, the tangent matrix is identical to matrix S of linear system [1.57]. 1.3.8.10. Sensitivity analysis to the physical and geometric parameters At the time of determining the coefficients of influence, we have considered a quantity resulting from the calculation (an electric charge of electrode) and we have calculated from it the derivative with respect to a parameter of the problem (an electrode potential). In a phase of study or sizing, the need is much broader. It can be, indeed, necessary to know the influence on a local quantity (potential, field, induction, etc.) or global (load, force, etc.), of a physical parameter (an electrode potential, the permittivity, the charges density, etc.) or geometric (a position, a dimension, a form, etc.). The objective of this section is to show how it is possible to determine the sensitivity of a quantity with respect to an unspecified continuous parameter [GIT 89]. These sensitivities are extremely useful, during the phase of design of a device, for its manual sizing or its automatic optimization. 1.3.8.10.1. Sensitivity analysis Let us consider a problem, similar to [1.52], resulting from the Ritz or Galerkine method, where the NL unknown values v1, v2, …, of the state variable, for example the free nodal potentials, result from the solution of NL linear or nonlinear equations written for a fixed value of a parameter p, for example, an electrode potential
^
` ri ^v1 p ,v2 p ,...,vN p , p`
ri v1, v2,...,vNL , p
L
0 for i = 1, …, NL [1.106]
Let us also consider a quantity f, for example, a charge on an electrode, resulting from a post-processing of the state variable
f
^
` f ^v1 p , v2 p ,...,vN p , p`
f v1, v2 ,...,vN L , p
L
[1.107]
This function depends on the parameter, directly if it appears in its expression and indirectly via the nodal values. The derivative
df of f with respect to p is a dp
very useful indicator of sensitivity, either for a human operator, or for an optimization algorithm. In order to evaluate such a derivative, two methods are available: the approximation by finite differences and the exact differentiation.
Introduction to Nodal Finite Elements
35
1.3.8.10.2. Sensitivity by finite differences The sensitivity calculation by the finite difference method consists of replacing the derivative by the approximation
df f p 'p f p | dp 'p
[1.108]
by using two answers calculated for values close to the parameter. This technique has the advantage of being very simple to implement. However, it has the drawback of very often leading to inaccurate results since the difference in two close quantities having errors leads to a larger relative error. In fact, there is a contradiction between the requirement of taking a very small shift 'p, in order to approach the mathematical definition of the derivative, and the need to have the two tests sufficiently distant in order to minimize the impact of inaccuracies on each of them. A trade-off for the step is proposed by [GIL 83] 'popt
2
H num
[1.109]
f " ( p)
where f"(p) is an approximation of the second derivative of f and Hnum is an estimate of the error made during a calculation of f. 1.3.8.10.3. Sensitivity by exact differentiation The determination of the sensitivity by exact differentiation consists of expressing the derivative on the basis of the partial derivatives with respect to the nodal values and the parameter
df dp
NL
wf dv j wf wp 1 wv j dp
¦
j
wf wV
T
.
dV wf dp wp
The vector of nodal derivative values
dV dp
[1.110]
ª dv j º « » is obtained by noting that ¬ dp ¼
residues [1.106] preserve zero values, which are therefore constant whatever the p, which implies that each of their derivatives is zero
dri dp
NL
wri dv j wri wp 1 wv j dp
¦
j
0 for i = 1, 2, …, NL
[1.111]
36
The Finite Element Method for Electromagnetic Modeling
These linear equations represent a matrix system of matrix
second member
wR wp
wR wV T
ª wri º « » and of «¬ wv j »¼
ª wri º « wp » , of which the solution provides the derivatives of ¬ ¼
nodal values
wR dV . wV T dp
wR wp
[1.112]
Within the framework of the finite element method, this matrix is already known since it is the matrix of the linear systems for a linear problem and the tangent matrix at the solution in the case of a nonlinear problem. By injecting the derivative of the nodal values in [1.110], we obtain the required sensitivity. It is the step followed for the determination of the coefficients of influence between two electrodes. 1.3.8.10.4. Sensitivity by adjoint states Very often, it is not only one parameter but several which are involved in a sizing process. Their influence on f can, of course, be obtained by repeating, as many times as necessary, the previous step. However, for each of them, it is necessary to solve a large linear system [1.112], indeed by preserving the same matrix, but each time with a second different member. We will see that it is possible to significantly reduce the calculation time by using the adjoint state method. In fact, the combination of [1.110] and [1.112] give for the sensitivity
df dp
wR 1 wR wf wV T wV T wp wp wf
/T
wR wf wp wp
[1.113]
where we have introduced vector /, which gathers the adjoint states of the nodal value derivatives. This vector is obtained by solving the matrix system
wRT / wV
wf wV
whose matrix is the transpose of that of [1.112].
[1.114]
Introduction to Nodal Finite Elements
37
The adjoint state vector depends only on f. When there are fewer functions to derive than parameters, the calculation of adjoint states is, in terms of a number of linear systems resolutions, more advantageous than that of the direct influences. 1.3.8.10.5. Higher order derivation The previous derivation process can be applied to any variable resulting from post-processing, including sensitivity. It is thus possible to obtain successively as many higher order derivatives as desired, either with respect to only one parameter, or with respect to several [GUI 94]. These derivatives can be used for construction of a Taylor or Padé development. 1.3.8.11. Forces, torques, stiffness Let us now consider a device comprising a mobile electrode with respect to the remainder of the domain: the pallet of an electrostatic contactor, the rotor of an electrostatic motor, etc. (Figure 1.10). Starting from the distribution of the potential, it is possible to determine the force or the torque exerted on this mobile conductor using the following algorithms: the integration of the Maxwell tensor [CAR 59], the application of the theorem of virtual work by finite differences or the application of virtual work by exact differentiation [RAF 77], [COU 83], [COU 84]. 1.3.8.11.1. Integration of the Maxwell tensor The force and the electric torque acting on a rigid body can be obtained by integration of the Maxwell tensor using the following process: – choice of an arbitrary surface S in the vacuum (or an equivalent medium) including only the rigid body; – calculation of the force by the integration
F
D.E
ª º ³³ «D.n E 2 n» dS ; ¼ S¬
[1.115]
– calculation of the torque by the integration
C
D.E
ª º ³³ «D.n r u E 2 r u n » dS ; ¼ S¬
[1.116]
where n is the normal unit vector on surface S, r is the radius vector of the current point of S compared to the axis of rotation, E is the electric field and D is the electric induction (electric flux density). Similar expressions exist in magnetism.
38
The Finite Element Method for Electromagnetic Modeling
V1 F S F V2
Figure 1.10. Force between two electric conductors
In theory, the choice of surface S is arbitrary. In practice, since the fields obtained by finite elements are only approximations, it is necessary to take precautions to obtain the best possible results. Either the surface S will cross the elements in their “medium”, where the approximation is the best, or the solution will be smoothed carefully. With the virtual work method that we will present below, these particular treatments are not necessary. 1.3.8.11.2. Virtual work The expressions of the force and the electric torque acting on a rigid part are also accessible by application of the virtual work theorem. During a virtual displacement Gu, the variation GWe of the internal energy of the device is equal to the electric energy brought by the external sources connected to the electrodes plus the work of the force –Fu.
¦VkGQk FuGu GWe ¦
wWe wW GQk e Gu wQk wu
[1.117]
In a first experiment, the device is supposed to be isolated electrically from the external world. Along each electrode k, the electric charges can vary, but their sum remains constant, which results in GQk = 0. The same experiment can be carried out for the study of the torque CZ for a rotation GT around an axis Z. From this it results that force and torque are the partial derivatives of the internal electric energy with respect to the displacements, the electric state variable (the electric charges of the electrodes) being kept constant
Introduction to Nodal Finite Elements
Fu CZ
wWe wu wWe wT
39
[1.118]
[1.119]
In a second experiment, the device is connected to electric voltage sources which maintain as constant the potentials Vk of the electrodes. This time, during a small displacement, electric charges GQk are brought or withdrawn from the electrodes. Let us note that the internal charges remain attached to the matter and are not concerned with these variations. The preceding energy assessment always remains valid. However, it is judicious to reveal here the system coenergy because for this second experiment, it is the potential which is state variable. By withdrawing, on both sides of assessment [1.117], the variations GQk of the potential products by charges, we obtain
¦VkGQk ¦G VkQk FuGu GWe ¦G VkQk ¦QkGVk FuGu
GWc
¦
wWc wW GVk c Gu wVk wu
[1.120]
[1.121]
From this it results that force and torque are the partial derivatives of the electric coenergy with respect to the displacements, the electric state variable (electric electrode potentials) being maintained as constant
Fu
CZ
wWc wu wWc wT
[1.122]
[1.123]
In the numerical field, it is possible to calculate two approximations of the coenergy for two positions close to the moving part, then to apply the finite difference method
'Wc 'u 'Wc CZ | 'T Fu |
[1.124]
[1.125]
40
The Finite Element Method for Electromagnetic Modeling
However, this procedure is expensive, since it requires two resolutions, and inaccurate. Indeed, this procedure expresses the difference in two close quantities tainted with error. Within the framework of the finite element method, the exact differentiation is more economic and more precise than the finite difference method. It consists, as with the integration of the Maxwell tensor, of extracting an approximation from the force or torque starting by using only one resolution of the state variable (in the electric potential). Here is the principle illustrated on the coenergy formulation that we have used throughout this chapter. The finite element resolution of problem [1.52] results in the best possible combination of the degrees of freedom for the selected approximation. The introduction of the obtained values into expression [1.35] gives an approximation of the system coenergy. This integral is the sum of the finite element integrals. Each elementary integral depends on the coordinates of the nodes, either by the integral term, or by the terminals. We are thus able to determine the derivative of an approximation of the coenergy with respect to the position of the rigid body and thus obtain an approximation of the force or torque. With potentials of electrodes maintained constant, the finite element approximation of the coenergy becomes a function of the only displacement u, either directly via the positions of the nodes, or indirectly via free nodal values.
Wc
Wc [v1 u , v2 u ,..., v N L u , u] Wc u
[1.126]
The exact derivative of the approximation gives an approximation of the force
Fu
dWc du
NL
wWc dv j wWc wu 1 wv j du
¦
j
[1.127]
However, according to [1.52], the partial derivatives with respect to the nodal values are zero and we thus obtain
Fu
wWc wu
[1.128]
which is the partial coenergy derivative when all the nodal values are maintained constant.
Introduction to Nodal Finite Elements
41
Figure 1.11. Virtual deformation of the meshing
Let us now consider the virtual displacement of the moving part in the meshed domain of Figure 1.11. This rigid part is included by a deformable material. The virtual deformation can, indifferently, be distributed on a layer of elements (as in the figure) or on several layers to introduce a type of average. The system coenergy is the sum of elementary integrals which are all expressed according to the coordinates of the geometric nodes of the elements. During the virtual deformation with constant nodal values of the potential, only the integrals on the deformed elements vary, either by the integral term or by the shape of the element. The exact derivation of these integrals with respect to the displacement is thus possible and provides a method of calculation of the force and torque. The influence of virtual displacement is taken into account thanks to the derivatives of the nodal coordinates. For example, for a virtual displacement Gu in the direction of the axis y, the derivatives of the fixed nodes are zero, whereas the derivatives of the coordinates of the nodes attached to the moving part are
dxi du dyi du
0 [1.129]
1
The buffer nodes between fixed nodes and mobile nodes, if they exist, have intermediate and progressive derivative values.
42
The Finite Element Method for Electromagnetic Modeling
For triangles, derivations with respect to the coordinates of the nodes are very simple to implement [COU 84] and lead directly by integration on the deformed elements to the same result as the integration of the Maxwell tensor “in the middle” of the elements. However, these specific derivations will not be developed here because we privilege the local Jacobian derivative method, which we will present at the end of the chapter and which is adapted to all types of elements and formulations. Forces and torques can be derived with respect to any other physical or geometric parameter. In particular, the derivations with respect to the positional parameters of the mobile body correspond to the stiffness [COU 83]. Lastly, the virtual work method is well adapted to the study of internal forces in deformable materials [REN 92] or in magnetized mediums [DEM 99]. 1.3.9. Dual formulations, framing and convergence
Instead of choosing the functional of coenergy [1.35], we could have chosen a functional of energy, inspired by [1.85], with the electric vector potential U as a state variable. These dual approaches, by coenergy and energy functionals, result in approximate solutions which frame the exact solution [REN 95]. We will give here only one simple illustration of this behavior in our 2D example. In a 2D case and in the absence of space charge, uz the component perpendicular to the xOy plane of the vector potential (the only useful one in 2D) has an equation similar to that of the scalar potential. However, the edges of the electrodes are homogenous Neumann borders, whereas the axes of symmetry are equipotential borders. Their difference expresses the electric flux crossing the device, i.e. charge Q of the electrodes which, for this formulation, must be given a priori. Table 1.4 shows the evolution of the obtained capacitors by successive resolutions on increasingly fine meshing. The first meshing, comprising 12 triangles, is that in Figure 1.7. The second meshing is obtained by subdividing each triangle of the previous meshing into four. The subdivisions are reiterated until the finest meshing with 3,072 elements. The first and the second lines of the table indicate the sequence numbers or order n of the grids and their respective number of triangles. The third and fourth lines give the capacitors Cc n Ce n
2Wc n / V 2
and
Q 2 / 2We n calculated from the energies Wc n and We n obtained on these
grids by means of the coenergy and energy functionals. As the base of the functions of approximation is enriched with each new meshing, the minima of the functionals,
Introduction to Nodal Finite Elements
43
and thus the energies, decrease with each subdivision. A capacitor decreases and the other increases. The two series tend, in a monotonous way, towards the same limit which they surround on two sides. The speed of convergence is low because of the point effect existing at angle P2. This phenomenon causes a singularity on the solutions which the finite element approximations follow with difficulty. In fact, the refinement strategy of meshing adopted here is not very effective. With a given number of elements, instead of subdividing in a uniform way in the entire domain, it would have been preferable to mesh more finely around the singular point. A denser meshing around P2, in 2,253 triangles of the second-order, has allowed the framing to be determined C = 90.489 pF r 0.001 pF. n
1
2
3
4
5
Nb triangles
12
48
192
768
3,072
Cc n
95.89
92.51
91.27
90.79
90.61
Ce n
86.31
88.74
89.78
90.20
90.37
91.098
90.625
90.521
90.497
90.491
90.972
90.606
90.518
90.496
90.491
Cc ex n
90.535
90.499
90.492
Ce ex n
90.490
90.489
90.489
Cc n Ce n
2
Cc n * Ce n
Table 1.4. Capacitors (pF) as a function of the number of subdivisions
The fifth and sixth lines of the table indicate the arithmetic and geometric capacitor averages. They are close to the exact value. It is also possible to extrapolate the results of the successive subdivisions. For example, the convergence hypothesis C hn | C 0 DhnE , with hn being the diameter of the triangles varying in 1 / 2 n , C(0) the required limit and D E two unknown coefficients, leads to the formula of following extrapolation Cex n
Cn
(Cn Cn 1 ) 2 Cn 2Cn 1 Cn 2
[1.130]
The two last lines show the results of these extrapolations requiring three consecutive meshing processes. They are also close to the limit.
44
The Finite Element Method for Electromagnetic Modeling
1.3.10. Resolution of the nonlinear problems
The finite element method leads to the fundamental system of equations [1.52]. When the problem is linear, which is the case in the example covered, the equations of this system are themselves linear according to the nodal values, which can then be obtained directly by solving matrix system [1.57]. However, in real devices, nonlinearities appear in the constitutive relations D(E) of materials. It is thus necessary to solve system [1.42] by means of an adapted method. Among all the available methods, the Newton-Raphson method is often used in finite elements. It concerns the generalization of the tangent method, making it possible to solve from one nonlinear equation with an unknown variable to the resolution of a system R(X) = 0 of NL equations R
T
½° ¾ °¿
with
^v1, v2 ,..., vN `T . It is an iterative method which, starting from an
NL unknown X
initial vector X
° wW wW c, c ,..., wWc ® v v w w wv N L °¯ 1 2
L
( 0)
^
` , builds a series of vectors X
( 0) T v1( 0) , v2( 0) ,..., v N L
(k)
which, if the
conditions of convergence are met, tends towards the solution. In order to go from iteration to the following, let us start with the first order Taylor development centered on X (k):
R X ( k ) 'X ( k ) | R X ( k )
where
wR ( k ) wX T
wR wX
T
(k )
'X ( k )
[1.131]
ª w 2Wc º « » is the tangent matrix of the system at iteration k and ¬« wv j wvi ¼»
'X(k) is a vector of the increments of the unknown variables. In order to try to cancel the first member, this vector is selected so that the second member of [1.131] is zero. It is thus the solution of the linear system wR ( k ) wX T
'X ( k )
R X (k )
[1.132]
The vector at the following iteration is obtained by X ( k 1)
X ( k ) 'X ( k )
[1.133]
Introduction to Nodal Finite Elements
45
The iterative process is stopped when the increment, which is sufficiently small, verifies
'X ( k ) X ( k 1)
d relative precision
[1.134]
In practice, this method converges well in some iterations (roughly less than 10) when the constitutive laws are monotonous and are not too stiff. When difficulties of convergence appear, it is usual to introduce an under-relaxation at the time of the passage from one iteration to another by X ( k 1)
X ( k ) Z 'X ( k )
[1.135]
The value of the coefficient of under-relaxation Z, ranging between 0 and 1, can be selected empirically or determined by an algorithm, for example by minimizing
the norm of R X ( k ) Z 'X ( k ) [FUJ 93]. The fixed point method [OSS 99], which is certainly slower but very robust, can be used as an alternative when the Newton-Raphson method does not converge. 1.3.11. Alternative to the variational method: the weighted residues method
We have, at the time of our presentation, favored the variational approach, because, based on energy concepts, it allows the integral form to be interpreted and sometimes to be re-used in post-processing. However, this approach is based on a functional that is sometimes unknown or even does not exist. In this case, passing from the differential form to an integral form is still possible, thanks to the weighted residues method which is also called the Galerkine method. In order to present the weighted residues method, let us again use the differential form of the 2D electrostatics problem in Figure 1.6 divD U
Dn
0
0
v V1
0 and v V2
100
in : (the domain)
[1.136]
on *N (the axes of symmetries)
[1.137]
on *D (the electrodes 1 and 2)
[1.138]
46
The Finite Element Method for Electromagnetic Modeling
where vector D(x,y) is defined by the sequence E grad v and D D( E ) , with v(x,y) a continuous scalar function, complying with [1.138] and, moreover, derivable once everywhere and twice per piece. The introduction of the solution into the first members of equations [1.136] and [1.137] would give a uniformly zero result. On the other hand, any other function would produce a non-zero residue. This observation is the basis of the weighted residues method whose idea is to measure and to zero the residue corresponding to v(x,y), by means of the functional r v, w
³³ >divD U @ w d: ³ Dn w d* :
[1.139]
*N
where w(x,y) is a continuous function which has a value of zero on the border *D, called a weighting function or test function. If, among all the possible functions v(x,y), there is one, vm(x,y), such that r vm , w 0 , whatever w(x,y), then this function, which by assumption already checks [1.138], also checks [1.136] and [1.137], is thus the solution of the problem. In the finite element context, the study is limited to functions v(x,y) defined, as in the variational approach, by [1.50] v ( x, y )
Nn
¦ v j M j x, y
[1.140]
j 1
where the M j x, y are predefined shape functions and the vj are the nodal values, known initially only on the Dirichlet boundaries. The NL degrees of freedom vj unknown are determined by solving a system of NL equations [1.139] written for NL independent test functions wi(x,y) r v, wi
0 for I = 1, 2, …, NL
[1.141]
These test functions are arbitrary. Two different sets of functions will lead to different sets of nodal values and therefore to different approximate solutions. They can themselves be defined by finite elements. In addition, it is usual to re-use, as test functions, the proper shape functions of function v. It is possible to stop going further by saying that it is now enough to solve (linear or nonlinear) system [1.141] to obtain the missing degrees of freedom. However, this has the drawback of leading, even in the simplest case of a linear problem with
Introduction to Nodal Finite Elements
47
identical shape functions and test functions, to non-symmetric matrices, which is penalizing in terms of memory storage and computing time. This situation is improved by using some additional arrangements carried out on functional [1.139]. Indeed, if a chosen test function w is not only continuous, but also derivable per piece, an integration by parts leads to r v, w
³³ > D grad w U w@ d:
[1.142]
:
This form is more suitable than writing the system of equations [1.141]. With it, only the derivability per piece of the shape functions is required. In addition, it leads, for a set of test functions identical to the set of the shape functions, to a system identical to that obtained by the Ritz method which has good symmetry properties. In conclusion, the Galerkine method offers a systematic approach to go from a differential form to an integral form that can be treated by discretization in finite elements. It has a broad applicability. For instance, the Ritz method can be considered as a particular case of the Galerkin method. In particular, the separation between shape functions, for the approximation of the solution, and weighting functions, for the evaluation of its residue, introduces additional possibilities compared to the Ritz method. This faculty will be made profitable to solve equations having stability problems, such as the equations with transport terms [MAR 92]. 1.4. The reference elements
In the previous sections, we presented two applications of the finite element method. We have seen that this method is based on a meshing of the used domain for the definition, per piece, of the shape functions whose adequate weighting ensures the approximation of the solution. In the first 1D example, we have used segments which are the only finite elements available in this space. In the second example, we have used triangles, but we could also have meshed the domain in quadrangles. Triangles are often used in 2D, because they are suitable for an automatic meshing. However, quadrangles are appreciated, because they are particularly appropriate for the discretization of narrow zones or involving particular physical phenomena. In addition, it is possible to mix, within the same meshing, different types of elements, provided the continuity conditions necessary for the functions of approximation are fulfilled. The developments carried out in two dimensions are extended in an obvious way to three dimensions. In this case, the space would have been discretized in elements of tetrahedral, hexahedral, prismatic or pyramidal volume.
48
The Finite Element Method for Electromagnetic Modeling
We thus have several topologies of 1D, 2D and 3D elements. For each topology, we can exploit the quality of the approximation. In the 1D example, we have successively used two polynomial approximations of first order and second order. In the 2D example, we have implemented triangles with first-order polynomial interpolation. We could also have used second order or a higher order or have mixed the orders by using transition elements. In practice, whatever the dimension of space, the first-order elements are by far the easiest to implement and thus, for this reason, are the most used. However, the elements of higher orders have some relevance. On the one hand, at a given calculation cost, they lead to an approached solution that is more accurate than the first-order elements, and on the other hand, they allow the curvilinear elements to be managed, which is quite useful for the discretization of objects having non-plane surfaces. For these reasons, the secondorder elements which seem to be a good trade-off between easy implementation and accuracy are also often used. The elements of higher orders, for example of orders 3 to 6 [SIL 83], allow high quality approximations. As we have seen in the first example, the construction of polynomial functions of an unspecified degree in a 1D sub-domain does not raise any particular difficulties. In the second example, we have defined the first-order shape functions in triangles by using identification. To go up in order, we could use the same process, but will prefer to use another, more powerful, process based on the concept of 1D, 2D and 3D reference elements, which we will now develop [ZIE 79]. 1.4.1. Linear reference elements
In a 1D space, the only reference elements available are the segments. On a segment, a point 3 is localized using a normalized local coordinate [ varying between –1 and +1. 1.4.1.1. First-order segment Figure 1.12 shows the first-order Lagrange reference element. It has two nodes, located at its terminals, of coordinates [1 = –1 and [2 = +1. Intrinsic functions associated with the terminals of the element are defined by the following Lagrange polynomials of degree 1
O11 [
1[ 2
O21 [
1[ 2
[1.143]
Introduction to Nodal Finite Elements
49
Figure 1.12. First-order linear element
Figure 1.13. Second-order linear element
1.4.1.2. Second-order segment The rise in order is possible. As an example, Figure 1.13 represents the reference element which, in addition to the terminal nodes [1 = –1 and [2 = +1, has a middle node of coordinate [3 = 0. This element has as an intrinsic function the following Lagrange polynomials of degree 2
[ .[ 1 O12 [ 2
[ .[ 1 O22 [ 2
O32 [ 1 [ 2
[1.144]
1.4.2. Surface reference elements
In a 2D space, the most current reference elements are triangles and quadrangles which we will discuss below. 1.4.2.1. First-order triangle In a triangle, a point 3 is localized by means of two local coordinates, [ and \, called surface coordinates, which can be defined be the following ratios of surfaces
[
S[ S[ S\ S9
\
S\ S[ S\ S9
[1.145]
In order to make the role of the nodes symmetric, the third ratio S] ] 1 [ \ is also introduced. S[ S\ S9
50
The Finite Element Method for Electromagnetic Modeling
Figure 1.14. First-order triangular element
For an interior point 3 or on the edge of the triangle, the coordinates check simultaneously the three relations 0 d[ d1
0 d\ d 1
0 d] d1
[1.146]
Figure 1.14 represents the first-order triangular reference element. It has three nodes, which have as local coordinates (1,0), (0,1) and (0,0). The intrinsic functions associated with these three nodes are
O11 [ ,\ [
O21 [ ,\ \
O31 [ ,\ ]
[1.147]
1.4.2.2. Second-order triangle Figure 1.15 shows the second-order triangular Lagrange reference element. Compared to the previous element, it has three additional nodes, in the middle of its edges, of coordinates (0.5, 0.5), (0, 0.5) and (0.5, 0). Its intrinsic functions are
O12 [ ,\ [ .2[ 1 O22 [ ,\ \ .2\ 1 O2 [ ,\ ] .2] 1 3
O42 [ ,\ O2 [ ,\
4[\
[ ,\
4][
5 O62
4\]
[1.148]
Elements of an even higher order can be encountered, up to order 6 [SIL 83]. Additionally, elements with different orders on each one of its edges can be used as a transition between different order elements.
Introduction to Nodal Finite Elements
51
Figure 1.15. Second-order triangular element
1.4.2.3. First-order quadrangle In a quadrangle, a point 3 is also localized using two normalized coordinates [ and \, each varying between –1 and +1. Figure 1.16 represents the first-order quadrangular reference element. It has four nodes, which have as local coordinates (+1, +1), (–1, +1), (–1, –1) and (+1, –1). The intrinsic functions associated with these four nodes are
O11 [ ,\ O1 [ ,\
1 [ 1 \ / 4 1 [ 1 \ / 4 2 O31 [ ,\ 1 [ 1 \ / 4 O41 [ ,\ 1 [ 1 \ / 4
Figure 1.16. First-order quadrangular element
[1.149]
52
The Finite Element Method for Electromagnetic Modeling
1.4.2.4. Second-order quadrangle The rise to second-order can be complete, with the element with 9 nodes (4 nodes, 4 middles of edges and the center), or incomplete with the element with 8 nodes (4 nodes and 4 middles of edges) [ZIE 79]. We will present here only the latter, shown in Figure 1.17, which is in current usage. Here are some of its intrinsic functions
O12 [ ,\ O2 [ ,\ 2
1 [ 1 \ 1 [ \ / 4 1 [ 1 \ 1 [ \ / 4
...
O52 [ ,\ O2 [ ,\ 6
1 [ 1 \ / 2 1 [ 1 \ / 2 2
[1.150]
2
...
Figure 1.17. Incomplete second-order quadrangular element
1.4.3. Volume reference elements
In a 3D space, the main reference elements are tetrahedrons with 4, 10 or more nodes, hexahedrons with 8, 20, 26 or 27 nodes, prisms with 6, 15 or 18 nodes and possibly pyramids [COU 97] for the connection between the elements with triangular facets and the elements with quadrangular facets. As an illustration, Figures 1.18 and 1.19 represent some first and second-order 3D elements.
Figure 1.18. Some first-order 3D reference elements
Introduction to Nodal Finite Elements
53
Figure 1.19. Some second-order 3D reference elements
1.4.4. Properties of the shape functions
On each reference element, the shape functions have been built in order to always guarantee a certain number of fundamental properties. First of all, it is the nodal functions that comply with
Ol ; l 1
Ol ; k z l 0
[1.151]
where ;l is the vector of the local coordinates of node l. Then, they verify the property of unit partition, i.e. Element nodes
¦
Ol ; 1
[1.152]
l
where ; is the vector of the unspecified coordinates of a point in the element. Lastly, they verify the localization property on the edges of the element. Thus, on an edge of a surface or volume element, or on a facet of a volume element, the form functions of the nodes not belonging to this edge or this facet are uniformly zero, which results in
OlEdge ; Edge 0
Edge nodes
¦ l
Ol ; Edge 1
[1.153]
where ;Edge represents the unspecified coordinates of a point of the considered edge. In other words, the elements are organized in such a way that any facet of a volume reference element is a surface reference element, and any edge of a surface reference element is a linear reference element. Thus, two elements sharing an edge or a facet have on their common support the same local shape functions.
54
The Finite Element Method for Electromagnetic Modeling
1.4.5. Transformation from reference coordinates to domain coordinates
We have just reviewed some linear, surface and volume reference elements. Each element topology has its reference space, with its own local coordinates. On a given topology, several elements are definable, each one having nodes. The intrinsic shape functions are polynomial (except for the pyramid) associated with these nodes. The degree of these polynomials defines the order of the element. In our electrostatic 1D and 2D examples and, in fact, in all uses of the finite elements, the domain integrals appear. We will thus study the transformation between reference coordinates and domain coordinates on which these integrals are defined. When meshing the domain, each finite element, in practice, is defined by its reference element and by the geometric positioning of its nodes in the discretized domain. Let us consider an element with L nodes. Each node L has as a vector of domain coordinates Xl, as a vector of local coordinates ;l and as a function of local form Ol(;). The transition between the reference coordinates ; and the domain coordinates X is thus simply defined by X ;
L
¦ X l Ol ;
[1.154]
l
This definition is satisfactory, since a function of form Ok(;) takes the value 1 at node l, the value 0 at other nodes and interpolates the coordinates elsewhere. If the element is not too distorted, the previous formulae are invertible and define, in an implicit way, the reverse transformation. In fact, we will see that in the process of resolution by finite elements, this reverse transformation does not need to be explicit. This geometric transformation can be applied to all element types, the starting space being of a size equal to or lower than the arrival space. For example, for a triangular element of which nodes nD, nE and nJ are positioned in XD = [xD,yD]T, XE = [xE,yE]T and XJ = [xJ,yJ]T, the transition between the local coordinates ; = [[,\]T and the domain coordinates X = [x,y]T is defined by x [ ,\
xD O11 [ ,\ x E O21 [ ,\ xJ O21 [ ,\
y [ ,\
yD O11 [ ,\ y E O21 [ ,\ yJ O21 [ ,\
[1.155]
Introduction to Nodal Finite Elements
55
For a second-order element, having intermediate nodes on edges nD n E, nE n J, and nJ n D, this would give x
xD O12 [ ,\ ... xJ O32 [ ,\ xDE O42 [ ,\ ... xJD O62 [ ,\
y
yD O12 [ ,\ ... yJ O32 [ ,\ yDE O42 [ ,\ ... yJD O62 [ ,\
[1.156]
If the intermediate points are not exactly in the middle of the edges, the transformation is nonlinear [ZIE 79]. Curvilinear elements are built in this way, as is illustrated in Figure 1.20. Their use allows a domain with curves to be meshed with a reduced number of elements, compared to a discretization in rectilinear elements. For example, to mesh the quadrant of Figure 1.21, four curvilinear elements are sufficient. 1
3
2
[
3 NE
y ND
NDE
T[
P x
Figure 1.20. Curvilinear linear element
y
x
Figure 1.21. A quadrant discretized by means of curvilinear elements
The point P is an image in the domain of a point 3 of the reference element. When only one of the local coordinates varies, for example [, the point P moves
56
The Finite Element Method for Electromagnetic Modeling
along a curve (Figure 1.20). In this point, the vector of the derivatives T
ª wx wy º « w[ w[ » is tangent to the curve and its amplitude corresponds to a metric ¬ ¼ change for this coordinate. T[
It is convenient to gather all the components of the tangent vectors in only one matrix G, called the Jacobian matrix, obtained by derivation of [1.154]. For example, in the case of a transition from 2D to 3D, G has as an expression
G
ªT[T º « T» «¬T\ »¼
ª wx « w[ « « wx «¬ w\
wy w[ wy w\
wz º w[ » » wz » w\ »¼
ª wOl º « w[ » ¦ « wO » . >xl l « l» «¬ w\ »¼ L
yl
zl @
[1.157]
Generally, G is obtained by
G
ª wX T º « » «¬ w; »¼
L
¦ grad ;Ol . X lT
[1.158]
l
In the particular case of a rectilinear triangle of nodes nD, nE and nJ, used in the 2D electrostatic example, this gives simply
G
ª xD xJ «x x ¬ E J
yD yJ º yE yJ »¼
[1.159]
1.4.6. Approximation of the physical variable
Starting from the geometric position of the nodes of an element, we have seen how to go from local coordinates to domain coordinates. To go further, we will now describe the approximation of the physical variables. A physical scalar and continuous variable is interpolated, according to a procedure similar to that used for the coordinates, by using the nodal values and the intrinsic functions of the reference element. Thus, the electric potential could be defined as in [1.154] by L
v; ¦ vl Ol ; l
[1.160]
Introduction to Nodal Finite Elements
57
However, for an element, there is no obligation to have the same type of approximation for the geometry and the physical variable. This situation occurs naturally when it is necessary to improve the quality of the solution by increasing the order of the approximation without modifying the meshing. For example, for the triangular element whose geometry will always be defined by the position of the three nodes, the electric potential could be interpolated in the first simulation by vD O11 [ ,\ v E O21 [ ,\ vJ O31 [ ,\
v [ ,\
[1.161]
then in a second one by v
vD O12 [ ,\ ... vJ O32 [ ,\ vDE O42 [ ,\ ... vJD O62 [ ,\ [1.162]
The geometry is defined on a reference element, whereas the physics is interpolated on another reference element of the same topology. In addition, other physical variables could be interpolated with their own order or even according to different diagrams (hierarchical nodal elements, edge elements, facet elements or volume elements [BOS 83]) from the nodal interpolation, the only interpolation presented in this chapter. For the physical variable, we thus replace [1.160] by K
v; ¦ vkMk ;
[1.163]
k
where Mk(;) are the intrinsic functions Ok(;) corresponding to the selected reference element. Formula [1.154] interpolates on the basis of the coordinates of the geometric nodes, whereas [1.163] interpolates on the basis of the nodal variables vk associated with the physical nodes. When the geometric and physical nodes coincide, the approximation is known as isoparametric. When the number of physical nodes is a sub- or an upper-set of the geometric nodes, it is called sub- or upper-parametric. In order to be able to give the integral’s finite elements, it is also necessary to have the expression of the gradient of the physical variable gradX v. In the reference space, the expression of the local gradient grad; v is a combination of the gradients of the local form functions
grad; v
K
¦ vk grad; Mk k
[1.164]
58
The Finite Element Method for Electromagnetic Modeling
The local gradients and the domain gradients are connected by the relations
grad; v
G gradX v
gradX v
G1grad; v
[1.165]
in which the Jacobian matrix G and its inverse on the right G–1 intervene
G1
ª w;T º « » «¬ wX »¼
and
G G1
I;
[1.166]
Table 1.5 gives the forms of the Jacobian matrices, of their determinant and their inverse on the right, for various combinations of dimensions of the reference space and the calculation domain. In the particular case of a rectilinear triangular of nodes nD, nE and nJ, in a 2D domain, this gives
G1
yD yJ º xD xJ »¼
1 ª yE yJ « det G ¬ xE xJ
[1.167]
with
detG
xD xJ yE yJ xE xJ yD yJ
[1.168]
As a summary, in a point 3 of coordinates ; in the reference element, we have at our disposal formulae, giving in its image P the domain, the coordinates, the Jacobian matrix, the determinant of this matrix, its inverse on the right, the physical variable and its gradient. Consequently, thanks to the change of coordinates [1.154], an integral on a finite element e can be replaced by an integral on the corresponding reference element '. For example, for an integral on a volume element, this gives
³³³ f ^X , U >X @, v>X @, gradX v>X @,...` dX e
³³³ f ^X ; , U >X ; @, v>X ; @, gradX v>X ; @,...` det G; d; '
[1.169]
Introduction to Nodal Finite Elements
>x
>x@ G=
>[ @
det G =
G–1 =
G=
ª[ º «\ » ¬ ¼ det G =
G–1 =
>T[ @ T
ª wx º « w[ » ¬ ¼
T[
>T[ @
ª wx « w[ ¬
T
T[
>x wy º w[ »¼
>T[ @ T
det G
det G2 wy º w[ » » wy » w\ »¼
1 N\ det G
ª wx « w[ « « wx «¬ w\
ªT[T º « T» «¬T\ »¼
T[ u T\
>
N[\
N[
@
G=
wz º w[ » » wz » w\ »¼
T[ u T\
N[\ u T[ det G2
ªT[ « T» «T\ » « T» «¬T] »¼
ª wx « « w[ « wx « w\ « wx « ¬« w]
wy w[ wy w\ wy w]
@
wz º » w[ » wz » w\ » wz » » w] ¼»
T[ u T\ .T]
det G = G–1 =
wy w[ wy w\
>T\ u N[\ Tº
ª[ º «\ » « » «¬] »¼
wz º w[ »¼
>T[ @ 2
ª wx « w[ « « wx «¬ w\
ªT[T º « T» «¬T\ »¼
wy w[
T[
>T[ @ 2
y z@
ª wx « w[ ¬
ª wy º « w[ » « » « wx » «¬ w[ »¼
N[
>T[ @ det G
y@
59
>T\ u T]
T] u T[
T[ u T\
det G
Table 1.5. Expression of the Jacobian matrices, their determinant and their inverse on the right for various arrival and starting spaces
@
60
The Finite Element Method for Electromagnetic Modeling
which, in a more concise way, gives
³³³ f dX ³³³ f det G d; e
[1.170]
'
The flux of vector D through a surface element is, by introducing the normal vector N[\ T[ u T\ ,
³³ D.dS ³³ D.N[\ d[d\ e
[1.171]
'
Lastly, the circulation of vector E along a linear element is
³ E.dL ³ E.T[ d[
e
[1.172]
'
1.4.7. Numerical integrations on the reference elements
The coefficients of the equations to be solved are finite element integrals. In the case of coefficients [1.60] and [1.61], we could calculate these integrals analytically, because the selected finite elements were rectilinear triangles with linear interpolation of the variable and uniform physical property. This analytical process can be extended to triangles and rectilinear tetrahedrons of higher orders [SIL 83] or within the framework of the parametric elements thanks to integrals [1.170], [1.171] and [1.172]. However, non-polynomial variations are sometimes present in integral terms. They can be of physical origin, introduced for example by the nonlinearity of a constitutive law D(E) if E varies on the element, or of geometric origin in the case of curvilinear elements. The analytical integration is thus more problematic and a numerical integration must be considered. Numerical integration consists of replacing the integral of the function by a sum of weighted samples. There are a large number of numerical methods of which the best known are the rectangles method, the trapezoids method, the Simpson method and the Gauss method. We will more particularly be interested in the latter methods, also called numerical Gaussian quadratures, which are very often used in finite elements because they are the most effective for a given number of calculation points.
Introduction to Nodal Finite Elements
61
To explain the principle of this method, let us take an integral on a linear finite reference element, in which function f represents the whole integrating term, including the Jacobian determinant 1
³ f [ d[
[1.173]
1
Order
Polynomial integrated exactly
NG
pg
[g
1
f [ a0 a1[
1
{2}
{0}
3
f [ a0 a1[ ... a3[ 3
2
{1, 1}
f [ a0 a1[ ... a5[ 5
3
…
…
5
…
{
{
5 8 5 , , } 9 9 9 …
{
1 1 , } 3 3 3 3 } , 0, 5 5 …
Table 1.6. First- and third-order numerical Gaussian quadratures on the segment [–1, +1]
The approximation of the integral is given by 1
NG
1
g 1
³ f [ d[ | ¦ pg f [ g
[1.174]
where NG is the number of Gauss points on the reference segment [–1,+1], [g the coordinates of the Gauss points and pg their respective weights. Table 1.6 gives some normal choices for these values with their order of accuracy. For example, the formula with 1 point 1
³ f [ d[ | 2 f 0
[1.175]
1
which is very simple to implement and is exactly the rectangle method, is of first order because it is exact for the integrating polynomial terms of a degree lower than or equal to 1.
62
The Finite Element Method for Electromagnetic Modeling
Another example, the Gaussian quadrature with two points 1
§
1·
§
1·
³ f [ d[ | f ¨¨ 3 ¸¸ f ¨¨ 3 ¸¸ 1 © ¹ © ¹
[1.176]
which integrates a third-order polynomial exactly, is as accurate as the Simpson formula, which requires 3 points. In addition to their effectiveness, these formulae are numerically stable, because they use points located strictly inside the reference elements and with positive weightings. On the same basis, the integrals on the triangular, quadrangular, tetrahedral, hexahedral and prismatic reference elements are calculable, with the desired order, using numerical Gaussian quadratures
³³³ f [ ,\ ,] d[d\d] |
NG
¦ pg f [ g ,\ g ,] g
[1.177]
g 1
For example, for a triangle, 1 Gauss point is required for order 1, 3 for order 3 and 7 for order 5. For a tetrahedron 1, 4 and 15 points are needed. For quadrangles, hexahedrons and prisms, the positions and weightings can be obtained by crossing the formulae on a segment or a triangle. For these elements, more economic formulae are also available [ZIE 79], [STR 71]. The pyramids have rational shape functions which need to be handled in a certain way [HAM 56]. In practice, the difficulty of choice regarding numerical integration arises. This order depends at the same time on the coordinate interpolation and on the approximation of the physical variables. The 2D example of electrostatics, which we have handled using first-order triangular finite elements by analytical integration, could have been handled by numerical integration on isoparametric elements with three nodes. For the triangular reference element, the geometric and physical interpolations being linear, the Jacobian determinant is constant, the potential with linear variation and its gradient being constant. The elementary contributions to integrals [1.52] and [1.54] are firstdegree polynomials and could thus have been integrated numerically by a first-order formula, i.e. by a sample of an integrating term taken at the barycenter of each triangle and weighted by their surface.
Introduction to Nodal Finite Elements
63
For the same problem of electrostatics, but specified on the meshing in secondorder isoparametric elements in Figure 1.21, the numerical treatment would have been different. In these elements, the variation of the electric potential is seconddegree and its gradient is first-degree in triangles and second-degree in quadrangles. From the point of view of physics, the integrating term is thus of second or fourthdegree according to the type of element. From the geometric point of view, there is no general conclusion, because the variation of G and its determinant depends on the shape of each element. However, it is usual to make the assumption that the element has a quasi-uniform deformation and thus we do not add any additional requirement due to the geometric variation. Ultimately, on triangles we would take a third-order formula with 3 points and on quadrangles a fifth-order formula with 9 points. 1.4.8. Local Jacobian derivative method
The concept of the reference element enabled us to widen the applicability of the method to elements of various orders and shapes, and in particular to curvilinear elements. We will see that this concept can also be useful, even in the case of traditional rectilinear elements, to evaluate the influence of a geometric variation on calculated variables [COU 83], [NGU 99]. 1.4.8.1. Independence of reference elements with respect to the parameters On each finite element e, the integrals are expressed according to the local coordinates in the place of the domain coordinates, using one of the formulae [1.170], [1.171] or [1.172]. For example, in 2D, for J the domain or sub-domain integral of function f, on a depth h, gives J
¦ ³³ f h dxdy ¦ ³³ f det G hd[d\ e e
[1.178]
e '
This transformation of coordinates makes the terminals of integration completely independent of any parameter, which considerably simplifies the derivations. The derivative can thus be expressed indifferently by integration on the reference coordinates
wJ wu
ªw > f @det G f w >det G @ º»hd[d\ w wu u ¼ '¬
¦ ³³ « e
[1.179]
or, after inverse transformation, by integration in the domain
wJ wu
ªw > f @ f 1 w >det G @ º»hdxdy det G wu ¬ wu ¼
¦ ³³ « e e
[1.180]
64
The Finite Element Method for Electromagnetic Modeling
In fact, this handling makes it possible to express the influence of parameter u on the integrating term and on the deformation of the domain. The latter is intrinsic to the element, whereas the former is particular to each integrating term. We will see in the next example that when the integrating term itself depends on a deformation parameter, the local Jacobian derivative method is usable again. 1.4.8.2. Example of derivation of an integrating term: force by virtual work Let us consider the virtual work method by exact differentiation introduced earlier. Let us also consider the developments on the derivation of the coenergy in the virtually deformed elements. We interrupted it because we were waiting for a general method of taking into account the deformation. The local Jacobian derivative method is precisely the tool that we will use. Within the framework of the electrostatic formulation which served as an example in this chapter, the force is given by equation [1.128] which expresses the derivative of the coenergy with respect to the displacement, with constant nodal values. To simplify, we assume that the part concerned with the virtual deformation does not have any electric charge. The integrating term is thus simply f x, y
E T ³0 D dE
[1.181]
whose derivative with respect to the displacement, the law D(E) being assumed to be unaffected by the deformation, is wf wu
DT
wE wu
[1.182]
According to interpolations [1.165], the electric field E is dependent on the nodal values. In its expression, only the inverse of the Jacobian matrix is likely to vary when parameter u varies, since the nodal values are maintained and the local gradients of the form functions are independent. The derivative of the field is thus wE wu
w > grad X v @ wu
> @
w 1 G grad ; v wu
[1.183]
The derivative of the inverse of the Jacobian matrix could be obtained by derivation of its expression given in Table 1.5. However, we prefer to use the constant G G–1 = I; which we derive as follows: G
> @
w 1 w G >G @ G 1 wu wu
0
[1.184]
Introduction to Nodal Finite Elements
65
When matrix G is square, G–1 is also the inverse on the left, which leads to
> @
w 1 w G 1 >G @ G 1 G wu wu wE w G 1 >G @ E wu wu
[1.185] [1.186]
By posing
G ' G 1 det G
[1.187]
we obtain a first expression of the force in the direction u
Fu
ª ¦ ³³ « DT G' e
'¬
wG w det G E E ³0 DdE wu wu
º » hd[d\ ¼
[1.188]
Then, on the basis of the property
I ; det G
G' G
[1.189]
the derivative of the determinant is written
I;
w >det G @ wu
w >G'@ G G' w >G @ wu wu
[1.190]
which, after some arrangements, gives us a second expression
Fu
ª '¬
¦ ³³ « D T e
wG ' w det G D G E ³0 EdD wu wu
º »hd[d\ ¼
[1.191]
In the particular case where D is proportional to E, the two integrals, representing the energy and coenergy densities, are identical. In this case, the average of the two expressions gives a third expression which is more symmetric
Fu
1ª
wG '
wG
º
ª º ¦ ³³ « DT « G G' » E »hd[d\ wu ¼ ¼ ¬ wu e ' 2¬
[1.192]
66
The Finite Element Method for Electromagnetic Modeling
1.5. Conclusion
We have presented the finite element method on electrostatic examples. This very general method is also applicable to static or dynamic problems of electromagnetism and to multi-physical problems, in particular electromechanical and thermoelectric problems appearing in actuators, sensors and electromechanical devices of all sizes. In this presentation, we have focused on nodal elements because they are appropriate both to the interpolation of geometry and to the state variable (the electric potential) selected in this chapter. There are other interpolation possibilities which will be selected according to the characteristics of the fields to interpolate. Thus, the continuous scalar functions, such as the scalar potentials or the temperature, are interpolated naturally with nodal elements. The vector fields, such as electric or magnetic fields, requiring on the interface between two mediums a continuity of their tangential component with a possible discontinuity of their normal component, are processed with edge elements. The vector fields, such as electric or magnetic inductions, with continuity of the normal component and possible discontinuity of their tangential component, are interpolated with facet elements. Lastly, the scalar functions that are continuous per piece, such as charge densities, are interpolated naturally by the volume elements [BOS 93]. Lastly, for a given element topology and a given mode of interpolation, it is also possible to exploit the order of the elements, either by defining for each order families of different functions (as was done in this chapter for first and second-order nodal elements), or by adding to each rise in order additional functions to the lower order family. This is the concept of hierarchical elements, which is particularly suitable for adapting the quality of interpolation locally [ZIE 79]. 1.6. References [BOS 93] BOSSAVIT A., Électromagnétisme en vue de la modélisation, Springer-Verlag, Paris, 1993. [CAR 59] CARPENTER C.J., “Surface-integral methods of calculating forces on magnetized iron parts”, The Inst. of Elec. Eng., Monograph no. 342, pp. 19-28, 1959. [COU 83] COULOMB J.L., “A methodology for the determination of global electromechanical quantities from finite element analysis and its application to the evaluation of magnetic forces, torques and stiffness”, IEEE Transactions on Magnetics, vol. 19, no. 6, pp. 2514-2519, 1983.
Introduction to Nodal Finite Elements
67
[COU 84] COULOMB J.L., MEUNIER G., “Finite element implementation of virtual work principle for magnetic or electric force and torque computation”, IEEE Transactions on Magnetics, vol. 20, no. 5, pp. 1894-1896, 1984. [COU 85] COULOMB J.L., MEUNIER G., SABONNADIÈRE J.C., “Energy methods for the evaluation of global quantities and integral parameters in a finite element analysis of electromagnetic devices”, IEEE Transactions on Magnetics, vol. 21, no. 5, pp. 18171822, 1985. [COU 97] COULOMB J.L., ZGAINSKI F.X., MARÉCHAL Y., “A pyramidal element to link hexahedral, prismatic and tetrahedral edge finite elements”, IEEE Transactions on Magnetics, vol. 33, no. 2, pp. 1362-1365, 1997. [DEM 99] DE MEDEIROS L.H., REYNE G., MEUNIER G., “About the distribution of forces in permanent magnets”, IEEE Transactions on Magnetics, vol. 35, no. 3, pp. 1215-1218, 1999. [DHA 84] DHATT G.J.C., TOUZOT G., Une présentation de la méthode des éléments finis, Editions Maloine, 1984. [DUR 64] DURAND E., Électrostatique, 3 volumes, Masson et Cie, Paris, 1964. [FUJ 93] FUJIWARA K., NAKATA T., OKAMOTO N., MURAMATSU K., “Method for determining relaxation factor for modified Newton-Raphson method”, IEEE Transactions on Magnetics, vol. 29, no. 2, pp. 1962-1965, 1993. [GIL 83] GILL P.E., MURRAY W., SAUNDERS M.A., WRIGHT A.H., “Computing forward difference intervals for numerical optimization”, Siam J. Sci. Stat. Comput., vol. 4, pp. 310-321, 1983. [GIT 89] GITOSUSASTRO S., COULOMB J.L., SABONNADIÈRE J.C., “Performance derivative calculations and optimization process”, IEEE Transactions on Magnetics, vol. 25, no. 4, pp. 2834-2839, 1989. [GUI 94] GUILLAUME PH., MASMOUDI M., “Computation of high order derivatives in optimal shape design”, Numerische Mathematik, vol. 67, pp. 231-250, 1994. [HAM 56] HAMMER P.C., MARLOWE O.J., STROUD A.H, “Numerical integration over simplexes and cones”, Math. Tables and Other Aids to Computation, vol. 10, pp. 130-137, 1956. [HOO 89] HOOLE S.R.H., Computer-aided Analysis and Design of Electromagnetic Devices, Elsevier, 1989. [MAR 92] MARECHAL Y., MEUNIER G., “Modélisation par une méthode éléments finis tridimensionnelle des courants induits dus au mouvement”, RGE, no. 292, pp. 39-46, February 1992. [NGU 99] NGUYEN T.N., COULOMB J.L., “High order FE derivatives versus geometric parameters: implantation on an existing code”, IEEE Transactions on Magnetics, vol. 35, no. 3, pp. 1502-1505, 1999. [OSS 99] OSSART F., IONITA V., “Convergence de la méthode du point fixe modifiée pour le calcul de champ magnétique avec hystérésis”, Eur. Phys. J. AP, vol. 5, pp. 63-69, 1999.
68
The Finite Element Method for Electromagnetic Modeling
[RAF 77] RAFINEJAD P., Adaptation de la méthode des éléments finis à la modélisation des systèmes électromécaniques de conversion d’énergie, PhD Thesis, Grenoble, 1977. [REN 92] REN Z., RAZEK A., “Local force computation in deformable bodies using edge elements”, IEEE Transactions on Magnetics, vol. 28, no. 2, pp. 1212-1215, 1992. [REN 95] REN Z., “A 3D vector potential formulation using edge element for electrostatic field computation”, IEEE Transactions on Magnetics, vol. 31, no. 3, pp. 1520-1523, 1995. [SAB 86] SABONNADIÈRE J.C., COULOMB J.L., La méthode des éléments finis: Du modèle à la CAO, Hermes, 1986. [SIL 83] SILVESTER P.P., FERRARI R.L., Finite Elements for Electrical Engineers, Cambridge University Press, 1983. [STR 71] STROUD A.H., Approximate Calculation of Multiple Integrals, Prentice Hall, 1971. [ZIE 79] ZIENKIEWICZ O.K., La méthode des éléments finis, McGraw-Hill, 1979.
Chapter 2
Static Formulations: Electrostatic, Electrokinetic, Magnetostatics
Introduction In this chapter, based on the general form of Maxwell’s equations, the various static formulations (electrostatic, electrokinetic and magnetostatics) are presented. In addition to the homogenous boundary conditions, a special focus is dedicated to the boundary conditions which impose global variables of the flux or circulation type. Indeed, in many electromagnetic systems, we often have to solve a problem where a condition of the flux or potential difference type of a vector field acts as a source term. Subsequently, the source fields and the concepts of scalar potential and vector potential are introduced. These “mathematical beings” implicitly verify one of the equations of the system to be solved. Their use notably simplifies the problem and makes it possible, in certain cases, to introduce source terms naturally as well as global boundary conditions. It should be noted that the corollary of the use of potentials is the need to impose a gauge condition to have the uniqueness of the solution. The various formulations in potentials being defined, the construction of function spaces is then covered. These spaces will accommodate the scalar and vector fields which constitute the solutions of the problem. This then leads to Tonti diagrams which are an illustration of the series of function spaces. In the case of electrokinetic formulations, the weak formulations, in scalar and vector potential, are developed using the Green formulae. Chapter written by Patrick DULAR and Francis PIRIOU.
70
The Finite Element Method for Electromagnetic Modeling
After having presented the various formulations in the continuous domain, we focus on the discretization of function spaces and weak formulations elaborated. The finite elements and the nodal, edge, facet and volume basis functions with which discrete spaces are associated are thus presented. A geometric interpretation of these functions is made in the case of tetrahedrons. It is then shown that the scalar and vector fields, introduced into the formulations, can be expressed via these basis functions. The properties of discrete spaces are presented on the basis of the incidence concept. This concept allows discrete operators, which are the equivalents of vector operators in the continuous domain, to be introduced. The series of discrete function spaces are then integrated into discrete Tonti diagrams. Emphasis is placed on the gauge conditions and the calculations of source fields using tree techniques. The concept of facet trees is thus introduced. Then, the various weak formulations, in scalar and vector potentials, for the three problems of static electromagnetism are developed in discrete form. Lastly, a method is proposed to impose global variables. As an illustration, the specific case of electrokinetics with a scalar potential formulation is considered. 2.1. Problems to solve 2.1.1. Maxwell’s equations The whole of the classical electromagnetic phenomena is governed by Maxwell’s equations. These equations constitute a system of partial differential equations which link the magnetic phenomena to the electric phenomena, and which unify all the principles of electromagnetism. In continuous mediums, these equations are as follows [VAS 80, FOU 85]: curl h = j + wt d,
[2.1]
curl e = – wt b,
[2.2]
div b = 0,
[2.3]
div d = U,
[2.4]
where h is the magnetic field (A/m), b is the magnetic induction (T, i.e. Tesla), e is the electric field (V/m), d is the field of electric displacement or electric flux density (C/m2), j is the conduction current density (A/m2) and U is the electric charge volume density (C/m3).
Static Formulations
71
When the studied phenomena are invariants in time, the time derivatives become zero in Maxwell’s equations and a decoupling between magnetic and electric phenomena appears. The study of the electric phenomena is the object of electrostatics and electrokinetics, and that of the magnetic phenomena is the object of magnetostatics. 2.1.2. Behavior laws of materials It is important to add to Maxwell’s equations the relations which express the properties of materials, i.e. the behavior laws or constitutive relations [VAS 80]. Without them, systems [2.1]-[2.4] would be indeterminate. These relations are: b = P (h + m),
[2.5]
d = H e,
[2.6]
j = V e,
[2.7]
where P0 is the magnetic permeability of the vacuum (H/m), H is the electric permittivity, V is the electric conductivity (:–1m–1) and m (F/m) is the magnetization vector (A/m). In the following sections, for ferromagnetic materials, we will use the relation b = μ h. Rigorously speaking, P, H and V have a tensorial character and their value is not constant (saturation, hysteresis, dependency with respect to temperature, function of the position in space, etc.). Relations [2.5], [2.6] and [2.7] are called the magnetic, dielectric and local Ohm behavior laws. 2.1.3. Boundary conditions 2.1.3.1. Homogenous conditions Adequate boundary conditions have to be given on the boundary of the study domain : in order to ensure the uniqueness of the solutions. They can be, according to the problem considered, relevant to the tangential components of e and h, and to the normal components of d, j and b. At the boundary * of global domain :, we consider certain frequently encountered boundary conditions, which are homogenous conditions.
72
The Finite Element Method for Electromagnetic Modeling
For the electric quantities, on complementary surface portions *e and *d (or *j) of *, possibly non-connected (of several supports), the following conditions are defined: n e~*e = 0, n. d~*d = 0 or n. j~*j = 0.
[2.8-9-10]
For the magnetic quantities, on complementary surface portions *h and *b of *, possibly non-connected, the following conditions are defined: n h~*h = 0, n. b~*b = 0.
[2.11-12]
Such homogenous boundary conditions on the fields take place for reasons that are either physical (conditions at the infinite or associated idealized materials; this is, for example, the case in [2.8] and [2.11] respectively for perfect conducting and magnetic materials, i.e. of infinite conductivity and permeability) or relating to symmetry (fixing the direction of the fields). 2.1.3.2. Interface conditions of fields In the transition from one medium to another, the electromagnetic fields undergo discontinuities and are consequently not differentiable. However, it is possible to derive conditions of transmission of fields [DAU 87]. Let us consider a surface 6 between two continuous mediums, the sub-domains :1 and :2 (Figure 2.1). We do not make any assumption concerning the properties of these two mediums in order to obtain completely general relations. The normal n to 6 is oriented from :1 towards :2. Values of a field on both sides of 6 on the mediums :1 and :2 are respectively designated using indices 1 and 2; for example, h1 = h(x) for x :1 and h2 = h(x) for x :2. Charge and current densities Us and js respectively can be concentrated on the surface 6. This is, for example, the case for the surface of a perfect conductor, i.e. whose conductivity is infinite, or when the frequency of the source term is infinite.
Figure 2.1. Surface 6 between two continuous mediums :1 and :2
Static Formulations
73
Equations [2.1]-[2.4] can be integrated on volumes or surfaces including portions of the surface 6. The application of the divergence theorem or the Stokes theorem then implies the following transmission conditions or interface conditions: n (h2 – h1)~6 = js, n. (b2 – b1)~6 = 0,
n (e2 – e1)~6 = 0, n. (d2 – d1)~6 = Us.
[2.13-14] [2.15-16]
These are relative either to the tangential component, or to the normal component of the fields. They require that the normal component of b and the tangential component of e are continuous while crossing 6. On the other hand, if Us and js are different from zero, the normal component of d and the tangential component of h are discontinuous. The components which do not appear in [2.1316] are discontinuous. We will generally consider the case where Us and js are zero, i.e., we will not carry out the limits V o f or Z o f. The tangential component of h and the normal component of d are then continuous. NOTE.– the decomposition of a vector h according to its tangential and normal components in a point of a surface is given by: h = (n. h) n + (n h) n ; its tangential component is thus (n h) n, but here we shall refer in general directly to the vector n h which is orthogonal to it and which has the same norm, while remaining tangent to the surface. 2.1.3.3. Imposed global quantities of flux and circulation types In addition to the local boundary conditions, such as those previously defined, global conditions on the fields, via functionals of the flux and circulation types, can be imposed. Regarding fluxes, these can concern the total electric charge Q, the current intensity I and the magnetic flux <. Regarding circulations, these can concern the electromotive force or potential difference V and the magnetomotive force ). These fluxes, through surfaces *i located on the boundary of the study domain, and circulations, along curves Ji belonging to the domain, are defined by:
³*i n d ds Qi , ³*i n j ds Ii , ³*i n b ds
³J i e dl Vi , ³J i h dl ) i ,
[2.17-18-19] [2.20-21]
where n is the field of unit vectors normal to *i and * oriented towards the outside of :.
74
The Finite Element Method for Electromagnetic Modeling
2.1.4. Complete static models 2.1.4.1. Electrostatics model Electrostatics consists of the study of the space distribution of electric field e due to the distribution of electric charges. A distribution of charges in a perfect conductor can be, as we will see, defined using an electric scalar potential. The electrostatic model applied to study domain :, of boundary *, is characterized by the following differential equations, behavior law and boundary conditions: curl e = 0, div d = U, in :, d = H e, n e~*e = 0, n. d~*d = 0, with * = *e *d.
[2.22-23] [2.24] [2.25-26]
The global constraints that can be defined are related to total charge Q [2.17] and potential difference V [2.20], whose ratio defines a capacitance. 2.1.4.2. Electrokinetics model Electrokinetics consists of the study of the space distribution of current density j in the conducting materials. The electrokinetics model applied to the study domain :, of boundary *, is characterized by the following differential equations, behavior law and boundary conditions: curl e = 0, div j = 0, in :, j = V e, n e~*e = 0, n. j~*j = 0, with * = *e *j.
[2.27-28] [2.29] [2.30-31]
The global constraints that can be defined are related to current I [2.18] and potential difference V [2.20], whose ratio defines the inverse of a resistance. 2.1.4.3. Magnetostatics model Magnetostatics consists of the study of the magnetic phenomena in stationary conditions. The magnetic field is then invariant in time and is only due to imposed steady currents (j) or to permanent magnets (residual/remanent induction br). The equations to be considered result from Maxwell’s equations dealing with magnetic phenomena for which the time derivatives are zeroed. They are: curl h = j, div b = 0, in :,
[2.32-33]
Static Formulations
75
and the magnetic behavior law has to be added to it [2.5] b = br + P h,
[2.34]
with eventually P = P(h) for nonlinear materials. The boundary conditions considered are: n h~*h = 0, n. b~*b = 0, with * = *h *b.
[2.35-36]
The global constraints that can be defined are related to the magnetic flux < [2.19] and to the magnetomotive force ) [2.21], whose ratio defines an inductance. In order not to burden some of the subsequent developments, the term br in [2.34] will in general be omitted. 2.1.5. The formulations in potentials Whatever the problem to be tackled, whether electrostatics, electrokinetics or magnetostatics, we have to seek two vector fields defined by a divergence and a rotational, and boundary conditions. Moreover, these vector fields are linked by a behavior law. If we seek a vector field which complies only with one partial derivatives equation and the associated boundary condition, the field thus obtained is called an admissible field. In order to be the solution of the problem, this field must generate, via the behavior law, a second field having to comply with the other equation and the other boundary condition. In the following sections, we will see that the introduction of the concept of vector or scalar potentials is equivalent to proposing, under certain conditions, an admissible field. This is all the more true if the domain is simply connected with a connected boundary. Indeed, based on the theory of function spaces, we then show that the gradient image space is equal to the kernel of the rotational image space. In the same way, the rotational image space is equal to the kernel of the divergence. 2.1.5.1. Connectivity/connexity problems A simply connected domain is such that any continuous and closed line can be deformed continuously until it is reduced to a point. For example, a sphere is a simply connected domain. On the other hand, a torus is non-simply connected or multiply connected. The concept of connexity also applies to the boundaries of domains.
76
The Finite Element Method for Electromagnetic Modeling
A multiply connected domain can be made simply connected by the introduction of cuts. It is the same for a boundary using connections called links or chimneys. For example, we represent in Figure 2.2 a multiply connected domain : with an external boundary *1. In order to make the domain and the boundary simply connected, a cut 6 and a chimney / were introduced.
:
*
* 6
/
Figure 2.2. Example of multiply connected domain and boundary with the associated cut and link
2.1.5.2. Concept of source fields From Maxwell’s equations, we introduced three static problems. If we consider the case of electrostatics or magnetostatics, we directly see a source term appearing in the equations which corresponds respectively to the volume density of charges and to the current density. For these equations, the associated admissible field will be called a source field. It is pointed out that a vector field is completely defined if its rotational, divergence and boundary conditions are fixed. Under these conditions, we conceive that, for an equation with the partial derivatives, there is an infinite number of admissible fields and thus, an infinite number of source fields. Various methods can be considered to calculate them. However, in certain particular cases, we can easily find an analytical solution. Let us take an example of electrostatics: volume distribution of charges U contained between two infinite planes located, as shown in Figure 2.3a, at x = 0 and x = a. This example becomes a 1D problem and we represent in Figures 2.3b and 2.3c respectively the distribution of charges U and a trivial solution which complies with, for the component according to x of the source electric flux density ds, equation [2.23] (dsy = dsz = 0). We easily see in this figure that div ds = U for 0 d x d a and div ds = 0 for x < 0 and x > a. Lastly, if we add to component dsx a positive or negative constant, the proposed solution is always acceptable. There is thus an infinite number of source fields which comply with this equation.
Static Formulations
z
dsx
U
y
aUv
U
x
0
a
(a)
77
0
a
(b)
0
a
(c)
Figure 2.3. Problem studied (a); distribution of the volume density of charges (b); evolution of the component according to x of the source electric flux density (c)
While dealing with the case of electrostatics, let us denote by ds1 and ds2 two fields linked by the relation ds1 = ds2 + curl J where J indicates a vector field defined on a simply connected domain : with a connected boundary. These two fields are assumed to be solutions of equation [2.23]. To achieve uniqueness of the solution, it is necessary to impose, in addition to the boundary conditions, a constraint or gauge condition on ds. Let us consider the particular case where : is a homogenous medium. Equation [2.22] can then be written curl ds = 0. If this condition is imposed, we fix the rotational ds. The solution is thus unique. If in addition ds complies with the boundary conditions on *e and *d, then the solution obtained is a physical field which complies with the equations of the problem. For magnetostatics considerations, in the presence of a current density, the source term is introduced by equation [2.32]. In this case, there is an infinite number of source fields, which we will denote by hs, which comply with this equation. As for the electrostatics problem, it is possible, for certain applications, to find an elementary analytical solution. Let us now consider the general case and let us denote by hs1 and hs2 two fields defined with an uncertainty of a gradient by: hs1 = hs2 + grad D,
[2.37]
where D represents an unspecified scalar function defined on a simply connected domain :. The two fields are the solutionof equation [2.32]. In order to make the solution unique, we must impose a constraint or gauge condition. The most well known is the Coulomb gauge which imposes the divergence, that is to say div hs = 0. Other gauges can be used. As an example, we will refer to the gauge of [ALB 90]. hs. w = 0,
[2.38]
where w represents a vector field whose field lines connect all the points of the domain and do not close.
78
The Finite Element Method for Electromagnetic Modeling
Let us take two points P and Q pertaining to the domain : with P z Q and let us calculate the circulation of equation [2.37] on a contour K connecting P and Q. We then obtain:
³ h s1 .dl ³ h s2 .dl D Q - D P .
K
[2.39]
K
By taking as support for contour K a field line of w, the integrals of equation [2.39] are equal to zero. Under these conditions DQ = DP = 0, which imposes grad D = 0, thus the uniqueness of the solution. If the domain : is a homogenous medium, equation [2.33] is written div h = 0. The problem to solve is to calculate a field which verifies equation [2.32] with the Coulomb gauge and the boundary conditions on *h and *b. For the determination of the source field, in addition to the solution which consists of seeking an analytical expression for simple geometries, various methods are proposed. Among the most used, we can quote, in magnetostatics, the Biot and Savart formula. Whatever the encountered problem, the choice of the method will depend on the complexity of the domain but also on the numerical technique used to solve the equations. 2.1.5.3. The formulations in scalar potential Let us consider the electrostatics problem defined in section 2.1.4.1. Based on equation [2.22], we can introduce an electric scalar potential v such that: e = – grad v.
[2.40]
We can note that the electric field thus defined represents, for equation [2.22], an admissible field. In the above relation, the potential v is not unique. Indeed, if we consider the potentials v1 and v2 defined with an uncertainty of a constant k such as v1 = v2 + k, they lead to the same value of the electric field e. In order to have a unique solution, it is necessary to impose a constraint or a gauge condition on v. In practice, it is generally obtained using the boundary conditions. By grouping equations [2.23] and [2.24], we obtain the equation: div H grad v = – U,
[2.41]
which, taking into account the boundary conditions, should be solved on the whole domain. Condition [2.25], for the electric field, is written for the formulation in scalar potential. v~*e = v0 = constant (Cte).
[2.42]
Static Formulations
79
Moreover, this condition can be directly linked to relation [2.20] which imposes the circulation of the electric field along a path. Let us suppose that this path connects two boundaries denoted *A and *B. Since we need to impose a potential difference, it is possible to choose arbitrarily v = 0 on boundary *A of the domain and v = Vi on *B. For the electric flux density, since d = – H grad v, relation [2.26] is stated in the form: n. grad v~*d = 0.
[2.43]
In the case of electrokinetics, the formulation of the problem in scalar potential is obtained by using the same approach as for electrostatics. Equations [2.27], [2.28] and [2.29] then lead to the equation: div V grad v = 0,
[2.44]
where v represents the electric scalar potential. For this formulation, the boundary conditions on *e are stated as in the case of electrostatics and allow a potential difference to be imposed. In the same way as for the electric flux density, the boundary condition on the current density [2.31] is written: n. grad v~*j = 0.
[2.45]
For magnetostatics equations, in the general case, the introduction of the formulation in scalar potential is not immediate. Let us first suppose that the domain : is simply connected and the source field hs, with its associated boundary conditions (n hs~*h = 0), known. The magnetic field h can be put in the form of: h = hs – grad M,
[2.46]
which complies well with [2.32]. M denotes the magnetic scalar potential defined with an uncertainty of a constant. In a multiply connected domain, a scalar potential can be multi-valued, which requires the introduction of cuts aiming at making the domain simply connected [EMS 83] and consequently, the potential single-valued. It should be noted that in the static problems, the scalar potential is never multi-valued. In magnetostatics, it is the source field hs that entirely accounts for the effect of the known current sources (which differs from magnetodynamics where induced currents can be present).
80
The Finite Element Method for Electromagnetic Modeling
By grouping equation [2.46] with relations [2.33] and [2.34], we can write: div (μ (hs – grad M = 0.
[2.47]
For the magnetic field, condition [2.35], i.e. n h~*h = 0, will be verified if: M~*h = M0 = Cte.
[2.48]
As for the electric scalar potential, the boundary condition can be connected to a global quantity. In this case, it is the variable )i defined by relation [2.21] which then corresponds to a scalar potential difference. If Ji links two boundaries *A and *B, on which n h = 0, we will impose M~*A = 0 and M~*B = )i. 2.1.5.4. The vector potentials To solve the equations of electrostatics, we can, as indicated previously, introduce the concept of a source field. Let us denote ds a source electric flux density which verifies [2.23] with associated boundary conditions. In the general case, by considering the source term known, the electric flux density will be written: d = ds + curl p,
[2.49]
where p represents the electrostatic vector potential with which we must associate, in addition to the boundary conditions, a gauge condition. It can be the Coulomb gauge. By grouping equations [2.22], [2.23] and [2.24], the problem to be solved is written: curl( 1 (ds curlp) 0 , H
[2.50]
with boundary conditions that take the form: n . d s *d
0 , n ( ds + curl p)~*e = 0, n p~*d = 0.
[2.51-52-53]
To impose global boundary conditions, we replace, in expression [2.17], the electric flux density by its expression given by [2.49]. In the case of electrokinetics, the formulation in vector potential is obtained directly from [2.28] while posing: j = curl t,
[2.54]
Static Formulations
81
where t represents the electric vector potential. By grouping [2.27], [2.29] and [2.54], we obtain: curl( 1 curl t) 0 .
V
[2.55]
To have a unique solution, in addition to the boundary conditions, it is necessary to gauge the vector potential. For this formulation, based on relations [2.30] and [2.31], the new boundary conditions are stated in the following way: n curl t~*e = 0, n t~*j = 0.
[2.56-57]
In the presence of a boundary condition of global quantity type defined by equation [2.18], we replace in this expression the current density by its expression given on the basis of the electric vector potential. For the magnetostatics problem, on the basis of equation [2.33], we introduce the concept of magnetic vector potential a such as: b = curl a.
[2.58]
This potential is not unique and, in order to have a unique solution, we have to impose a gauge condition (Coulomb or relation [2.38]). By grouping equations [2.32] and [2.34] (by omitting the term br), and taking into account [2.58], we have: curl Q curl a = j,
[2.59]
where Q represents the magnetic reluctivity (Q = 1/μ). With this formulation, the boundary conditions [2.35] and [2.36] become: n curl a~*h = 0, n a~*b = 0.
[2.60-61]
We can also introduce a global boundary condition while replacing in [2.19] the magnetic induction by relation [2.58]. After transforming the equation thus obtained, the boundary condition can be expressed in the form of an integral of contour.
82
The Finite Element Method for Electromagnetic Modeling
2.2. Function spaces of the fields and weak formulations 2.2.1. Integral expressions: introduction In order to simplify the integral expressions which will be used in subsequent sections, we define the following notations relative to integrals on volume : and on surface *: ( u , v ):
³: u v d: ,
( u , v ):
³: u v d: ,
u , v !*
³* u v d* ,
u , v !*
³* u v d* ,
with u, v, u and v defined on : and * such that these integrals would have a sense. In general, they can be defined in Sobolev spaces [DAU 87b], of scalar and vector fields, i.e.: H1(:) = { u L2(:) ; wx u, wy u, wz u L2(:) }, H1(:) = { u L2(:) ; wx u, wy u, wz u L2(:) }. The establishment of weak formulations associated with the considered problems of partial derivatives, and on which is based the finite element method, leads us to consider two formulae, known as Green formulae. These are: ( u, grad v ) + ( div u, v ) = < v, n. u >*, ґ u H1(:), ґ v H1(:),
[2.62]
( u, curl v ) – ( curl u, v ) = < u n, v >*, ґ u, v H1(:),
[2.63]
established from the vectorial analysis relations u. grad v + v div u = div(v u), u. curl v – curl u. v = div(v u), integrated on the domain :, with the application of the divergence theorem for obtaining the surface integral terms. 2.2.2. Definitions of function spaces Generally, we have to solve, in a domain :, differential equations utilizing particular differential operators: the gradient, the rotational and the divergence. Such
Static Formulations
83
equations govern the space distribution of vector fields (magnetic field, electric field, vector potential, etc.) or scalars (scalar potential). The domain : is an open and bounded set of the Euclidean space, generally in three-dimensions, whose elements are called points. This set can be connected, i.e. of only one support, or non-connected. Its boundary w: is noted *. We will define a mathematical structure able to accommodate such equations. They will be mainly the operators and their domains of definition. The latter are function spaces of scalar and vector fields defined on : which should be characterized in a precise way, in order to enable them to accommodate the considered fields. We consider a structure composed of four function spaces and three differential operators [BOS 88]. The four spaces are two copies of L2(:) and two copies of L2(:); L2(:) is the space of scalar fields of integrable square on : and L2(:) is the space of the vector fields whose square of the Euclidean norm is integrable on :. They are denoted Ep, p = 0, 1, 2, 3. The three operators are the gradient (grad), the curl and the divergence (div). They are linear and unbounded differential operators. Their domains of definition are defined in a restrictive way in the sense that they are subspaces of L2(:) and L2(:), for which given boundary conditions have to be satisfied. The operators thus depend on part of *u of the boundary :. The domains of these three operators, gradu, curlu and divu (the index u could be omitted in the following sections), are respectively: Eu0(:) = { u L2(:) ; grad u L2(:), u~*u = Cte },
[2.64]
Eu1(:) = { u L2(:) ; curl u L2(:), n u~*u = 0 },
[2.65]
Eu2(:) = { u L2(:) ; div u L2(:), n. u~*u = 0 }.
[2.66]
The domains of the operators have been built in a way to satisfy the relations: gradu Eu0 Eu1,
curlu Eu1 Eu2 ;
i.e. cod(gradu) dom(curlu) and cod(curlu) dom(divu) ; we have Eu3
cod(divu).
This is indeed the case since, thanks to the introduced boundary conditions, we have the implications: u~*u = Cte n grad u~*u = 0, n u~*u = 0 n. curl u~*u = 0.
84
The Finite Element Method for Electromagnetic Modeling
Thus, the operators “bind” the function spaces Eup, p = 0, 1, 2, 3, between them in order to form the series denoted: gradu curlu divu Eu 0 o Eu1 o Eu 2 o Eu 3 .
Generally, we have the inclusions: gradu Eu0 ker(curlu),
curlu Eu1 ker(divu),
but in the case where : and *u are connected and simply connected, these inclusions become equalities and the sequence is said to be exact, i.e. gradu Eu0 = ker(curlu),
curlu Eu1 = ker(divu).
The fields u and v (respectively u and v) highlighted in [2.62] (respectively [2.63]) belong to function spaces such as previously defined Eu0, Eu1, Eu2 and Eu3, included in the spaces H1(:) and H1(:)). For each of these spaces corresponds a particular succession of spaces, which lead us to define two sequences of distinct spaces, each sequence being associated with particular fields and particular boundary conditions. The operators intervening in each Green formula, pertaining to each sequence, are said to be adjoint to one another [MOR 53]. 2.2.3. Tonti diagram: synthesis scheme of a problem The two sequences defined in the previous section are characterized by four pairs of function spaces, in duality, and three pairs of operators, mutually adjoint, organized according to two structures. Gathering these two structures can be done thanks to a diagram called the Tonti diagram [BOS 88, BOS 91] (Figure 2.4).
Figure 2.4. Tonti diagram representing the two structures in duality
This global structure can accommodate a large variety of models with partial derivatives. The boundary conditions are taken into account at the level of the definition of the differential operators of the sequence. It has to be noted that the
Static Formulations
85
Tonti diagram schematized previously can be generalized to the problems of temporal evolution by adding a third dimension to it. The Tonti diagrams of the three considered static problems are represented in Figures 2.5 to 2.7. We analyze hereafter the diagram of the magnetostatics problem; the analysis of the other diagrams can be carried out by analogy. For the magnetostatics problem, the fields h, j and b can be accommodated by a mathematical structure resulting from the defined double structure (the indices u and v of function spaces will here be h and b, i.e. the indices of the complementary boundaries where the boundary conditions are given [2.35-36]). It is a question of seeking h in Eh1 and b in Eb2 verifying curl h = j and div b = 0, j being in Eh2. The defined function spaces are adapted to these fields. They constitute the domains of definition of the operators that can be applied to them. In addition, they take into account boundary conditions [2.35-36]. Note that the physical constraints of finite energy are also assured. The equations, the behavior laws and the boundary conditions of the magnetostatics problem can then be grouped together in Figure 2.7. The fields h, j and b are laid out at the suitable levels of the diagram and the equations which connect them, as well as the magnetic behavior law, are then highlighted. The equations are to be read “vertically” on the two sides of the diagram and can be regarded as being purely geometric. The behavior law should be read “horizontally”. It defines the physical properties of the matter and is thus not a geometric concept. Potentials are also introduced. The field h indeed can be, under certain conditions, derived from a magnetic scalar potential M and the field b can be derived from a magnetic vector potential a. These potentials have a position predetermined in the Tonti diagram: they are placed naturally downstream from the fields which can derive from it, i.e. on the lower floor in the corresponding sequence. The source field hs being part of the definition of h [2.46] also has its place in the diagram.
Figure 2.5. Tonti diagram of the electrostatics problem
86
The Finite Element Method for Electromagnetic Modeling
Figure 2.6. Tonti diagram of the electrokinetics problem
Figure 2.7. Tonti diagram of the magnetostatics problem
2.2.4. Weak formulations 2.2.4.1. General principle: weak formulations of the electrokinetics problem In order to illustrate the concept of weak formulation, we consider the electrokinetics problem, limited to the domain :, for which equations are [2.27-2829], i.e. curl e = 0, div j = 0, j = V e, and for which the boundary conditions on complementary portions *e and *j are [2.30-31], i.e. n e~*e = 0, n. j~*j = 0. This initial form of the problem is that which we considered until now and constitutes its strong formulation. Let us consider the Green formula of the grad-div type in : [2.62] applied to field j and to scalar field v’ to be defined, i.e. (j, grad v’): + (div j, v’): = < n. j, v’ >*, ґ v’ Ee00(:),
[2.67]
where Ee00(:) is a space of type [2.64] where v~*e = 0. The last term of equation [2.67] is then reduced < n.j, v’ >*j and becomes zero if condition [2.31] is introduced there. Similarly, the second term of this equation becomes zero when equation [2.28] is introduced there. Equation [2.67] is then reduced to: (j, grad v’): = 0, ґ v’ Ee00(:).
[2.68]
Static Formulations
87
It is this form that is called weak formulation (here from equation [2.28]) [BRE 83]. We established it on the basis of a Green formula but we can now consider it as a form posed a priori for then deducing the information it contains. Actually, the weak formulation [2.68] contains at the same time equation [2.28] and boundary condition [2.31]. Indeed, by applying to it the Green formula of the grad-div type [2.62], we obtain: (div j, v’): = < n. j, v’ >*, ґ v’ Ee00(:).
[2.69]
This equation is verified for any function v’ Ee00(:), called a test function, and thus in particular for any function v’ of zero trace on *. From this it results that (div j, v’): = 0 for any function v’ of this kind and consequently that div j = 0 in :, i.e. equation [2.28] is checked. Thus, equation [2.69] is reduced to * = 0, and by now considering all the functions v’ Ee00(:) without restriction, which can thus vary freely on *j, it finally follows that n.j~*j = 0, i.e. condition [2.31] is checked. From this it results that the weak formulation [2.68] involves the verification, with weak direction, from equation [2.28] and from boundary condition [2.31]. At the discrete level, this verification with the weak direction will correspond to an approximation. The higher the dimension of the space of test functions, the better the approximation. It is possible to obtain even more information from the weak formulation, particularly with regard to the conditions of transmission which appear on the interior surfaces to :. Let us then consider two sub-domains :1 and :2 of : separated by an interface 6 (Figure 2.8). : n
:1 6
:2
Figure 2.8. Interface 6 between two sub-domains :1 and :2
Let us apply the Green formula of the grad-div type [2.62] to the fields j and v’ successively in the two sub-domains :1 and :2. By considering the fact that div j = 0 in :, and hence particularly in :1 and :2, then by summing the obtained relations, we finally obtain the relation: (j, grad v’):1:2 = < n. (j1 – j2), v’ >6 + < n. j, v’ >w(:1:2), ґ v’ Ee00(:), [2.70]
88
The Finite Element Method for Electromagnetic Modeling
where j1 and j2 represent the field j on both sides 6 in the respective domains :1 and :2. By considering the test functions v’ of support :1:2 and zero on w(:1:2), there remains from [2.70] the well-known condition of transmission n. (j1 – j2)~6 = 0, which thus appears checked with the weak formulation [2.68]. Note that the first term of [2.70] is zeroed thanks to equation [2.28]: the integration domain :1 :2 can indeed be extended to : thanks to the selected test functions. Finally, while carrying in [2.68] the behavior law [2.29] and by using definition [2.40] of the scalar potential v Ee0(:), we have: (V grad v, grad v’): = 0, ґ v’ Ee00(:),
[2.71]
which is the electrokinetic formulation in scalar potential. This formulation contains problem [2.27-31] in its totality. The potential v is the unknown factor and the other fields can be deduced from v thanks to the equations which remained in strong form. It appears that the potential v belongs to the same space as the test functions or at least to a space Ee0(:) which is parallel to it, i.e. where the boundary condition of v on *e is not necessarily homogenous i.e. v~*e = Cte. In general, the boundary condition arising from an integral term in the weak formulation (here, n.j~*j = 0) is called a natural condition (Neumann condition), whereas the condition expressed in a function space that is directly used for the expression of the unknown factor and the test function (v~*e = Cte in Ee0(:)) is called an essential condition (Dirichlet condition). Note that taking into account one natural non-homogenous boundary condition, here n.j~*j = n.js~*j, would result in extending [2.68] in the form: – (j, grad v’): + < n. js, v’ >*j = 0, ґ v’ Ee00(:),
[2.72]
and then, [2.71] would become: (V grad v, grad v’): + < n. js, v’ >*j = 0, ґ v’ Ee00(:).
[2.73]
A weak formulation can be regarded as a system of an infinite number of equations with an infinite number of unknown variables. We will see in subsequent sections how it is possible to approximate such a problem in order to allow its numerical resolution. This approximation will constitute the discretization phase. Note that it is reducing the number of test functions to a finite value which is responsible for the approximate character of the solution; the solution of a weak formulation being, at the continuous level, the same as that of the associated strong formulation.
Static Formulations
89
While dealing with the electrokinetics problem, a weak formulation can be established at the beginning of equation [2.27], i.e. curl e = 0, by considering the Green formula of the curl-curl type [2.63]. We have: (e, curl t’): = 0, ґ t’ Ej1(:).
[2.74]
By carrying in this equation the behavior law [2.29] and by using definition [2.54] of the electric vector potential t Ej1(:), we obtain the electrokinetic weak formulation in electric vector potential, (V–1 curl t, curl t’): = 0, ґ t’ Ej1(:).
[2.75]
2.2.4.2. Weak formulations of the considered problems The weak formulations of the studied static problems are given hereafter, in terms of scalar and vector potentials. In order to introduce the concept of global constraints within the weak formulations, the natural boundary conditions are considered non-homogenous. The fields ds, es, js, hs and bs, involved in these formulations are known fields a priori defined in volume or in surface; the fields defined in volume are source fields whereas those defined in surface relate to the natural boundary conditions.
Electrostatics formulation in electric scalar potential (H grad v, grad v’): + < n. ds, v’ >*d – ( U, v’ ): = 0, ґ v’ Ee00(:).
[2.76]
Electrostatics formulation in electric vector potential (H–1 curl p, curl p’): + (H–1 ds, curl p’): + < n es, p’ >*e = 0, ґ p’ Ed01(:).
[2.77]
Electrokinetics formulation in electric scalar potential (V grad v, grad v’): + < n. js, v’ >*j = 0, ґ v’ Ee00(:).
[2.78]
Electrokinetics formulation in electric vector potential (V–1 curl t, curl t’): + < n es, t’ >*e = 0, ґ t’ Ej01(:).
[2.79]
Magnetostatics formulation in magnetic scalar potential (– P grad M, grad M’): + (P hs, grad M’): – < n. bs, M’ >*b = 0, ґ M’ Eh00(:).
[2.80]
90
The Finite Element Method for Electromagnetic Modeling
Magnetostatics formulation in magnetic vector potential (P–1 curl a, curl a’): + < n hs, a’ >*h = (js, a’):s, ґ a’ Eb01(:).
[2.81]
Volume source terms of equations [2.76] and [2.81] can be also written in the respective forms (making use of source fields): (U, v’): = (div ds, v’): = (ds, – grad v’):,
[2.82]
(js, a’):s = ( curl hs, a’ ):s = (hs, curl a’):s.
[2.83]
2.2.4.3. Global constraints Let us reconsider the electrokinetics problem in order to introduce the treatment of the global constraints. For the formulation in scalar potential, an essential condition can fix the potential at a constant value on a surface *i. This surface can be associated with a perfect current supply conductor. The constant value of the potential, if it is unknown, constitutes what we call a floating potential. It is then a question of fixing a condition on the current crossing this surface, or of defining a relation potential – current in the case of a coupling with an external circuit. In both cases, we will have global variables of potential and current types, which are closely dependent. Taking into account the potential (global, i.e. constant), when it is known, is not difficult to handle since it can be done directly by an essential condition. On the other hand, when the current Ii through a surface *i is fixed by a condition of the form of [2.18], it has to be noted that, for a constant and unitary function v’ on *i, the surface term < n.j, v’ >*i in [2.78] is indeed equal to current Ii [DUL 98]. Such a function will thus have to be able to be defined as a basis function of the unknown v, in particular at the discrete level. If the potential and the current are both unknown, it is a question, so that the problem is correctly posed, of taking into account a relation binding these two variables. This is the case within the framework of a coupling with external circuits. For the vector potential formulation, these specific global variables can still be considered. Nevertheless, the essential constraint concerns the current by fixing the circulation of the vector potential, i.e.
³*i n j ds ³*i n curl t ds v³w*i t dl Ii , by application of the Stokes theorem (w*i is the contour of *i).
[2.84]
Static Formulations
91
Constraint [2.20], consisting of imposing a potential difference, is associated with the term < n es, t’ >*e in [2.79] and is thus described as natural; the potential difference thus appears as the dual global variable of the current. Surface *e to be considered is the lateral surface of the conductor, i.e. of type *j noted *e’. We can show that the surface term < n es, t’ >*e’ is then, for a function t’ of unit circulation along a contour w*i of any surface *i, equal to a potential difference [DUL 98]. Indeed, for n t’ = – n grad c’, with c’ defined on *e’, made simply connected by the introduction of a cut Ji and undergoing a unit discontinuity 'c’ through cut Ji, we have: n es , t ' ! *e ' n es , grad c' ! *e ' grad c'e s , n ! *e ' curl(c' es ), n ! *e ' c' curl es , n ! *e ' .
Then, by using the Stokes formula for the first integral and knowing that the second integral becomes zero for a well defined field es, we finally obtain: n es , t ' ! *e '
³w*
e'
c' es dl
³J
i
'c' es dl
³J
i
e s dl
Vi .
[2.85]
By analogy, terms < n. ds, v’ >*d in [2.76], < n es, p’ >*e in [2.77], *b in [2.80] and < n hs, a’ >*h in [2.81] will be, for test functions (and integration surfaces) judiciously selected, respectively an electric charge, an electromotive force, a magnetic flux and a magnetomotive force [DUL 98].
2.3. Discretization of function spaces and weak formulations 2.3.1. Finite elements A finite element is defined by the triplet (K, PK, 6K) where: – K is a domain of space called a geometric element (generally of a simple form, for example a triangle or a quadrangle, in 2D, and a tetrahedron, a hexahedron or a prism, in 3D); – PK is a function space of finite dimension nK, defined on K; – 6K is a set of nK degrees of freedom represented by nK linear functionals Ii, 1 d i d nK, defined on the space PK and with values in IR.
92
The Finite Element Method for Electromagnetic Modeling
Moreover, it is necessary that an unspecified function u PK can be determined in a single way thanks to the degrees of freedom of 6K. This last condition defines the unisolvance of the finite element (K, PK, 6K) [DAU 88]. The role of a finite element is to interpolate a field in a function space of finite dimension, and this, locally, and generally in a space field of simple topology, called a geometric element. Several finite elements can be defined on the same geometric element. We can then speak, under certain conditions, of mixed finite elements. Figure 2.9 illustrates various spaces which intervene in the definition of a finite element; the definition of the subset of points N K is associated with that of the functional. f PK
K = dom(f)
N
cod(f) f(x)
x
IR
I i(f)
Figure 2.9. Spaces associated with a finite element
For the most frequently used and most well known finite elements, the degrees of freedom are associated with the K nodes and the functionals Ii are reduced to functions of K coordinates; they are called nodal finite elements. However, the definition presented here is more general thanks to the freedom left in the choice of the functionals. Other forms of functionals will be defined in the following sections. They could be, in addition to nodal values, integrals along segments on surfaces and volumes. These forms can be well adapted to various types of fields to interpolate. It is a question of noticing that the subset NK (Figure 2.9) can then be brought back respectively to a point, a segment, a surface or a volume. The interpolation of a function u, in the space PK and on K, is given by the expression:
u K ( x)
nK
¦ a i p i ( x) , i 1
u K PK , x K ,
[2.86]
Static Formulations
93
where the nK coefficients ai of basis functions pi PK can be given by solving the linear system: I j (u )
nK
¦ a i I j (pi ) ,
j 1, ..., n K ,
i 1
provided that the function u is sufficiently regular so that the Ij(u), j = 1, …, nK, exist. This solution is simplified to the maximum if we define the functionals so that: I j (p i )
Gij , 1 d i, j d n K ,
where Gij is the Kronecker symbol, i.e. Gij = 1 if i = j and Gij = 0 if i z j. The matrix of the system is then the unit matrix and the solution is: aj
I j (u ) , j 1, ..., n K .
In this case, the interpolation uK PK is expressed by: u K ( x)
nK
¦ I j ( u ) p j ( x) ,
u K PK , x K ,
[2.87]
j 1
where the coefficients Ij(u) = Ij(uK), 1 d j d nK, are called degrees of freedom. 2.3.2. Sequence of discrete spaces 2.3.2.1. Shape functions (nodal, edge, facet, volume) The construction of finite element spaces especially requires a space discretization, or mesh, of the studied field. We work in 3D and use for that three types of geometric elements: tetrahedrons, hexahedrons and prisms with a triangular base; the exploitation in 2D is done without difficulty. Subsequently, functions or vector fields associated with various geometric entities with the mesh (nodes, edges, facets and volumes) are defined. These constitute bases for approximation spaces Wi, i = 0 to 3, which are discrete analogs of spaces Ei, i = 0 to 3.
Notations and definitions Let us consider the mesh of a field, carried out by assembling geometric elements which can be tetrahedrons, hexahedrons and prisms with a triangular base, as is shown in Figure 2.10. These elements are called volumes and their vertices
94
The Finite Element Method for Electromagnetic Modeling
constitute the nodes. The sets of nodes, edges, facets and volumes of this mesh are denoted N, A, F and V, respectively. In a mesh, two unspecified geometric elements have in common either a facet, an edge, or a node, or are disjoined. We indicate the ith node of the mesh by ni. If there is no possible ambiguity, in the following, a node ni will be located only by its index i, with the proviso of defining its membership to the set of nodes, i.e. iN.
Figure 2.10. Assembling different geometric elements
The edges and the facets can be defined by ordered sets of nodes. Thus, we indicate an edge by aij, a triangular facet by fjkl, and a quadrangular facet by fjklm. Let us now consider an edge aij whose node j belongs to a facet but not node i. If this facet is triangular and composed of nodes j, k and l, it will be noted fjkl. However, it can be defined, for a given element, by the edge aij and will be denoted f i j . As an example, Figure 2.11 illustrates a triangular facet fjkl which can also be located with notation f i j . Thereafter, {j, i } will designate the set of nodes of a defined facet, for a given element, by edge aij.
l j
f ij
k
i Figure 2.11. Definition of a triangular facet with notation f i j
Static Formulations
95
2.3.2.1.1. The nodal functions We call a nodal function wni(x) a function which is equal to 1 for x = xi (with xi coordinates of node i), which varies continuously in the elements having node i in common and which is equal to zero in the other elements without undergoing discontinuity [DHA 81], i.e. Gij , i, j N,
w n i (x j )
[2.88]
where Gij represents the Kronecker symbol. With the nodal functions thus defined, we can check in each point of the study domain the relation:
¦ w n i (x) 1 .
[2.89]
i N
In order to reduce the notations, the nodal functions will be noted, thereafter, wn or wni. The set of functions wn, n N , generates the spaced denoted W0. 2.3.2.1.2. The edge functions In the general case, to edge ak,n of a mesh and for a given element, we associate the vectors fields w a k, n defined by [DUL 94]. w a k, n
w n k grad(
¦ w n i ) w n n grad( ¦ w n j ) .
i ^k, n `
^ `
[2.90]
j n, k
This vector field is zero in all the non-adjacent elements with edge ak,n. The space of vector fields generated by wa, a A , will be denoted W1. 2.3.2.1.3. The facet functions Let us take a triangular facet which will be denoted fk,l,n and the set of associated nodes {k, l, n}, {q1, q2, q3} or, as we defined previously, ^k , n` , ^q i , q i r 1 `. With this definition, in the general case, we associate with a facet of an unspecified element (tetrahedron, hexahedron or prism) the vector field [DUL 94]. wf
nf
a f ¦ w q c grad( c 1
¦
¦
w n i ) grad( wn j ) , i^q c , q c 1 ` j^q c , q c 1 `
[2.91]
where nf represents the number of nodes of facet f, and af is a coefficient which is equal to 2 for nf = 3 and 1 for nf = 4. In order to have a rotation in the indices, q n f q 0 and q 1 q n f 1 will be considered. This vector field is zero for all the
96
The Finite Element Method for Electromagnetic Modeling
non-adjacent elements with facet f. The set of the vector fields wf, f F , generates the space W2. 2.3.2.1.4. The volume functions With a geometric element of the mesh we associate the scalar function wv defined in the following way: wv
1 vol(v)
,
[2.92]
where vol(v) represents the volume of the element considered. This function is zero for all the elements other than element v. W3 is denoted as the space generated by the functions wv, v V . 2.3.2.1.5. Geometric interpretation In the previous sections, we have introduced the four basis functions relating to the finite elements. For the nodal and volume functions, geometric interpretation does not present a major difficulty. However, this is not the case for the edge and facet. Also, in the following section, we will carry out a geometric interpretation of their vector field [DUL 94, DUL 96]. Although the study can be undertaken in the same way, in the case of hexahedrons or prisms, in order to simplify matters, we will limit ourselves to the case of tetrahedrons. Let us consider the tetrahedron of Figure 2.12 where the nodes are noted k, l, m and n and the nodal approximation function is noted w n i , i{k, l, m, n}. At any point x, belonging to the facet made up of the nodes k, l, m, we have, on the basis of property of the nodal functions [2.89], the relation:
¦
i ^k, l, m`
w ni
1.
[2.93]
Taking into account the notations presented above, the set {k, l, m} of the nodes of the facet could also be defined by: {k, n }, {l, n } or {m, n }. Let us take the case where the nodes of the facet are defined by edge n, k which gives {k, n }. A vector field is now introduced which is associated with this facet and defined by the gradient of equation [2.93]. Defined as u k, n , it has as an expression: u k, n
grad ¦
i^k, n `
w ni .
[2.94]
Given equation [2.93], this vector field is collinear to the normal direction of the facet. Consequently, its circulation is equal to zero on the three edges.
Static Formulations
97
n
k l
m
Figure 2.12. Studied tetrahedron: definition of the nodes, edges and facets
If expression [2.94] is weighted by the nodal function wnk, a vector field is obtained whose circulation is zero on all the edges of the mesh except for edge ak,n. An equivalent expression to that of relation [2.94] allows the vector field u n, k to be expressed whose circulation is also equal to zero on the edges of the facet made up of nodes {n, m, l}. This expression, weighted by the nodal function w n n , led to a vector field whose circulation is non-zero only on edge ak,n. By writing a linear combination of these two vector fields, we find the basic expression of the edge functions [2.90]. Taking into account equation [2.89], the edge functions are expressed, for tetrahedrons, in the form [BOS 88]: w ak,n
w nk grad w n n w nn grad w nk .
[2.95]
It can be shown that the non-zero circulation on edge ak,n is equal to 1. It was seen that by using expression [2.94] it is possible to define an orthogonal field to a facet. For a given element, let us consider the vector product of two fields built in this way. A third vector field is then obtained, directed tangentially with respect to the normal direction of the two facets. In the case of the tetrahedron of Figure 2.12, if the vector product of the fields u n, m and u n, l is considered, the flux of the vector field thus obtained is zero on the facets defined by nodes {n, k, l} and {n, m, k}. Moreover, if the field obtained is weighted by the nodal function wnk, being given its properties, the flux through the facet made up of the nodes {n, l, m} is also zero. We have thus built a vector field whose flux, through all the facets, is equal to zero except for facet {k, m, l}. It is possible to build, by circular permutation, two other vector fields having this property. The sum of these three vector fields leads, for tetrahedrons, to the basis facet functions. A coefficient of 2 allows the flux through the facet considered to be normalized to 1. Relation [2.91] is then obtained. Lastly, taking into account properties [2.89] of the nodal functions
98
The Finite Element Method for Electromagnetic Modeling
and considering the facet of the tetrahedron in Figure 2.12, made up of nodes {k, l, m} [BOS 88], the following expression is obtained: wf
2(w n k gradw n m gradw n l w n l gradw n k gradw n m
[2.96]
w n m gradw n l gradw n k ).
This equation can be obtained from the general relation given by expression [2.91]. 2.3.2.1.6. Proprieties of basis functions In addition to the properties already exposed in the previous section, we will present the continuity properties of the basis functions. The nodal functions wn are continuous through the facets of the elements. This property can be checked using relation [2.89]. With regard to the edge functions wa, it is the tangential component which is continuous through the facets of the mesh. For the functions of facets wf, it is the perpendicular component which is preserved at the interface between two elements. Lastly, the volume functions wv are discontinuous from one element to another. The set of the main properties of the basis functions is summarized in Table 2.1. Functions wn wa wf wv
Properties
Continuity
Generated space
continuous
W0
³ w b . dl Gab
wa n
W1
³ w g . ds Gfg
wf. n
W2
³ w edW G ve
discontinuous
W3
w n i (x j )
Gij
a
f
v
Table 2.1. Properties of basis functions
2.3.2.1.7. Decomposition of physical variables Starting from the properties of the basis functions, summarized in Table 2.1, the physical variables relating to Maxwell’s equations as well as the scalar and vector potentials which result from this can be decomposed in spaces Wi, i = 0 to 3.
Static Formulations
99
Thus, the scalar potentials v and Mѽ will be decomposed in W0. As an example, we can write, for the magnetic scalar potential, M
¦ w n Mn ,
[2.97]
n N
where Mn represents the value of the magnetic scalar potential to node n of the mesh. The vector fields h and e, as well as the vector potentials hs, p, t and a, will be decomposed in the space W1. Under these conditions, to illustrate this decomposition, there will be for the magnetic field h: h
¦ wa ha .
[2.98]
aA
In this expression ha represents the circulation of the magnetic field on the edge a of the mesh. For the vector fields j, b, d and the potential ds, the decomposition will be performed in the space W2. The current density thus discretized can be written: j
¦ wf
jf ,
[2.99]
f F
where the terms in jf represent the flux of the current density through the facets of the mesh. Lastly, volume density of load U will be decomposed in W3 and we will have: U
¦ w v Uv ,
[2.100]
vV
where Uv represents the integral on the element v of the volume density of load. 2.3.2.2. Properties of discrete spaces 2.3.2.2.1. Incidence matrices In this section we will build incidence matrices which will enable us to apply the gradient, curl and divergence operators to the functions belonging respectively to spaces, W0, W1 and W2. For this study, we will define as a preliminary the concept of incidence [BOS 91]. The incidence of a node n on an edge a will be denoted i(n, a). It will be equal to 1 if the node is the end of the edge, –1 if it is the origin and 0 if the node does not belong to the edge. In the same way, we can introduce the incidence i(a, f) of an edge on a facet. It is equal to r1 if the edge belongs to the facet and 0 in the contrary case. The sign depends on the orientation of the edge, arbitrarily defined, with
100
The Finite Element Method for Electromagnetic Modeling
respect to that built by circular permutation of the nodes of the facet. Lastly, the incidence i(f, v) of a facet on a volume is also defined. If the facet belongs to the element, the incidence is 1 and 0 if it does not belong to the element. f1 = ^n1, n2, n3 `
n4
f2 = ^n1, n3, n4 ` f2
a3 n1
a6
a1
f4 n3
a2 f1
f3 = ^n1, n4, n2 `
f3
f4 = ^n2, n4, n3 `
a5 a1 a4
n2
Figure 2.13. Definition of nodes, edges and facets of a tetrahedron
To clear up these definitions let us take the case of the tetrahedron of Figure 2.13. The nodes are numbered from n1 to n4, the edges from a1 to a6 and the facets from f1 to f4. The edges are oriented arbitrarily in the direction of the node of lower index (origin) towards the node of higher index (end). The facets are defined by their normal whose orientation is arbitrarily chosen while following the increasing numbering of the nodes. As an example we have, for the node n2 and the edge a4, i(n2, a4) = –1, and for the edge a6 and facets f2, i(a6, f2) = 1. These various incidences allow the construction of three matrices: edges-nodes GAN, facets-edges RFA and volumes-facets DVF whose elementary terms are defined by: Ga,n = i (n, a), a A and n N,
[2.101]
Rf,a = i (a, f), f F and a A,
[2.102]
Dv,f = i (f, v), v V and f F.
[2.103]
The three matrices thus defined are respectively of AuN, FuA and VuF. dimension. As an illustration, we represented in Tables 2.2, 2.3 and 2.4, again for the tetrahedron of Figure 2.13, the incidence matrices GAN, RFA and DVF respectively.
Static Formulations
Ga,n
n1
n2
n3
n4
a1
–1
1
0
0
a2
–1
0
1
0
a3
–1
0
0
1
a4
0
–1
1
0
a5
0
–1
0
1
a6
0
0
–1
1
Table 2.2. Example of matrix GA,N for the tetrahedron
Rf,a
a1
a2
a3
a4
a5
a6
f1
1
–1
0
1
0
0
f2
0
1
–1
0
0
1
f3
–1
0
+1
0
–1
0
f4
0
0
0
–1
+1
–1
Table 2.3. Example of matrix RF,A for the tetrahedron
Dv,f
f1
f2
f3
f4
v
1
1
1
1
Table 2.4. Example of matrix DV,F for the tetrahedron
101
102
The Finite Element Method for Electromagnetic Modeling
2.3.2.2.2. Equivalent discrete operators In this section we will show that the incidence matrices can be used as discrete operators. Let us take the case, in electrostatics, of electric scalar potential v. Decomposed in W0, it is written in the form: v
¦ w n vn .
[2.104]
nN
The electric field decomposed in W1 is written e
¦ w a ea .
[2.105]
aA
However, it is shown that [BOS 91] gradw n
¦ G a, n w a .
[2.106]
aA
Under these conditions, by introducing the potential into the expression of the electric field, we obtain: e
¦ w a ea ¦ ¦ G a,n w a v n .
aA
[2.107]
nN aA
This relation highlights the existing link between the circulation of the electric field along the edges of the mesh and the nodal values of the electric scalar potential. A well-known property is thus found. From this relation, the vector of circulations of the electric field is expressed according to the vector of the nodal values of the scalar potential in the matrix form: ea = – GAN vn.
[2.108]
It is deduced from this equation that matrix GAN is the discrete equivalent of the operator gradient. Moreover, it can be shown that the gradient of a function belonging to W0 is included in W1, thus: grad (W0) W1.
[2.109]
It should be noted that this inclusion becomes an equality in the case of simply connected domains.
Static Formulations
103
Let us now consider a vector field belonging to W1 and let us take, for example, the case of the magnetic field h. This is written in the form:
¦ waha .
h
[2.110]
aA
The current density which is expressed by the rotational of h is decomposed in W2 and is written:
¦ w f jf .
j
[2.111]
f F
However, we have the following attribute: ¦ R f,a w f .
curl w a
[2.112]
f F
Hence, by introducing the expression of the magnetic field, we obtain:
j
F
¦ w f jf f
¦ ¦ R f,a w f h a .
[2.113]
aA f F
This expression shows us that the vector of the discrete values of the current density is expressed as a function of matrix RFA and of the discrete values of the magnetic field, thus: jf = RFA ha.
[2.114]
It is hence deduced that the facets-edges incident matrix RFA is the discrete equivalent of the rotational operator. Moreover, starting from equation [2.112], we have: curl (W1) W2.
[2.115]
On the other hand, since in the continuous field we have curl(grad v) = 0, we can check the property: RFA GAN = 0.
[2.116]
Now let us consider the divergence of the current density which we know is equal to zero. It is expressed in the form: div j
¦ div w f jf
f F
0 .
[2.117]
104
The Finite Element Method for Electromagnetic Modeling
However, as for the other operators, there is a relation between the divergence operator and the volumes-facets incidence operator, that is to say: div w f
¦ D v,f w v .
[2.118]
vV
While replacing in equation [2.117], we obtain: div j
¦ ¦ D v,f w v jf 0 .
[2.119]
f F vV
This expression can be written in the following matrix form where DVF is the discrete equivalent of the divergence operator: DVF jf = 0.
[2.120]
We can also show that: div (W2) W3.
[2.121]
Lastly, the vector relation div curl u = 0 finds its equivalent in the discrete domain, thus: DVF RFA = 0.
[2.122]
From the three relations [2.106], [2.112] and [2.118], it is shown that spaces Wi, i = 0 to 3, form a discrete sequence represented in Figure 2.14. grad curl div o W1 o W 2 o W3 W0
Figure 2.14. Sequence of discrete spaces Wi
Lastly, in Table 2.5, for the various types of geometric elements, a summary of associated spaces, discrete operators and discrete variables are shown.
Static Formulations Type of element
Space W0
Discrete operator GAN
v, M
RFA DVF
h, e, a, hs, t, p
facets
W1 W2
volume
W3
_____
U
nodal edges
105
Discrete variables
d, j, b, ds
Table 2.5. Summary on discrete spaces
2.3.2.2.3. Discrete Tonti diagram The Tonti diagrams presented previously can contain discrete function spaces, such as defined, still divided into two sequences; the spaces Wui will be the discrete equivalents of Eui, with i = 0, 1, 2, 3. For the magnetostatics problem, for example, if we seek fields h Wh1 and b Wb2, where the spaces Whi and Wbj are the discrete equivalents of Ehi and Ebj, it is clear that the behavior law cannot be verified exactly. Indeed, the approximations Wh1 and Wb2 are generally different. Therefore, no relation of the type of the behavior law between elements of these sets can exist. In reality, since we discretize, an approximation error must appear: it will be located in the constitutive relations, which can only be satisfied “at best”, i.e. weakly. On the other hand, equations [2.32]-[2.33] could be satisfied exactly for the approximate fields if, however, those belong to approximation spaces. Now let us choose to consider the magnetostatics problem in two different ways. Firstly, let us take h in Wh1 and j in Wh2 so that equation [2.32] can be satisfied exactly, and satisfying exactly behavior law [2.34]. This is the equivalent of putting b in Wh1 and thus does only allow equation [2.33] to be weakly formulated. This method defines the h-conform formulation. Secondly, let us take b in Wb2 so that equation [2.33] can be satisfied exactly, and still satisfying exactly the behavior law [2.34]. This time, this is the equivalent of putting h in Wb2 and thus does only allow equation [2.32] to be weakly formulated. This method defines the b-conform formulation. Each one of these two methods has its advantages. The choice of one of them will be made according to the type of desired conformity. The h formulation allows the Ampere law to be satisfied exactly, whereas the b formulation allows the flux conservation law to be satisfied exactly.
106
The Finite Element Method for Electromagnetic Modeling
2.3.3. Gauge conditions and source terms in discrete spaces 2.3.3.1. Gauge conditions As we indicated in section 2.1.5, in order to define a vector field in a single way, it is necessary to know its rotational, divergence and boundary conditions. If one of the two operators is not fixed, it is necessary to impose a gauge condition. In the following sections, we will see that, in the discrete domain, the non-uniqueness of the solution is highlighted using the incidence matrices and that it is possible to impose a gauge condition by using a tree technique. Subsequently, the simply connected domain is considered with a connected boundary. As an example, let us take the magnetostatics case and the source field hs defined by relation [2.46]. In a discrete form, we have: jf = RFA hsa,
[2.123]
with F < A. If the vector jf is known, this relation shows that there is an infinite number of solutions for hsa. The rank of matrix RFA being equal to A – (N – 1), it is possible to fix N – 1 arbitrary values of circulation, which are judiciously chosen. It should be recalled that the relation above imposes to hsa to verify the Ampere theorem on all facets of the mesh. In the same way, for the divergence operator, the rank of incidence matrix DVF is equal to F – (A – (N – 1)). Under these conditions, if we look for a vector field, in the discrete domain, defined only by its divergence, it will be necessary to fix A – (N – 1) values of its flux through facets. Lastly, it is to be noted that the rank of matrix GAN is equal to N – 1. It is thus verified that in order to solve a problem in scalar potential it is necessary to fix a value of the potential in a node of the mesh. In the case of the RFA matrix, to fix N – 1 circulations on the edges of the mesh, a tree technique is generally used. It should be recalled that, for a given mesh, the number of edges of the tree and co-tree is equal to N – 1 and A – (N – 1) respectively. Moreover, the tree allows all the nodes to be linked to each other without forming a closed loop. At this stage, we can note the existing analogy with the vector field w of gauge hs.w = 0. Consequently, to impose this gauge in the discrete domain, the circulation values are fixed at 0 on the edges of the tree. Lastly, for the boundary condition n hs |*h = 0, h = 0, it is enough to begin building the tree on *h before extending it to the whole domain. The same technique presented for the source field could be used for potential vectors p, t and a which are defined only by their rotational and their boundary
Static Formulations
107
conditions. As an indication for the mesh in Figure 2.10, we give in Figure 2.14 an example of a tree and co-tree.
Figure 2.14. Example of a tree and co-tree
With regard to the divergence matrix, let us consider the electrostatics case with the definition of the source electric flux density ds which is written, in the discrete domain, in the form: DVF dsf = Uv,
[2.124]
where dsf represents the vector of the flux values of the source electric flux density through the facets of the mesh and Uv the vector of the quantity of charges in the elements. Generally the distribution of charges is known and we seek to determine vector dsf. In order to make the system invertible, A – (N – 1) flux values through the facets must be imposed. However, for the rotational operator we fixed circulations on the edges of a tree. Under these conditions, we will build a tree of facets to fix degrees of freedom. To conclude such a construction, the links between facets and elements are transposed to the cases of links between edges and nodes [LEM 99]. Indeed, a facet connects two elements like an edge connects two nodes. It is then only necessary to create a graph where the elements will be nodes and the facets will be edges. Then, we build a tree and a co-tree. However, when transposed to the elements and the facets, the co-tree of the edges corresponds to the tree of facets and the tree of edges to the co-tree of facets. The procedure used is summarized in Figure 2.15.
108
The Finite Element Method for Electromagnetic Modeling
elements
nodes
tree of edges
co-tree of facets
graph facets
edges
co-tree of edges
tree of facets
Figure 2.15. Construction procedure of the tree and the co-tree of the facets
In order to impose the boundary conditions of n. ds|*d = 0 type, as in the case of the source field hs, we start by building the tree on the facets belonging to *d, then extending it to the whole mesh. In conclusion, whether the vector field is defined by rotational or by divergence, it is possible to use a tree technique to impose a gauge in the discrete domain. 2.3.3.2. Discretization of source terms (local form) According to the problem to be solved, we saw in section 2.1.5 that the source terms could be the charge volume density, the current density or, when associated with potentials, the source field hs or induction ds. In this part, we will see how to discretize or calculate these various sources [LEM 98]. Concerning the charge volume density, there is no specific difficulty. For the discretization, the quantity of charges in each element is calculated. On the other hand, the discretization of the current density is much more difficult. In fact, the problem comes from the inductors which, very often, have complex forms. However, for obvious reasons of discretization, the mesh does not follow the shape of the inductor exactly. Moreover, the divergence of the current density is zero and this property must be preserved in the strong sense in the facet element space. Under these conditions, using its expression defined in the continuous domain, its transposition in the discrete domain is a delicate process. Various methods have been proposed in the literature. In the following sections, we present a technique based on the tree of facets. Let us consider an inductor of boundary *ind such as: *ind = *j *e. All the facets of boundary *ind except one, to avoid having a closed surface, will belong to the tree. On the facets belonging to *j we impose a flux equal to zero and on the facets of *e the flux of the current density. Concerning the facets of the tree located inside, the value jf is allocated to them. It is given by: jf
³ j . n ds ,
f
[2.125]
Static Formulations
109
where j represents the current density and n the normal of the facet defined in section 2.3.2.2.1. Then, we calculate by an iterative method the flux on the facets of the co-tree by imposing the zero divergence on each element. Various methods can be envisaged to determine the source field hs when the distribution of current in an inductor is known. However, as indicated in the previous section, it is possible to use the discretized current density if it is known. Initially, a tree of edges is built, on which a circulation equal to zero is imposed. Then, with an iterative method, a circulation on the edges of the co-tree is calculated while verifying the Ampere theorem. This method, which is simple and effective, allows the circulation of hsa on the edges of the mesh to be directly obtained without using finite element calculation. Knowing the discretized form of the distribution of the volume density of charges, the source vector ds of the electric flux density in the space of the facet elements can be obtained without difficulty. A tree of facets is built, on which a flux equal to zero is imposed. Then, a flux on the facets of the co-tree is calculated while verifying for each element Gauss’s theorem. As an illustration, for a coil with an iron kernel, we present in Figure 2.16a the distribution of the field of source vectors hsa obtained by a tree technique [LEM 99]. In Figure 2.16b, the rotational of the source field can be seen which corresponds to the distribution of the current density in the coil.
a)
b)
Figure 2.16. Distribution of the vector field hsa (a) and its rotational (b) [LEM 99]
2.3.4. Weak discrete formulations In this section, we will discretize the weak formulations presented in section 2.2.2. For the three static problems (electrostatics, electrokinetics and
110
The Finite Element Method for Electromagnetic Modeling
magnetostatics), we will develop the formulations in scalar and vector potential. The matrix form will be also introduced using the incidence matrices. First, we will consider the problems without global constraints. The source terms will be, according to the studied formulation, the charge volume density, an equipotential surface or a current density. Taking into account the boundary conditions, values of potentials can be fixed on a part of the boundary of the studied field (this is the case for an equipotential surface). These values then intervene as a source term in the formulation. However, in the developments presented below, they appear, for reasons of simplicity, in the support vector of the unknown terms. For the resolution, it will be necessary to rearrange the system of equations. 2.3.4.1. Formulations in scalar potential For the three static formulations of Maxwell’s equations, we will present the discretized form with a scalar potential approach. It should be recalled that, to assure the uniqueness of the solution, it is necessary to impose a constraint on the potential. In practice, this constraint can be obtained by fixing the potential in a node of the mesh. For the electrostatic formulation, the electric scalar potential v is introduced which is decomposed in the space of nodal elements W0. The charge volume density is decomposed in the space W3. Under these conditions, the discretized form of formulation [2.76], with its volume source term expressed according to [2.82], is written:
¦ ( H grad w n
jN
j
, grad w n i ) : v n j
¦ (w v
kV
k
, w n i ) : U v k , i N N *e ,
[2.126] where N*e represents the set of the nodes belonging to boundary *e on which scalar potential v is fixed by essential conditions. For the subsequent sections, the notation N’ = N – N*e will be used. By using property [2.106] of incidence matrix GAN, this equation can be put in the matrix form: t G AN' M AA G AN v n
S N'VU v ,
[2.127]
with, for the elementary terms of matrices MAA and SN’V, M al ,am
³ İ w a l . w a m dW and Sn l , v m ³ w n l w v m dW .
:
:
[2.128]
Static Formulations
111
As clarified above, in expression [2.127], the vector vn is of dimension N and includes in addition to the unknown factors the values of the scalar potential fixed on the boundary *e. These values are taken into account, as source term, by a rearrangement of the system to be solved. In the electrokinetics case, the weak discretized form of formulation [2.78] has as an expression:
¦ (V grad w jN
nj
,grad w ni ): vn j
0, i N N*e ,
[2.129]
with, for N*e, an equivalent definition to that of the electrostatic formulation. The matrix form is then deduced: t G AN' M AA G AN v n
0,
[2.130]
where matrix MAA is equivalent to that defined in electrostatics. In fact it is sufficient to replace the permittivity H by the conductivity V, thus: M a l ,a m
³ V wa . wa l
m
dW .
[2.131]
:
In the system of equations [2.130], the source terms are the scalar potential values fixed on boundary *e. For magnetostatics, the magnetic scalar potential is decomposed in the space of the nodal elements. As a source term, we use field hs decomposed in the space of edge elements W1. Under these conditions, formulation [2.80] takes the form:
¦ ( P grad w n
jN
j
, grad w n i ) : M n j
¦ (P w a
kA
k
, grad w n i ) : h sa k , i N N *h ,
[2.132] where N*h represents the set of the nodes on which an essential condition is imposed. We note N’ = N – N*h. The matrix form can then be written: t G AN' M AA G AN M n
t G AN' M AA h sa ,
[2.133]
112
The Finite Element Method for Electromagnetic Modeling
with, for matrix MAA, M a l ,a m
³ P wa . wa l
m
dW .
[2.134]
:
As an illustration, the main fields appearing in a magnetostatics formulation in scalar potential are represented in Figure 2.17 for an inductor and a magnetic core. The discontinuity of the source field hs calculated by a tree technique is apparent there, just as that of the associated magnetic scalar potential M, calculated by [2.132]. The resulting magnetic induction, obtained by a combination of these two fields, is characterized on the other hand by a continuous nature thanks to property [2.109].
a)
b)
c)
Figure 2.17. Distribution of magnetic field hs and tree of edges (a), of associated scalar potential M (b) and of resulting magnetic induction b = P h = P (hs – grad M) (c)
2.3.4.2. Formulations in vector potential For the formulations in vector potential p, t and a, the process is appreciably equivalent to that used for the formulations in scalar potential. Nevertheless, in order to ensure the uniqueness of the solution, it is necessary to impose a gauge condition; in this part, the tree technique will be used. In the electrostatics case, we introduced vector potential p and source electric flux density ds which are decomposed respectively in W1 and W2. Under these conditions, the weak formulation [2.77] is written:
(H1 curl w a j , curl w a i ): pa j (İ1 w fk , curl w a i ): dsfk , i A A '*d A tree ,
jA
kF
[2.135]
Static Formulations
113
where A’*d represents the set of co-tree edges belonging to boundary *d; Let us denote A’ = A – A’*d – Atree. Equation [2.135], written in matrix form, then takes the form: t R FA' M FFR FAp A
t R FA' M FFd sF
[2.136]
with, for matrix MFF, M f l ,f m
³İ
-1
w f l . w f m dW .
[2.137]
:
For electrokinetics, the electric vector potential t which is also decomposed in W1 is used. By using formulation [2.79], we obtain in the case of the discretized form:
¦( V jA
1
0, i A A '* j Atree ,
curl w a j ,curl w ai ): t a j
[2.138]
where A’*j represents the set of co-tree edges belonging to the boundary *j. Let us denote A’ = A – A’*j – Atree. The expression of the matrix form is: t R FA' M FF R FA t a
0,
[2.139]
with, for matrix MFF, M f l ,f m
³V
-1
w f l . w f m dW .
[2.140]
:
Lastly, for the magnetostatics formulation, the vector potential a as well as the source field hs are decomposed in W1. Under these conditions, the weak formulation [2.81], with its volume source term expressed according to [2.83], is written in discretized form:
( Q curl wai ,curl wa j ): a a j ( wa k ,curl wai ): hsa k , i A A '*b Atree ,
jA
kA
[2.141] where A’*b is also defined and represents the set of co-tree edges belonging to boundary *b. Let us denote A’ = A – A’*b – Atree. Under these conditions, the matrix form can be written: t R FA' M FFR FAa A
t R FA' M FFh sa ,
[2.142]
114
The Finite Element Method for Electromagnetic Modeling
with, for the elementary terms of matrices MFF and MFA, M f l ,f m
³ Q wf . wf l
m
dW and M f l , a m
³ wf . wa l
:
m
dW .
[2.143]
:
As is proposed in section 2.3.3, in order to impose the gauge condition, the use of a tree technique can be envisaged. However, if for solving a system of equations the conjugate gradient method is jointly used with a compatible formulation, then the problem is self-gauged [REN 96]. A formulation is said to be compatible if the matrix form of the required solution and the source term are in the kernel of the same discrete operator. Compatible forms for the discrete forms of equations [2.76] and [2.81] are obtained by expressing the volume source terms starting from the respective forms [2.82] and [2.83]. 2.3.5. Expression of global variables Taking the essential and natural global constraints into account was already considered at the continuous level. At the discrete level, it will be seen that it is useful to express the essential constraints explicitly in order to reveal the basis functions of approximation spaces with constraints. In addition to classical basis functions, which when used as test functions lead to the previously defined discrete forms, other basis functions, known as global, will lead to other equations involving global variables. In order to illustrate this procedure, the problem of electrokinetics is considered. For the formulation in electric scalar potential, the potential v is decomposed in W0, i.e. v
¦ vn w n .
[2.144]
nN
In order to reveal explicitly the constraints related to the floating potentials in [2.144], the set N of nodes of : is decomposed into two complementary subsets: the set of internal nodes to :, noted Nv, and the groups of nodes located on each electrode surface *i,f, f Cf, noted Nf ; the set of electrodes is noted Cf. Thus, considering that the potential is constant, of value vf, on each of these surfaces, [2.144] becomes: v
¦ n N
v
v n w n ¦ f C v f ¦ nN w n , f
f
[2.145]
Static Formulations
115
which can also be written: v
¦ nN
v n w n ¦ f C v f s f ,
v
[2.146]
f
where the functions sf, f Cf, constitute, with the functions wn associated with nodes of Nv, basis functions for the function space of potential. The functions sf, f Cf, are associated with each of the electrodes with a floating potential. Thus, each function sf is associated with a group of nodes, which constitutes a global geometric entity, whereas the nodes n Nv are elementary entities. The functions sf are defined, for a given electrode, as the sum of the nodal functions of all the nodes of the surface of this electrode, i.e. sf
¦ n N
f
wn .
[2.147]
This function sf is equal to 1 on electrode *i,f. Consequently, when it is used as test function v’ in [2.78], it leads to an equation, known as global, where the term < n.j, v’ >*i,f = < n.j, sf >*i,f is equal to the current Ii,f through this electrode. The global variables of circulation type are treated in a similar way, with global basis functions being sums of edge functions [DUL 98]. 2.4. References [ALB 90] A. ALBANESE and G. RUBINACCI, “Magnetostatics field computations in terms of two components vector potentials”, International Journal for the Numerical Methods in Engineering, Vol. 29, pp. 515-532, 1990. [BOS 88] A. BOSSAVIT, “Whitney forms: a class of finite elements for three-dimensional computations in electromagnetism”, IEEE Proceedings, Vol. 135, Pt. A, no. 8, pp. 493499, 1988. [BOS 91] A. BOSSAVIT, “Electromagnétisme en vue de la modélisation”, Collection Mathématiques et Applications, Springer-Verlag, 1991. [BRE 83] H. BREZIS, Analyse fonctionnelle, théorie et applications, Masson, Paris, 1983. [DAU 87] R. DAUTRAY, J.-L. LIONS, “Analyse mathématique et calcul numérique pour les sciences et les techniques”, Modèles Physiques, Vol. 1, Masson, Paris, 1987. [DAU 87B] R. DAUTRAY, J.-L. LIONS, “Analyse mathématique et calcul numérique pour les sciences et les techniques”, Transformations, Sobolev, Opérateurs, Vol. 3, Masson, Paris, 1987. [DAU 88] R. DAUTRAY, J.-L. LIONS, “Analyse mathématique et calcul numérique pour les sciences et les techniques”, Méthodes Intégrales et Numériques, Vol. 6, Masson, Paris, 1988.
116
The Finite Element Method for Electromagnetic Modeling
[DHA 81] G. DHATT, G. TOUZOT, Une présentation de la méthode des éléments finis, Maloine, 1981. [DUL 94] P. DULAR, J.-Y. HODY, A. NICOLET, A. GENON, W. LEGROS, “Mixed finite elements associated with a collection of tetrahedra, hexahedra and prisms”, IEEE Transactions on Magnetics, Vol. 30, no. 5, pp. 2980-2983, 1994. [DUL 96] P. DULAR, “Modélisation du champ magnétique et des courants induits dans des systèmes tridimensionnels non linéaires”, Collection des Publications de la Faculté des Sciences Appliquées, Liege University, 1996. [DUL 98] P. DULAR, W. LEGROS, A. NICOLET, “Coupling of local and global quantities in various finite element formulations and its application to electrostatics, magnetostatics and magnetodynamics”, IEEE Transactions on Magnetics, Vol. 34, no. 5, pp. 3078-3081, 1998. [EMS 83] C.R.I. EMSON, J. SIMKIN, “An optimal method for 3-D eddy currents”, IEEE Transactions on Magnetics, Vol. 19, no. 6, pp. 2450-2452, 1983. [FOU 85] G. FOURNET, Electromagnétisme à partir des équations locales, Masson, Paris, 1985. [LEM 98] Y. LE MÉNACH, S. ClÉNET, F. PIRIOU, “Determination and utilisation of the source field in 3D magnetostatics problems”, IEEE Transactions on Magnetics, Vol. 34, no. 5, pp. 2509-2512, 1998. [LEM 99] Y. Le MENACH, Contribution à la modélisation numérique des systèmes électrotechniques: prise en compte des inducteurs, PhD Thesis, L2EP, USTL, 1999. [MOR 53] PH. M. MORSE, H. FESHBACH, Methods of Theoretical Physics, Part I, McGraw-Hill Book Company, Inc., New York, 1953. [REN 96] Z. REN, “Influence of R.H.S. on the convergence behaviour of curl-curl equation”, IEEE Trans Mag, Vol. 32, pp. 655-658, 1996. [VAS 80] C. VASSALLO, Electromagnétisme classique dans la matière, Dunod, Paris, 1980.
Chapter 3
Magnetodynamic Formulations
3.1. Introduction In this chapter the problems of magnetodynamics in low frequency will be covered. This study concerns the problems of induced eddy currents in the G conductors. Thus, the volume electric charges U and the displacement currents w t d are omitted. Figure 3.1 shows a typical problem of eddy currents. It deals with the G j , of the distribution of calculation, under the excitation of a time-varying current 0 G G the magneticG field ( h or b ) in every point of the study domain : and of the density of current j in the study domain :c for any time higher than zero. Maxwell’s equations relating to this problem are: G G curl e Ct b (Faraday law)
[3.1]
G G curl h j (Ampere theorem)
[3.2]
with the constitutive relations of materials: K b
G
P h in : and
G j
G
V e in :c.
[3.3]
Equations [3.1]G and [3.2] involve in particular theG conservation laws of the to be solved magnetic flux div b 0 and the conduction current div j 0 . They are G G G G with the boundary conditions such that the fields n qe and nqh are imposed respectively on *e and *h. Chapter written by Zhuoxiang REN and Frédéric BOUILLAULT.
118
The Finite Element Method for Electromagnetic Modeling
n
*e :c P
V
:
P
Po jo *h
Figure 3.1. Eddy current problem
In a conducting region, it is possible to directly consider the field (electric or magnetic) as a working variable. In the finite element approximation, these fields can be approximated by nodal elements or edge elements. The edge elements have the characteristic of imposing between elements only the continuity of the tangential component of the field, whereas the nodal elements impose at the same time the tangential and normal continuity of the field. In a magnetic formulation, the discretization of the magnetic field by nodal elements can then be incorrect. Indeed, at the interface between two materials of various permeabilities, the normal component of the magnetic field is discontinuous. In order to resolve this difficulty, we can proceed in two ways. The first consists of choosing as unknown variables at the nodes of the elements (on the surface of separation) the normal component of induction bn and the two tangential components of the magnetic field (ht1,ht2). The second consists of working with continuous variables, i.e. potentials. For this purpose, it is necessary toGadd an additional unknown variable. The magnetic field G h can then be written t grad G I . The term gradI then allows the excess of continuity imposed by vector t [PRE 82], [BOU 90a], [NAK 88] to be corrected. This type of decomposition is particularly well adapted to represent study domains containing air since in this area the magnetic field can only shift by a scalar potential. By duality, in the electric formulation, the difficulty of the representation of the electric field by nodal elements arises when the devices comprise materials of various conductivities. The continuity of the normal component of the field makes it G G necessary to write electric field e in the form w t a gradv [BID 82]. The use of nodal elements thus results naturally in using potentials to solve the problems of magnetodynamics, which does not seem necessary in the case of edge Gelements. On G the other hand, nothing prohibits working with potential vectors ( a or t ) discretized by edge elements [CAR 77].
Magnetodynamic Formulations
119
In this chapter, we will present two electric and magnetic dual formulations and a hybrid formulation. For each dual formulation, we will give two directions: in field and in combined potentials. Their performances will be compared, then the complementary features of the two dual formulations will be discussed. 3.2. Electric formulations 3.2.1. Formulation in electric field G The electric field e will be taken as a working variable [REN 90a]. The solution in the weak sense of the Ampere theorem, by using the Whitney edge elements, leads to the following variational formulation: G Find e We1, such that: 1
G
G
G G
d
¨ curl e '¸ curl e d: dt ¨ e '¸ e d: :
:
d G G d e' j0 d: dt dt
³
:
³
G G G e'n u hd*
G 0 , e' We1
[3.4]
*h
G where n is the outgoing normal from domain :. Let us recall that the space WeG1, G G belonging to the domain of the curl operator includes boundary condition n u e 0 on G*e. This formulation ensures in the weak sense the current conservation G div j 0 , the divergence of e is implicitly defined in the conducting field V z 0 and is to be defined in the non-conducting field. G G With the formulation in e , obtaining the magnetic induction b then requires an G integration in time. It is then preferable to work with the primitive in the time of e , tG G i.e. a* edt . Formulation [3.4] becomes:
³
0
G Find a * We1, such that: 1
G
G
G G
G G
d
G G
G
¨ curl a "¸ curl a ' d: dt ¨ a "¸ a ' d: ¨ a "¸ j d: ¨ a "¸ nqh d* 0 , 0
:
G a" We1.
:
:
*h
[3.5]
120
The Finite Element Method for Electromagnetic Modeling
G The variable a * has the same unit as the magnetic potential vector, its rotational G G being equal to the magnetic induction: curl a * b . In a conducting domain V z 0, its divergence isGdefined and is equal to zero, because the formulation ensures in the G G weak sense div j 0 , thus div V a 0 . We then have div a 0 if the conductivity V is constant and different from zero. On the other hand, in a non-conducting field, G a * behaves as a classical magnetic vector potential which is defined subject to a G gradient field. Variable a * is called by some authors “the modified potential vector” [EMS 83].
3.2.2. Formulation in combined potentials a - \
G G Electric field e or its primitive a * can be expressed through the combination of G magnetic potential vector a and electric potential scalar v such that G G G G e w t a gradv where a* = a + grad \, where \ is the primitive of v in the G G G G G* time. Let us replace in equation [3.5] a" and a * by a" = a ' + gradG \ ' and G by a = G a +G grad \, which is similar to solving in the weak sense curl h j in : and div j 0 in :c. We have the following formulation: G Find a We1 and \ We0, such that: 1
G
G
G G
d
G
d
¨ curl a '¸ curl a d: dt ¨ a '¸ a d: dt ¨ a '¸ grad # # d: :
:
G G a' j0 d:
³
:
d dt
G
G
G
³ a' (n u h )d*
:
0
G a ' We1.
[3.6a]
*h
G
G G
d
³ V grad\ 'ad: dt ³ V grad\ 'grad\ d: ³ \ ' n j d*
:c
\' We0.
:c
0
*c
[3.6b]
The term of the boundary integral in G[3.6b] corresponds to the conductor border G G G *c. This term is zero for any \ ' since n. j 0 on *c. The condition n j 0 is then naturally imposed in this formulation which is not the case for formulations [3.4] and [3.5]. The approximation by Whitney elements ensures in the strong sense G the G tangential continuity of e and consequently the normal continuity of b . The G G resolution of the system gives circulations of a along edges a and the values of \ G at nodes \ . The physical quantities such as the circulations e of e (the
Magnetodynamic Formulations
121
G electromotive force) along edges and fluxes b of b through the facets are calculated by: e = – dt ( a + G \ ) and b = R a , where G and R are the discrete operators of grad and curl respectively.
NOTE 1.– the introduction of a scalar potential results in a more significant number of unknown variables. Compared to the previous formulation, the additional number of unknown variables is equal to the number of nodes in the conducting domain. G NOTE 2.– the potential vector a is not unique because its divergence is not specified. Its uniqueness is in general ensured by the Coulomb or Lorentz gauge applied by the penalty technique [CAR 77] [BRY 90], or by working with the GG G potential with two components while imposing a.w 0 , where w is a vector of arbitrary direction [ALB 90b]. We note that the system converges better without the explicit gauge condition with the conjugate gradient method. The iterative procedure implicitly imposes the divergence of the potential vector [REN 96c]. 3.2.3. Comparison of the formulations in field and in combined potentials
Since the gradient of the nodal elements is included in the space of edge elements (grad W0 W1), the formulation in field [3.5] and the formulation in potentials [3.6] are theoretically equivalent in the conducting domain :c. Nevertheless, the numerical behavior of the two formulations is very different. In order to illustrate this difference, we calculated by the two formulations the distribution of eddy currents in a conducting torus containing cracks. The currents are induced by a sinusoidal time varying magnetic field uniformly distributed in the space (Figure 3.2). The sinusoidal variation of time-quantity makes it possible to work with complex variables. The derivative with respect to time d/dt is then replaced by the complex term jZ, where Z is the electric pulsation. The system of equations is solved by the bi-conjugate gradient method. Taking into account the symmetry of the problem, only an eighth of the domain is modeled. The conducting part, the hole, the crack and a layer of the air around the torus are meshed by tetrahedral elements. Taking into account the open boundary, the finite element method is coupled in this example with the boundary integral method. A pure finite element modeling could also have been used.
122
The Finite Element Method for Electromagnetic Modeling
crack
conductor
20 mm 10 mm
b = B sin Zt B = 1T
crack 10 mm
crack : depth: 7.5 mm thickness: 0.5 mm
Figure 3.2. A conducting torus with cracks
100
residue
10-1
a* formulation a-v formulation
10-2 10-3 10-4 10-5 -6
10
10-7 10-8 10-9
0
50
100
150
200
250
300
Number of iterations
Figure 3.3. Comparison of the convergence of electric formulations in field and in potentials
In Figure 3.4 the distributions of the eddy currents obtained in a cut plane is shown. Figure 3.3 compares the behavior of the convergence of the two formulations. The results obtained show that the conditioning of the system is much better with the formulation in combined potentials [REN 96b] [FUJ 96] [REN 00]. It is therefore interesting to work with the formulation in combined potentials even if the number of unknown variables is higher.
Magnetodynamic Formulations
G
(a) Result of the formulation in field a *
123
G
(b) Result of the formulation in potentials a -v
Figure 3.4. Distribution of eddy currents in the torus (electric formulations)
3.3. Magnetic formulations 3.3.1. Formulation in magnetic field
Magnetic formulation is established by the resolution in the weak sense of Faraday’s law by taking the magnetic field h as a working variable: G Find h Wh1, such that:
1
G
G
G G
d
G
G G
¨ curlh '¸ curl h d: dt ¨ h '.h d: ¨ h '¸ (nqe ) d* 0 , :
:
*e
G h ' Wh1, G G where Wh1 takes into account the Dirichlet condition n u h
[3.7] G 0.
Formulation [3.7] applies directly in a conducting area :c. In the non-conducting sub-domains such as air or ferromagnetic materials, owing to the fact that G G curlh 0 , it must beG coupled with a formulation in scalar potential I. The coupling will be ensured by h grad I on the interface *c. In other words, the degrees of freedom at the edges h on surface *c in formulation [3.7] must be expressed by the degrees of freedom at nodes I [BOS 82] by using the relation: h = – GI .
[3.8]
124
The Finite Element Method for Electromagnetic Modeling
3.3.2. Formulation in combined potentials t - I
Since the scalar potential is used in the non-conducting domain, the formulation in combined potentials seems quite attractive for the connection of conducting and G non-conducting domains. In the conducting area the field h can be expressed by the combination of the current vector potential and the magnetic scalar potential: G t gradI . The weak formulation of Faraday’s laws and the derivation with respect to the time of the flux conservation contained in equation [3.1] implies: G Find t Wh1 and I Wh0, such that: G
1
G
G G
d
G
d
G
G G
¨ curl t '¸ curlt d: dt ¨ t '¸ t d: dt ¨ t '¸ grad * d: ¨ t '¸ (nqe ) d* 0 :c
:
:
*c
t' Wh1, d dt
[3.9a] G
d
³ PgradI 't d: dt ³ PgradI' gradI d:
:
:
d dt
G d P gradI 't0 d: dt
³
:
³
G G
I'(n b )d* 0 ,
*e
I' Wh0.
[3.9b]
G G G G where t0 is the source field due to the imposed current j0 (curl t0 j0 ) .
G It should be noted that in the non-conducting domain, h is expressed by –gradI. In order to avoid the multi-valued problem of I in the case of multi-connected conductors, it is necessary to introduce cut planes allowing potential jumps [KOT 87] [VER 87] [ROD 87] or to fill G conductivity. On G low G the holes by a materialGwith the interface *c of domains t – I and I, condition n u t 0 is imposed. This G conditionG allows natural continuity of the tangential component of h between domain t – I and domain I. Under this condition, it is not necessary to impose the condition of continuity [3.8] since it becomes natural. Moreover, the boundary integral on *c in [3.9a] is zero [BOU 90a]. G With Whitney edge elements, the tangential continuity of h and the normal G continuity of j are guaranteed. From the solutionsG of the system, that is to say t at the edges and I at the nodes, the circulations of h along edges h and the currents through facets j are given by: h = t – G I and j = R h , thanks to the properties of Whitney elements.
Magnetodynamic Formulations
125
G NOTE.– the uniqueness of vector potentials t requires a gauge. The explicit application of the gauge is not necessary when solving the system by an iterative method because the procedure implicitly imposes it, as in the case of the vector magnetic potential.
3.3.3. Numerical example
The previous example of Figure 3.2 is calculated respectively by the magnetic formulations in field and in potentials. In order to avoid the multi-valued problem of the scalar potential, the hole of the torus is filled by a conductor of low conductivity (conductivity 100 times smaller than that of the torus). While the distributions of the field obtained by the formulations in field and in potentials are appreciably the same, as is shown in Figures 3.5a and b, the convergence behavior of the solution is completely different (Figure 3.6). With the formulation in potentials, the system converges after 100 iterations, whereas with the formulation in field, about 1,000 iterations were required to reach the convergence. Moreover, the convergence of the formulation in field is degraded if the value of conductivity put in the hole is too low. Indeed, the convergence speed of this formulation slows down with the increased penetration depth of the problem. On the other hand, with the formulation in potentials, the convergence is just slightly sensitive to various parameters. It is therefore possible to conclude that a better conditioning of the system is obtained with the formulation in combined potentials.
G
(a) Results of the formulation in field h
G
(b) Results of the formulation in potentials t -I
Figure 3.5. Distribution of eddy currents in the torus (magnetic formulations s)
126
The Finite Element Method for Electromagnetic Modeling
100
residue
10-1
h-formulation t-I formulation
10-2 10-3 10-4 10-5 10-6 10-7 10-8 10-9
0
50
100
150
200
250
300
Number of iterations Figure 3.6. Convergence comparison of magnetic formulations in field and in potentials
On the other hand, the duality between the results obtained by the two formulations can be noticed straightaway. Results illustrated by Figures 3.4b and 3.5 show that the distribution of currents obtained by the magnetic formulation is more regular, especially at the crack corner. However, concerning the distribution of the magnetic field, as is shown in Figures 3.7a and b, it is the electric formulation which gives the best result.
G
(a) Result of the electric formulation a -v
(b) Result of the magnetic
G t -I
Figure 3.7. Distribution of magnetic field in a cut plane in the crack (comparison of the electric and magnetic formulations)
Magnetodynamic Formulations
127
3.4. Hybrid formulation
As was mentioned in the formulation in electric field, the uniqueness of electric field is ensured only in the conducting region. Its uniqueness outside of conductors requires imposing its divergence. On the other hand, the use of the modified vector potential requires using a gauge if the uniqueness is desired. In order to avoid this problem, it is possible to make it work in the non-conducting area with a magnetic quantity instead of an electric quantity. The magnetic field can be simply derived from the gradient of scalar potential. This hybrid formulation (a*-I) then has the advantage of leading to a reduction of the number of unknown variables [EMS 88]. The system of equations is obtained from equation [3.5] in conductor :c and from the primitive with respect to the time of equation [3.9b] in domain :–:c. We then have: G Find a * We1, such that: 1
G
G
¨ curl a '¸ curl a
d:
:
d 1 G G G G G a '¸ a d: ¨ a '¸ nq h d* 0 , a ' We . [3.10a] ¨ dt : *c
and I Wh0, such that: G G
G
³ P gradI' gradI d: ³ P gradI 't d: ³ I'(n b )d* 0
:
:
0,
*e
. I' Wh0.
[3.10b]
The coupling between the two formulations is carried out by the integrals on surface *c. By using the properties of the differential operators and the continuity of the tangential components of the magnetic field and the normal component of the induction, we have:
³
G G G a '.n u h d*
*c
G G
G G
³ n.(a 'u grad I a 'ut
0 ) d*
[3.11a]
*c
G G I ' ( n b ) d*
³
*c
G G n.(a u grad I ' )d*
³
[3.11b]
*c
NOTE.– the sign (–) in the second contour integral does not lead to a symmetric matrix system. It is possible to make it symmetric but the positive definite property of the system is then lost.
128
The Finite Element Method for Electromagnetic Modeling
3.5. Electric and magnetic formulation complementarities 3.5.1. Complementary features
Two dual formulations have been established: magnetic formulation [3.5] or [3.6] and electric formulation [3.7] or [3.9]. We already observed through the preceding example the complementary feature on the results of fluxes and currents obtained by the two formulations. Indeed, on the one hand, the magnetic formulation verifies the Ampere theorem in the strong sense, of the G because the use 1 Whitney elements W1 ensures the tangential continuity of h . Since curl W W2, G G then the normal continuity of j curl h is also verified. However, Faraday’s law, G G the tangential continuity of e and the normal continuity of b are verified only in the weak sense. On the other hand, the behavior is dual for the electric formulation. G G It is GFaraday’s law, the tangential continuity of e (or a * ) and the normal continuity G* of b curl a G which are verified in the strong sense. Whereas, the G tangential continuity of h , the Ampere law as well as the normal continuity of j are verified only in the weak sense. G G Numerically, with the magnetic formulation, we obtain “good results” for n u h G G G GG G (the mmf) and n. j (the current). The fields b and e are calculated using h and j G G G G with the help of constitutive laws b P h and e U j . The constitutive laws are GG G G verified but the continuity of n.b , of n u e and Faraday’s law are not verified. The magnetic flux and the electromotive force (emf) are then less accurate. With the electric formulation, we have the duality: the results are better for the emf and the magnetic flux than for the mmf and the current.
In order to obtain the best results for the magnetic and electric fields, it is wise to solve a given problem with the two dual formulations. That makes it possible to verify in the strong sense all Maxwell’s equations. The results of the two formulations are “complementary” and the errors due to the discretizations arise G G in this case in the form of the non-observance of the constitutive laws b P h and G G e U j , which can be expressed in a symmetric way: GG / (h ,b )
³³
:
GG / (e , j )
0
³³
:
h
e
0
G G b ( h ) dh d:
³³
0
:
G G j (e) de d:
³³
:
b
G G G G h (b) db d: b h d: ,
G G G e ( j) dj d: e j d: .
jG
0
³
[3.12]
:
³
:
[3.13]
Magnetodynamic Formulations
129
They are thus the Ligurian errors introduced in [RIK 88a]. The application of these expressions in each element of the grid gives indications of local errors made by numerical calculation. These constitute error estimators for the adaptive mesh refinement [LI 93]. 3.5.2. Concerning the energy bounds
Let us recall that in the case of a static problem, the property of the complementary energy bounds of the two dual formulations [HAM 76] has been shown (one in scalar potential and one in vector potential). The question which arises is: does this property of energy bounds appear in the case of a dynamic problem such as the problem of eddy currents? The answers are rather varied in the literature in connection with this subject. The positive answers are in [HAM 78] [HAM 89] [PEN 91], while the negative answers are in [RIK 88b] [BOS 92]. In a static problem, there are functionals whose stationary and extreme points (maximum or minimum) correspond to the solution of the problem. However, in a magnetodynamic problem, it is generally no longer the case. Penman [PEN 91] tried to show that the energy bounds are possible to establish at least in the case of 2D geometry. Unfortunately the given demonstration is not sufficiently convincing [LI 94]. Hammond [HAM 89] proposed finally being able to find a functional having an extreme point, a special variational method, by applying constraints to the variations of the quantities of the fields. Li’s work [LI 94] shows that these constraints cannot be fulfilled in the case of a discretization by the finite element method. Rikabi [RIK 88], on the other hand, showed that the energy bound is not defined because the decomposition of the Ligurian is in general not possible in a problem of eddy currents. Through a rigorous mathematical development, Bossavit [BOS 92] showed that in general the energy bounds cannot be established. In spite of a lack of theoretical demonstrations, some bounding phenomena are evident in the numerical results, provided that a good refinement of the meshing with respect to the penetration depth of the problem is achieved. We think that these bounding phenomena are rather numerical [LI 94]. 3.5.3. Numerical example
The studied example is a problem from the TEAM Workshop [TUR 88]. It is a question of calculating the eddy currents in a conducting hollow sphere put in a magnetic field initially uniform in the space and sinusoidal time-varying (Figure 3.8). There is an analytical solution to this problem. The frequency of the excitation field is 100 Hz. The penetration depth of skin effect is about 5 mm.
130
The Finite Element Method for Electromagnetic Modeling
The problem is solved by two dual formulations (coupled with the boundary integral method) with different meshing refinements. We examine two dual aspects of the numerical results. The first is the dual phenomenon of the two formulations on the numerical accuracy of the field for a given meshing. The second is the convergence of the energy results when the meshing is refined. z B0 sin(Z t) R2 P0
P0
P0 R1
V y
0
x R1 = 35 mm, R2 = 50 mm, B0 = 1 T,
V = 108 s/m, P = P 0
Figure 3.8. Conducting hollow sphere in a time-varying uniform field
The solution of the system directly gives the circulations of the field along the G edges (circulations of h (mmf) with a magnetic formulation and the circulations of G e (emf) with an electric formulation). Table 3.1 illustrates the average errors of circulations of the fields along the edges (with a meshing of 3,240 elements) with respect to analytical results. In order to evaluate the accuracy of the vector fields, we have calculated the current density and the flux density at the element barycenters from circulations of the fields along the edges (approximated by the basic functions of the Whitney elements W1 and their rotational). The average errors of flux densities and of current with respect to analytical results are given in Table 3.2. In these tables, the average errors are estimated by the following norm:
Hx
¦
N i 1
ana
xiana xical / max( xiana ) / N , where xi
cal
and xi are respectively the
analytical and numerical results (at edges or in the elements). N is the number of edges or elements.
Magnetodynamic Formulations
Formulation
Errors of circulations of e (emf) (%)
131
Errors of circulations of h (mmf) (%)
real
imaginary
real
imaginary
electric
2.08
1.67
-
-
magnetic
-
-
1.26
3.12
Table 3.1. Average errors of circulations of the fields along the edges
Formulation
Errors of current densities (%)
Errors of flux densities (%)
real
imaginary
real
imaginary
electric
7.53
8.64
2.69
8.43
magnetic
2.26
2.72
6.25
11.40
Table 3.2. Average errors of the current and flux densities at the element barycenters
Let us compare the errors reported in the two tables. We can see that the circulations of the electric field (emf) are correctly obtained by electric formulation, and the circulations of the magnetic field (mmf) are calculated accurately by magnetic formulation. Concerning the flux and current densities at the barycenters of the elements, the electric formulation provides a better solution of the magnetic flux density while the magnetic formulation gives good results of the current density. We can then observe a dual phenomenon on the accuracy of the field distribution. The best method to solve a problem is obviously to use the two dual formulations and to take the best solutions of each formulation.
The Finite Element Method for Electromagnetic Modeling analytical t-I formulation a-v formulation
55
Magnetic energy (J)
50 45 40 35 30 25 20
0
1,000
2,000
3,000
4,000
5,000
6,000
Number of elements
Figure 3.9. Convergence of the magnetic energy with the meshing refinement
40
analytical t-I formulation a-v formulation
35
Power losses (kW)
132
30 25 20 15 10 5
0
1,000
2,000
3,000
4,000
5,000
6,000
Number of elements Figure 3.10. Convergence of Joule losses with the meshing refinement
Magnetodynamic Formulations
133
Figure 3.11. Variation of the ratio penetration depth/size of the elements with the meshing refinement
At this stage, we examine the global energy results. The variations of magnetic energies and the Joule losses in the conducting sphere with a progressive meshing refinement are illustrated in Figures 3.9 and 3.10. In order to illustrate the meshing refinement with respect to the penetration depth, we have shown the variation of the rate (penetration depth/size of elements) according to the meshing refinement in Figure 3.11. It is noted that the complementary energy bounds exist if the size of the elements is rather small compared to the skin depth of the problem. With the electric formulation we obtain a upper bound for the Joule losses and a lower bound for the magnetic energy. With magnetic formulation, the phenomenon of the energy bounds is dual of that of the electric formulation. In our case, the energy results converge with the meshing refinement when the rate of the skin depth on the size of the elements is higher than 1.5. This existence of the numerical complementary feature on the energy bound deserves a thorough theoretical study. A possible explanation is that this phenomenon is due to the numerical discretization of the geometric space [LI 94]. 3.6. Conclusion
In the 3D calculation of the eddy current problems, thanks to the symmetry of Maxwell’s equations, we can obtain two complementary formulations: magnetic formulation and electric formulation.
134
The Finite Element Method for Electromagnetic Modeling
In the conducting region, the working variable can be the field or the combined vector-scalar potentials. From the point of view of the discretization by Whitney elements, the decomposition of the field in combined potentials does not seem necessary because the space of edge elements W1 includes the space of gradient of the nodal elements W0. In addition, the uniqueness of the potentials requires gauge conditions. However, the system of equations is better conditioned with the formulations in combined potentials. This results in a better convergence of the system even without explicitly imposing the gauge condition. Solving the electric and magnetic formulation at the same time allows all Maxwell’s equations to be verified and better results of fields to be obtained. The numerical error relates to the constitutive laws and leads to an error indicator for the adaptive mesh refinement. However, the existence of the energy bounds, an interesting property that we could have in the static problems, cannot be demonstrated in the case of an eddy current problem. Nevertheless, through numerical examples, a phenomenon of energy bounds is observed when the meshing refinement is reasonable with respect to the penetration depth. That can be due to the effects of the discretization of the geometric space. 3.7. References [ALB 90a] R. ALBANESE, G. RUBINACCI, “Analyses of three dimensional electromagnetic fields using edge elements”, IGTE symposium, Graz, Austria, October 1990. [ALB 90b] R. ALBANESE, G. RUBINACCI, “Formulation of eddy current problem”, IEEE Proc., vol. 137, Pt. A., 1990, pp. 16-22. [BID 82] C.S. BIDDLECOMBE, E.A. HEIGHWAY, J. SIMKIN, C.W. TROWBRIDGE, “Methods for eddy current computation in three dimensions”, IEEE Trans. Mag., vol. 18, no. 2, 1982, pp. 492-497. [BIR 89] O. BIRO, K. PREIS, “On the use of the magnetic vector potential in the finite element analysis of 3-D eddy currents”, IEEE Trans. Mag., vol. 25, 1989, pp. 3145-3149. [BOS 82] A. BOSSAVIT, J.C. VERITE, “A mixed FEM-BIEM method to solve 3D eddy current problems”, IEEE Trans. Mag., vol. 18, no. 2, 1982, pp. 431-435. [BOS 85] A. BOSSAVIT, “Two dual formulations of the 3-D eddy currents problem”, COMPEL, vol. 4, no. 2, 1985 pp. 103-116. [BOS 91] A. BOSSAVIT, “Complementarity in non linear magnetostatics: bilateral bounds on the flux current characteristic”, ISEF’91, Southampton, 1991. [BOS 92] A. BOSSAVIT, “Complementary formulations in steady-state eddy-current theory”, IEE Proc. A, vol. 139, no. 6, 1992, pp. 265-272.
Magnetodynamic Formulations
135
[BOU 90a] F. BOUILLAULT, Z. REN, A. RAZEK, “Calculation of 3-D eddy current problems by an hybrid T- : method”, IEEE Trans. Mag., vol. 26, no. 2, 1990, pp. 478481. [BOU 90b] F. BOUILLAUT, Z. REN, A. RAZEK, “Modélisation tridimensionnelle des courants de Foucault à l’aide de méthodes mixtes avec différentes formulations”, Revue de Physique Appliquée, vol. 25, July 1990, pp. 583-592. [BRY 90] C.F. BRYANT, C.R.I. EMSON, C.W. TROWBRIDGE, “A comparison of Lorentz gauge formulations in eddy current computation”, IEEE Trans. Mag., vol. 26, no. 2, 1990, pp. 430-433. [CAR 77] C.J. CARPENTER, “Comparison of alternative formulations of 3-dimensional magnetic field and eddy current problems at power frequencies”, IEEE Proc., vol. 124, no. 11, 1977, pp. 1026-1034. [COU 81] J.L. COULOMB, “Finite element three dimensional magnetic field computation”, IEEE Trans. Mag., vol. 17, 1981, pp. 3241-3246. [EMS 83] C. EMSON, J. SIMKIN, “An optimal method for 3D eddy currents”, IEEE Trans. Mag., vol. 19, 1983, pp. 2450-2452. [EMS 88] C. EMSON, C.W. TROWBRIDGE, “Transient 3D eddy current using modified magnetic vector potentials and magnetic scalar potentials”, IEEE Trans. Mag., vol. 24, no. 1, 1988, pp. 86-89. [FUJ 96] K. FUJIWARA, T. NAKATA, H OHASHI, “Improvement of convergence characteristic of ICCG method for the A-I method using edge elements”, IEEE Trans. Mag., vol. 32, no. 3, 1996, pp. 804-807. [GOL 94] N.A. GOLIAS, T.D. TSIBOUKIS, “Magnetostatics with edge elements: a numerical investigation in the choice of the tree”, IEEE Trans. Mag., vol. 30, no. 5, 1994, pp. 2877-2880. [HAM 76] P. HAMMOND, J. PENMAN, “Calculation of inductance and capacitance by means of dual energy principles”, IEEE Proc., vol. 123, no. 6, 1976, pp. 554-559. [HAM 78] P. HAMMOND, J. PENMAN, “Calculation of eddy currents by dual energy principles”, IEEE Proc., Pt. A., vol. 125, no. 7, 1978, pp. 701-708. [HAM 89] P. HAMMOND, “Upper and lower bounds in eddy current calculation”, IEE Proc., Pt. A, vol. 136, no. 4, 1989, pp. 207-216. [KAM 90] A. KAMEARI, “Calculation of transient 3D eddy current using edge elements”, IEEE Trans. Mag., vol. 26, no. 2, 1990, pp. 466-469. [KOT 87] P.R. KOTIUGA, “On making cuts for magnetic scalar potentials in multiply connected regions”, J. Appl. Phys., vol. 6, no. 8, 1987, pp. 3916-3918. [LI 93] C. LI, Modélisation tridimensionnelle des systèmes électromagnétiques à l’aide de formulations duales/complémentaires. Application au maillage auto-adaptatif, PhD Thesis, University of Paris XI, December 1993.
136
The Finite Element Method for Electromagnetic Modeling
[LI 94] C. LI, Z. REN, A. RAZEK, “Complementarity between the energy results of H and E formulations in eddy current problems”, IEE Proc.-Sci. Meas. Technol., vol. 1, no. 1, 1994, pp. 25-30. [MAN 95] J. MANGE, Z.J. CENDES, “A generalized tree-cotree gauge for magnetic field computation”, IEEE Trans. Mag., vol. 31, no. 3, May 1995, pp. 1342-1347. [NAK 88] T. NAKATA, N. TAKAHASHI, K. FUJIWARA, Y. OKADA, “Improvements of the T- : method for 3-D eddy current analysis”, IEEE Trans. Mag., vol. 24, no. 1, 1988, pp. 94-97. [PEN 82] J. PENMAN, J.R. FRASER, “Complementary and dual energy finite element principles in magnetostatics”, IEEE Trans. Mag., vol. 18, no. 2, 1982, pp. 319-323. [PEN 87] J. PENMAN, M.D. GRIEVE, “Self-adaptive mesh generation technique for the finite element method”, IEE Proc., Pt. A. vol. 134, no. 8, 1987, pp. 634-650. [PEN 91] J. PENMAN, “Error bounds in dual and complementary eddy current systems”, ISEF’91, Southampton, 1991. [PRE 82] T.W. PRESTON, A.B.J. REECE, “Solution of three dimensional eddy current problems, the T-: method”, IEEE Trans. Mag., vol. 18, 1982, pp. 486-491. [PRE 88] T.W. PRESTON, A.B.J. REECE, P.S. SANGHA, “Induction motor analysis by time stepping techniques”, IEEE Trans. Mag., vol. 24, no. 1, 1988, pp. 471-474. [PRE 92] K. PREIS, I. BARDI, O. BIRO, C. MAGELE, G. VRISK, K.R. RICHTER, “Different finite element formulations of 3D magnetostatics fields”, IEEE Trans. Mag., vol. 28, no. 2, pp. 1056-1059, March 1992. [REN 88] Z. REN, J.C. VÉRITÉ, “Application of a new edge element in 3D eddy currents computation”, Int. Symp. on Electromagnetic Field, Beijing, China, October 1988. [REN 90a] Z. REN, F. BOUILLAUT, A. RAZEK, A. BOSSAVIT, J.C. VÉRITÉ, “A new hybrid model using electric field formulation for 3-D eddy current problems”, IEEE Trans. Mag., vol. 26, no. 2, March 1990, pp. 470-473. [REN 90b] Z. REN, A. RAZEK, “New technique for solving 3-D multiply connected eddy current problems”, IEE Proc., Vol. 137, Pt. A, no. 3, May 1990, pp. 135-140. [REN 96c] Z. REN, “Auto-gauging of vector potential by iterative solver-Numerical evidence”, 3rd Int. Workshop on Electric and Magnetic Fields, Liege, Belgium, May 1996. [REN 96d] Z. REN, A. RAZEK, “3D eddy currents computation: field or potential formulation?”, ICEF’96, Wuhan, China, October 1996. [REN 96b] Z. REN, “Influence of the R.H.S. on the convergence behaviour of the curl-curl equation”, IEEE Trans. on Mag., vol. 32, no. 3, May 1996, pp. 655-658. [REN 96a] Z. REN, A. RAZEK, “Computation of 3-D electromagnetic field using differential forms based elements and dual formulations”, Int. J. of Numerical Modelling, Electronic Networks, Devices and Fields, vol. 9, no. 1 and 2, 1996, pp. 81-98.
Magnetodynamic Formulations
137
[REN 00] Z. REN, A. RAZEK, “Comparison of some 3D eddy current formulations in dual systems”, IEEE Trans. on Mag., vol. 36, no. 4, July 2000, pp.751-755. [RIK 88a] J. RIKABI, C.F. BRYANT, E.F. FREEMAN, “An error based approach to complementary formulations for static field solution”, Int. J. Num. Meth. Eng., vol. 26, 1988, pp. 1963-1987. [RIK 88b] J. RIKABI, C.F. BRYANT, E.F. FREEMAN, “Error based derivation of complementary formulations for eddy current problems”, IEE Proc., Pt. A, vol. 135, no. 4, 1988, pp. 208-216. [ROD 83] D. RODGER, J.F. EASTHAM, “A formulation for low frequency eddy current solutions”, IEEE Trans. Mag., vol. 19, 1983, pp. 2443-2446. [ROD 87] D. RODGER, J.F. EASTHAM, “Multiply connected regions in the A-\ three dimensional eddy current formulation”, IEE Proc., Pt. A, vol. 134, no. 7, 1987, pp. 58-66. [SIM 80] J. SIMKIN, C.W. TROBRIDGE, “Three dimensional non-linear electromagnetic field computations, using scalar potentials”, IEE Proc., Pt. B, 127, no. 6, 1980, pp. 368374. [TUR 88] L.R. TURNER, K. DAVEY, C.R.I. EMSON, K. MYA, T. NAKATA, A. NICOLAS, “Problems and workshops for eddy current code comparison”, IEEE Trans. Mag., vol. 24, no. 1, 1988, pp. 431-434. [VER 87] J.C. VÉRITÉ, “Calculation of multivalued potentials in exterior regions”, IEEE Trans. Mag., vol. 23, no. 3, 1987, pp. 1881-1887.
This page intentionally left blank
Chapter 4
Mixed Finite Element Methods in Electromagnetism
4.1. Introduction A formulation is considered “mixed” when it involves at least two unknown variables at the same point, for example, two fields, or one field and one potential. When the finite element method involves two unknown variables, one being defined within the elements and the other existing only on their interfaces – facets of 3D elements – then it involves a hybrid method. This type of formulation has been developed primarily for applications that require the determination of several quantities: constraints and displacements in structural mechanics, velocity and pressure in fluid mechanics. The value of mixed methods also derives from the fact that they can take full advantage of the benefit given by the variational approach: transposing some fundamental laws of physics to the discrete problem. A classical variational formulation, after discretization by finite elements, is the equivalent of seeking a configuration that minimizes functional calculus related to the discrete energy while mixed finite element methods can usually minimize the energy itself: complementary energy or Hellinger-Reissner energy in mechanics [QUA 97], and electromagnetic energy in the case of the Maxwell equations. In a sense, they provide a better description of physical laws.
Chapter written by Bernard BANDELIER and Françoise RIOUX-DAMIDAU.
140
The Finite Element Method for Electromagnetic Modeling
For electromagnetism, the interest of simultaneous determination of two quantities such as the magnetic field h, and the vector potential a, or the magnetic induction b and scalar potential ij is not obvious. The second unknown variable, which does not bring a priori any additional information, significantly increases the number of degrees of freedom and thus the calculation effort. However, in magnetostatics, it should be noted that only mixed formulations can deal with the fields as unknown variables. It is also observed that, in the literature devoted to numerical computation in electromagnetism, the part dedicated to mixed finite element methods is still evolving. Yet, their interest is now recognized: even if they bring greater complexity to the modeling and some additional calculation efforts that are not necessarily justified for a simple problem, they provide a better approximation of the main unknown variable – usually a field – in the case of complex geometries. The implementation of mixed finite element methods involves two main difficulties: the first difficulty concerns the fact that the different unknown variables must belong to compatible approximation spaces. However, this condition is automatically complied with when using “mixed finite elements”, for example, Whitney elements. The second difficulty concerns the fact that the linear equations matrix which is ultimately to be solved is indefinite. The conventional solution methods cannot be used and specific algorithms have to be introduced. Some of those most commonly used are presented below. In general, a mixed method is obtained by transforming a second order partial differential equation in a system of two first order equations. Expressing these two equations leads in the weak form to the mixed formulation. Hence, an unconstrained minimization problem is transformed into a constrained minimization problem and finally into a problem requiring the saddle point to be found. This approach, which we will discuss, does not seem the most straightforward for electromagnetism since the first order equations are immediately available: these are Maxwell equations. We therefore begin with the latter to establish various mixed formulations. We will show in a second stage that these formulations can also be obtained from an energy approach. 4.2. Mixed formulations in magnetostatics Now, let us consider a bounded domain : , with boundary * . The outgoing normal is noted n.
Mixed Finite Element Methods in Electromagnetism
141
The magnetostatic equations can be written: curl h
j
[4.1]
div b
0
[4.2]
in : , the current density j being imposed, with support in : . The magnetic permeability P , such that b P h is a function of space, the possible nonlinearities can be taken into account by an iterative Newton-Raphson method. In addition, the following boundary conditions are imposed according to the boundary: bn hun
[4.4]
0 on * h
such that * b * h h
[4.3]
0 on * b
* . Equation [4.1] can be replaced by:
s
[4.5]
h gradM
s
where h represents a “source” field such as curl h can be replaced by:
Ph
s
j . Similarly, equation [4.2]
[4.6]
curl a
where the uniqueness of a can be guaranteed by imposing div a a n 0 on * .
0 in : and
4.2.1. Magnetic induction oriented formulation Writing [4.5] in its weak form, we can obtain: ³:Q b bc d:
s
³: h bc d: ³: gradM bc d:
where bc is a test field whose proprieties will be subsequently indicated and where 1 Q . By integrating by parts, it follows:
P
142
The Finite Element Method for Electromagnetic Modeling
³:Q b bc d: ³: M div bc d: ³* M bc n d*
s
³: h bc d:
The integral on the border * is zero. It is in fact canceled on * b because of boundary condition [4.3] which is strongly imposed by taking b n 0 , and thus bc n 0 on * b . It is also cancelled on * h since condition [4.4] can result in s zeroing the reduced potential M on * h , which implies that the field h also checks [4.4]. s
Note that this is still possible, even if h is not the “real” source field calculated with the law by Biot and Savart but differs by a gradient. It is always possible to s define a h checking: curl h
s
s
j h u n
[4.7]
0 on * h
Still equation [4.2] needs to be written in the weak form in order to obtain the second variational equation of the formulation, and finally the mixed formulation is as follows: s
2
Given j or h checking [4.7], find the couple (b M ) H b u L (: ) checking:
°³ Q b bc d: ³ M div bc d: ³ h s bc d:bc H b : : : ® 2 c div M d 0 M c L (: ) : b °¯ ³:
[4.8]
with the following definitions of functional calculus spaces: Hb
{v H (div : ) v n
[4.9]
0 on * b }
The main unknown variable is the magnetic induction b , hence the qualifier of oriented formulation b . The second unknown variable M can, as will later be shown, be interpreted as a Lagrange multiplier. It is now easy to see that this mixed problem is equivalent – in the sense of distributions – to the initial problem. Firstly, it is clear that the second equation of [4.8] is the same as [4.2]. Then, for the first equation of [4.8], let us take bc in 3
{D (:)} , therefore zero on * and undertake an integration by parts.1 We obtained:
1
1 We suppose here that M belongs to the functional calculus space H ( : ) which will be
defined subsequently in [4.19], such as grad M being added square and the integration by parts being admissible.
Mixed Finite Element Methods in Electromagnetism
³:Q b bc d: ³: gradM bc d: ³: h
s
3
bc d:bc {D (: )}
143
[4.10]
which implies [4.5] in the sense of distributions. Now, let us return to the first equation of [4.8] but this time taking bc in H b , and therefore non-zero on * . After integrating by parts, we obtain:
³:Q b bc d: ³: gradM bc d: ³*M bc n d* ³: h
s
bc d:bc H b
However, taking [4.5] into account, deduced thanks to [4.10], there remains only:
³*M bc n d*
0bc H b
Boundary condition [4.3] being imposed heavily in the space defined H b , the integral is only performed on * h . Therefore, we have – weakly – M 0 on * h which implies [4.4]. Boundary condition [4.4] is thus included – in the weak sense – in the mixed formulation. Note 1: if we seek b in the form b curl a , by taking test fields bc curl a c , we find, by taking boundary conditions into account, the classical formulation of vector potential:
[4.11]
³:Q curl a curl ac d: ³: j ac d:ac H a with the following definitions: H (curl : ) Ha
2
3
2
3
{u {L (: )} curl u {L (: )} }
{u H (curl : ) u u n
0 on * b }
[4.12] [4.13]
the space H a by definition containing boundary condition [4.3]. Note 2: it is clear that the solution a of [4.11] is not unique, but curl a is unique. Given the equivalence raised in Note 1 between the mixed formulation [4.8] and the classical formulation of vector potential, we will take for granted the existence and uniqueness of solution [4.8], at least regarding b . It is possible to check that M is also unique, assuming that there are two solution couples (b M1 ) and (b M 2 ) for mixed problem [4.8]. It follows:
144
The Finite Element Method for Electromagnetic Modeling
³: (M1 M 2 ) div bc d:
0bc H b
By choosing bc such that div bc deduced.
M1 M 2 the equality of M1 and M 2 is thus
4.2.2. Formulation oriented magnetic field
Let us now write [4.6] in the weak form:
³
:
P h hc d:
³
:
curl a hc d:
which will become, after integration by parts:
³
:
P h hc d: ³ a curl hc d: ³ n u a hc d* 0 :
*
In view of boundary conditions [4.3] and [4.4], the integral over the border * is zero. In fact, on * b it is imposed a u n 0 which implies [4.3]. In addition, on * h , h u n 0 ; this condition [4.4], also verified by test field hc , will be strongly satisfied since we impose it in the definition of the space of admissible fields.
The writing of [4.1] in the weak form immediately provides the second variational equation, and finally we obtain the mixed formulation. Since j H 0 (div 0 :) , we find the couple (h a ) H h u H *h (div0 :) verifying:
³
P h h 'd: ³ a curl h ' 0
³
curl h a 'd: ³ j a ' 0 a ' H *h (div 0 , :)
:
:
:
h ' H h
[4.14a] [4.14b]
:
with the following definitions of functional calculus spaces. H (curl :) {u {L2 (:)}3 curl u {L2 (:)}3 }
[4.15]
Hh
[4.16]
{u H (curl :) u u n
0 on * h }
H *h (div 0 :) {u H (div :) div u
0 in : u n
0 on * h }
[4.17]
Mixed Finite Element Methods in Electromagnetism
The introduction of conditions div a 0 in : and a n ensure the uniqueness of a , as will be seen in Note 2.
145
0 on * h aims to
The main unknown variable is the magnetic field h, hence the qualifier of the oriented formulation h. The second unknown variable a , as for M in the oriented mixed formulation b, can be interpreted as a Lagrange multiplier. As for the formulation in (b M ) , we can show the equivalence between this problem and the mixed initial problem: starting from [4.14a], by taking hc in {D(:)}3 , hence zero on * , after an integration by parts, we find [4.6], in the sense of distributions. Given this result, starting from [4.14a] but taking this time hc in H h , hence non-zero on * , we obtain after integration by parts:
³
*
n u a hc
0hc H h
Boundary condition [4.4] being imposed strongly in the space defined H h , the integration is only carried out on * b . Thus, we obtain – weakly – n u a 0 on * , which implies [4.3]. Boundary condition [4.3] is hence included – in the weak sense – in the mixed formulation. Note 1: if we seek h in the form h h s grad M , taking test fields hc grad M c , we find, by taking the boundary conditions into account, the classical formulation of reduced scalar potential:
³
:
P (h s grad M ) grad M c d: 0M c H M
s where h s is a “source” field such that curl h [4.4]. The functional spaces are the following: H 1 (:) {u L2 (:) HM
{u H 1 (:) u
[4.18] j and verifies boundary condition
wu L2 (:)} wxi 0 on * h }
[4.19] [4.20]
Space H M thus contains in its definition boundary condition [4.4]. Note 2: the solution of [4.18] is unique if * h is not empty. Given the equivalence observed in Note 1 between mixed formulation [4.14] and the classical formulation of reduced scalar potential [4.18], we will take for granted the existence and uniqueness of the solution, at least regarding h . In order to establish that a is
146
The Finite Element Method for Electromagnetic Modeling
also unique, we assume that there are two couples (h a1 ) and (h a2 ) solutions to mixed problem [4.14]. It follows:
³
:
(a1 a2 ) curl hc d:
0 hc H h
As a1 and a2 are in the space H *h (div0 :) , a field vector u exists such that curl u , with curl u n 0 on * h . In addition, the test field hc being taken in * h , they verify hc u n 0 on * h and hence curl hc n 0 on * h . It is thus possible to take hc u , which implies the equality of a1 and a2 . a1 a2
In this context, it may be noted that the uniqueness of a is heavily dependent on the properties of different spaces containing test fields and the solutions. We will return later, with regards to the discrete problem, to the choice of work spaces that cannot be made arbitrarily. Mixed formulations [4.8] and [4.14] have been suggested in [BOS 88]. Comparisons with non-mixed methods are given in [DUL 97]. 4.2.3. Formulation in induction and field
In the two previous formulations, the constitutive relationship between magnetic materials was checked sharply. It is also possible to integrate this behavioral law in the equations, by writing: b
P
h
grad Mˆ
[4.21]
curl aˆ
[4.22]
and b Ph
where Mˆ and aˆ are not the usual potentials. Mˆ is the total magnetic scalar potential b
P
h whereas aˆ is the magnetic vector potential from which b P h is derived.
By expressing [4.21] and [4.22] in variational form as well as Maxwell equations [4.1] and [4.2], we obtain the following formulation proposed in [ALO 98]: Given j H 0 (div 0 :) , find (b h Mˆ aˆ ) H b u H h u L2 (:) u H *h (div 0 :) verifying:
Mixed Finite Element Methods in Electromagnetism
1 ° ³: P b bc d: ³: h bc d: ³: Mˆ div bc 0bc H b ° °° ³ b hc d: ³ P h hc d: ³ aˆ curl hc 0hc H h : : ® : ° ˆ c b M Mˆ c L2 (:) div 0 ³: ° 0 ° ³: curl h aˆ c 0aˆ c H *h (div :) ¯°
147
[4.23]
the functional spaces being defined earlier. 4.2.4. Alternate case
We have presented several mixed formulations for the magnetostatic case. By following a similar approach, we can easily establish the mixed formulations for electrostatics. Furthermore, we have chosen to impose homogenous boundary conditions in order to simplify the presentation. The presence of non-homogenous boundary conditions would not bring any fundamental change. There is clearly a need to correctly define the functional spaces in which the solutions are sought and to add some boundary terms in the second members of variational equations. It is also possible to consider Maxwell equations in an unbound domain; the only boundary conditions thus being the nullity of fields at infinity. In this case, the area external to the domain : can be treated using an integral method. Mixed methods can be generalized without causing a major difficulty to the coupling of the finite elementsboundary integral [BAN 98a], [BAN 01]. We will now show how mixed methods can be obtained from an “energy approach” in terms of variational principle. 4.3. Energy approach: minimization problems, searching for a saddle point 4.3.1. Minimization of a functional calculus related to energy
Let us show that the solution to problems [4.1] and [4.2], with the associated boundary conditions – in our case [4.3] and [4.4] – is equivalent to solving a minimization problem. For this purpose, we introduce functional calculus: J (D )
1 Q _ curl D _2 d: ³ j D d: : 2 ³:
[4.24]
148
The Finite Element Method for Electromagnetic Modeling
and search for a H a defined by [4.13], such that J (a)
Now, let D
[4.25]
inf J (D )
D H a
a O a c . By deriving with respect to O the expression:
J (a O a c) 12³ Q _ curl a _2 d: O ³ Q curl a curl a c d: :
:
³ j a d: O ³ :
:
O2
Q _ curl a c _2 d: 2 ³: j a c d:
and by writing that the derivative is zero for each a c H a , we deduce the formulation of potential vector [4.11]. Equally, if a H a is the solution of variational equation [4.11], we have for each a c H a : J (a c) J (a )
1 Q _ curl(a c a) _2 d: ³ Q curl a curl(ac a) d: ³ j (ac a ) d: : : 2 ³: 1 Q _ curl(a c a ) _2 d: t 0 2 ³:
Therefore, for each a c which is not the solution to [4.11], we have J (a c) ! J (a ) , indicating that a is a solution to the minimization problem [4.25]. Problems [4.11] and [4.25] are clearly equivalent. Note 1: when functional calculus J is minimal, the contribution of the first integral of [4.24] is equal to the magnetic energy, and that of the second integral is double this energy. The minimum of J is thus the opposite of magnetic energy. Note 2: by using the same approach, we can easily show that the variational formulation of reduced scalar potential [4.18] is equivalent to the following minimization problem: find M H M defined by [4.20], such that K (M )
inf K (\ )
\ HM
with the following expression of functional calculus K: K (\ )
1 P _ grad\ _2 d: ³ P h s grad\ d: : 2 ³:
[4.26]
Mixed Finite Element Methods in Electromagnetism
149
4.3.2. Variational principle of magnetic energy
4.3.2.1. Energy in terms of induction Let us introduce functional calculus for magnetic energy I b written in terms of induction: Ib (E )
1 Q _ E _2 d: ³ h s E d: : 2 ³:
[4.27]
as well as the functional space: H b0
{u H b div u
0 in :}
[4.28]
where H b is defined by [4.9] and let us consider the following problem: Find b H b0 such that: I b (b)
Let E
[4.29]
inf I b ( E )
E H b0
b O bc . By writing that:
dI b (b O bc)|O dO
0
0
it is shown that solving minimization problem [4.29] is equivalent to finding b H b0 such that:
³
:
Q b bc d:
³
:
h s bc d: bc H b0
[4.30]
Just as before, we can verify that the converse is true: if b is the solution of [4.30], then I b (bc) I b (b) t 0 bc H b0 , indicating that b is the solution to a minimization problem. Note 1: variational equation [4.30] is such that it can be obtained by strongly imposing div b 0 in mixed formulation [4.8].
150
The Finite Element Method for Electromagnetic Modeling
Note 2: it is possible to check that [4.30] is equivalent to problem [4.1] and [4.2] associated with the boundary conditions [4.3] and [4]. In order to confirm this, it is sufficient to write bc curl a c in [30], with a c belonging to H a defined by [4.13]; we take a c in {D(:)}3 , and therefore as zero on * 2, and we integrate by parts: [4.1] is found in the sense of distributions. By thereafter taking a c in H a , the boundary condition [4.4] is deduced. As for [4.2] and boundary condition [4.3], they are clearly included in the definition of spaces H b0 and H a . Note 3: the minimum value reached by the functional calculus I b is equal to the opposite of magnetic energy.
4.3.2.2. Energy in terms of magnetic field Let us introduce the functional calculus of magnetic energy I h written in terms of field: I h (k )
1 ³ P _ k _2 d: 2
[4.31]
We define the following affine variety: H hj
{u H h curl u
j in :}
[4.32]
where H h is defined by [4.15], as well as the associated vector space: H h0
{u H h curl u
0 in :}
[4.33]
Let us consider the following problem: Find h H hj such that: I h ( h)
Let k
[4.34]
inf I (k )
k H hj
h O hc where hc H h0 and by writing that:
dI h (h O hc)|O dO
0
0
2 D (:) indicates the set of functions indefinitely differentiable and with compact support in
: . These functions are thus zero on * .
Mixed Finite Element Methods in Electromagnetism
151
It is shown that solving constrained minimization problem [4.34] is equivalent to finding h H hj such that
³
:
P h hc d: 0 for all hc H h0
[4.35]
Note 1: variational equation [4.35] is such that it can be obtained by strongly imposing curl h j in mixed formulation [4.14]. Note 2: it is possible to check that [4.35] is equivalent to problems [4.1] and [4.2] associated with boundary conditions [4.3] and [4.4]. In order to confirm this, it is sufficient to write hc grad M c in [4.35], with M c belonging to H M defined by [4.20]; we take M c in D(:) , and therefore as zero on * , and we integrate by parts: [4.1] is found in the sense of distributions. By thereafter taking M c in H M , boundary condition [4.3] is deduced. Equation [4.1] and boundary condition [4.4] are strongly satisfied thanks to the definition of spaces H hj and H M . Note 3: the minimum of the functional calculus I h is equal to the magnetic energy. 4.3.3. Searching for a saddle point
The drawback of formulations [4.30] and [4.35] is that the constraint included in the workspace – zero divergence in H b0 , rotational given in H hj – is not in practice easy to impose during the discretization process. The easiest way to achieve this is of course to introduce a potential. However, this solution, which leads to conventional formulations in potential, does not allow the physical fields to be conserved as unknown variables. It is also possible to impose a constraint by using a tree technique, the implementation of which is also quite difficult. Another way to impose a constraint of type div b 0 or curl h j consists of relaxing the constraint by introducing a Lagrange multiplier. Instead of imposing a relationship between the unknown variables, the functional calculus is modified. 4.3.3.1. Functional calculus in terms of induction Now let us consider again problem [4.29], but looking for b in H b instead of H b0 . The constraint div b 0 is no longer imposed by the workspace. It is thus possible to relax this constraint by modifying the expression of the functional calculus to be minimized. Instead of I b ( E ) , it will minimize: I b ( E ) sup
\ L2 ( : )
³\ div E d:
152
The Finite Element Method for Electromagnetic Modeling
If the functional calculus is introduced: Lb ( E \ )
1 Q _ E _2 d: ³ h s E d: ³ \ div E d: : : 2 ³:
The problem consists of searching for a couple (b M ) H b u L2 (:) such that: Lb (b M )
inf sup Lb ( E \ )
[4.36]
E H b \ L2 ( : )
For each couple ( E \ ) H b u L2 (:) , we obtain: Lb (b\ ) d Lb (b M ) d Lb ( E M )
which implies that the constraint div b taking \ \ W W div b , would result in: lim Lb (b\ )
W of
0 is verified. If this was not the case,
f
The couple (b M ) is called a “saddle point” or “col” as a result of the geometric representation of the functional calculus Lb in the form of a saddle surface [BRE 91], [GIR 86]. The unknown variable M is the Lagrange multiplier associated with the constraint div b 0 . Now, let E
b O bc . By writing that:
d Lb (b O bc M )|O dO
0
0
we obtain:
³
:
Q b bc d: ³ M div bc d: :
³
:
h s bc d: bc H b
which is identical to the first equation of [4.8]. Similarly, by considering \ M OM c , and by writing that: d Lb (b M OM c)|O dO
0
0
the second equation of [4.8] is deduced:
Mixed Finite Element Methods in Electromagnetism
³
:
153
0M c L2 (:).
div bM c d:
Finding the saddle point of the functional calculus Lb is therefore equivalent to solving mixed problem [4.8]. 4.3.3.2. Functional calculus in terms of field The same approach can be followed for problem [4.34]: we start over from [4.34], but by searching for h in H h instead of H hj . The constraint curl h j will be imposed by the functional calculus thanks to the introduction of a Lagrange multiplier a , which will be sought in H *h (div0 :) . This latter is the space to which curl h belongs. The functional calculus to be minimized becomes: I h (k )
sup D H *h (div0 : )
³ D ( j curl k ) d:
where I h is defined by [4.31]. If we introduce the functional calculus: Lh (k D )
1 P _ k _2 d: ³ D ( j curl k ) d: : 2 ³:
the problem will consist of searching for a couple (h a ) H h u H *h (div 0 :) such that: Lh (h a)
By letting k
inf
k H h
sup D H *h (div0 : )
Lh (k D )
[4.37]
h O hc and by writing that:
d Lh (h O hc a)|O dO
0
0
We find the first variational equation [4.14a] of the mixed oriented problem h . Similarly, by letting D a O a c , and by writing that: d Lh (h a O a c)|O dO
0
0
we find equation [4.14b]. The search for a saddle point of the functional calculus Lh is equivalent to solving mixed problem [4.14].
154
The Finite Element Method for Electromagnetic Modeling
4.3.4. Functional calculus related to the constitutive relationship
Let us introduce the functional calculus F (b h)
1 _ b P h _2 d: 2 ³:
which reflects the error made on the constitutive relationship b P h [ALO 98]. It is then possible to minimize this functional calculus by imposing Maxwell equations as constraints, through two Lagrange multipliers. It is then possible to seek a saddle point of the functional calculus: U ( E k \ D )
F ( E k ) ³ \ div E d: ³ D ( j curl k ) :
:
By writing that: U (b h Mˆ aˆ )
inf
sup
E H b k H h \ L2 ( : ) D H
*h
(div0 : )
U ( E k \ D )
mixed formulation [4.23] is deduced. 4.4. Hybrid formulations
The difference between the terms “mixed” and “hybrid” is not always clear in the literature. Here, a formulation is called hybrid if it is formally a mixed method, but one of the unknown variables exists only on the interfaces [QUA 97]. These interfaces can be, for example, the facets of a 3D grid. We will first build two examples of hybrid methods from mixed formulations [4.8] and [4.14], and then we will present a method that is both mixed and hybrid. 4.4.1. Magnetic induction oriented hybrid formulation
A subdivision of : into several domains :i is considered. This kind of subdivision can be obtained by performing the finite element meshing of : . In this case, each :i is a “triangulation” element. It is assumed that we are able to build up the space: n
H b0
{b {L2 (:)}3 div b
0 in :i i b n
0 on * b }
Mixed Finite Element Methods in Electromagnetism
155
which means that the divergence of b is zero inside each :i , but not on the interfaces where the normal component of b is liable to undergo a jump. A term dedicated to relaxing the continuity condition of the normal component of the induction on the interfaces should be added to the functional calculus I b introduced for [4.27] in section 4.3.2.1. The functional calculus considered is then M b ( E \ )
1 _ E _2 d: ³ h s E d: ¦ ³ E n\ dsi : w:i 2 ³: i
[4.38]
where w:i is the boundary of the domain :i . By proceeding as previously, it n emerges that the search for saddle point (b M ) H b0 u H M (:) such that: M b (b M )
infn sup M b ( E \ )
E H b0 \ H 1 ( : )
is equivalent to solving the following hybrid problem: n
Given h s , find the couple (b M ) H b0 u H M (:) verifying: Q b bc d: ¦ ³w:i M bc n dsi ° ³: i ® ° ¦i ³w:i b n M ' dsi ¯
³
:
n
h s bcd :bc H b0
0M ' H M .
[4.39]
The functional calculus space H M is defined by [4.20]. The unknown variable M is a Lagrange multiplier associated with the continuity constraints of b n at the interfaces level. Note 1: boundary integrals over the w:i only cover the “internal” interfaces. They have a zero value on * because of the boundary conditions imposed in the n
spaces H b0 and H M . Note 2: formulation [4.39] can be obtained directly from the Maxwell equations, by again considering the approach that was used in section 4.2.1 in order to establish [4.8], but by integrating on the union of interiors of :i – i.e. by excluding the boundaries of w:i – so that an integration by parts can subsequently be achieved. n Indeed, the divergence of fields of H b0 involves a Dirac mass linked to a jump of b n on the w:i and as a result, the integration by parts on the whole : is not admissible. Each integration by parts on :i thus shows a boundary integral on w:i .
156
The Finite Element Method for Electromagnetic Modeling
4.4.2. Hybrid formulation oriented magnetic field
It is possible to set up a hybrid method oriented h on the same model, by introducing the following affine variety: n
H hj
{h {L2 (:)}3 curl h
j in :i i h u n
0 on * h }
0 in :i i h u n
0 on * h }
[4.40]
and the associated vector space: n
H h0
{h {L2 (:)}3 curl h
It is thus assumed that we could build vector field spaces whose rotational is imposed inside each :i but not on the interfaces where the tangential component of h is likely to undergo a jump. Then a Lagrange multiplier dedicated to relaxing the jump zero condition is introduced. The functional calculus to be considered is: M h (k D )
1 ³ P _ k _2 d: ¦ ³w:i D (k u n) dsi 2 i n
We are thus led to seek the saddle point (h a ) H hj u H a such that M h (h a)
inf sup M h (k D ) n
k H hj D H a
which is equivalent to solving the following hybrid problem: n
Given j , find the couple (h a ) H hj u H a verifying n P h h ' d: ¦ a (h 'u n) dsi 0 h ' H h0 ³ w:i ° ³: i ® ° ¦i ³w:i (h u n) a ' dsi 0 a ' H a . ¯
[4.41]
The functional space H a is defined by [4.13]. The unknown factor a is a Lagrange multiplier associated with the continuity constraints of h u n on the level of the interfaces. Note: the boundary integrals on the w:i are zero on * because of the boundary n conditions imposed in the spaces H h0 and H a .
Mixed Finite Element Methods in Electromagnetism
157
4.4.3. Mixed hybrid method
It may be useful to facilitate a numerical solution to “hybridize” a mixed formulation. Let us take the example of formulation [4.8]. If we replace the space H b by space; n
Hb
{b {L2 (:)}3 div b L2 (:i )i b n
0 on * b }
so that the continuity of normal inductions is no longer satisfied on the boundaries w:i , it is then necessary to release this condition of continuity by introducing an additional Lagrange multiplier [ on each w:i . The following hybrid mixed formulation is then obtained [ARN 85], [BRE 91]: n
Given j or h s verifying [4.7], find the triplet (b M [ ) H b u L2 (:) u H 1 (:) verifying: Q b bc d: M div b ' ¦ ³: ³w:i [ b' n dsi ° ³: i ° ® ³: div b M 'd:=0 ° ° ¦i ³w:i b n [ ' dsi ¯
³
:
h s b ' d:
0
n
bc H b M c L2 (:)[ c H 1 (:)
whose unknown factors are b , M and [ . The unknown factor [ is the Lagrange multiplier associated with the continuity constraint of b n on the interfaces. It represents the reduced scalar potential on the interfaces, where M is not continuous. [ is searched for in the space H 1 (:) defined by [4.19] in order to ensure its continuity on the interfaces. However, only its value on the interfaces matters. n
The definition of H b clearly shows that the basic functions which will be adopted to interpolate b are defined inside each :i , the :i being, for example, elements of a meshing. During the assembly of the matrix, there will be no connection between :i and : j for i z j . The matrix associated with ³ Q b bc d: :i
is thus diagonal by blocks. 4.5. Compatibility of approximation spaces – inf-sup condition
There exist necessary and sufficient conditions so that a mixed variational problem is well stated. However, the systematic verification of all these conditions –
158
The Finite Element Method for Electromagnetic Modeling
especially for the continuous problem – is not always necessary from the practical point of view. It is sometimes quicker to show that the mixed problem is equivalent, at least with regards to the fundamental unknown variable, to a non-mixed problem already understood to be well stated. On the other hand, the only problem that actually needs to be solved is a discrete problem. In this case, an appropriate choice of different types of finite elements involved in the discretization can automatically ensure the compatibility of work spaces. If the finite elements are well chosen, it is therefore not in practice necessary to check the “inf-sup condition” for the discrete problem. We will not present here in any detail the general theorems which can be found in many applied mathematics works [BRE 91], [GIR 86], [QUA97], [ROB 91]. We will only give, by way of an example, some indications of the conditions to fulfill so that a discretized mixed problem is well stated, then we will state these conditions in general terms. 4.5.1. Mixed magnetic induction oriented formulation
Let us consider mixed formulation [4.8] as an example. After the discretization, it becomes: Find the couple (b M ) Sb u SM verifying: s c c c c ° ³: Q b b d: ³: M div b d: ³: h b d:b Sb ® °¯ ³: div bM c d: 0M c SM
[4.42]
where Sb and SM are finite dimension spaces, Sb checking boundary condition [4.3]. The Galerkin method will thus lead to a matrix system of the form: §A ¨ ©B
BT · § b · ¸ ¨ ¸ 0 ¹ ©M¹
§f · ¨ ¸ ©0¹
[4.43]
comprising as many equations as unknown variables. It is then sufficient to check that the solution is unique to be assured of the existence of this solution. Suppose that there are two couples of solutions (b1 M1 ) and (b2 M 2 ) in Sb and let b b1 b2 , M M1 M2 . It follows: c c c ° ³: Q b b d: ³: M div b d: 0 b Sb ® °¯ ³: div bM c d: 0 M c SM
[4.44]
Mixed Finite Element Methods in Electromagnetism
159
If we take b ' b in [4.44], we obtain:
³
:
Q _ b _2 d: 0
which implies the uniqueness of b . The matrix A of system [4.43] is thus (at least) invertible. We will see later that this matrix is generally required to also be definite positive, resulting in a condition known as coercivity that we will discuss at the end of this section. While taking into account the nullity of b , let us now take the unspecified bc in Sb . It becomes:
³
:
[4.45]
M div bc d: 0 bc Sb
A priori, we cannot conclude from [4.45] that M is zero. To be entitled to conclude the nullity of M , it is sufficient to ensure that the choice of bc , such that div bc M in [4.45], is possible. This requires a degree of compatibility between Sb and SM which is achieved when SM contains the divergences of fields of vectors belonging to Sb . If this compatibility exists, then
³
:
M div bc d : 0 bc Sb M
0
[4.46]
which means that the matrix BT of [4.43] is injective and that B is surjective.3 If we assume that Sb H (div :) and that SM L2 (:) – i.e. the approximation spaces are included in the work spaces of the continuous formulation – the compatibility condition is written: there exists E ! 0 independent from meshing such that: sup b cSb
³
:
M div bc d:
& bc &H (div: )
t E & M &L2 ( : ) M SM
[4.47]
which naturally implies [4.46]. This compatibility condition is called the “inf-sup” condition or Ladyzhenskaya-Babuska-Brezzi condition.
3 Obviously the matrix B is not injective, otherwise it would mean that the space Sb only
contains one field of vectors likely to be the solution for b . In our example, if B was injective, the only field of Sb with zero divergence would be the zero vector.
160
The Finite Element Method for Electromagnetic Modeling
4.5.2. Mixed formulation oriented magnetic field
For the mixed formulation oriented h , it is possible to follow the same reasoning. In order to ensure the uniqueness of a , the following is needed:
³
:
a curl hc d :
0 h ' a
0
For this purpose, it is sufficient to have the discretization space of a containing the rotational of admissible discretized magnetic fields. This condition is achieved by searching for h in a sub-space of finite dimension of H h – and therefore of H (curl :) – and for a in a sub-space of finite dimension of H *h (div 0 :) .4 It is
thus possible to write a compatibility condition for the mixed formulation oriented h similar to [4.47]. 4.5.3. General case
More generally, let us write a mixed problem discretized in the following canonical form, where all functional spaces are of finite dimension: Given f and g are two continuous linear forms – they have corresponding sources – find u U , p P solutions of: (u u c) b(u c p) f (u c)u c U ® b(u p c) g ( p c)p c P ¯
[4.48]
Formulation [4.48] leads to a system of equations similar to [4.43] except that the two sides are a priori non-zero. Let us consider the functional space: U0
{v U b(v p c)
0p c P}
as well as the following assumptions: – First assumption: there exists a constant D ! 0 , independent of the meshing, such that: a(u0 u0 ) t D & u0 &U2 u0 U 0
[4.49]
4 These different spaces have been defined during the establishment of the continuous formulation.
Mixed Finite Element Methods in Electromagnetism
161
This property is called coercivity on the space U 0 . It leads to a matrix A defined as positive in the matrix system similar to [4.43]. – Second assumption (inf-sup condition): there exists a constant E ! 0 independent of the meshing, such that: sup qP
b(v q ) t E & q &P q P & v &U
If these two assumptions are verified, then, problem [4.48] is well formed: the solution exists, is unique and depends continuously on the data. Moreover, the method of approximation is convergent – when we refine the meshing – and stable. We will now see that it is possible, in practice, to be assured that we are working on a well constructed problem without being constrained to check that the discrete inf-sup condition is satisfied, which is often a difficult mathematical task. 4.6. Mixed finite elements, Whitney elements
The literature of mixed finite elements includes “catalogs” in which we can choose a suitable discretization for each unknown factor of the formulation, so that the inf-sup condition is “automatically” satisfied. The best known are the RaviartThomas elements in 2D [RAV 77], the Nédélec elements in 3D [NED 80], [NED 86], as well as the Brezzi-Douglas-Fortin-Marini elements [BRE 85], [BRE 87]. Bossavit gave an expression of the Nédélec elements of degree 1 in terms of differential form [BOSS 93]. We thus talk about Whitney elements. We will illustrate our subject of the discretization of mixed formulations by using these elements whose definition and properties are largely known in the community of numerical calculations for electromagnetism [BOS 93]. We will recall them here. The calculation field : being meshed in tetrahedrons and its boundary * in triangles, we will adopt the following usual notations:
– W0 indicates the vector space generated by the basic functions of degree 1 associated with the vertices, affine per tetrahedron. These functions are the barycentric coordinates related to each top of the grid. They are interpolation functions of the Lagrangian nodal finite elements P1 . – W0 is a sub-space of finite dimension of H 1 (:) . – W1 indicates the vector space generated by the basic functions of degree 1 associated with the edges. It is a sub-space of finite dimension of H (curl :) .
162
The Finite Element Method for Electromagnetic Modeling
– W2 indicates the vector space generated by the functions of facets. It is a subspace of finite dimension of H (div :) . – W3 indicates the vector space generated by the constant functions by tetrahedron. It is a sub-space of finite dimension of L2 (:) . Moreover, we will denote by Wh1 the space of the fields of vectors confirming boundary condition [4.4] and Wb2 that of the fields of vectors checking boundary condition [4.3]. Lastly, let us recall a fundamental property of Whitney elements: grad W 0 W 1 curl W 1 W 2 div W 2 W 3
[4.50]
4.6.1. Magnetic induction oriented formulation
The mixed formulation oriented b is written, after discretization: Given h s , we find (b M ) Wb2 u W 3 by checking: s 2 Q b bc d: M div bc d: ³: ³: h bc d: bc Wb ° ³: ® 3 °¯ ³: div bM c d: 0 M c W
[4.51]
where Wb2 is the set of the fields of vectors of W 2 checking [4.3]. We should note that with the selected approximation spaces – Wb2 and W 3 – the inf-sup condition is met. Indeed, we have (see [4.46]):
³
:
M div bc d : 0 bc Wb2
with M W 3 if and only if M 0 , which is so thanks to the fact that div bc W 3 . The uniqueness of M is thus assured. As for the coercivity condition – see [4.49] – it does not pose any problem since the norm of the vector fields of W 2 whose divergence is zero is reduced to ³ _ b _2 d: . The coercivity is thus checked while :
taking as a constant D the smallest value of Q . Let us note finally that b is sought in W 2 , div b W 3 , as for M c . The second equation of [4.51] thus implies that [4.2] is met exactly in W 3 . The numerical solution will thus provide for b a field of vectors of W 2 with zero divergence, which can be written like the rotational of a field a where a W 1 . A priori, we can expect to obtain for b the rotational of the solution provided by the traditional formulation of vector potential [4.11] when a is interpolated using edge functions
Mixed Finite Element Methods in Electromagnetism
163
of W 1 . We can then speculate about the value of a mixed method that also requires the calculation of a Lagrange multiplier M , that is to say, a degree of freedom per tetrahedron. However, without the adoption of a gauge, the formulation of vector potential [4.11] led to an ill-posed problem and convergence is not assured.5 4.6.2. Magnetic field oriented formulation
The formulation oriented h is discretized in the following way using the Whitney elements. Given j W 2 and at zero divergence, find (h a ) Wh1 u W*2h (div 0 :) checking: P h h 'd: a curlh ' 0 ³: ° ³: ® ° ³: curl h a 'd: ¯
h ' W 1h
³
:
j a 'd: a ' W 2 *h (div0 , :)
[4.52]
with W*2h (div 0 :) {u W 2 div u
0 in : u n
0 on *}
Let us notice that, in a similar way to the mixed formulation oriented b , since the current source j is in W 2 and has zero6 divergence, the second equation of [4.52] implies that [4.1] is checked exactly in W 2 . A field h will thus be obtained in the form h s grad M , h s belonging to W 1 and M to W 0 . Thus, it could be thought that the mixed formulation brings only additional calculations – the fluxes of a through the facets of the grid – compared to the traditional formulation in reduced scalar potential [4.18]. However, the reduced potential allows the magnetic field of reaction to be obtained, which must be added to the source field in order to determine the total field. In the areas of strong permeability, that can cause an important loss of numerical accuracy. On the other hand, the mixed formulation straightforwardly provides the total magnetic field. Note: the nullity of the divergence of the functions of W*2h is not obtained
immediately: the divergence of a field of vectors is interpolated using the functions 5 Various numerical experiments showed that the formulation in vector potential without imposed gauge could provide correct results if we adopted a suitable discretization of the source current and if we solved the system using the method of the conjugate gradient [REN 96]. 1 6 It is possible to take j the rotational of a source field belonging to W calculated using the Biot and Savart law.
164
The Finite Element Method for Electromagnetic Modeling
of facets of W 2 as a constant quantity per tetrahedron, equal to the sum of the degrees of freedom – the fluxes through the facets – divided by the volume of the element. The nullity of the divergence on the whole grid is then obtained by imposing relations between the degrees of freedom using a tree technique. We can however note that if this condition is not imposed on the divergence, the resolution of the final linear system using an iterative conjugate gradient method converges towards the expected solution. 4.7. Mixed formulations in magnetodynamics
In this section, the mixed formulations in harmonic mode will be presented within the approximation framework of the quasi-stationary states. For this purpose, the majority of the notations that have been used in the previous sections will be preserved. A domain : is considered where a part denoted : c is made up of conducting materials, of conductivity V . Inside : there is also an inductor, denoted by : s , carrying a current j s at the pulsation Z . : c and : s are disjoined. Equations in : satisfy Faraday’s law: curl e
[4.53]
iZP h
as well as Ampere’s law: curl h V e j s
[4.54]
with j V e in : c , V being zero outside : c . Boundary condition [4.4] will be preserved and it is imposed: eu n
[4.55]
0 on *b
which implies [4.3]. It is recalled that * h *b
*.
4.7.1. Magnetic field oriented formulation
The same process as in section 4.2 for magnetostatics will be followed here for magnetodynamics: equation [4.53] is multiplied by a test field hc that meets [4.4], with an integration carried out on : , so an integration by parts is achieved; equation [4.54] is multiplied by a test field ec that meets [4.55] and an integration is carried out on : . The following formulation is then obtained, presented in [BOS 88]:
Mixed Finite Element Methods in Electromagnetism
c c ° ³: P h h d: ³: e curl h d: ® °¯ ³: V e ec d: ³: curl h ec d:
0,
³
:
165
[4.56]
j s ec d:
However, the second equation of [4.56] implies that e
1
V
curl h in :c . This
expression of e can be carried over in the first equation of [4.56] while making an integral appear on : c and an integral on its complementary : 5 : c 7. Moreover, it is supposed that there is no electric charge in : 5 :c , i.e. outside the conductors. The following mixed formulation is then obtained: Given j s , find the couple (h e) H h u H *e (div0 :) that meets: 1 ° ³: P h hc d: ³:c V curl h curl hc d: ³: 5 :c e curl hc d: ® ° curl h ec d: ³ c j s ec d: :5: ¯ ³: 5 :c
0,
[4.57]
hc H h ec H *b (div 0 :)
with H *e (div0 :) {u H (div :) div u
0 in : u n
0 on * e }
[4.58]
H h being defined by [4.15].
Mixed formulation [4.57] allows, in addition to the magnetic field all over : as well as the current via curl h in the conductors, the electric field outside the conductors to be calculated. However, this electric field only marginally meets Faraday’s law. It is easily shown, while proceeding as in section 4.2, that this formulation is equivalent to the starting equations. The treatment of the case where the conducting domain : c is not simply related does not pose any particular problem since we do not explicitly impose only curl h 0 in the non-conducting areas. If we now impose that curl h 0 outside the conductors, in the simply related case, by writing h h s grad M in [4.56], we obtain: s
7 It is the meeting of : and non-conductive parts : .
166
The Finite Element Method for Electromagnetic Modeling
P h hc d: iZ ³:5 :c P grad M grad M c d: ³:c e curl hc d: ° ³:c ° s ® iZ ³: 5 :c P h grad M c d: ° ° ³ c curl h ec d: ³ c V e ec d: 0 ¯ : :
[4.59]
Formulation [4.59] is mixed only in appearance, and there is no major value in using it in this form. Indeed, the unknown factor e can be expressed as a function of h using the second equation then carried over in the first one. We then obtain the well known non-mixed formulation in h M [BOS 93]: iZ ³ c P h hc d: iZ ³
: 5 :c
:
iZ ³
: 5 :c
P grad M grad M c d: ³
:c
s
P h grad M c hc H h hc
1
V
curl h curl hc d:
[4.60]
grad M c in : 5 : c
The discretization of [4.57] is carried out while following the rules stated in section 4.5. By using Whitney elements, h is taken in W 1 checking [4.4] and e in W 2 , with zero divergence, with zero normal component on * b . The electric field obtained will thus be with continuous normal components at the crossing of the grid facets. It is thus not possible to calculate the charges appearing at the border of the conductors. The discretization of [4.60] is obviously carried out using edge functions of W 1 for h , and nodal functions of W 0 for M . If we really want to discretize the “false” mixed formulation [4.59], it can be noted that the conditions to meet will be less severe than for a “true” mixed method. It has been seen already that the matrix of the system is very different, since it does not have a zero on the diagonal. Let us now show that the solution is unique by checking that only the couple (0,0) is a solution of the formulation without a second side. While taking hc h in the first equation of [4.59] and ec e in the second equation of [4.59] – the bar indicates the complex conjugate – we obtain: iZ ³ P _ h _2 d: ³ c V _ e _2 d: :
:
0
Thus, we find that the solution is unique – since V is strictly positive in :c – without having made an assumption on the discretization of e . It is thus not necessary to satisfy a condition of compatibility between the discretizations of h and of e . Besides, the numerical implementation of this formulation will give results different from those of the method in h M simply by adopting a non-standard discretization – for example while taking h and e in W 1 – in this case, neither
Mixed Finite Element Methods in Electromagnetism
167
Ampere’s law, nor Faraday’s law are satisfied exactly. We can then evaluate, after resolution, an error on Ampere’s law and on Faraday’s law and deduce an error indicator from it a posteriori [BAN 97], [BAN 98b]. 4.7.2. Formulation oriented electric field
Here we can proceed in a similar way to in the previous section but the integration by parts relates now to Ampere’s law rather than Faraday’s law. Another mixed formulation, announced in [BOS 88], is obtained: ° ° ® ° ° ¯°
³ ³
:
:
P h hc d: ³ curl e hc d: 0 hc H * (div0 :) e
:
V e ec d: ³ h curl ec d: :
³
s
:
s
j ec d: ec H e
[4.61]
where He
{u H (curl :) u u n
0 on * e }
H *e (div)0 :) being defined by [4.58]. With [4.61], there is still a “false” mixed formulation where we can eliminate the unknown variable h . The formulation in the electric field for magnetodynamics [BOS 90] is then obtained: iZ ³ c V e ec d: ³ :
:
1
P
curl e curl ec d:
iZ ³
:s
j s ecec H e
that we discretize by taking e in W 1 , with boundary condition [4.55]. Let us notice that, under these conditions, it is not possible to strongly impose div e 0 in : 5 :c . In the absence of charges in the areas where V is zero, the nullity of div e will have to be written weakly in the non-conducting areas by adding a
variational equation of the type
³
: 5 :c
e grad u ' d:
0 . The electric charges
appearing on the surface of the conductors can be approximated by evaluating the normal component of e on the external boundaries of the conductors. 4.8. Solving techniques
The mixed methods presented in the preceding sections – except for those described as “wrongfully” mixed in magnetodynamics – all lead, after discretization, to a linear system in the form:
168
The Finite Element Method for Electromagnetic Modeling
§ A BT · § p · ¨ ¸ ¨ ¸ © B 0 ¹ ©v¹
§f · ¨ ¸ ©g¹
[4.62]
whose matrix is infinite. It is obviously not possible to solve such a system using traditional methods such as Cholesky factorization or the conjugate gradient method. Some techniques allowing us to resolve this difficulty will be presented below. 4.8.1. Penalization methods
We will take as an example the mixed formulation oriented h for magnetostatics. The transposition of the method to any other mixed formulation will be immediate. Let us disturb equation curl h curl h H a
j slightly, so it becomes:
j
where H is a small positive parameter tending towards zero [GIR 86], [BAN 94]. The second variational equation of [4.14] becomes
³
:
curl h a c d: H ³ a a c d: :
³
:
j a c d:a c H *h (div0 :)
When H tends towards zero, we obviously find the initial system. However, for any non-zero H , there is an expression of a as a function of h which allows the unknown variable a to be eliminated in the first variational equation of [4.14a]. The formulation then becomes: Given j , find h H h such that:
³
:
P h h c d:
1
H
³
:
curl h curl hc d:
1
H
³
:
j curl hc d:hc H h
[4.63]
Let us note that variational problem [4.63] is equivalent to the following unconstrained minimization problem: Given j , find h H h such that: K H ( h)
inf KH (hc)
h cH h
Mixed Finite Element Methods in Electromagnetism
169
where 1 H P _ h _2 d: ³ _ curl h j _2 d: ³ : 2 2 :
K H ( h)
When H tends towards zero, this unconstrained minimization problem is equivalent to [4.34], the problem of minimization with constraint. The disturbance that we introduced into the equation is thus tantamount to introducing the constraint curl h j in the functional calculus of energy via a penalization [BRE 91]. Formulation [4.63] comprises only one unknown variable, the magnetic field, which will be discretized using Whitney edge functions pertaining to W 1 . A first advantage of the penalization technique is thus the significant reduction in the number of degrees of freedom. The saving achieved corresponds to the number of degrees of freedom related to the discretization of a . Before eliminating the unknown variable a , the system to be solved is in the form: § A BT · § h · ¨ ¸ ¨ ¸ © B HC ¹ ©a ¹
§0 · ¨ ¸ ©g¹
[4.64]
The elements of the matrix C have an expression of: ci j
³
:
w f i w f j d:
where w f i represents the basic function of W 2 associated with the facet i . The matrix C is obviously definite positive. We have: a
1
H
C 1 ( g Bh)
and after elimination of a ( A BT C 1 B)h
1
H
BT C 1 g
[4.65]
which is the system to be formally solved. Naturally, it is not necessary to actually build the matrix C and invert it. The discretization of [4.63] directly provides, using Galerkin’s method, the system to be solved. Yet the writing of this system in form [4.65] makes it possible to see that the matrix is symmetric and definite positive
170
The Finite Element Method for Electromagnetic Modeling
since it is written A BT C 1 B . This is a second advantage of the penalization technique: a traditional algorithm can be used to solve this system. The two advantages stated above are, however, accompanied by serious 1 drawbacks: the first is that the presence of the factor considerably degrades the
H
conditioning of the matrix. Another practical difficulty intervenes when we determine H . It must be small, but compared to what? And if it is too small, the term 1 in ends up numerically “crushing” its counterpart and the method becomes
H
inconsistent. It is thus necessary to carefully adjust the parameter H . We can specify what the choice of a small H means in practice, by noticing that 1
P 0H that
has the dimension of the square of a length. We will thus have to choose H so 1
P0H
can be large compared to a dimension characteristic of the system
studied [BAN 93]. An alternative to this method consists of directly disturbing system [4.62] by replacing it with: §A ¨ ©B
BT · § p · ¸ ¨ ¸ -H I ¹ © v ¹
§f · ¨ ¸ ©g¹
[4.66]
For the mixed oriented h formulation, this is tantamount to solving: ( A BT B ) h
1
H
BT g
which is specifically equivalent to [4.65] where the matrix C is replaced by the unity matrix [HAM 01]. For the mixed formulation oriented b , after introducing a disturbance into the continuous problem, the second equation of [4.8] becomes:
³
:
div bM c d: H ³ MM c d: :
0
The unknown variable M being interpolated using the basic functions of W 3 constant for each tetrahedron, the elements of the matrix C are written:
Mixed Finite Element Methods in Electromagnetism
ci j
³
:
171
wie wej d:
where wi is the function of W 3 associated with the element i . We obtain C I . The penalization on the linear system of equations gives, in this case, the same results as the penalization on the continuous problem. 4.8.2. Algorithm using the Schur complement
Another technique for solving system [4.62] consists of eliminating the principal unknown variable in order to preserve only the Lagrange multiplier. It is supposed that the two assumptions stated in section 4.5.3 are checked. The matrix A is then definite positive. It follows: p
A1 ( f BT v)
The system to be solved is then the following: B A1 BT v
B A1 f g
[4.67]
Let us suppose that the matrix A is symmetric, which is the case for all the mixed formulations that we have presented, then, B A1 BT also being definite positive, [4.67] can be solved by the conjugate gradient method. It is not necessary to calculate A1 explicitly. It is enough, for each iteration of the combined gradient method, to solve a linear system associated with the matrix A . This method is called the mixed Schur complement. We will show how it is implemented in the case of mixed formulations [4.8] and [4.14]. For the mixed formulation oriented h , the system obtained by Galerkin’s method is: § A BT · § h · ¨ ¸ ¨ ¸ 0 ¹ ©a ¹ ©B
§0 · ¨ ¸ ©g¹
We obtain: h
A1 BT a
and the system to be solved by the conjugate gradient is: B A1 BT a
g
[4.68]
172
The Finite Element Method for Electromagnetic Modeling
It is thus possible to use the following algorithm, which allows h and a 8 to be calculated simultaneously [BAN 98a]: Initialization: a0
0
h0
0
r0
B h0 g
p0
r0
g
Iteration n : Calculate xn by solving A xn qn
B xn
Un
& rn &2 (qn pn )
hn 1
hn U n xn
an 1
an U n pn
rn 1
rn U n qn
E n 1
& rn 1 &2 & rn &2
pn 1
rn 1 E n 1 pn
Stop when
BT pn
& rn 1 & d H given. & r0 &
8 In the algorithm, bold characters are no longer used to indicate the vectors of degrees of freedom.
Mixed Finite Element Methods in Electromagnetism
173
For the mixed formulation oriented b , the initial system is given by [4.43]. It follows: A1 f A1 BT M
b
and the system to be solved by the conjugate gradient method is: B A1 BT M
B A1 f
It is thus possible to build an algorithm similar to the previous one [BAN 01] in order to calculate b and M . Only the initialization will be different. It follows: Initialization for the method oriented b: 0
M0
Calculate b0 by solving Ab0 r0
B b0
p0
r0
f
The convergence speed of these algorithms can be improved by using the augmented Lagrangian technique which is tantamount to preconditioning the matrix B A1 BT . For the two mixed formulations that have just been presented above, the augmented Lagrangian technique comes in fact to add the term: r ³ curl h curl hc d: :
to the first variational equation of the mixed formulation oriented h , as well as the term r ³ div b div bc d: :
for the formulation oriented b . Let us highlight that, unlike what was stated in connection with the penalization methods, the augmented Lagrangian method does not degrade the conditioning of the matrix because the coefficient r does not need to be very large. It is however useful to adjust this parameter in order to obtain the fastest possible convergence [BAN 98a]. Let us specify finally that if it influences – in a significant way – the computing time, the augmented Lagrangian technique does not modify the results.
174
The Finite Element Method for Electromagnetic Modeling
In addition, it is possible to facilitate the resolution of the systems associated with the matrix A by proceeding to the hybridization of the formulation as indicated in section 4.4.3. A matrix A is then obtained diagonally for each block [ARN 85], [BRE 94], [QUA 97]. Both variants of the penalization method, the mixed Schur complement method for the formulation oriented h as well as for the formulation oriented b were compared on solving a nonlinear magnetostatic test problem: Problem 13 of the TEAM Workshop [NAK 90]. They have all yielded results rather better than conventional methods in scalar potential or vector potential, with substantively equivalent performances [BAN 98a], [HAM 01], [BAN 01]. 4.9. References [ALO 98] P. ALOTTO, F. DELFINO, P. MOLFINI, M. NERVI, I. PERUGIA, “A mixed face-edge finite element formulation for 3D magnetostatic problems”, IEEE Trans. Mag., 34 (5), p. 2445–2448, 1998. [ARN 85] D.N. ARNOLD, F. BREZZI, “Mixed and non-conforming finite element methods: implementation post-processing and error estimates”, Math. Modelling Numer. Anal., 19, p. 7–35, 1985. [BAN 93] B. BANDELIER, C. DAVEAU, F. RIOUX-DAMIDAU, “An h-formulation for the computation of magnetostatic fields. Implementation by combining a finite element method and a boundary element method”, J. Phys. III, 3 (5), p. 995–1004, 1993. [BAN 94] B. BANDELIER, C. DAVEAU, F. RIOUX-DAMIDAU, “A new h-formulation for nonlinear magnetostatics in R3, IEEE Trans. Mag., 30 (5), p. 2889–2892, 1994. [BAN 97] B. BANDELIER, F. RIOUX-DAMIDAU, “Formulation variationnelle à deux champs pour la magnétodynamique dans R3”, J. Phys. III, 7 (9), p. 1813–1819, 1997. [BAN 98a] B. BANDELIER, F. RIOUX-DAMIDAU, “Mixed finite element method for magnetostatics in R3”, IEEE Trans. Mag., 34 (5), p. 2473–2476, 1998. [BAN 98b] B. BANDELIER, F. RIOUX-DAMIDAU, “Mixed formulation of magnetodynamics in R3. A posteriori error”, IEEE Trans. Mag., 34 (5), p. 2664–2667, 1998. [BAN 01] B. BANDELIER, F. RIOUX-DAMIDAU, “A mixed B-oriented finite element method for magnetostatics in unbounded domains”, COMPUMAG International Conference, Evian, July 2001. [BOS 88] A. BOSSAVIT, “A rationale for edge-elements in 3-D field computations”, IEEE Trans. Mag., 24 (1), p. 74–78, 1988. [BOS 90] A. BOSSAVIT, “Le calcul des courants de Foucault en dimension 3, avec le champ électrique comme inconnue. I: Principes”, Journal of Appl. Phys., 25 (2), p. 189–197, 1990.
Mixed Finite Element Methods in Electromagnetism
175
[BOS 93] A. BOSSAVIT, Electromagnétisme, en vue de la modélisation, Springer-Verlag, 1993. [BRE 85] F. BREZZI, J. DOUGLAS, L.D. MARINI, “Two families of mixed finite elements for second order elliptic problems”, Numer. Math., 47, p. 217–235, 1985. [BRE 87] F. BREZZI, J. DOUGLAS, R. DURAN, M. FORTIN, “Mixed finite elements for second order elliptic problems in three space variables”, Numer. Math., 51, p. 237–250, 1987. [BRE 91] F. BREZZI, M. FORTIN, Mixed and Hybrid Finite Element Methods, SpringerVerlag, 1991. [BRE 94] F. BREZZI, D. MARINI, “A survey on mixed finite element approximations”, IEEE Trans. Mag., 30 (5), p. 3547–3551, 1994. [DUL 97] P. DULAR, J.F. REMACLE, F. HENROTTE, A. GENON, W. LEGROS, “Magnetostatic and magnetodynamic mixed formulations compared with conventional formulations”, IEEE Trans. Mag., 33 (2), p. 1302–1305, 1997. [GIR 86] V. GIRAULT, P.A. RAVIART, Finite Element Methods for Navier-Stokes Equations, Springer-Verlag, 1986. [HAM 01] L. HAMOUDA, B. BANDELIER, F. RIOUX-DAMIDAU, “A perturbation technique for mixed magnetostatic problem”, IEEE Trans. Mag., September 2001. [NAK 90] T. NAKATA, N. TAKAHASHI, K. FUJIWARA, K. MURAMATSU, P. OLEWSKI, “Analysis of magnetic fields of 3D non-linear magnetostatic model (Problem 13)”, Proceedings of the European TEAM Workshop and International Seminar on electromagnetic fields analysis, Oxford, April 1990, p. 107-116. [NED 80] J.C. NÉDÉLEC, “Mixed finite elements in R3”, Numer. Math., 35, p. 315–341, 1980. [NED 86] J.C. NÉDÉLEC, “A new family of mixed finite elements in R3”, Numer. Math., 50, p. 57–81, 1986. [QUA 97] A. QUARTERONI, A. VALLI, Numerical Approximation of Partial Differential Equations, Springer-Verlag, 1997. [RAV 77] P.A RAVIART, J.M. THOMAS, “A mixed finite element method for second order elliptic problems. Mathematical aspects of the finite element method”, I. Galligani, E. Magenes (eds.), Lectures Notes in Math, 606, Springer-Verlag, 1977. [REN 96] Z. REN, “Influence of R.H.S. on the convergence behaviour of the curl-curl equation”, IEEE Trans. Mag., 32 (3), p. 655–658, 1996. [ROB 91] J.E. ROBERTS, J.M. THOMAS, “Mixed and hybrid methods”, in Handbook of Numerical Analysis, P.G. Ciarlet and J.L. Lions (eds.), Elsevier Science Publishers B.V., North Holland, 1991.
This page intentionally left blank
Chapter 5
Behavior Laws of Materials
5.1. Introduction Solving Maxwell’s equations numerically by using the finite element method makes it possible to take into account material behaviors a priori unspecified (nonlinear, anisotropic, with or without hysteresis). For that purpose, adequate behavior models and implementing resolution algorithms for nonlinear problems are needed. It is to be noted that the electromagnetic behavior of materials in the field of electrical engineering remains only very approximately represented in software available on the market at the present time. This is particularly the case for magnetic materials. Therefore, we will specifically deal with these materials in this chapter. In addition, the behavior of superconductors will also be covered. The lack of behavior models actually used within the framework of the finite element method is partly explained by the fact that the microscopic phenomena at the origin of the macroscopic behavior of magnetic materials are complex and difficult to model. The transition from microscopic to macroscopic is not yet well understood. There is a real difficulty in finding models of magnetic behavior that achieve a good trade-off between accuracy and numerical simplicity for an effective integration in a software tool based on the finite element method. The “phenomenological” models traditionally suggested are in general quite far away Chapter written by Frédéric BOUILLAULT, Afef KEDOUS-LEBOUC, Gérard MEUNIER, Florence OSSART and Francis PIRIOU.
178
The Finite Element Method for Electromagnetic Modeling
from physical reality and the use of more realistic models of behaviors is still an object of research. The chapter starts by presenting the behavioral characteristics of magnetic materials: nonlinearity, anisotropy and hysteresis. Then two methods dealing with solving nonlinear problems are shown within the framework of the finite element method. Concrete examples of behavior models, dedicated to various types of problems or materials, are then studied: anisotropy of sheets with oriented grains, hysteresis and dynamic behavior of sheets, calculation of iron losses, behavior of the permanent magnets, and finally modeling the electric behavior of the superconductors. It should be noted that an exhaustive review of all the models of existing behavior is not our concern here. We are instead dealing with the analysis of some particular models. Our goal is to show which poses difficulties for an accurate modeling of the behavior of materials and which approaches can be used. Indeed, in this field, only a few models have actually proved effective. 5.2. Behavior law of ferromagnetic materials 5.2.1. Definitions A magnetic behavior law is defined as the macroscopic relationship that binds magnetization M to the local field H in any point of a material. This behavior law translates the fact that the magnetization of matter is modified under the effect of a magnetic field. In physics, this law is written in the form [5.1], where F(H) is the tensor of magnetic susceptibility. The quantities M and H are expressed in A/m.
M ( H ) = [F(H )]H
[5.1]
In electrical engineering, where the useful quantity is induction, representing the magnetic behavior of a material through expression [5.2], where P(H) is the tensor of magnetic permeability, is preferred.
B(H ) = [P( H )]H
[5.2]
Constitutive relation [5.3], where P0 is the permeability of the vacuum (4S.10-7 H/m), establishes the link between these two formalisms.
B(H) = P O (H + M (H ))
[5.3]
Behavior Laws of Materials
179
This relation is also written according to magnetic polarization J, expressed in Tesla. Often polarization and magnetization designations are wrongly confused. B(H) = PO H + J (H ) with J (H ) = P O M (H )
[5.4]
The tensors of magnetic permeability and reluctivity are bound by: [5.5]
[P(H )] = P O ([Id] [F(H )]). 5.2.2. Hysteresis and anisotropy
In general, the magnetic materials used in electrical engineering are of ferromagnetic or ferrimagnetic nature. Their behavior has simultaneously hysteretic and anisotropic features, in a way more or less marked depending on the materials. As an example, Figure 5.1 shows the behavior of a non-oriented grain sheet of completely traditional nuance. The left curves show two hysteresis cycles measured in the rolling and transverse directions (RD and TD respectively). It should be noted that the cycle is slightly more horizontal in direction TD. The right-hand side curves show the evolution of the field which it is necessary to apply to obtain a rotating induction of amplitudes 1.0 and 1.4 T respectively. If the sheet was “perfectly nonoriented” (that is isotropic) these curves would be circles. The anisotropy of the material appears clearly, and it is more marked than can be foreseen when looking at the loops in directions RD and TD. 1200
800
HDT (A/m)
400
0 -400
-800
cir 1T cir 1.4T
-1200 -1200
-800
-400
0
HDL (A/m)
400
Figure 5.1. Behavior of a sheet with non-oriented grains under unidirectional applied field (left) and rotating induction (right)
800
1200
180
The Finite Element Method for Electromagnetic Modeling
Nonlinearity, anisotropy and hystereses characterize the behavior of all magnetic materials, but in a more or less marked way according to the type of material considered. Finding a general model appropriate for all materials and under all operating conditions is unrealistic. The micromagnetism equations are always the same, but the dominant magnetization mechanisms (displacement of domain walls or rotation of magnetization) depends at the same time on material (composition, texture) and on the stress type which it undergoes (unidirectional or rotating field, of low or high amplitude). On the other hand, we can hope for more or less accurate models depending on the goal of the study (global sizing of a machine or deepening a particular local phenomenon). It is thus worthwhile considering the phenomenonkeys to take into account for material considered under the conditions of its use in order to choose a model adapted to the phenomena studied. 5.2.3. Classification of models dealing with the behavior law In the most general case, the behavior law M(H) is a hysteretic and anisotropic nonlinear vector relation. In practice, it is taken into account by fairly simple models according to the stress type to which the material is subjected and according to the desired degree of accuracy. The various types of models are listed below. 5.2.3.1. Linear models These are the most elementary models. The behavior law is given by: B(H) = [P] H + Jr
[5.6]
where [P] is the tensor of material permeability assumed to be constant, and where Jr is a residual polarization, zero for soft materials and independent of the field in the case of ideal permanent magnets (Figure 5.2). This model is only appropriate for the weak stress, i.e. for materials used in a weak field (soft ferrites, for example) or for certain parts of devices.
Behavior Laws of Materials
B
B
B = P.H
B = P.H+Br
H
H
(a)
181
(b) Figure 5.2. Linear approximation in the case of soft materials (a) and in the case of hard materials (b)
5.2.3.2. Nonlinear isotropic models A linear behavior model has a very limited domain of validity. Generally, for a realistic simulation, it is necessary to use at least a nonlinear isotropic model of behavior in order to take into account the saturation of material. Under this assumption, the vectors B and H are collinear and the vector relation B(H) can be rewritten as a scalar relation between B, amplitude of vector B and H, amplitude of vector H. This relation is put in the form: B(H) = P(H).H
[5.7]
The permeability of material P(H) is reduced to a scalar function of the amplitude of the applied field. In this approximation, the soft materials are modeled by their curve of the first magnetization, which is justified because the coercive force is very low. The permanent magnets are modeled by their major cycle, but it should be checked a posteriori that the operating point remains in the zone of reversibility of the cycle and that there is no demagnetization of the material (Figure 5.3).
182
The Finite Element Method for Electromagnetic Modeling
B
B
B = P(H).H
H
B = P+ .H+Br
H
Figure 5.3. Hysteresis neglected in soft materials and hard materials
The simplest way to treat this type of behavior is to describe the scalar relation B(H) point by point starting from experimental statements and to use a good interpolation technique. Using analytical functions or prediction models of the behavior does not improve the accuracy of the finite element simulation itself. It is only interesting if we do not have experimental data. 5.2.3.3. Nonlinear anisotropic models Under these assumptions, the behavior law is written as: B(H) = [P(H)] H
[5.8]
Permeability arises in tensorial form, of which each component depends on the field applied. There are simplified models, but their domains of validity are limited (decoupling of the behaviors in the various directions in the domain of very low fields, elliptic interpolation for materials whose anisotropy is low). In general, nonlinear anisotropic models are still under development. We will present one model for the case of oriented grains sheets. 5.2.3.4. Hysteretic models In this case, the behavior depends not only on the current value of the field applied, but also on its history. B(H) = B(H, history)
[5.9]
Straightforward hysteresis models exist only in the scalar case, i.e. if we restrict ourselves to the case where B and H are collinear (axis of anisotropy or constant direction for a material not oriented). Under these conditions, the Preisach model is considered as a reference.
Behavior Laws of Materials
183
5.3. Implementation of nonlinear behavior models As was shown previously, the behavior law of magnetic materials is nonlinear. The finite element equation is thus itself nonlinear and cannot be solved directly. Solving a nonlinear vectorial equation is not always easy. Various techniques exist, whose convergence is never guaranteed. The main approaches are the Newton method and the fixed point method. 5.3.1. Newton method 5.3.1.1. Principle Let us consider a function F(X) defined in vector space Rn. The Newton method allows the zero of this function to be determined starting from its Taylor series development to the 1st order. In the vicinity of an unspecified point Xk, this development can be written: ª dF º F(X k 'X) = F(X k ) « T (X k ) » 'X ¬ dX ¼
[5.10]
The algorithm consists of building a succession of linear problems by canceling the Taylor series development in the vicinity of the solution obtained with the preceding iteration. Consequently, the Xk+1 solution of the iteration k+1 verifies F(Xk+1+ǻX) = 0 with ǻX = Xk+1 - Xk. The equation to be solved is thus: ª dF º «¬ dX T (X k ) »¼ 'X = -F(X k )
[5.11]
ª dF º ª dF º The matrix « T » having a general term « i » is called the Jacobian matrix of ¬ dX ¼ ¬« dX j ¼» the system. The F(Xk) vector is called a residue. The smaller the residue, the closer the approximate solution Xk is to the real solution.
The most common convergence criterion is based on the norm of the increment ¨X. It is estimated that the approximate solution is correct when its relative variation between two iterations goes down below a certain threshold Hr: convergence criterion 1: X k -X k-1 d H r Xk
[5.12]
184
The Finite Element Method for Electromagnetic Modeling
Another, in principle more correct, possibility, consists of testing the norm of the residue in order to obtain an absolute measurement of the quality of the solution. The smaller the residue is, the better the approximate solution can be: convergence criterion 2: F(Xk ) d H
[5.13]
5.3.1.2. Application to the magnetostatic formulation in vector potential In the case of a magnetostatic problem with a formulation in vector potential A such as B = curl A, the functional calculus has as an expression:
F
³: ^³
B
0
`
[5.14]
H T .dB-J.A d:
with J being the density of current source. For a given meshing, the solution of the finite element problem is obtained by minimizing the derivative of F with respect to the unknown nodal variables Ai. Therefore, the zero of the function F/Ai is to be determined. This function is obtained by composing the derivative as follows: wF wA i
w
³: ®¯ wB ³
B
0
wwAB - wAw (J.A)¾¿½d:
H T .dB .
i
[5.15]
i
The functions of nodal approximation being noted Di, the potential A and induction B are written respectively: N
A=
¦ A .D i
N
i
and B =
i 1
¦ A .curl D i
i
[5.16]
i 1
and therefore the expression of their derivative wA wAi
Di and
wB wAi
curl.D i
[5.17]
While deferring to expression [5.15], we obtain:
wA wA i
³: {curl D
T i
.H-J. D i } d:
[5.18]
Behavior Laws of Materials
185
The Jacobian matrix is once again derived, and thus it can be written:
ª w2F º « » «¬ wA i wA j »¼
°
³: ®°curl D
T i
.
¯
wH ½° ¾ d: wA j ¿°
[5.19]
By using the derivative of composed functions, the H/Aj term is written as: wH wA j
ª wH º wB «¬ wB T »¼ . wA j
ª wH º «¬ wB T »¼ . curl D j
[5.20]
from where we obtain the expression of the Jacobian: ª w2F º « » ¬« wA i wA j ¼»
³: ®¯curl D
T i
½ ª wH º . « T » . curl D j ¾ d: ¬ wB ¼ ¿
[5.21]
The system to be solved, at each iteration (k) in Newton, can finally be written: [J]k . ([A]k+1 - [A]k) = [R]k
[5.22]
where [R] and [J] are respectively the matrices of a general term: [R i ] - ³ {curl Di T .H(B) - J. Di } d: : [J ij ] -
³: ®¯curl D
T i
½ ª wH º . « T » . curl D j ¾ d: ¬ wB ¼ ¿
[5.23] [5.24]
The physical data necessary to establish the system are thus the H(B) curve for calculating the residue and the derivative [dH/dBT] for calculating the Jacobian. In a Cartesian reference, this tensor is given by expression [5.25]. It is called the incremental reluctivity tensor, as opposed to the classical reluctivity tensor.
ª wH º «¬ wB T »¼
ª wH x « wB « x « wH y « ¬« wBx
wH x º wBy » » wH y » » wBy ¼»
[5.25]
186
The Finite Element Method for Electromagnetic Modeling
5.3.1.3. Application to the magnetostatic formulation in scalar potential For a problem that does not comprise a current source, it is possible to work in scalar potential such as H = -gradI The functional calculus is then expressed as: F
³: ³
H
0
[5.26]
B T .dH d:
In order to minimize this, it is necessary to cancel the derivative with respect to nodal unknown variables [dF/dIi]. By using the derivation of composed functions as well as the expression of H and I with respect to the nodal unknown variables and form functions Di, we obtain: ª wF º « » ¬ wIi ¼
³: {grad D
T i
.B(H )} d:
[5.27]
The Jacobian matrix can be written: ª w2F º « » ¬« wIi wI j ¼»
³:{grad D
T i
ª wB º . « T » . grad D j} d: ¬ wH ¼
[5.28]
The Newton method applied to this function gives the succession of the following linear problems: [J]k . ([I]k+1 - [I]k) = [R]k
[5.29]
where [I] is the vector of the unknown variables at meshing nods and where the residue vector [R] and the Jacobian matrix [J] have as their respective general terms: Ri
-³ {grad D i T .B(H )} d: :
J ij
³:{grad D
T i
ª wB º . « T » . grad D j} d: ¬ wH ¼
[5.30]
[5.31]
The nonlinear behavior of materials is introduced without any particular theoretical difficulty, starting from the curve of magnetization B(H) and the incremental permeability tensor [dB/dHT]. 5.3.1.4. Notes on the convergence process The Newton method converges quickly when the function F(X) satisfies certain conditions of monotony and when the iterative process starts from an initial point
Behavior Laws of Materials
187
close to the solution. This is particularly the case for evolutionary equations, when the initial point is the solution calculated with the step of previous time. However, these conditions are not always met and thus this method may fail to succeed. A solution then consists of weakening the problem, i.e. to take for the solution: Xk+1 = Xk + D ¨X with 0 < D 1
[5.32]
The quality of the solution can be evaluated when the convergence criterion is satisfied by calculating an error which uses the norm of the residue, weighted by the norm of the source term. Generally it can be noted that the problems dealt within the formulation in vector potential converge more easily than those dealt with in the formulation in scalar potential, except in the particular case of problems including a closed magnetic circuit. The Newton method requires, for each iteration, the calculation and inversion of the Jacobian matrix of the problem. To limit the calculation burden, it is usual to not make this update systematically and to perform an evaluation every 5 or 10 iterations, for example. Indeed, it is important to note that the Jacobian gives a direction of research, but does not affect the quality of the calculated solution at all. This solution can in fact be estimated from the residue. 5.3.2. Fixed point method The Newton method has the advantage of converging quickly in the vicinity of the solution, but it is sometimes difficult to approach this vicinity. We would then prefer the fixed point method, also known as the Gauss-Seidel method. The convergence of this method is slower (linear convergence instead of quadratic), but it is more robust if certain parameters are chosen. 5.3.2.1. Picard-Banach fixed point theory The iterative fixed point method comes from the theorem of the same name. Let y = f(x) be an application of a complete space HS in itself, and let <x,y> and |x| denote the scalar product and the norm defined in this space. The function f is known as Lipschitzian if there is a finite real reality / such that: (x’,x”) SH2
]f(x’)-f(x”)]b /]x’-x”]
If in addition / is lower than 1, the function f is said to be contracting.
[5.33]
188
The Finite Element Method for Electromagnetic Modeling
The function f is uniformly monotone if a strictly positive real O exists, such that: (x’,x”) SH2
p O < x’-x”,x’-x” >
[5.34]
As an example, for a given curve B(H), / corresponds to the maximum permeability and O to the minimum permeability, equal to the permeability of a vacuum. Let us consider x*, a point of space SH. x* is a fixed point of f if it satisfies: x* = f(x*). Fixed point theorem stipulates that if f is uniformly monotone and contracting, then there is a unique fixed point x*. This point is the limit of the series defined by xn+1 = f(xn), for any initial point x0. This sequence thus generates the algorithm for obtaining the fixed point. The convergence of this algorithm is linear, and therefore slow, but unconditional, even in the presence of points of inflection. The Picard-Banach theorem makes it possible to find, whenever it exists, the fixed point of a function which is solely Lipschitzian. Let us consider f a Lipschitzian function uniformly monotone, let us consider D a real number, and let us consider the function f2 defined by: f2(x) = x - D {f(x)-x}
[5.35]
It is possible to show [HAN 75] that the equation y = f(x) admits a single solution if f2 is contracting, which is the case if D belongs to the interval [0.2O//2]. According to the Picard-Banach theorem, this solution is the fixed point of the function f2 and it can thus be calculated by the iterative process of substitution xn+1 = f2 (xn), which converges whatever the initial point x0 is. 5.3.2.2. Application to finite element methods If we use the relations B = P0(H+M), the formulation in magnetic vector potential A of the magnetostatic equation is written: curl (Q0 curl A) = J + curl M(B)
[5.36]
After discretization by the finite element method, the problem consists of solving the following algebraic system: [S].A = Q(A)
[5.37]
with: Sij
³: Q
0
curl Di T .curl D j d:
[5.38]
Behavior Laws of Materials
Qi
³: (J + curl M(B)) D
i
d:
189
[5.39]
The solution of the problem is thus the fixed point of the nonlinear function GA(A) defined by: GA(A) = [S]-1 Q(A) . In the case of the formulation in scalar magnetic potential I and in the absence of current, the equation with partial derivatives can be written: div (grad I div M(H)
[5.40]
After discretization, the system to be solved is: [T].I = R(I)
[5.41]
with: T
Tij
³: grad D
Ri
³: div M(H) D
i
.grad D j d:
i
d:
[5.42]
[5.43]
The problem then consists of finding the fixed point of the nonlinear function GI(I) defined by: GII >7@-1RI . After complex mathematical elaboration, the work presented in [HAN 75] shows that if the local behavior B(H) is given by a uniformly monotone Lipschitzian function, then the global functions GA and GI are Lipschitzians, continuously uniform. The Picard-Banach theorem then allows in each case contracting functions G2A and G2I to be built, admitting respectively the same fixed points GA and GI. The solutions [A*] and [I*] of these problems are thus respectively the limits of the series [An+1] = G2A[An] and [In+1] = G2I[In]. In practice, this new G2 function is obtained naturally by using the following fictitious constitutive relation: B = PPF ( H + MPF )
[5.44]
where PPF is a fictitious permeability on which the convergence of the algorithm depends. MPF is a source term, also fictitious, similar to the real magnetization and corrected at each iteration of the calculation in agreement with the model of behavior law B[H].
190
The Finite Element Method for Electromagnetic Modeling
The permeability PPF is chosen in such a way as to make G2A and G2I contracting and to ensure the convergence of the iterative process. It is even possible to find an optimal value of PPF, i.e. a value which ensures a faster convergence of the process. These values of PPF depend on the permeability of modeled material, but also on the formulation used to calculate the linear problem. 5.3.2.3. Formulation in vector potential A For each iteration (n), the equation representing hysteretic material is:
§ 1 · curl ¨ .curl A (n ) ¸ curl M PF(n ) P © PF ¹
[5.45]
The value of MPF is calculated for each iteration and recalculated with respect to the induction B = curl A: M PF(n 1) =
1 (n ) B - H[B (n ) ] P PF
[5.46]
The convergence condition is written: PPF < 2 Pmin
[5.47]
and the speed of the convergence is maximum if:
P opt
2
P min .P max P min P max
[5.48]
After the convergence of the iterative process, the real magnetization is calculated starting from the behavior relation H[B] and the constitutive material relation B = P0 (H+M). 5.3.2.4. Formulation in scalar potential I For each iteration (n), the equation dealing with the hysteretic material is: div(PPF grad In)) = div (PPF MPF(n))
[5.49]
The value of MPF is corrected for each iteration by applying the B[H] model to the H=-grad I field: M PF (n 1)
1 B[H (n ) ]-H (n ) P PF
[5.50]
Behavior Laws of Materials
191
The convergence condition is written:
1 P PF ! P max 2
[5.51]
and the speed of the convergence is maximum if:
P opt
P min P max 2
[5.52]
The real magnetization is calculated starting from the behavior law B[H] and the constitutive relation of the material B = P0 (H+M). 5.3.2.5. Notes on the convergence process The convergence method can be very slow. It is thus necessary to be wary of a convergence criterion that is based on the solution variation between two iterations. This variation can be very small without making the current solution close to the real solution. It is thus preferable to choose a test on the norm of the residue, which is a more robust criterion. Convergence depends on the value of fictitious permeability PPF selected. An inadequate value can cause the divergence of the iterative process, or slow down convergence so much that the algorithm can become “stuck”. In the case of a uniform problem, the permeability Popt which allows a fast convergence should be close to the usual permeability of the material. In practice, the field and thus the permeability are never uniform. Thus, we cannot work with a value of PPF that is adapted to all the local points of operation. The convergence process becomes slower as the local values of permeability are dispersed. On the other hand, it is possible, during an evolutionary calculation, to choose with each time step an optimized value for the usual operating point. Except for particular cases, the number of iterations necessary for convergence is often about 100, but it should be stressed that only the second member of the equation is recalculated. These iterations are thus much less time-consuming than those of the Newton method, which requires the Jacobian matrix of the system to be recalculated and inverted. 5.3.3. Particular case of a behavior with hysteresis The problems comprising a hysteretic material are treated with the same algorithms as for traditional nonlinear problems. The only difference is that at each point where the behavior of material must be evaluated (generally, Gaussian points),
192
The Finite Element Method for Electromagnetic Modeling
it is necessary to calculate a curve of local magnetization, a function of the local history: B = f(H, local history). It is thus necessary to establish data structures which make it possible to memorize the history, according to the model of hysteresis used. We can a priori use one or another of the methods described above, but it seems more difficult to make the Newton method converge than the fixed point method. These convergence difficulties can be attributed to the point of inflection that exists in the hysteresis cycle, in the vicinity of the coercive field. We examined the various types of behavior, and then presented the two main methods dealing with nonlinear problems. We will now describe some particular models of behavior, developed for materials normally used for the construction of electric machines. Thus, we will successively present examples of models dedicated to sheets, to permanent magnets, and finally to superconductors. 5.4. Modeling of magnetic sheets 5.4.1. Some words about magnetic sheets [BRI 97] Magnetic sheets and more particularly the FeSi alloys play a primary part in the construction of the electric machines, thanks to the excellent compromise they offer between technical qualities and cost of material. The FeSi alloys are used in the form of thin sheets (thickness lower than 1 mm) in order to limit the development of the eddy currents in dynamic modes. The magnetic circuits of the electric machines are then made of stacking sheets cut out beforehand with selected dimensions. Two main categories of sheet exist. Those sheets with oriented grains (GO SiFe) corresponding to a very precise texture (Goss texture) optimize the magnetic properties in the rolling direction (excellent permeability, low losses) to the detriment of the properties in the other directions. These sheets have a very strong anisotropy and are used primarily for the construction of the magnetic circuits of transformers. On the contrary, the sheets with non-oriented grains (NO) have equivalent properties in all directions. They are used in usual rotating machines. 5.4.2. Example of stress in the electric machines In electric machines, all directions of the sheet plane are stressed. Moreover, in certain areas of the circuit, the flux is not unidirectional but rotates in the sheet plane without ever canceling itself. Figure 5.4 shows some examples of B trajectory obtained by 2D finite element simulation of a cage type asynchronous machine.
Behavior Laws of Materials
193
Y
1 2
X 3
4
5
6
7
9 Rotor
Stator
8
a) 1
B1
1
B2
0.5
0.5
By (T)
By (T)
B3 0
-0.5
-1 -1
B5
B4
0
-0.5
-0.5
0
0.5
-1 -1
1
-0.5
0
Bx (T)
0.5
1
Bx (T)
1 1
B7
B9 B6
0.5
B8 0
By (T)
By (T)
0.5
-0.5
-1 -1
b)
0
-0.5
-0.5
0
Bx (T)
0.5
1
-1 -1
-0.5
0
0.5
1
Bx (T)
Figure 5.4. a) Detail of the asynchronous cage machine: localization of the points of observation; b) trajectory of induction B in various points of stator [SPO 98]
194
The Finite Element Method for Electromagnetic Modeling
5.4.3. Anisotropy of sheets with oriented grains 5.4.3.1. A very marked anisotropy Sheets with oriented grains have a very anisotropic and complex magnetic behavior. They have two axes of easy magnetization (rolling direction RD and transverse direction TD) and an axis of difficult magnetization at 55° in the rolling direction. Figure 5.5 illustrates the complexity of this anisotropy. We have traced the trajectory of induction for a field of fixed direction (75° of the rolling direction) with an increasing amplitude
Figure 5.5. Polar representation of induction B in a sheet GO when a field H of increasing amplitude is applied to 75° direction RD, according to G-M.Fasching [FAS 64]
For low values of the field, induction is very strongly attracted by the rolling direction. Then, when the field increases, for a sufficient energy level, the induction tips up towards the transverse direction and only approaches the direction of the field very gradually, avoiding the difficult direction at 55°. It is interesting to note that the projection of B on H is a continuously increasing function, whereas the module of induction decreases slightly at the time of the swing of B towards the transverse direction. It is obvious that the data of the behaviors in the rolling and transverse directions is not enough to characterize these sheets completely. 5.4.3.2. The coenergy model [PER 94] Modeling the 2D behavior of magnetic sheets requires the determination of a relation between two vector quantities, which is not simple. Many models simplify the problem excessively: the axes separation model [NAK 75], the two axes model [HUT 84], the ellipse and the rocked ellipse model [DIN 83]. Other authors
Behavior Laws of Materials
195
endeavored to build interpolations starting from experimental data, which requires measuring the behavior of material in many directions [WEG 76] [ENO 94]. An alternative method consists of using the magnetic coenergy W’ because it is a scalar quantity, and therefore easier to handle than the vector quantity B. The voluminal density of magnetic coenergy stored in material, noted w’, is defined by relation [5.53]. By simplifying, we will only speak about coenergy w’.
w'(H ) =
³
H
0
[5.53]
B(H )dH
In the case of a material without hysteresis, it can be shown that the vectorial relation B(H) is equivalent to the relation w’(H). Knowledge of the behavior B(H) makes it possible to calculate the relation w’(H) by integration. Conversely, knowledge of the relation w’(H) allows the behavior B(H) to be determined by derivation: B(H) = gradH w’(H)
[5.54]
The equivalence between B(H) and w’(H) has led P. Sivester and R. Gupta [SIL 91] to propose modeling the anisotropic behavior of sheets by the means of isocoenergy lines in the plan (Hx, Hy), Hx and Hy being the field components respectively in the rolling direction RD and the transverse direction TD. T Péra has completely achieved the idea: he proposed an analytical expression for the isocoenergy lines and set up the numerical tools necessary for the correct operation of the model. The experimental data used as inputs for the model are simply B(H) anhysteretic curves measured in directions RD and TD. These curves allow w’(H) to be determined in these directions. The iso-coenergy lines are constructed starting from phenomenological considerations on the behavior of material in the intermediate directions. In the plane (Hx, Hy), the iso-coenergy line corresponding to the value w’0 is modeled by expression [5.55], in which Hx0 and Hy0 are the intersections of the line respectively with axes RD and TD (Figure 5.6). n
§ Hx · § Hy · ¨ ¸ ¨ ¸ © Hx 0 ¹ © Hy0 ¹
n
1
[5.55]
The parameter n controls the shape of the iso-coenergy lines, a function of the coenergy level. With the low coenergy values, the anisotropy is very marked and the apparent difficult direction is close to 90°. That results in a line of iso-coenergy of rectangular form, with Hxo << Hyo. For high coenergy values, the difference between directions RD and TD is smaller and the direction of difficult magnetization
196
The Finite Element Method for Electromagnetic Modeling
approaches the crystallographic difficult direction at 54.7°. The lines of iso-coenergy swell. This change in form is taken into account by the parameter n, according to the coenergy level (Figure 5.6).
Figure 5.6. Representation of iso-coenergy lines in the plane (Hx,Hy)
The function w’(H) having been modeled, the behavior B(H) is calculated by deriving w’(H) with respect to the field. This process requires numerical precautions effectively explained in [PER 94]. The model was applied to sheets with traditionally oriented grains. In order to illustrate the anisotropy effectively, we show below the behavior expected by the model for an imposed induction of circular form and of amplitude 1.5 T. Figure 5.7.a shows the trajectory of the field. It highlights the ease of magnetization in the direction RD and the difficulty in the difficult direction at 55°. Figure 5.7b shows the phase shifting between the field and the induction as a function of the angle between the induction and the direction RD. It should be noted that phase shifting changes sign according to whether the induction is between direction RD and the difficult direction (B is behind H) or that the induction is between direction TD and the difficult direction (B is leading H).
Behavior Laws of Materials
10000
HTD (A/m)
D=(H,B) (degree) E °
8000
80
B=1.5 T
40
6000
0
4000
-40
2000 0
197
B=1.5 T 0
2000 4000 6000 8000 10000
HRD (A/m)
(a)
-80 0
20
40
60
80
E (degree)
(b)
Figure 5.7. Behavior in rotating induction: (a) trajectory of H in the plane (x,y); (b) phase shifting between H and B as a function of the angle between B and the rolling direction
Figure 5.8 compares the behaviors calculated and measured for a uniaxis induction imposed in various directions (RD, 30°, 60°, TD). The results are very satisfactory. It is confirmed that the behaviors in directions RD and TD are well restored (they are data of the model) and that the difficult direction is effectively predicted. Other comparisons confirm that the model gives a good qualitative restitution of the anisotropy, but indicate that it over-estimates this anisotropy. To improve the model, it would be necessary to reconsider the expression of the lines of iso-coenergy.
Figure 5.8. Comparison between model and experimental data for a uniaxis induction
198
The Finite Element Method for Electromagnetic Modeling
5.4.3.3. Application to single phase transformer modeling The coenergy model has been implemented in finite element software in order to calculate magnetostatics in 2D. The formulation in scalar magnetic potential I was used, because it directly uses the relation B(H) which the model of coenergy gives naturally. The nonlinearity of the material behavior is treated by the Newton method, which requires us to derive the relation B(H) to calculate the tensor of incremental permeability [B/HT]. The anhysteretic behavior of the model ensures the symmetry of this tensor. The numerical calculation of a tensor [B/HT] requires precautions to obtain usable results. The numerical implementation of the model was tested in the case of simple problems. Then representative devices of the oriented grain sheet applications were simulated. There follows the results obtained for the distribution of flux in the yoke of a single-phase transformer operating at zero load. The goal of calculation is to highlight the effects of the anisotropy in the area of the seals between the columns and the yoke. Figure 5.9 shows the geometry as well as the boundary conditions of the problem under consideration. The current in primary winding cannot be taken into account directly. It is modeled by a potential difference ¨I=I1I0 between the borders of *1 and *0. This potential difference ¨I is equal to the circulation of the field between *0 and *1 and thus to the number of Amp turns in the primary winding. The yoke is meshed by 270 second-order triangular elements. The material was modeled with the coenergy model, then with an isotropic model whose curve B(H) is the behavior of the sheet with oriented grains according to the rolling direction.
Figure 5.9. Scheme of the modeled transformer
Behavior Laws of Materials
199
The problem thus defined was solved for two values of ¨I. Significant convergence difficulties were encountered, for isotropic material as well as for anisotropic material. A very strong relaxation of the Newton method is necessary. Moreover, it was necessary to use an algorithm that requires a high calculation cost to determine, for each iteration, an optimal relaxation coefficient. Convergence is finally obtained for the two field levels. However, this convergence is more difficult to obtain in the case of oriented grains. For ¨I =10 Amps, the average induction in the yoke is 1.4 T. Figures 5.10 and 5.11 show that the distributions of the vectors B and H obtained for an isotropic sheet and for an anisotropic sheet are different. In the latter case, the induction remains very close to the rolling direction, even approaching the seal at 45°. The difference is more sensitive on the magnetic field, which presents a very clear phase shifting with the induction.
Figure 5.10. Field and induction for an isotropic material
Figure 5.11. Field and induction for the GO sheets
200
The Finite Element Method for Electromagnetic Modeling
In order to quantify the influence of these local differences, the free energy, defined by the integral of the scalar product B.H on the yoke, was calculated for the two configurations. The results show an insignificant relative difference with regard to the numerical errors related to the finite element method itself. The local shifts do not translate significantly to the selected global quantity. The global model (finite elements and model of coenergy) was used to analyze other electric devices: synchronous generator, three-phase transformer seal, Epstein frame with test-tubes cut out in directions other than directions RD or TD. In all these studies, results are obtained, but significant convergence problems are encountered, which, in fact, significantly limits the use of the coenergy model. 5.4.3.4. Conclusion The coenergy model is a good model of behavior: starting from simple measurements made in directions RD and TD, it is able to correctly reproduce the vectorial behavior in the intermediate directions without complexity or excessive calculation cost. However, its use in structural calculations continues to demand caution because of serious convergence difficulties. We believe that it is not the behavior model which is the cause of these difficulties, but the behavior itself, with its significant instabilities specific to oriented grain sheets. 5.4.4. Hysteresis and dynamic behavior under uniaxial stress The previous study was focused on the anisotropy of sheets with oriented grains and neglected the hysteresis of material. This approach supposes implicitly that the distribution of flux in a transformer is more affected by the anisotropy than by the sheet hysteresis and that the hysteresis appears primarily by means of the losses which it generates. Under these conditions, the flux distribution in the sheet plane is calculated by using an anhysteretic behavior model. Then the local density of losses is assessed in the post-processing phase by a more or less empirical formula utilizing the induction level and frequency. We now change perspective: the study is restricted to the behavior of material under uniaxis request. In fact, we are more interested in the hysteresis and in the flux diffusion in the sheet thickness. The objectives are to model the material hysteresis in static operating mode, to predict the hysteresis in dynamic mode and to calculate its losses, evolution and frequency. 5.4.4.1. Dynamic behavior of sheets and losses The forecast of the losses in sheets remains a concern in electrical engineering because they are highly dependent on the shape of the excitation signal. This
Behavior Laws of Materials
201
concern is reinforced today by the massive use of switched-mode power supplies which introduces higher order harmonics in currents and excitation voltages. This phenomenon causes increased eddy currents, and thus a degradation in the total behavior of the sheets that should be taken into account to know the limits of their use. Let us consider the traditional problem of the flux diffusion in a sheet of infinite width. The sheet is subjected to a field on the Hs(t) surface of fixed direction (Figure 5.12). The currents induced by the temporal variations of induction are opposed to the penetration flux in the sheet. The global behavior of the sheet is modified. The induction is not homogenous in the sheet, but the traditional measurement of the flux gives access solely to the average induction Bm, defined by: Bm
1 e Bx (y) dy 2e ³-e
[5.56]
In fact, it is this global behavior Bm(Hs) which we need to know. This global behavior allows us to determine the sheet performances under its conditions. When the stress frequency of material increases, the induced currents increase, causing a widening of the total hysteresis sheet cycle and a decrease in the apparent permeability. The frequency of sheet use is thus limited. y
2e
Jz(y)
Hs(t)
Bm B x(y) x
Hs
Figure 5.12. Diffusion of flux in a sheet of infinite width and apparent behavior
The analysis of the phenomena in the sheet thickness makes it necessary to solve the Maxwell’s equations associated with the behavior relations. For the problem considered, the flux distribution in the sheet is governed by diffusion equation [5.57] in which V is the electric conductivity of the material and the magnetic behavior law of the material B=f(H):
w 2 H x (y) wy 2
V
dBx (y) dt
[5.57]
202
The Finite Element Method for Electromagnetic Modeling
We can solve this equation simply for linear behavior conditions, characterized by a constant permeability P. In general, numerical solutions are necessary in order to take into account the saturation and the hysteresis of the material. In steady state conditions, the average power P dissipated over one period T is calculated by integrating the Joule losses due to the induced currents j and the hysteresis losses (surface of the hysteresis loop described locally). It is shown in addition that these losses are given by the surface of the apparent cycle.
P
Pcf
1ª T V Uj2 d: dt º ³ ³ H.dB d:) = ³ H s .dB m »¼ : cycle T ¬« ³0 ³: T cycle 1 T Uj2 d: dt and Phys T ³0 ³:
1 H.dB d: T ³: ³cycle
[5.58]
[5.59]
This separation in losses by eddy currents Pcf and hysteresis losses Phys appears naturally when using the definition of the electromagnetic energy radiated through a surface (flux of the Poynting vector P=ExH) and does not have anything artificial. However, it is necessary to bear in mind that it acts as a purely formal separation, which does not correspond to an effective decoupling of the electric and magnetic phenomena. The induced current j depends on induction B(t) and reciprocally the field H is influenced by the induced current. To calculate the sheet losses following an unspecified excitation requires us to numerically solve the diffusion equation of the magnetic flux in the presence of hysteresis. It is thus necessary to have an appropriate hysteresis model. We will now present the two reference models of static hysteresis: the Preisach model and the Jiles-Atherton model. We will then show examples of dynamic cycles calculated by the finite element method and measured. The explicit calculation of the dynamic cycles not being possible in the case of complete machines, we will then present a calculation method of the losses a posteriori. 5.4.4.2. Preisach hysteresis model [MAY 91] The Preisach model is based on elementary hysteresis operators, bistable JDEcharacterized by their switching values D and E as well as their amplitude P(D,E) (Figure 5.13a). The basic idea is that any hysteretic behavior can be reproduced by a distribution of such operators, according to the formula:
M(H)
Ms ³
DtE
P(D, E) J DE (H) dD dE
[5.60]
Behavior Laws of Materials
203
The description of the cycle is contained in the function P(D,E), which gives the weight associated with the operator JDE. This function is generally represented by its isovalues in the plane (D,E) (Figure 5.13b). JDE
E
+1
E
D
H
D
-1
PDE
b)
a)
Figure 5.13. a) Preisach operator; b) Preisach density in the Preisach plane hysteresis being a dissipative phenomenon, D is always higher than E. In addition, the magnetization of the material saturates beyond a certain field Hsat, the Preisach density P(D,E) is zero for D>Hsat and E<-Hsat.
H
D1
M
D2
D1
H(t)
D2 t E2
E2
H
E1
E1 Figure 5.14. Memorizing and erasing of field extrema: D2 and E2 are erased as soon as the amplitude of H exceeds D2. This corresponds to re-closing the minor cycle described between D2 and E2: beyond D2, the behavior is the same as for the one without cycle
The Preisach model was the subject of numerous publications and adaptations. We will review here only the most important properties, from the point of view of the user: i) the model detects and records the extreme values of the field applied, but it also reproduces the erasing of the extrema stored by fields of larger amplitude (Figure 5.14);
204
The Finite Element Method for Electromagnetic Modeling
ii) the closed minor cycles corresponding to identical extreme fields are of smaller size and are superimposed by vertical adjustment (Figure 5.15); M
cycle 1
M2 M1
cycle 2
H
H+
H-
Figure 5.15. Closed minor cycles
iii) the identification of the model can be made on the basis of the inversion curves of order 1 (Figure 5.16). The behavior M(H) is expressed directly according to these data in the following way. Now, let (Di) and (Ej) represent a series of respectively increasing and decreasing and memorized minima and maxima and let ¨M(D,E) be the function defined by ¨M(D,E) = MD - MDE. For an initial state of negative saturation and a field applied H increasing at the moment of calculation, the magnetization is given by the formula: n
M(H) -M s ¦ ^'M(Di , Ei-1 ) - 'M(D i , Ei )` 'M(H, En )
[5.61]
i 1
We obtain similar formulae for the other possible initial and final conditions. The value of this form is that the model is simple to program. The drawback is that it is necessary to have a set of curves of a complete enough inversion to cover the surface of the cycle. M MD E D M DE
H
Figure 5.16. Definition of order 1 inversion curves
Behavior Laws of Materials
205
Properties i) and ii) completely define the application domain of the model: if a system with hysteresis demonstrates them, then we can represent it using the Preisach model. The magnetic materials correspond pleasingly with the first property, but not the second. This has led to various generalizations of the Preisach model, among them the “moving model” [LED 91]. The traditional Preisach model can be applied to systems not verifying the congruence property of the minor cycles. An error can then be made, which can be acceptable depending on the application. Inversion curves are not always available and other methods of identification, using experimental data that is easier to measure, exist. It is possible to use the centered cycles method, which behaves well when the material does not demonstrate the congruence of the minor cycles [BER 00]. The method by Biorci and Pescetti allows the distribution P(D,E) to be determined based on the major cycle and curve of the first magnetization. However, it is not adapted to all materials and thus should be used carefully [BIO 58]. Another approach consists of choosing the distributionP(D,E) of an analytical form for which the parameters are adjustable with respect to a global criterion (surface of the cycle or general appearance of the cycle) [ROU 96]. 5.4.4.3. The Jiles-Atherton model [JIL 86] This model is based on energy considerations. Irreversibility, at the origin of the hysteresis behavior, is introduced by means of the energy dissipated through a collision of the partitions Eacc(M). This energy is defined by relation [5.62], where k is a coefficient which characterizes the dissipation: E acc (M) P 0 k
³
M
0
dM
[5.62]
The energy really stored in the material corresponds to the energy that would be absorbed in the case of absence of hysteresis, minus the losses dissipated through the collision of the partitions. With anhysteretic magnetization being denoted Man, this is written: P0 M.dHe = P0 Man dHe - P0 k dM
[5.63]
In this expression, He represents the effective field in the material. It is the sum of the applied field and an exchange interaction field proportional to the magnetization: He = H + D.M The parameter D depends on the coupling between magnetic domains.
[5.64]
206
The Finite Element Method for Electromagnetic Modeling
The differential form of equation [5.63] with the effective field of excitation He, allows M to be expressed which will be identified with the irreversible magnetization in the form:
M irr
M an - kG
dM irr dH e
[5.65]
In this expression, G is equal to ±1 according to whether the field H is increasing or decreasing. Replacing He with relation [5.64] we obtain:
dM irr dH
M an - M irr kG - D(M an - M irr )
[5.66]
The anhysteretic magnetization curve Man is represented by the modified Langevin function:
M an
§ a · § H DM · M s ¨ coth ¨ ¸¸ a © ¹ H DM ¹ ©
[5.67]
where Ms is the magnetization at the saturation of the material and a is a parameter of the model. In order to take into account the reversible phenomena, which represent the swelling of the Bloch, Jiles and Atherton partitions, we introduce the reversible magnetization Mrev and express the magnetization by the following relation: M = Mirr + Mrev
[5.68]
This reversible magnetization is assumed to be proportional to the difference between anhysteretic magnetization and irreversible magnetization. It then follows: Mrev = c (Man - Mirr)
[5.69]
where c is a coefficient of the model. From this expression, the reversible susceptibility is written: dM rev dH
§ dM an dM irr · c¨ ¸ dH ¹ © dH
The final expression of the total differential susceptibility is:
[5.70]
Behavior Laws of Materials
dM dH
§ M an - M irr dM an · (1 - c) ¨ +c ¸ k (M M ) dH ¹ G D an irr ©
207
[5.71]
This equation defines the Jiles-Atherton model. To determine the five parameters of the Jiles-Atherton model (Ms, a, D, k and c), it is necessary to determine the differential susceptibility in certain points of the major cycle, the first magnetization curve and the anhysteretic curve [JIL 92] [DEB 01]. The parameter identification procedure is a priori both simple and rigorous, but practical difficulties are often encountered because the determination of differential susceptibilities is always very sensitive to unavoidable measurement errors [CLE 00]. It should be noted in addition that, in the initial form presented here, the model does not allow modeling of closed minor cycles. The results can thus have some errors for certain excitation conditions. 5.4.4.4. Example of dynamic behavior calculated Once the quasi-static sheet hysteresis is modeled, the eddy current that develops in the dynamic mode is calculated using the finite element method. In the case of large width sheets subjected to a one-axis field, the problem is 1D: the variables differ only in the thickness of sheet. In the reference frame (x,y) of Figure 5.12, the flux diffusion equation is solved on the half-thickness sheet and is written:
-
w 2 H x (y, t) dB (y, t) V x 2 wy dt
0
[5.72]
The boundary conditions are:
wH x (y 0, t) 0 and Hx(y = e,t) = Hs(t) wy
[5.73]
The behavior of the material is given by the model B(H, history). Solving this problem stepwise over time is now possible, with the numerical methods being used. The Crank-Nicolson diagram allows the problem to be discretized in time. The finite element method ensures the space discretization. Finally, the fixed point method ensures the convergence of the nonlinear problem to be solved at each time step [HAN 75] [BOT 98]. The relation B(H) is replaced by the relation B = PPF(H+MPF), in which PPF is a fictitious permeability and MPF is a corresponding residual magnetization. The
208
The Finite Element Method for Electromagnetic Modeling
convergence of the method greatly depends on the value of PPF. This is why a new value is used at each time step, in order to achieve the best trade-off between a guaranteed convergence and a fast convergence. The iterative diagram is given by equation [5.74]. The index n and the upper script (s) correspond respectively to the time step tn and the iteration s of the fixed point method. At the time tn, the unknown variable is the field Hn(s) and the source term uses the fictitious magnetization Mn(s-1), recalculated with each iteration of the fixed point method according to formula [5.75]. The convergence criterion is based on the norm of the residue, which must be lower than 10-4.
w 2 H n (s) V (P PF ) n H n (S) - T 't wz 2
V (P PF ) n -1 {H n -1 (M PF )n -1} ... 't
... (1-T)
w 2 H n -1 V - (P PF ) n (M PF ) n (s-1) wz 2 't
[5.74]
(M PF ) n (s)
1 B[H n (s) ] - H n (S) (P PF ) n
[5.75]
This calculation principle was implemented with various hysteresis models. The figures below show examples of calculation results obtained with the internal variable hysteresis model developed in LMT-Cachan [GOU 98] [BIL 99]. The material considered is a FeSi alloy with non-oriented grains with a thickness of 0.5 mm. It is subjected to a triangular excitation field as a function of time. Various stress speeds dHs/dt are studied. Figure 5.17a shows the applied field measured at the surface for frequencies ranging from 5 to 500 Hz. For this last frequency, the wave form deviates from the setting, but this is without consequence because it is the surface field actually measured, which is used as an input of the calculation model. Figures 5.17b, 5.17c and 5.17d compare the measured and calculated cycles.
Behavior Laws of Materials
1.6
1000
5 Hz
500
Induction B (T)
Surface field Hs (A/m)
1500
0 -500 -1000 -1500
0
0.5
1
Time * frequency
5 Hz
a)
50 Hz
1.5 500 Hz
b)
0.8 0 -0.8 -1.6 -1000
0 -0.8
-1000
c)
0
500
Surface field Hs (A/m)
1000
500 Hz
50 Hz
Induction B (T)
Induction B (T)
0.8
-500
1.6
1.6
-1.6
209
-500
0
500
Surface field Hs (A/m)
1000
d)
0.8 0 -0.8 -1.6 -1000
-500
0
500
Surface field Hs (A/m)
1000
Figure 5.17. Hysteresis cycles at various frequencies: (a) field on the surface measured and used as input for the finite element calculation and a comparison between measured and calculated cycles (square marks) at (b) 5 Hz, (c) 50 Hz and (d) 500 Hz
The very good agreement between measured and calculated cycles proves the relevance of the finite element calculation model for the material considered. However, this model can be insufficient for other non-oriented grain materials [CHE 00] [ROU 96] and in the case of sheets with oriented grains. Indeed, in this type of material, the domain structure is modified when the frequency increases. It is then necessary to use a dynamic hysteresis model, which takes into account this effect [BER 91]. 5.4.5. Determination of iron losses in electric machines: nonlinear isotropic finite element modeling and calculation of the losses a posteriori
We showed how to calculate the iron losses in a sheet subjected to an excitation field applied in a fixed direction. In the case of an unspecified machine, it would be necessary to generalize the preceding step and to make a 3D calculation of the currents induced in the sheet by taking into account the material hysteresis and the anisotropy. This calculation should be made while in addition simulating a complete
210
The Finite Element Method for Electromagnetic Modeling
operation of the machine, i.e. by including the movement and the coupling with the circuit equations. Such a calculation is currently too large to be considered. This is why the losses are estimated a posteriori, by post-processing of the behavior calculated in the absence of hysteresis. The calculation of the losses a posteriori consists of solving the problem by considering the isotropic and anhysteretic nonlinear material allowing the temporal evolution of the induction to be locally determined. Thereafter, the density of losses is calculated in any point by using a model of losses or a dynamic hysteresis model. In both cases, it is essential that these models can reproduce the influence of the frequency and the wave form on the losses. This method supposes that neither hysteresis nor the induced currents significantly modify the distribution of B(t) in the magnetic circuit. The first point (negligible influence of the hysteresis) was verified for a transformer in the thesis of Olivier Deblecker: in steady state, the losses calculated by using a scalar or vectorial hysteresis model while processing with finite element calculation are appreciably the same as those estimated by applying these models a posteriori [DEB 01]. Results with a similar tendency were obtained by Mr. Repetto in the case of rotating machines [REP 01]. These results can be understood if the width of the cycle (about 100 A/m) is considered with respect to the amplitude of the excitation field (a few thousand A/m). On the other hand, neglecting the influence of the eddy currents on the operation point is more debatable, because the apparent permeability of the material varies greatly with the frequency. However, current computers do not have adequate capabilities to treat a complete machine geometry, or to take into account the layering of the magnetic circuit. Currently, machine losses can only be calculated using an a posteriori approach. We will describe a model of this type, developed within the framework of the theses of Christophe Cester and Thierry Chevalier and based on the use a posteriori of a dynamic hysteresis model [CES 96], [CHE 99]. 5.4.5.1. Dynamic scalar hysteresis model: LS (loss surface) model This model was developed following many studies on magnetic losses in trapezoidal induction in which the influence of the parameter dB/dt was highlighted [KED 86]. The model is based on this parameter. It supposes that the behavior of material is completely determined by the instantaneous value of the induction and its derivative. The model is then defined by a characteristic surface H(B, dB/dt) obtained in experiments by carrying out tests in triangular induction with fixed dB/dt and variable frequency in order to vary this parameter. Thus, for a B(t) signal of unspecified form and frequency, we do not carry out a frequency decomposition, but a temporal decomposition. We then associate with each couple (B(t), dB(t)/dt) the field H(t) provided by the surface. The corresponding hysteresis cycle is thus achieved. Figure 5.18 gives an example of this characteristic surface, obtained on an
Behavior Laws of Materials
211
iron sheet with non-oriented grains currently used in electrical machines. We clearly observe a discontinuity in the vicinity of the zero dB/dt which corresponds to the material quasi-static cycle.
Figure 5.18. Characteristic surface H(B,dB/dt) of the LS model
The model is based then on a decomposition of field H(B, dB/dt) in a static contribution Hstat(B) and a dynamic contribution Hdyn(B, dB/dt). Hstat describes the quasi-static behavior of material whereas Hdyn comprises all the dynamic effects generated by displacements of walls and the induced currents. The Hstat term is described by a simple model of scalar hysteresis; the Hdyn term is given by the surface Hdyn(B, dB/dt) extracted from the total surface by withdrawing the quasistatic field, then modeled by analytical functions The dynamic LS model was tested for different excitations, representative of the flux variations really undergone by material in the rotating machines: sinusoidal or trapezoidal induction of variable amplitude and frequency, sinusoidal induction charged with harmonic of variable amplitude, rank and phase, asymmetric induction comprising a DC of variable amplitude and a harmonic component of frequency and amplitude variables. In the majority of the cases tested, the losses estimated by the model deviate by less than 10% from the losses obtained in experiments. The curves of Figure 5.19 show an example of hysteresis cycles calculated and measured for two different stresses. The LS model satisfactorily reproduces the influence of the frequency and the form of stress.
212
The Finite Element Method for Electromagnetic Modeling 2
2
1.5
1.5
1
1
0.5
0.5
0
0
-0.5
-0.5
-1
-1
-1.5
-1.5
1
0.7
-2 -2000
-300
-2
-1500
-1000
-500
0
500
1000
1500
2000
a) B(t) sinusoidal at 50, 200 and 400 Hz
-2400
-1800
-1200
-600
0
600
1200
b) B(t): sinus 50 Hz + 11th harmonic
Figure 5.19. Measured and estimated hysteresis cycles
5.4.5.2. Coupling with finite element simulation Finite element simulation aims to determine the distribution of the temporal variation of the B(t) signal in the magnetic circuit of the machine. It is carried out in our case with the Flux2D¥ software. The resolution is carried out stepwise over time by integrating the movement of the rotor. Under these conditions, the behavior of the magnetic material is modeled by a nonlinear, isotropic and hysteresis free (anhysteretic) law B(H). The LS model is a scalar hysteresis model in which the directions of the magnetic field and induction vectors are assumed to be identical. However, this property is valid only if the material remains excited in the direction of one of these principal axes, rolling direction (RD) and perpendicular transverse direction (TD). As soon as it deviates from TD or RD, B and H are no longer in phase; we are dealing with vectorial behavior. In order to take these phenomena into account, curves B(H), used during simulations as well as the LS model, are established by considering mean characteristics of the material following directions RD and TD. In addition, a particular treatment is carried out for the 2D variations of B(t). In order to calculate the losses in each element, the vectorial signal B(t) is projected along two orthogonal axes of which one is parallel with the direction of the maximum amplitude of B(t) (Figure 5.20). The components B(t) and BA(t) are then used as model inputs for calculating H(t) and HA(t) and for deducing the
Behavior Laws of Materials
213
corresponding hysteresis cycles from them. The total losses are assumed to be the sum of the losses associated with each component. The choice of these reference axes is not arbitrary. It makes it possible to directly apply the scalar model in the case of a uniaxial induction and to be freed from the numerical errors which can be generated by the method.
Figure 5.20. Reference axes used for the decomposition of the signal B(t)
This assumption, which is based on the principle of superposition, is quite large and is not always valid. However, in the case of the sheet used for the simulated machine, the approximation remains correct. Indeed, the 2D wave forms B3(t) and B4(t) of Figure 5.4 were reproduced on a measuring platform of the “rotating field” type frame or RSST (rotational single sheet tester) to test this method. The calculated losses deviate by less than 10% from the experiment [SPO 98]. 5.4.5.3. Application to the calculation of induction machine losses The LS method was used to calculate the iron losses of two cage induction machines with different geometries, one of 4 poles and 4 kw, and the other of 2 poles and 5.5 kw [CES 96], [CHE 99]. These two industrial manufactured machines were equipped with coils allowing local measurements of flux in the teeth and the yoke of the stator. The rotors considered are with straight notches in order to conform with the 2D simulations carried out. Simulations were carried out in synchronism, at the point of the machine’s nominal operation taking into account or not the induced currents in the cage. First, the local behavior of the material in the machine was analyzed. The curves of Figure 5.21 compare the forms of B(t) obtained by simulation and measured in a tooth and in the yoke at the stator of the machine. A good agreement is observed. Failing to account for the hysteresis during the resolution of the problem is no longer punitive in this case.
214
The Finite Element Method for Electromagnetic Modeling
Figure 5.21. Wave forms measured and simulated (left: tooth – right: yoke)
The distribution of the density of the iron losses in the induction machine is represented in Figure 5.22 by a gray gradation. This figure highlights the saturation of the stator teeth but especially the existence of losses in the rotor even at synchronism. These losses account for approximately half of the stator losses and are due to a flux angular velocity of high frequency, generated by the passage of the rotor teeth in front of those of the stator.
Figure 5.22. Distribution of the density of iron losses in the stator and the rotor of a 5 kW induction machine, sinusoidal supply, no-load operation at synchronism
The estimated total losses were then compared with the experiment. A specific measuring platform and various rotor prototypes (smooth rotor, rotor without cage, etc.) were used to determine separately the iron losses for the stator and for the rotor.
Behavior Laws of Materials
215
Table 5.1 summarizes the results obtained for the two machines. This approach has allowed not only the iron losses for the stator and the rotor to be estimated, but also additional losses to be highlighted. They are due to Joule losses in the cage as well as to Joule losses probably due to short-circuits generated by manufacturing processes and located in the periphery of the rotor and on the contours of the teeth: machining and slot deformations. By considering all these phenomena, the approach developed has allowed us to estimate the losses with an error of 2% for the 4 kW machine and an error of 10% – close to the 5.5 kw machine. Cage type induction motor, 4 poles, 4 kW Rotor Losses in W
stator
Calculation
109
Measurement
117
Joule losses cage
Short circuit rotor surface
Short circuit rotor teeth
Iron losses rotor
6
15
5
45
71 60
total
180 177
Cage type induction motor, 2 poles, 5.5 kW Rotor Losses in W
stator
Calculation
129
Measurement
138
Joule losses cage
Short circuit rotor surface
Short circuit rotor teeth
Iron losses rotor
17
30
14
61
122 139
total
251 277
Table 5.1. Estimated and measured magnetic losses
The developed LS method allows an accurate and simple estimation of iron losses in the electric machines and any magnetic circuit of unspecified geometry in general. Nowadays, work is underway to supplement the validation of the dynamic hysteresis model by testing other materials and other excitation conditions as well as the validation of the global method by simulating other electric machine structures. 5.4.6. Conclusion
We presented the various aspects of sheet behavior that are necessary to consider for accurate modeling of these materials: anisotropy, hysteresis, dynamic mode and losses.
216
The Finite Element Method for Electromagnetic Modeling
We did not deal deeply with a fundamental question related to the calculation of the dynamic behavior of sheets, namely the distinction between induced currents losses and hysteresis losses. Indeed, the hysteresis losses are actually induced current losses which develop on a microscopic scale of the walls. In the proposed dynamic calculation, these microscopic currents are completely decoupled from the macroscopic currents and modeled by a hysteretic behavior. This complete decoupling of the microscopic and macroscopic scales are in fact carried out in materials with fine grains, but not in materials with coarse grains, like GO sheets in particular. The proposed modeling approach is then not inarguable, but the reader can refer to the work of G. Bertotti for a thorough discussion [BER 98]. Furthermore, we also did not speak about the influence of the mechanical state of materials on their magnetic behavior. However, it is a very important effect which results in an almost systematic degradation of the behavior of sheets when we shape them to build the magnetic circuit of a machine. The cutting and assembly processes generate local plastic deformations and stresses in the mass of the parts, which modifies the nominal behavior of the material and involves additional losses. The existence of these effects is known, but their modeling is for the moment far from being mastered. For more information on the influence of the mechanical state on the magnetic behavior, the reader can refer, among other references, to the work of C. Gourdin [GOU 98] [BIL 99]. 5.5. Modeling of permanent magnets 5.5.1. Introduction
In the majority of electromagnetic field computation software, the behavior of permanent magnets (SmCo5, NdFeB, ferrite) is approached by a linear model, based exclusively on the behavior of the magnet in the direction of easy magnetization. This model allows numerous devices to be satisfactorily simulated, but it is completely inappropriate to take the demagnetization of magnets into account. When this phenomenon is likely to occur (at the time of the assembly phase of magnets, for example), more powerful models should be used. We present such a model here, both nonlinear and anisotropic, and developed by Joel Chavanne as part of his work [CHA 88]. 5.5.2. Magnets obtained by powder metallurgy
Magnets obtained by powder metallurgy consist of single-crystal grains (a few tens of Nm) having a very strong uniaxial magnetocrystalline anisotropy. The coordinates of easy magnetization C of the grains are distributed around an average
Behavior Laws of Materials
217
direction x corresponding to the macroscopic axis of easy magnetization (Figure 5.23). Studies show that this distribution has a symmetry of revolution around this axis and that it can be represented by a Gaussian [GIV 85].
y
H TH T1
C M(H) x
z Figure 5.23. Distribution of C grain axes around a mean direction x
A second function, better suited to the development of models by analytical calculation, can be used [JAH 87]. This function is given by formula [5.76], in which T1 is the angle that forms the axis C of the particle with the macroscopic direction x and n is a parameter which controls the width of the distribution. Figure 5.24 shows the influence of this parameter. The typical values for the usual magnets are in the neighborhood of n = 7. For n = 0, we obtain an isotropic distribution: p(T1 )
2n 1 2n cos T1 2S
Figure 5.24. Examples of distribution of particles C axes orientation
[5.76]
218
The Finite Element Method for Electromagnetic Modeling
The grains are separated by an intermediate phase with very different magnetic properties. The exchange interactions between grains are reduced and these can be considered, at first approximation, as independent. The behavior of the magnet in a field H then results from the superposition of the individual behaviors of the constitutive grains. 5.5.3. Study of linear anisotropic behavior
Firstly, let us consider an isolated grain, subjected to a magnetic field H lying in an arbitrary direction TH from the x-direction. For small angular variation of the magnetization, using the coherent rotation model leads to the classical linear reversible model of the behavior of a single crystal [CHA 89]. In the coordinate system of the grain, this behavior is given by:
M
ªMs º ª0 0 0º Ms « » 0 1 0 » H «« 0 »» Ha « «¬ 0 »¼ «¬ 0 0 1 »¼
[5.77]
where Ms and Ha respectively represent the magnetization and the crystalline anisotropy field of the grain. Let us now consider all the grains assumed to have the same physical characteristics Ms and Ha. By taking into account the distribution function of the grains, it is possible to write M, after integration, in the form: M(H) = Mr + [Fr] H where Mr is the residual magnetization along the x-direction and such that:
Mr
Ms
2n 1 2n 2
[5.78]
Ms represents the macroscopic magnetization with saturation of the magnet. [Fr] is the tensor of susceptibility defined by:
[F r ]
ª 2 º 0 0 » « 2n+3 « » Ms « 2n+2 0 0 » » Ha « 2n+3 « » 2n+2 « 0 » 0 2n+3 »¼ ¬«
[5.79]
Behavior Laws of Materials
219
In the case where the grains are perfectly oriented (n very high), we find the relation obtained for a monocrystal. An interesting result is that the ratio U between the parallel susceptibility and the transverse susceptibility is independent of Ms/Ha and allows the determination of n. We obtain:
U
2n 2 2
[5.80]
This model was used for the study of magnets systems with the assumption that the field applied is sufficiently weak to allow the linear approximation. In this way, we modeled – within the framework of the finite element method in 3D – a high field source with magnets of 4 T [BLO 99]. The modeling has allowed us to seek the nuances, the shape and the optimal directions of magnets making it possible to obtain a maximum field in the center of the structure (Figure 5.25). In postprocessing, the calculation of the field applied to the magnet allows us to establish whether or not there was demagnetization. In this light, simulations were carried out to determine “the good” sequence of assembly of the structure.
Figure 5.25. 4.5 Tesla in the hollow of the hand
We have noticed that the magnets in the center underwent strong rotations of magnetization because of a very high transverse field (twice the coercive force) and, although reversible, these phenomena are incorrectly described by the previous linear model.
220
The Finite Element Method for Electromagnetic Modeling
5.5.4. Study of nonlinear behavior
The nonlinear behavior of the magnets depends directly on the mechanisms of coercivity and inversion of magnetization in the grains. The simplest model is the coherent rotation mechanism. The particle is supposed monodomaine and its behavior is controlled by the magnetocrystal anisotropy. This model envisages a coercive force equal to the anisotropy field, whereas the coercive force actually measured is the smaller of the two orders of magnitude. This difference is explained by the fact that the magnetization reversal is never a single domain mechanism. There is always a microstructural defect which causes the nucleation of a reverse domain. Then this domain propagates for a field quite lower than the anisotropy field because this mechanism is less expensive from the energy point of view (Figure 5.26).
M saturation
nucleation
propagation
Figure 5.26. Mechanism of reversal of magnetization in a grain
For the study of the influence of a field of an unspecified direction, it is useful to know the angular variation of the coercive field of the magnetization according to the angle T that makes H with the axis C of the grain. Two models are traditionally proposed. The first is the coherent rotation model, while the second supposes that only the projection of the field according to magnetization is active (Kondorsky’s model of trapping breakdown). Figure 5.27 compares the results of these two models. In addition, the measurements made on isolated SmCo5 particles show that the angular variation follows Kondorsky law [5.81]:
hc(T)
hc(0) cos T
[5.81]
Behavior Laws of Materials
221
Figure 5.27. Angular variation of the coercive field: a) coherent rotation of magnetization, b) Kondorsky’s model of trapping breakdown
The use of the Kondorsky law and the function of angular distribution allows us to build a model which predicts the behavior of the magnet for a field in an unspecified direction starting from the following experimental data: M//(H), demagnetization curve in the direction of easy magnetization x and FA, presumably constant transverse susceptibility. For a field of amplitude H and forming an angle TH with respect to the x axis (Figure 5.23), the parallel and perpendicular components to H, respectively noted M1 and M2, are given by: M1(H,TH) = M//(H1) cos TH + FAH sin2 TH
[5.82]
M2(H,TH) = M//(H2) sin TH + FAH sin TH cos TH
[5.83]
where H1 and H2 are defined by:
222
The Finite Element Method for Electromagnetic Modeling
H1 = H cos (D TH)
H2
1 H cos (E TH ) O
[5.84]
[5.85]
and D, E and O are given by: D(n)
§ 2 3 ·ҏ Arcos ¨¨ ¸¸ S © 2n 3 ¹
[5.86]
E(n)
§ 2 2 · Arcos ¨¨ ¸ S 2n 1 ¸¹ ©
[5.87]
O(n)
2n 3 2n 1
[5.88]
The behaviors measured and predicted by the model for fields applied in various directions have been compared, and for various types of permanent magnets (SmCo5, Ferrite, NdFeB). In all cases, an excellent agreement was obtained. As an example, Figure 5.28 shows the M1(H) curves obtained for a field applied in a fixed direction in the case of a ferrite magnet. We can note in particular that the proposed model is definitely better than that which would have consisted of carrying out a direct interpolation between the two curves M// and MA (case n = infinite).
Behavior Laws of Materials
223
infinite
Figure 5.28. Curves of magnetization calculated and measured for a ferrite magnet
5.5.5. Implementation of the model in finite element software
Joel Chavanne’s model has been implemented to carry out 3D magnetostatic calculations using the finite element method. The previous relations have been simplified with the approximations O=1 and D E. This approximation consists of neglecting the demagnetization effects on the orthogonal component to Ox because of the small width of the distribution of axes C around axis x (assumption valid for n=7 for example). A formulation in scalar potential was used, which requires us to know the relation B(H) and the differential permeability tensor [B/HT]. The relation B(H) rises directly from the previous equations, specifically the expression B = Po [H+M(H)]. In the reference frame related to the magnet, the differential permeability tensor has as the expression:
ª wB º T ¬« wH »¼ R magnet
ª wBx « wH « x « 0 « « 0 « ¬
wBx wH y P 0P r A 0
wBx º wH z » » 0 » » P 0P r A » » ¼
[5.89]
224
The Finite Element Method for Electromagnetic Modeling
with:
wBx wH x
P0 [cos(DTH ) cos TH D sin(DTH ) sinTH ] . [P r & (H1 ) - 1] P 0
[5.90]
wBx wH y
ª Hy P 0 [sin(DTH ) sin TH -D cos(DTH ) cosTH ] . «P r & (H1 ) « H y2 Hz2 ¬
º » [5.91] » ¼
wBx wH z
ª Hz P 0 [sin(DTH ) sin TH -D cos(DTH ) cosTH ] . «P r & (H1 ) « Hy2 Hz2 ¬
where P (H) r&
1 wB& (H) P 0 wH
º » » ¼
[5.92]
[5.93]
5.5.6. Validation: the experiment by Joel Chavanne
In order to validate the proposed model, Joel Chavanne created an interesting experiment: he approached two magnets (NdFeB, a ferrite) magnetized in opposite directions (Figure 5.29). It should be noted that the two magnets push each other away, then attract each other when they are very close to one another. This phenomenon is explained by reversals of magnetization in the ferrite magnet caused by the NdFeB magnet which has a much more rigid magnetization. The digital simulation by 3D finite elements allows this phenomenon to be accurately found. The measurement results of the fields outside the magnets are in perfect agreement with the simulation, which in addition shows a strong reversal rate of magnetization in the ferrite magnet.
Behavior Laws of Materials
NeFeB
225
Ferrite
? Figure 5.29. Approach of an NdFeB magnet and a ferrite magnet
5.5.7. Conductive magnet subjected to an AC field
The Joel Chavanne model was also used to model the behavior of a permanent magnet subjected to a pulsating magnetic field of sinusoidal type, and therefore in the presence of induced currents. This study was undertaken within the framework of European project MACCHARRACTEC [GOL 00]. The final objective is to determine the influence of the frequency and to deduce the intrinsic characteristic of the magnet based on measurements taken in variable mode. The direct problem is solved stepwise in time using a magnetodynamic formulation of type T-I (T denoting the electric vector potential, I the magnetic scalar potential). This formulation requires an expression of B(H) law and knowledge of the resistivity of the magnet. The results make it possible to find the average intrinsic hysteresis cycle obtained (the simulation also makes it possible to check the local behavior). Figure 5.30 shows that the hysteresis curve is very sensitive to the frequency of the applied field. If it increases, the differences in residual magnetization and the coercive field (compared to the static characteristic) become increasingly large.
226
The Finite Element Method for Electromagnetic Modeling
Figure 5.30. Dynamic hysteresis curve simulated on a cylindrical NdFeB magnet
5.6. Modeling of superconductors 5.6.1. Introduction
Superconductors are characterized by remarkable electric and magnetic properties: below a certain critical temperature Tc, the electrical resistivity becomes zero. This phenomenon is accompanied by a perfect diamagnetism (no penetration of magnetic flux in the superconductor). The loss of resistivity and the absence of heating through the Joule effect allow very high current densities to be circulated with almost zero losses. The current density reaches 20 to 6,000 A/mm2, whereas the limit ranges between 1 and 15 A/mm2 in the traditional conductors. The possibility of transporting strong intensities under small overall dimensions requires us to reconsider the usual design limits of the electric material. However, the gains in volume and weight which the use of superconductors allows must be considered with respect to the cost of material and the requirement of a cryogenic environment to maintain the conductors below their critical temperature. 5.6.1.1. Various types of superconductors We can distinguish superconductors with low and high critical temperature (respectively LTS and HTS), the limit between the two being located at 30 K. There is a certain arbitrariness in this border. However, in practice this distinction is important because LTS superconductors must be cooled with liquid helium, whereas
Behavior Laws of Materials
227
cooling with liquid nitrogen, which is much more economical, is sufficient for HTS superconductors. A more fundamental difference exists between the type I and type II superconductors. The first are perfectly conductive and diamagnetic below their critical temperature, whereas the second ones have a very low but non-zero resistivity and are only partially diamagnetic. We will reconsider these behavior differences in the subsequent sections. 5.6.1.2. Applications of superconductors Currently, LTS superconductors are especially used, primarily to produce electromagnets in high-energy physics or medical imagery. HTS superconductors, more recently discovered, do not yet have industrial or commercial applications. However, their relative ease of use and the progress made in their design make it possible to consider a use in electrical engineering. Transformers and superconductive engines with better performances compared to the traditional devices are studied. In addition, they are smaller and lighter. Other original applications are also being studied. They use two properties specific to the superconductors. The first relates to the phenomenon of levitation: a magnet placed above a superconductive chip enters by levitation in a position of stable equilibrium. This property can be used to create completely passive magnetic suspensions or for the storage of energy by inertia. The second uses the property of transition from the superconductive state towards a resistive state when the critical current is exceeded. This enables superconductor current limiters to be made. 5.6.2. Behavior of superconductors
5.6.2.1. Critical surface and variables
Figure 5.31. Critical surface delimiting the area where supraconductivity exists [BAI 98]
228
The Finite Element Method for Electromagnetic Modeling
Supraconductivity exists only in a domain limited by three critical variables: the temperature, the magnetic field and the current density. These three variables are not independent of each other. The critical surface, defined in space (T, J, H), defines the domain where the material is a superconductor (Figure 5.31). As soon as we leave the domain, the material becomes strongly resistive and non-magnetic. There is a change in the electric behavior and the magnetic behavior. 5.6.2.2. Magnetic behavior For a temperature lower than the critical temperature, the superconductive state disappears when the applied magnetic field is higher than the critical magnetic field. The type I superconductors then make a transition from a perfectly diamagnetic behavior to a non-magnetic behavior and their magnetic permeability goes from P=0 to P=Po in a discontinuous way (Figure 5.32). The apparent diamagnetism of the type I superconductors is due to the fact that in the absence of resistivity, nothing limits the induced currents which oppose the flux penetration flow in the conductors. At the microscopic scale, the magnetic induction penetrates on a very low thickness OL, called the London length, on which currents develop known as shielding super currents. This length varies from 10 to 300 nm. At the macroscopic scale, the conductor behaves like a perfectly diamagnetic material. For type II superconductors, the transition from the perfect superconductive state to the resistive state is achieved between two critical fields Hc1 and Hc2. The material is then in a mixed state: it remains electrically superconductive but is no longer perfectly diamagnetic because the shielding is only partial. The penetration of the magnetic flux is made in a quantified form by a set of tubes called vortices. Each vortex transports the same quantum of flux of about 2.10-15 Wb. In practice, Hc1 is very small compared to Hc2 and the B(H) macroscopic behavior is effectively approached by a line with a slope Po (Figure 5.32). B
B
B = P0 H
B = P0 H
type I
type II
Hc
H
Hc1
Hc2
Figure 5.32. Magnetic behavior of type I and type II superconductors
H
Behavior Laws of Materials
229
5.6.2.3. Electric behavior The third characteristic which limits the superconductive state is the critical current density Jc(H, T). The material limits its electric transport capacity to a critical current density Jc which corresponds to the maximum value beyond which a resistivity appears. This transition is found in the electric behavior law J(E). As for the magnetic properties, it is necessary to distinguish the type I and type II superconductors. In the type I superconductors, the current circulates only on the surface, in the London length. When the magnetic field, created on the surface by the current, reaches the value of the critical field, the state of superconductivity is destroyed. The transported current then corresponds to the critical current. The resulting J(E) law is represented in Figure 5.33.
j
Jx
j c(x) V en
0
e
jc(x)
Figure 5.33. Electric behavior law of a type I superconductor
The behavior of type II superconductors in the mixed state is more complex. When a current crosses the conductor, it creates a magnetic flux which penetrates the material in the form of a vortex. These vortices are subjected to Lorentz forces (JxB) which, in the absence of any obstacle (ideal material), act to cancel the total current. There is thus no possibility for the current to be transported. In practice, the material is characterized by anchor points which are opposed to the free reorganization of the vortices and allow a macroscopic current to circulate. According to Anderson and Kim [KIM 63], the vortices have a certain probability of jumping from one anchor point to another anchor point through thermal activation. In the presence of a Lorentz force, the jump direction becomes privileged, which produces a macroscopic current. Depending on the value of Lorentz forces, and thus of the current, we distinguish various phenomena (Figure 5.34). For low currents, the vortices move from one anchor point to another anchor point: this phenomenon is called TAFF (Thermally Activated Flux-Flow). For high currents, the phenomenon accelerates and we speak of “flux-creep”. Lastly, when the Lorentz
230
The Finite Element Method for Electromagnetic Modeling
forces become much higher than the anchoring forces, the vortices move freely (flux-flow). In all cases, the forces applied to the vortices involve a displacement of the vortices and thus a dissipation of energy. E (V/m) 1
thermally activated flux-flow
fluxcreep
flux -flo w
10- 5
10-10
J (A/m2) 106
108
1 010
Figure 5.34. Electric behavior law of a type II superconductor
5.6.3. Modeling of electric behavior of superconductors
5.6.3.1. Introduction The electromagnetic behavior of a device including superconductors is given by Maxwell’s equations associated with the behavior laws. The magnetic characteristic does not pose any modeling problem since the superconductor has a behavior similar to that of the vacuum. On the other hand, the electric behavior is nonlinear and various models have competing claims. We will briefly present them by order of increasing complexity, then we will speak about the implementation of these models in a computer code by the finite element method. 5.6.3.2. Some examples of models The Bean model (1962) [MAY 69] [BOS 93] [PRI 97] [MAS 97] is the most frequently used in engineering. This model postulates that the existence of an electric field E in any point of the sample induces in this point a current density with an amplitude Jc parallel to E. In mathematical terms, this model is written in the following way: If E
0, then J J c , otherwise J
Jc
[5.94]
This model supposes that the critical current density is independent of the value of magnetic induction B, which is not verified in experiments. In order to take this
Behavior Laws of Materials
231
dependency into account, several models were proposed such as the Kim law [KIM 63] or the anisotropic Kim law [MAS 98]. This law is given: J c (B)
§ B· J c (0) ¨1 ¸ © B0 ¹
-1
[5.95]
Recently, some work [SYK 97] [VIN 00] has been carried out in the area of the power law, defined as follows: J
§ E· Jc ¨ ¸ © Ec ¹
N
[5.96]
This empirical law represents the “flux-creep” phenomenon effectively. For higher values of the exponent N, the power law leads to the Bean model. In general, depending on the materials and their manufacturing, parameter N varies between 5 and 30 in HTS superconductors and can go up to 100 in LTS type II superconductors [VIN 00]. Finally, there are laws that take into account the displacement and the anchoring of vortices [YOS 94]. This is what is called the “Flux-Flow-Creep” (FFC) model, in which two distinct analytical expressions are used in order to respectively model the flux-creep [5.97] and flux-flow [5.98] modes: E
§U J · § U0 · ¸¸ exp¨ 2 U c J c sinh ¨¨ 0 ¸ if 0<J<Jc © KT ¹ © kT J c ¹
E
UJ c U f J c ¨¨
· § J ¸¸ if J>Jc J ¹ © c
[5.97]
[5.98]
In these formulae, U0 is the anchoring potential, T the temperature, k the Boltzman constant and Uc and Uf the resistivities specific to the material. It has to be noted that the FFC model is the only one which takes into account the temperature. 5.6.3.3. Digital implementation in calculation using the finite element method Traditionally, the calculation of fields in superconductor materials is achieved using the finite element method. This calculation is carried out by solving a magnetodynamic problem with a nonlinear electric behavior law:
232
The Finite Element Method for Electromagnetic Modeling
1 ¬ dJ and J = J(E) curl curlE dt ®
[5.99]
This calculation model is generally used in the case of 2D geometries. The electric field and the current density are then orthogonal to the study plane. In the case of the approximation of the behavior law by expressions [5.95] to [5.99], the Newton-Raphson algorithm can be used. The convergence is then reached more or less quickly according to the choice of state variables [VIN 00]. The magnetic field formulation [5.100] proves to have the best behavior in terms of convergence: curlE
d H
dt
and E
[5.100]
E ( J ) with J curlH
5.6.4. Particular case of the Bean model
The Bean model requires careful handling, because this behavior law is not differentiable, or even representable by a functional graph. It is thus not possible to use it directly. 5.6.4.1. Mathematical analysis of the Bean model We are interested here in the generalized Bean model [BOS 93] in the sense that it takes the transition at the normal state into account. The graph of this model is represented in Figure 5.35, where Jc, En and V respectively indicate the critical current density, the value of the electric field from which the material becomes conducting resistive and the electric conductivity of the superconductor in the normal state. j
Jx
jc(x) V 0
en jc(x)
Figure 5.35. Generalized Bean model
e
Behavior Laws of Materials
233
We will formulate the behavior law by demonstrating the calculation of a functional convex U such as J w U(E) where w U(E) indicates the under-gradient at the point E of the functional calculus U [BOS 93]. Let us consider the case of a 2D problem. The current density J and the electric field E are normal to the study plane and have as components in point x respectively the algebraic values J(x) and E(x). The electric behavior law is verified if and only if the couple {E(x), J(x)} belongs to the graph Jx and if J(x) and E(x) are of the same sign. The difficulty is to formulate this membership to the graph while expressing, for example, J(x) as a function of E(x). For that, we set up the Ux function, presented graphically in Figure 5.36, in the following way:
U x ( E ( x))
if E x En J c x E x ° ® J x E x V E x E otherwise n °¯ c
[5.101]
Ux
jc(x) 0
en
e
Figure 5.36. The function Ux
The Ux(E(x)) value represents the surface delimited by the graph Jx, the x-axis and the vertical axis passing by the E(x) point. This geometric construction of the Ux functional calculus by surface calculation is quite general and can be applied whether Jx is a functional graph, linear or not. The monotony property of the graph Jx implies that the continuous function Ux is convex. It is then possible to calculate, in any point E(x) pertaining to the domain of Ux, the under-gradient defined by: w U x (E(x)) = {g IR / f' IR, U x (f' ) U x (E(x)) t g(f' E(x))}.
The calculation of the under-gradient for the Ux function above gives:
[5.102]
234
The Finite Element Method for Electromagnetic Modeling
J x wU x E x ® ¯ > J c x , J c x @
if if
E x z 0 E x 0
[5.103]
We can thus express the behavior law by:
{E(x), J(x)} J x J(x) wU x (E(x))
[5.104]
This concept of under-gradient has the advantage of being able to express the behavior law while being based solely on the assumption of continuity and monotony of the graph Jx. Finally, the generalized Bean model can simply be written as: [5.105]
J wU(E) where U is defined by:
U(E)
³U
x
(E(x)) dx
[5.106]
Unlike expression [5.104], which is only a scalar relation between the values of the fields E and J in point x (local relation), relation [5.105] is functional since the variables E and J are functions of the current point x. In the current density J formulations, it is necessary to express the behavior law in the form of E(J) [PRI 96]. Ux*, the Fenchel conjugate of Ux [EKE 13], is then used, and the following equivalence:
{E(x), J(x)} J x E(x) wU x * (J(x))
[5.107]
In the formulations where both the electric field and the current density are the unknown variables of the problem [VAS 96], the behavior law is expressed based on the Ligurian ȁ, defined by [5.108], and of the equivalence [5.109]. It is then only necessary to seek the zeros of the Ligurian:
/ (E(x), J(x))
U x (E(x)) U x * (J(x)) E(x), J(x),
{E(x), J(x)} J x / (E(x), J(x)) 0.
[5.108]
[5.109]
Behavior Laws of Materials
235
5.6.4.2. 2D finite element formulation with the Bean model The behavior law being now well formulated, the next step is to implement it in a computer code. By itself this law is not sufficient to determine the electromagnetic behavior of the superconductor. Indeed, for a given electric field E, the current density J verifying the law is not necessarily unique since, for example, there are several possible values for the current density J when the electric field E is zero. In order to clarify this uncertainty, we must consider the history of the superconductor by associating with behavior law [5.105] Maxwell’s equations for low frequencies. The vector form equation, in electric field E, coming directly from Maxwell’s equations, becomes in the case of a 2D analysis scalar equation [5.110], where E and J are scalars linked by the behavior law:
§ 1 · dJ - div ¨ grad E ¸ 0 dt © P0 ¹
[5.110]
Mathematically, problem [5.110] is known as the “Stefan problem” or as nonlinear diffusion [STE 89]. In order to solve it, we can use the implicit Euler scheme. We obtain:
§ 1 · (J n - J n -1 ) - 't div ¨ grad E n ¸ 0 © P0 ¹
[5.111]
where Jm and Em are the values of the current density and the electric field at the moment m't. We can then notice that Em achieves the minimum of the following functional calculus:
§ 't · F(E) = 2 U[E(x)] + ³ ¨ grad(E(x))2 2 J n -1 (x)E(x) ¸ dx © P0 ¹
[5.112]
It is then necessary to carry out at each time step a convex optimization. The functional calculus being strictly convex, the minimum is unique.
236
The Finite Element Method for Electromagnetic Modeling
5.6.4.3. Proposed model _j_
_j_
J
JH
jn jc
jc
V 0
V en
_e_
ec
en
a)
_e_
b) Figure 5.37. a) Function graph J b) Function graph JH
Let us return to the behavior law, recalled in Figure 5.37a. Its implementation in a computer code using finite elements is facilitated if it is modified in a graph leading to a functional calculus Ux quadratic per pieces. The minimum of Ux can be found by traditional methods such as the Gauss-Seidel method. More precisely, the Bean model is approximated by a family of more regular and less rigid functions (Figure 5.37b), depending on parameters H1 and H2, and such that these approximation functions tend towards the graph of the behavior law of Figure 5.37a when H1 and H2 tend towards 0. The parameters H1 and H2 being strictly positive real, the quantities Jn, Ec and Jc are defined in the following way: Jn = V En
Jc = H1 Ec
Jc = (1 H2)Jn
[5.113]
The parameters En and Jn delimit the area in which the material is superconductive. Ec and Jc, are selected in such a way as to fit the experimental characteristic as well as possible. Indeed, we need only adjust the parameters H and H according to the studied material. It is possible to treat, with this model, the linear (H = H = 1), nonlinear or strongly nonlinear (H1 and H2 o 0) behavior. In addition to the advantages related to the freedom of choice of the model according to the parameters H1 and H2, the modeled characteristic reveals two regions of operation (|J| < Jc and Jc < |J| < Jn) which can be considered similar to the “flux-creep” and “fluxflow” regions.
Behavior Laws of Materials
237
5.6.5. Examples of modeling We will now present some computation results, resulting from work completed at the Electrical Engineering Laboratory of Paris. The first two examples relate to the behavior of superconductive cables. The levitation of a permanent magnet above a superconductive chip is then treated. These calculations were made using the model that we have just presented. 5.6.5.1. Massive material plunged in a uniform field In this simulation, a massive superconductor with an infinitely long rectangular section is plunged into a uniform magnetic field. The applied field varies linearly per piece as a function of time. Figure 5.38 shows the evolution of the applied field as well as the distribution of the current density at instants t1, t2 and t3 indicated in the graph. The values of the physical parameters and in particular the maximum value of the source magnetic field were selected to obtain the total penetration of the magnetic field at the moment t2. We can note that for t1 and t3, two moments when the applied magnetic field takes the same values, the two distributions of the current density are not identical. That highlights a hysteresis phenomenon. The selected parameters make the graph J very stiff, so the problem is of “Stefan” type. That explains the appearance of a free border in the conductor, a very stiff transition between the part where the current density is zero and the part where |J| is worth Jc.
Figure 5.38. Applied magnetic field and profile of current densities
238
The Finite Element Method for Electromagnetic Modeling
5.6.5.2. Superconductor cable In practice, superconductor cables are not massive. They consist of a multitude of small filaments of which the characteristic diameter is, in the case of LTS cables, in the order of a micron. Each filament is coated with a conducting shield. In practice, it is impossible to model a real cable with a discretization in connection with the dimension of the elementary conductor. It is then necessary to develop a homogenized model of the cable. Such a model was applied to a bundle of 49 superconductive filaments. This bundle is replaced by a single conductor modeled by a homogenized behavior law which is the weighted average of the behavior of the various components of the cable. In other words, if we note by Js the law J(E) in the superconductor and by Jn that of the normal matrix, the law in the homogenized compound is given by:
J
K J s (1 K) J n
[5.114]
where K indicates the proportion of superconductor in compound material. The validation of [5.114] is shown in [LEV 95] for maximum and continuously graphs. Figure 5.39 shows the distributions of the current density in the material calculated with and without this homogenization, within the framework of the Bean model. It is to be noted, firstly, that in both cases there are almost the same field penetration depths (Ha = 5 u 10+4 A/m). Secondly, it can be seen that the maxima of the current density are in a ratio of the same order of magnitude as the proportion of superconductor in the compound, with the result that the total current intensity is the same in the two devices.
Figure 5.39. Distributions of J in the superconductive compound (left) and in the homogenized conductor (right)
Behavior Laws of Materials
239
However, the model is satisfactory only if it leads to the same values, not only for average losses, but also for the instantaneous losses. Figure 5.40 shows that the evolutions of the Joule losses over time are very close in both cases. +1
Pertes (x 10 Watt/m) Sans homogéneisation Avec homogénéisation
5,0 4,0 3,0 2,0 1,0 0,0 0,0
0,5
1,0
1,5
2,0
2,5
-2
Temps (u10 sec)
Figure 5.40. Time evolution of Joule losses, Bean model
This model of homogenization should be able to be applied to the case of OPIT cables in HTS superconductor, even if the filaments are larger (about 100 microns) [VIN 00]. 5.6.5.3. Interaction magnet superconductor This third example is intended to put forward the theoretical possibility of achieving an electromagnetic levitation by using jointly a magnet and a superconductive chip. Figure 5.41 shows the interaction force between a magnet and a cylindrical superconductive chip as a function of a composite magnetsuperconductor. The results of numerical simulation are compared with the results of actual measurements. The experiment consists of approaching the magnet with the superconductor then moving it away. The speed of the magnet remains the same during all its motion. The minimal distance between the magnet and the superconductor, for this figure, is 3 mm. The superconductor and the magnet have, respectively, a radius of 10.5 mm and 11 mm and a 10 mm thickness and 20 mm. The magnet is characterized by a magnetic polarization of 1.1 T and the superconductor with a critical density of current 90 A/mm2. The results of measurement come from the LEG based on a massive chip of a ceramic type (YBaCuO) provided by the CNRS-CRETA.
240
The Finite Element Method for Electromagnetic Modeling
Figure 5.41. Interaction force between the magnet and the superconductor chip
Calculation shows that the interaction force is a force of repulsion. This force is not the same one in the approach and withdrawal phases. As for the cable, it represents a well-known hysteresis phenomenon in the medium of superconductivity. It is a global phenomenon which does not come from the behavior of materials, since those do not have any hysteresis. 5.7. Conclusion
What can we say after having swept a panorama as vast as that which we have just seen? Around 60 pages are quite insufficient to describe everything, and the objective of the book is not to make the reader a specialist in the modeling of materials. We have shown some examples of models in the hope of highlighting the difficulties of modeling the behavior of materials in our experience. In order to gain a deeper knowledge in each subject tackled, it is advisable to refer to the quoted texts, which contain a more precise description of the problems as well as offering a more complete bibliography. Currently, the increase in computing capabilities allows complex behavior models to be integrated in the simulation of devices close to real cases in terms of geometry. However, behavior models remain far from reality. Indeed, very often, all the aspects which we presented separately act simultaneously. Let us briefly consider the example of a GO sheet’s magnetic transformer circuit: the area of the joints in T where anisotropy, stress in the rotating field, and dynamic effects are all cumulate. Yet it is also in this area where the material mechanical state is most disturbed! Work thus continues towards more complete models.
Behavior Laws of Materials
241
5.8. References [BAI 98] J. BAIXERAS, Les supraconducteurs, Application à l’électronique et à l’électrotechnique, Eyrolles, CNRS Editions, 1998. [BEA 62] C.P. BEAN, “Magnetization of hard superconductors”, Physical Review Letters, 8, 6, pp. 250-253, 1962. [BER 85] G. BERTOTTI, “Physical interpretation of eddy current losses in ferromagnetic materials. I. Theoretical considerations”, J. Appl. Phys., 57 (6), pp. 2110-2117, 1985. [BER 91] G. BERTOTTI, “Generalized Preisach model for the description of hysteresis and eddy current effects in metallic ferromagnetic materials”, J. Appl. Phys., 69 (8), pp. 46084610, 1991. [BER 98] G. BERTOTTI, Hysteresis in Magnetism, Academic Press, 1998. [BER 00] Y. BERNARD, Contribution à la modélisation de systèmes électro-magnétiques en tenant compte du phénomène d’hystérésis. Extension du modèle de Preisach adaptées au calcul du champ, Doctoral thesis, Orsay University (Paris-Sud), 2000. [BIL 99] R. BILLARDON, L. HIRSINGER, F.OSSART, “Magneto-elastic coupled finite element analyses”, Revue Européenne des Eléments Finis, vol. 8, no. 5-6, pp. 525-551, 1999. [BIO 58] G. BIORCI, D. PESCETTI, “Analytical theory of the behavior of ferromagnetic materials”, Il Nuovo Cimento, vol. VII, no. 6, pp. 829-842, 1958. [BLO 99] F. BLOCH, O. CUGAT, J.C. TOUSSAINT, G. MEUNIER, “Approches novatrices à la génération de champs magnétiques intenses: optimisation d’une source de flux à aimants permanents”, European Physical Journal, Applied Physics, vol. 5, pp. 85-92, January, 1999. [BOS 93] A. BOSSAVIT, “Sur la modélisation des supraconducteurs: Le ‘modèle de l’état critique’ de Bean, en trois dimensions”, J. Phys. III France, 3, pp. 373-396, 1999. [BOT 98] O. BOTTAUSCIO, M. CHIAMPI, L.R. DUPRÉ, M. REPETTO, M. VON RAUCH, J. MELKEBEEK, “Dynamic Preisach modeling of ferromagnetic laminations: a comparison of different finite element formulations”, J. Phys. IV France, 8, pp. Pr2-647-650, 1998. [BRI 97] P. BRISSONNEAU, Magnétisme et matériaux magnétiques, Hermes, 1997. [CES 96] C. CESTER, Etude des pertes magnétiques supplémentaires dans les machines asynchrones alimentées par onduleur à modulation de largeur d’impulsion, Doctoral thesis, de l’Institut National Polytechnique de Grenoble, Génie Electrique, 1996. [CHA 88] J. CHAVANNE, Contribution à la modélisation des systèmes statiques à aimants permanents, Doctoral thesis, de l’Institut National Polytechnique de Grenoble, September, 1988. [CHA 89] J. CHAVANNE, G. MEUNIER, “A new model for non-linear anisotropic hard magnetic material”, IEEE Trans. Magn., vol 25, no. 4, July, 1989. [CHE 99] T. CHEVALIER, Modélisation et mesure des pertes fer dans les machines électriques, application à la machine asynchrone, Doctoral thesis, de l’Institut National Polytechnique de Grenoble, Génie Electrique, 1999.
242
The Finite Element Method for Electromagnetic Modeling
[CHE 00] T. CHEVALIER., G. MEUNIER, A. KEDOUS-LEBOUC AND B. CORNUT, “Numerical computation of the dynamic behavior of magnetic material considering magnetic diffusion and hysteresis”, IEEE Trans. Mag., vol. 36, no. 4, pp. 1218-1221, 2000. [CLE 00] S. CLÉNET, J. CROS, I. HAOUARA, P. VIAROUGE, F. PIRIOU, “A direct identification method of the hysteresis model for the design of SMC transformers”, IEEE, Trans. Mag., vol. 36, pp. 3369-3466, 2000. [COL 87] B.D. COLEMAN, M.L. HODGDON, “On a class of constitutive relations for ferromagnetic hysteresis”, Arch. Rational Mech. Anal., 99, no. 4, pp. 375-396, 1987. [DEB 01] O. DEBLECKER, Contribution à la modélisation des champs magnétiques dans les systèmes comportant des milieux non linéaires et hystérétiques, Doctoral thesis, Faculté Polytechnique de Mons, 2000. [DEL 82] DEL VECCHIO, “Computation of losses in non oriented electrical steels from a classical viewpoint”, J. Appl. Phys., 53(11), pp. 8281-8286, 1982. [DEL 91] E. DELLA TORRE, “Existence of magnetization dependent Preisach models”, IEEE Trans. Magn., vol. 27, no. 4, pp. 3697-3699, 1991. [DEL 94] F. DELINCE, Modélisation des régimes transitoires dans les systèmes comportant des matériaux non linéaires et hystérétiques, Thesis, Faculté des Sciences appliquées de Liège, 1994. [DIN 83] A. DI NAPOLI, R. PAGGI, “A model of anisotropic grain-oriented steel”, IEEE Trans. Mag., vol. 19(4), pp. 1557-1561, 1983. [EKE 73] I. EKELAND, R. TEMAM, Analyse convexe et problèmes variationnels, Dunod Gauthier-Villars, Paris, 1973. [ENO 94] M. ENOKIZONO, S. KANAO, K. YUKI, “Permeability tensor of grain oriented steel sheet”, J.M.M.M., 1994. [FAS 64] G.M. FASCHING, H. HOFMAN, “Die feldvektoren B und H schwacher magnetfelder in anisotropen Eisenblechen”, Z. Ang. Phys., 17, pp. 244-247, 1964. [GIV 85] D. GIVORD, A. LIÉNARD, R. PERRIER DE LA BATHIE, P. TENAUD, T. VIADIEU, “Determination of the degree of crystallites orientation in permanent magnets by x-ray scattering and magnetic measurements”, Le Journal de Physique, Vol. 46, no. C6, p. 313, September 1985. [GOL 00] C. GOLOVANOV, G. MEUNIER, G. REYNE, R. GROSSINGER, E. WITTIG, M. TARABA, “Eddy current analysis in permanent magnet under pulsed field”, Studies in Applied Electromagnetics and Mechanics, vol. 18, IOS Press, pp. 81-84, 2000. [GOU 98] C. GOURDIN, Identification et modélisation du comportement électromagnétoélastique de structures ferromagnétiques, Doctoral thesis, Paris University VI, 1998. [HAN 75] I.F. HANTILA, Rev. Roum. Sci. Techn. – Electrochn. Et Energ. 20, pp. 397-407, 1975.
Behavior Laws of Materials
243
[HAS 92] H. HASHIZUME, T. SUGIURA, K. MIYA, S. TODA, “Numerical analysis of electromagnetic phenomena in superconductors”, IEEE Trans. Magn., 28, 2, pp. 13321335, 1992. [HAU 97] A.O. HAUSER. “Calculation of superconducting magnetic bearing using a commercial FE-Program (ANSYS)”, IEEE Trans. Mag., vol. 33, no. 2, pp. 1572-1575, March, 1997. [HIE 95] P. HIEBEL, P. TIXADOR, X. CHAUD, “Lévitation magnétique par association d’aimants permanents et de supraconducteurs à haute température critique”, J. Phys., III France, 5, pp. 647-659, 1995. [HUT 84] D. HUTTENLOHER, H.W. LORENZEN, D. NUSHELER, “Investigation of the importance of the anisotropy of cold rolled electrical steel sheets”, IEEE Trans. Mag., vol. 20 (5), pp. 1968-1970, 1984. [JAH 87] J. JAHN, K. ELK, R. SHUMAN, J.M.M.M., 68, 335, 1987. [JIL 86] D.C. JILES, D.L. ATHERTON, “Theory of ferromagnetic hysteresis”, J.M.M.M., vol. 61, pp. 48-60, 1986. [JIL 92] D.C. JILES, J.B. TOELKE, M.K. DEVINE, “Numerical determination of hysteresis parameters for the modelling of magnetic properties using the theory of ferromagnetic hysteresis”, IEEE. Trans. Mag., vol. 28, pp. 27-35, 1992. [KED 86] A. KEDOUS, D. LEBOUC ET P. BRISSONNEAU, “Etude des pertes dans les tôles magnétiques soumises à des variations d’induction B(t) de forme trapézoïdale”, Rev. Phys. Appliquée, 21, pp. 269-275, 1986. [KIM 63] Y.B. KIM, C.F. HEMPSTEAD, A.R. STRNAD, “Magnetization and critical supercurrents”, Physical Review, 129, 2, pp. 528-535, 1963. [LEV 95] C. LEVILLAIN, P. MANUEL, P.G. THEROND, “Current, Induction Profiles and Hysteretic Losses in High-Tc Superconducting Tapes”, IEEE Trans. ASC-5, 2, pp. 705708, 1995. [MAI 69] A. MAILLEFERT, Contribution à l’étude de la pénétration macroscopique de l’induction magnétique dans les supraconducteurs de seconde espèce impurs, Doctoral thesis, d’état soutenue en novembre 1969 au sein du Laboratoire de Génie Electrique de Paris. [MAS 97] M. MASLOUH, F. BOUILLAULT, A. BOSSAVIT, J.C. VERITE, “From Bean’s model to the H-M characteristic of a superconductor: some numerical experiments”, IEEE Transactions on Applied Superconductivity, vol. 7, no. 3, pp. 3797-3801, September 1997. [MAY 91] I.D. MAYERGOYZ, Mathematical Models of Hysteresis, Springer-Verlag, New York, 1991. [NAK 75] T. NAKATA, Y. ISHIHARA, K. YAMADA, A. SASANO, “Non-linear analysis of rotating flux in the T-joint of a three-phase, three-limbed transformer core”, Proc. of the Soft Magnetic Materials 2 Conference, pp. 57-62, 1975. [PER 94] T. PÉRA, Lois d’aimantation anisotropes et non linéaires: modélisation et validation expérimentale, Doctoral thesis, l’Institut National Polytechnique de Grenoble, 1994.
244
The Finite Element Method for Electromagnetic Modeling
[PHI 95] D.A. PHILIPS, L.R. DUPRÉ, J.A.A. MELKEBEEK, “Magneto dynamic field computation using a rate dependent Preisach model”, IEEE Trans. Magn., vol. 30, no. 6, pp. 43774379, 1994. [PRI 96] L. PRIGOZHIN, “The Bean model in superconductivity: variational formulation and numerical solution”, J. Comp. Phys., 129, pp. 190-200, 1996. [PRI 97] L. PRIGOZHIN, “Analysis of critical-state problems in type-II superconductivity”, IEEE Transactions on Applied Superconductivity, vol. 7, no. 4, pp. 3866-3873, December, 1997. [ROU 96] L.L. ROUVE, Prise en compte du comportement fréquentiel des toles FeSi en modélisation électrotechnique, Doctoral thesis, l’Institut National Polytechnique de Grenoble, 1996. [SIL 91] P.P. SILVESTER, R.P. GUPTA, “Effective computational models for anisotropic soft B-H curves”, IEEE Trans. Mag., 27, p. 3804, 1991. [SPO 98] S. SPORNIC, Automatisation de bancs de caractérisation 2D des tôles magnétiques. Influence des formes d’ondes sur les mécanismes d’aimantation, Doctoral thesis, l’Institut National Polytechnique de Grenoble, Génie Electrique, 1998. [STE 89] J. STEFAN, “Über einige Probleme der Theorie der Wärmeleitung”, Sitz. Akad. Wiss. Wien, Mat.-Nat. Classe 98, pp. 473-484, 1889. [SYK 97] J.K. SYKULSKI, R.L. STOL, A.E. MAHDI, “Modelling HTc supraconductors and AC power loss estimation”, IEEE Trans. Mag., vol. 33, no. 2, pp. 1195-1198, March, 1997. [TIX 95] P. TIXADOR, Les supraconducteurs, Hermes, Collection matériaux, 1995. [TRE 99] E. DU TRÉMOLET DE LACHEISSERIE, Magnétisme, Presses Universitaires de Grenoble, 2 volumes, 1999. [VAS 96] F. VASILIU, F. BOUILLAULT, A. DEGARDIN, A. KREISLER, “Modelling of the electric characteristic of type-II superconductors by means of Ligurian minimization”, IEEE Trans. Magn., 32, 3, pp. 1144-1147, 1996. [VIN 00] E. VINOT, G. MEUNIER, P. TIXADOR, “Modeling superconductors with a power law”, Studies in Applied Electromagnetics and Mechanics, Non-Linear Electromagnetic Systems, vol. 18, pp. 179-182, 2000. [YOS 94] Y. YOSHIDA, M. USEKA, K. MIYA, “Magnetic field and Force analysis of high Tc superconductor with flux-flow and flux-creep”, IEEE Trans. Mag., vol. 30, no. 5, pp. 3503-3506, 1994. [WEG 76] P.T. WEGLER, “Computation of magnetic fields in non-linear anisotropic media with field dependent degree of anisotropy”, Proc. of Compumag, Oxford, pp. 168-176, 1976.
Chapter 6
Modeling of Thin and Line Regions
6.1. Introduction Some devices such as the tank and accessories of a transformer, ship hulls, airgaps in machines, contactors or magnetic recording heads, shielding, etc. are mainly made up of sheet or line type parts of thin air-gaps or cracks. Modeling these parts using traditional finite volume elements used in 3D software is tiresome, and even impossible. Moreover, the skin effect in ferromagnetic materials increases the difficulties of meshing eddy current problems in under sinusoidal conditions. To cope with these difficulties, it is possible to use special “shell elements” for the modeling of magnetic or thin conducting regions, “surface impedance” elements for the modeling of conducting regions having a low skin depth, etc. This chapter presents these special elements. 6.2. Different special elements and their interest We call a “thin region”, an region which has a low thickness compared to its other dimensions, and “neighbor regions”, the external regions which have a common border with the thin region. Electrotechnical devices are also made of line type parts such as clamping beams, bus bars of transformers, windings, etc.
Chapter written by Christophe GUÉRIN.
246
The Finite Element Method for Electromagnetic Modeling
Meshing thin regions and line regions using an automatic mesh generator, which generates tetrahedral elements in 3D (and triangular elements in 2D), result, because of the low thicknesses or weak sections, in a very significant number of elements or in elements which are too long. Some problems are difficult, even impossible, with current computing tools. The tetrahedral or triangular finite elements can have low accuracy when they are too long. An alternative to this difficulty of meshing the thin regions is the use of a mapped mesh generator or by extrusion which generates hexahedral or prismatic elements in 3D (quadrangular in 2D). The latter withstands a strong lengthening, which is not easy and takes time. The other way based on the use of an automatic mesh generator, consists of using special elements which allow the thin regions to be modeled by surfaces and line type regions to be modeled by lines. Thus, the description of the geometry and the mesh is largely simplified. The physical phenomena which occur inside these regions are taken into account in the integral formulation by surface or linear terms. The average surface (called * thereafter) which will describe a thin region will pass through the middle of this region.
Figure 6.1. Modeling of a thin region and a line type region with special elements
For some magnetoharmonic problems, the solid conductors are characterized by a strong skin effect. When the skin depth is small compared to the characteristic dimension of the conductor with a material with linear properties, the physical quantities such as the current or the magnetic field have a known exponential decay. The meshing of the conducting region with traditional volume elements must consist of elements which are smaller than the size of the skin depth. This situation will lead, for some problems, to a very high number of elements. Special surface elements, using the concept of surface impedance, which describe the surface of the conducting region, allow the exponential decay to be taken into account. They also allow the magnetic field to only be calculated on the surface and outside. The problems which are characterized with a low skin depth and which can require the use of such elements are, for example, problems of induction heating and problems relating to the transformers (tanks). Let us now consider a magnetoharmonic
Modeling of Thin and Line Regions
247
problem where there are thin regions of low thickness in which eddy currents flow. When the skin depth is lower than the thickness of the thin region and its material is linear, the variation of the quantities along the thickness is exponential. The common characteristic of special elements is to suppose known the variation of the physical quantities along the thickness of the thin region or the skin depth. We call “shell elements” the surface elements of a thin region to be described (see Figure 6.2).
Hyperbolic sinus variation (shell element)
Constant quality (shell element)
Figure 6.2. Various types of special surface elements ranked according to the variation of the physical quantities along the thickness
We can also rank the special elements according to types of unknown variables used by the associated formulations (fields, vector potentials, scalar, electric, magnetic). According to the type of physical problem that represents a thin region, and according to the unknown variable type, we have two types of shell elements: elements “without potential jump” and elements “with potential jump”. If the potential is constant through the thickness, the element is known as “without potential jump”, otherwise, it is known as “with potential jump” and the unknown variables are duplicated in each node of the element (see Figure 6.3). V3h V3
V1h V3b
V1 V1b V2h V2
Element without potential jump
V2b
Element with potential jump
Figure 6.3. Element without potential jump and element with potential jump
248
The Finite Element Method for Electromagnetic Modeling
Let us take the example of a thin plate consisting of a ferromagnetic material of high permeability. The plate is surrounded by air. The induction and the field in this plate are mainly tangent since the flux is channeled by it. If the total scalar potential is used, the magnetic field is written H = –grad I, the equipotential surfaces are perpendicular to the surface of the plate. Thus, the potential at point A on a side of the plate will be equal to the potential at point B which is opposite (see Figure 6.4).
Figure 6.4. Constant potential I through the thin region
The modeling of the plate will require only one special element without a potential jump [BRU 91]. Let us note that in scalar potential, the continuity of the tangential component of the magnetic field is exactly assured by the nodal finite elements. It can be shown that the use of the magnetic vector potential requires an element with a potential jump for the modeling of the plate. On the other hand, for the dual problem, the thin air-gap of a magnetic circuit, where the induction is mainly normal, a special element with vector potential could be without jump and an element in scalar potential will necessarily be with potential jump [NAK 90]. The nodal finite elements exactly ensure the normal component of the induction in vector potential. We can extrapolate these observations for the other magnetostatic, magnetoharmonic, transient magnetic formulations, etc. which comprise various types of thin regions. They are, for example, a magnetic circuit air-gap, a ferromagnetic plate in the air, a conducting plate in the air, a crack of a low thickness slightly conducting in a conductor, etc. The following table indicates, for the potentials used in the thin regions and the neighboring regions, if the special element requires a potential jump or not. The use of special elements for the modeling of thin regions has other advantages: – thickness e of the thin region which can be changed without modifying the geometry or the mesh in order to carry out parametric studies easily according to this thickness e; – the time of calculation which is reduced compared to the use of traditional volume elements [NAK 90].
Modeling of Thin and Line Regions Magnetostatics Ferromagnetic thin sheet
B
Pe << P
Pe >> P
Conducting thin sheet
A
Formulations in B A, AV, A*, E
Jump
H
Ve >> V
Ve << V TIѽ H
Jump
Without jump
Crack
B
I, Ir
Formulations in H I, Ir, TIѽ H
Magnetodynamics
Air gap
H
249
Jump
Without jump AV, A*, E
Without jump
Without jump
Jump
Table 6.1. Element with jump and element without jump of the unknown variable. Pe, Ve: permeability and conductivity of the thin region, P, V: permeability and conductivity of the neighboring regions
6.3. Method for taking into account thin regions without potential jump The method presented here allows any type of thin region to be described with any nodal or edge approximation formulation by surface elements without potential jump [BRU 91]. This method is valid in the case of thin regions where the potentials are of constant thickness, i.e. in which the physical quantities, such as the magnetic field and current density, do not vary with the thickness. Let us denote by e, the thickness of the thin region. The process of obtaining the formulation for the thin region consists of decomposing the volume integrals of the volume formulation into a line integral along thickness e and a surface integral along surface *of the thin region.
³ : F d:
³ * ³ e F dz d*
[6.1]
where F is the integrating term of the integrals of the volume region formulation. As the potentials and the physical quantities are considered constant along the thickness, the linear integral is obvious. It is worth eF. Thus, the terms of the finite elements formulation for the thin region are obtained by transforming the terms of the formulation for volume elements into surface integrals, by multiplying them by thickness e and using the shape functions of surface elements instead of those of volume elements.
250
The Finite Element Method for Electromagnetic Modeling
We take, as an example, the formulation for the total magnetic scalar potential. The linear system for this formulation for volume regions is written (see [BRU 91]):
>A@>I @ >C @ with > Aij @
>Ci @
[6.2]
³: grad wit >P @ grad w j d: , ³: grad wit B d:
where B is the induction. The matrix terms for the formulation of thin regions can be written: – for ª¬ Aij º¼ : – for ª¬Ci º¼ :
³ * e grad s wit ª¬ȝ º¼ grad s wj d * ;
³ *e grad s wi t B ds .
6.4. Method for taking into account thin regions with potential jump
The idea is to consider a surface element with potential jump as a prismatic element. We make the assumption that the potential is considered linear in the direction of the element thickness. Thus, quantities such as the magnetic field are supposed to be constant in the thickness. The prismatic element has a first order interpolation function along the thickness and any order along the other directions. We will integrate the interpolation functions along the thickness in order to obtain the formulation of an element with potential jump [SUR 86] [POU 93]. Two valid methods for a nodal approximation are successively presented [GUE 94a]. The formulation in total scalar potential is taken as an example for the application of these methods. In the first method, the integrals of the shape functions along the thickness are calculated in an analytical way before assembly and any numerical processing. In the second method, which is a more general approach, the integration is performed numerically, at the time of integration of the matrix terms in the matrix. We assume here that the elements with potential jump have their nodes duplicated. The duplicated nodes are at the same coordinates as those of the origin.
Modeling of Thin and Line Regions
251
6.4.1. Analytical integration method
We consider a reference coordinate system related to the element. Let us write x,y for the tangential curvilinear coordinates on average surface * of the element and z for the one normal on the surface of the element. We must consider curvilinear coordinates x,y,z of the real element expressed in the local reference coordinate system and not those of the reference element, in order to take into account the thickness of the element. Thickness e is assumed to be constant in each element. The magnetic scalar potential I is interpolated using the approximation functions of w’i of the prismatic element which has n’ = 2 n nodes: n'
¦ w'i x, y, z Ii
I
[6.3]
i 1
Functions w’i and w’i+n differ only by the terms according to z, which allows the Lagrangian functions wi(x,y) to be defined. These functions are the surface interpolation functions on average surface * and O1(z) and O2(z) which are the Lagrange interpolation functions in the thickness, i.e., those of a nodal line element of the 1st order with 2 nodes of length e. The potential is written: n
n
i 1
i 1
¦ wi x, y O1 ( z ) Ii1 ¦ wi x, y O2 ( z ) Ii 2
I
12 ez , O2 12 ez and Ii1
with O1
Ii ,Ii 2
[6.4]
Ii n , i >1,n@
Indices “1” and “2” refer respectively to sides “1” and “2” of the element with potential jump. Thin region : is described by the formulation in total scalar potential. The volume terms corresponding to the thin region are written in their discrete form: n'
ª
º ¼
¦ « ³ P grad wi 'grad w j ' I j d:»
j 1¬:
[6.5]
252
The Finite Element Method for Electromagnetic Modeling
We are interested now in n first equations which correspond to the nodes on side “1” of the element. They are written:
°
n
³: P ® ¦ °¯ j
1
wwi wx
O1
wwi wy
O1
wi e
ª ww j ½ º½ ½ ww j O1 ° O2 ° «° »° ° «° wx »° ° ° wx ° «° ww j ° » °° ° ° ww j O1 ¾ I j1 ® O2 ¾ I j 2 » ¾ d: «® ° ° wy ° «° wy »° ° wj ° «° w j ° »° ° ° ° «° »° e ¿ ¯ ¬¯ e ¿ ¼ °¿
0
[6.6]
The other n equations which correspond to the nodes on side “2” of the element are obtained from the first n equations by permuting potentials Ij1 and Ij2. The volume integral on volume : is decomposed in a surface integral on * and an integral along z (F is the integrating term of [6.6]):
³: F d:
e/2
³* §¨© ³ e / 2 F dz ·¸¹d*
[6.7]
After integration and passage into the non-discretized integral form along z, the total formulation is thus written, using the surface gradient operators: eP
³:1 P1 grad wi gradI1 d:1 ³* 3 grad s wi grad s I1d* eP P P grad s wi grad s I 2 d* ³* wi I1 d* ³* wi I 2 d* 6 e e eP ³: 2 P 2 grad wi gradI 2 d: 2 ³* 3 grad s wi grad s I 2 d* eP P P ³* grad s wi grad s I1 d* ³* wi I 2 d* ³* wi I1 d* 6 e e
³*
[6.8] 0
[6.9] 0
The system of equations above is symmetric. The second equation can be deduced from the first by permuting indices “1” and “2”. 6.4.2. Numerical integration method
Unlike the previous method where an analytical integration was carried out, the integration along the surface and along the thickness is performed numerically, using the Gauss method, at the moment of integration of the matrix terms into the matrix, as for a volume element. We must consider the local coordinates u,v,w on the reference element. The approximation functions of the surface element with
Modeling of Thin and Line Regions
253
potential jump are calculated as for a prismatic element: the product of the approximation functions of a surface element without potential jump along * with those of a 2-node line element along the thickness is produced: wi (u,v,w) = wsj (u,v) . wƐk (w) , i >1 , n@, j >1 , ns@, k >1 , 2@ where wsj (u,v) (with j >1 , ns@) are the shape functions of the surface element, wƐk (w) (with k >1 , 2@) are those of the line element, ns is the number of nodes of the surface element and n = 2 ns is the number of nodes of the surface element with potential jump. The derivative of functions wi with respect to the local coordinates are written: w wi
w ws
wu
wu
wA ,
w wi
w ws
wv
wv
wA ,
w wi
ws
ww
w wA ww
[6.10]
We must now express the Jacobian matrix [J] 3 u 3 of the transformation of the real element with potential jump to the reference element. Let [J1] be the 2u3 matrix formed by the first two lines of [J], and [J2] be the 1u3 matrix formed by the third line of [J]. Matrix [J1] is calculated as follows:
>J1 @
ªw x « «w u «w x «w v ¬
wy wu wy wv
w zº » wu» w z» w v »¼
§ w wi ½ ¨° ° ¨° wu ° ¦ ¨ ® w w ¾ xi i° i 1¨ ° ¨° w v ° ¿ ©¯ n
yi
· ¸ ¸ zi ¸ ¸ ¸ ¹
[6.11]
Figure 6.5. Transformations of J1 and J2
[J1] is in fact the matrix of the transformation of the real surface element without potential jump, into the reference surface element without potential jump. [J2] is the
254
The Finite Element Method for Electromagnetic Modeling
matrix of the transformation of the real line element into the reference line element (see Figure 6.5). Let nu and nv be two orthonorms, at coordinates (u, v) in reference coordinate system (O,u,v) of the reference element. Vector nu, respectively nv, is parallel to vector Ou, respectively Ov. In reference coordinate system (O,x,y,z) of the real element, they are two tangential orthogonal vectors on the surface of the surface element point (x (u,v), y (u,v), z (u,v)). Matrix [J1] is formed of the two transposed vectors nu and nv. Let nw be the normal unit vector on the surface. Matrix [J2] is formed by the transposed vector nw multiplied by the half thickness e of the thin region, as indicated below:
>J 2 @
ªw x « «¬ w w
w y ww
w zº » w w »¼
e 2
nTw
[6.12]
In [6.12] nWT is multiplied by e/2, as the length of the line element is worth e in the real reference coordinate system (O, x, y, z) and is worth 2 in the reference coordinate system of the reference element (O, u, v, w). The polynomial derivatives with respect to the global coordinates (x, y, z) are given by: wwi ½ ° ° ° wx ° ° wwi ° ® ¾ ° wy ° ° wwi ° ° ° ¯ wz ¿
grad wi
wwi ½ ° ° ° wu ° 1 w w ° ° JT ® i ¾ w v ° ° ° wwi ° °¯ ww °¿
> @
[6.13]
The general term Aij of the linear system matrix corresponding to the formulation in total scalar potential is written like an integral on the real element: ª
n
º
T ³³es ³el « ¦ P grad wi grad w j I j »des del
«¬ j
1
[6.14]
»¼
After passage of the global coordinates to the local coordinates, this term becomes: u 1
v 1
w 1
ª n
º
T ³ ³ ³ « ¦ P grad wi grad w j I j »det>J @dudvdw
u 1 v 1 w 1
«¬ j 1
[6.15]
»¼
The integration on the element is carried out using the Gaussian-quadrature method. The functions which are integrated along the thickness are second-order
Modeling of Thin and Line Regions
polynomials of the form
12 r ez 12 r ez .
255
Two Gauss points lead to an exact
integration of these functions, at least except for the numerical errors, the Gaussianquadrature method integrating exactly a polynomial of order 2m-1 with m points of integration. The method presented here is general and easy to implement. In fact, it applies to any formulation: the integration and the assembly of the surface element with potential jump are performed in the software in a similar way to the integration and the assembly of a traditional volume element. The difference in treatment between the two types of elements lies only in the retrieval of the interpolation functions and derivatives of these functions with respect to the coordinates: for a surface element with potential jump, the functions of the line element and those of the surface element are combined. 6.5. Method for taking thin regions into account
The method presented here is similar to the method described in section 6.3 for taking into account thin regions without potential jump. It makes it possible to describe any type of line region with any formulation with nodal or edge interpolation by line elements. This method is valid in the case of line regions where the potentials are constant in the section, i.e. in which the physical quantities, such as the magnetic field and current density, do not vary in the section. The method is deduced from the one described in section 6.3, by considering section s of the line region instead of thickness e of the thin region [BRU 91]. The formulation for the line region consists of breaking up the volume integrals of the volume formulation into a surface integral along section s and a linear integral along line O of the line region.
³ : F d:
³ O ³ s F dz d*
[6.16]
where F is the integrating term of the integrals of the formulation for volume regions. As the potentials and the physical quantities are considered constant along the thickness, the surface integral is obvious. It has a value sF. Thus, the terms of the finite element formulation for the line region are obtained by transforming the terms of the formulation for volume elements into line integrals, by multiplying them by section s and by using the shape functions of the line elements instead of those for volume elements. For example, for the formulation in total magnetic scalar potential of section 6.3, the matrix terms for the formulation for line regions are written:
256
The Finite Element Method for Electromagnetic Modeling
– for ª¬ Aij º¼ : – for ª¬Ci º¼ :
³ O s gradA wit >ȝ @ gradA w j d O ; G ³O s gradA wi B d O .
6.6. Thin and line regions in magnetostatics 6.6.1. Thin and line regions in magnetic scalar potential formulations
6.6.1.1. Thin and line regions without potential jump Since the surface or line elements are without potential jump, we take into account only the surface gradients in thin or line regions without potential jump in magnetic scalar potential formulations. The magnetic scalar potentials make it possible to take into account the regions in which fields H and B are mainly tangent with the thin or line region. The permeable regions and regions with tangent magnetizations can then be taken into account [BRU 91]. The surface and line formulations without potential jump are obtained from the volume formulation thanks to the methods described in sections 6.3 and 6.5. 6.6.1.2. Thin regions with potential jump In thin regions with potential jump in scalar potential formulations, fields H and B can have any direction [GUE 94a]. Fields H and B must be constant in the thickness of the region. Such regions thus make it possible to describe thin air-gaps, permeable regions, as well as regions with magnetization of any direction. The surface formulation with potential jump is obtained from the volume formulation thanks to the method described in section 6.4. 6.6.1.3. Air-gap edges in magnetic scalar potentials When a magnetic circuit with a thin air-gap is described with magnetic scalar potentials, there is a potential jump on all the surface of the air-gap, which is prolonged in the air, beyond the edge. When this air-gap is described by a thin region with potential jump, this thin region must be prolonged in the air, until the potential jump is assumed to be negligible. On the edge of the thin region of the prolonged air-gap, the degrees of freedom on the two sides are then confounded (I1 = I2) [GUE 94a].
Modeling of Thin and Line Regions
257
6.6.1.4. Example: magnetic circuit with air-gap Air-gap
Figure 6.6. Magnetic circuit with thin air-gap in magnetic scalar potential (reduced in the air and the air-gap, total in the magnetic circuit). On the right: isovalues of induction on the vertical symmetry plane
6.6.2. Thin and line regions in magnetic vector potential formulations
6.6.2.1. Thin and line regions without potential jump Thin regions without potential jump in a magnetic vector potential formulation make it possible to take into account the surface currents (layers) and the thin airgaps, and the line regions to take into account the linear currents [NAK 90], [BRU 91]. The surface and line formulations without potential jump are obtained from the volume formulation thanks to the methods described in sections 6.3 and 6.5. 6.6.2.2. Thin and line regions with potential jump In thin regions with potential jump in nodal vector potential formulation, fields H and B can have any direction. Fields H and B must be constant in the thickness of the region. Such regions then make it possible to describe thin magnetic regions, thin air-gaps or surface currents (layers) [GUE 94a]. The surface formulation with potential jump is obtained from the volume formulation thanks to the method described in section 6.4. 6.7. Thin and line regions in magnetoharmonics
In magnetoharmonics, for eddy current problems, special elements are used in the following cases: – solid conducting regions where the skin effect is strong: the skin depth is much lower than characteristic dimension of the thin region;
258
The Finite Element Method for Electromagnetic Modeling
– conducting thin regions. Several cases can arise depending on whether the skin depth is higher or lower than the thickness of the thin region; – conducting line regions; – slightly conducting or insulating thin regions in a solid conducting region. 6.7.1. Solid conducting regions presenting a strong skin effect
6.7.1.1. The surface impedance condition For a linear, homogenous and isotropic material, the skin depth in the conductors is calculated by:
G
2 / VZP
[6.17]
Meshing difficulties appear when skin depth G becomes smaller compared to the characteristic dimension of the solid conductors to be modeled. This situation occurs when either the frequency, permeability or resistivity is high. Surface impedance Zs connects the tangential component to the surface of the conductor of the magnetic field H to the tangential component of the electric field E by the following relation: nuE
Z s n u n u H
[6.18]
where n is the unit vector normal at the surface and outgoing from the conducting region. In order to obtain a first expression of the surface impedance, we must consider the problem of a plate with an infinite thickness subjected to a uniform sinusoidal field parallel with the side of the plate which is composed of a linear material. This one-dimensional problem is solved in [STO 74]. The complex impedance found is constant, i.e. independent of the value of the field. It will be called “surface impedance in the one-dimensional (or 1D) approximation”: Zs
Hs
1 j
Es
VG
[6.19]
Modeling of Thin and Line Regions
259
Figure 6.7. Plate of infinite thickness in a uniform field
This surface impedance associated with the finite element method is used on any geometries and not only plane ([KRA 88], for example). In 2D, a formulation in vector potential using the 1D approximation can be used [HOO 85]. In 3D, the magnetic scalar potential is generally used as state variable [GUE 94a], sometimes the magnetic vector potential A associated with the electric scalar potential V [LOU 95]. For the description of the regions outside the conductors, the method of boundary integrals can be used [KRA 88] [TAN 88]. In this case, only the surface of the conductor has to be meshed, but the rigidity matrix is full. The finite element method can also be used, which leads to a sparse band matrix [ROD 91], [GUE 94a]. 6.7.1.2. Validity and limitations of the surface impedance condition There is a limitation of topological order, which is related to the magnetic scalar potential. In fact, when the conducting region is non-simply connected, i.e. it comprises at least one hole, this potential cannot be used without specific processing. There are also limitations of a geometric nature, during the use of the expression of the surface impedance in the one-dimensional approximation. This expression is valid if the following conditions are checked: – G << L
L: characteristic length of the conductor;
– G << R
R: characteristic curvature radius of the conductor.
Moreover, the one-dimensional approximation is no longer valid when the problem consists of edges or corners, or when the radius of curvature is small compared to the skin depth. Surface impedance formulae modified for small curvature radii, for edges with 90° or for an edge of any T angle are proposed in [DEE 90] [JIN 93].
260
The Finite Element Method for Electromagnetic Modeling Strong features
Weak features
– Easy implementation
– Bad accuracy in the corners and edges if the one-dimensional value of the surface impedance is used
– Low CPU time cost
– Good accuracy when the skin depth is – Taking into account conductors which are small non-simply connected is impossible without – No volume meshing inside the conductors specific processing Table 6.2. Strong and weak features of the surface impedance method in magnetic scalar potential compared to a volume formulation H, E, AV, T-:
6.7.1.3. The surface impedance condition in magnetic scalar potential Several presentations of the surface impedance formulation in reduced scalar potential exist: [BOS 84], [TAN 88] or [KRA 88]. The formulation presented in this section is taken from [GUE 94a]. The materials must have an isotropic permeability and an isotropic linear conductivity.
Figure 6.8. Notations of the formulation
The quantities subscripted by “0” are the values of these quantities on surface * of conductor :c. Those subscripted by “s” are the quantities on * tangential to *. By considering the case of the plate of infinite thickness [STO 94], the variation of the quantities along direction z is exponential:
E z
E0 e
1 j
z
G ,
H z
H0e
1 j
z
G ,
J z
J0e
1 j
z
G
[6.20]
The tangential magnetic field is expressed with tangential source field Hjs and reduced scalar potential Ir:
Modeling of Thin and Line Regions
Hs
261
[6.21]
H js - grad s I r
The formulation in reduced potential, in the air region :, is recalled below:
³: P 0 grad w grad I r d: ³* wB n e d*
³* P 0 wH j n e d *
[6.22]
where ne is the outgoing normal of region :: ne = -n. The second term of [6.22] is transformed thanks to surface impedance relation [6.18] in order to take into account the conducting region. Faraday’s law curl E = -jZB makes it possible to express the normal of induction B on conductor surface *: Bn = -1/(jZ) curl En. Galerkine’s method on surface * is applied to this relation, which is then transformed thanks to the vector analysis formulae and Stokes’ theorem:
³* wB n d*
1 jZ
³* E u n grad wd*
1
³ wE dO jZ O
[6.23]
The third term of relation [6.23] is a linear integral on a contour O located on surface *. It is zero on the edge between two surface elements located on the conductor surface, to ensure the continuity of the tangential component at the edge of the electric field E. This term is also zero on a symmetry plane where the condition H u n’ = 0 is imposed (Ir = 0) and on a symmetry plane where the condition Hn’=0 is imposed (n’ is the normal to the symmetry plane). Expression (Eun) in the second term of [6.23] is expressed according to the tangential field on surface Hs, by using the surface impedance relation [6.18] and property n u (n u H s ) = (n H s )n (n n)H s : Eun
Es u n
Z s(n u H s ) u n
Z s
Hs
[6.24]
Relation [6.23] is thus written:
³* wB n d*
1
³ Z s grad s w H s d* jZ *
[6.25]
The final formulation is obtained by using [6.21] in [6.25], and [6.25] in formulation [6.22]:
262
The Finite Element Method for Electromagnetic Modeling
³: P 0 gradw grad I r d: ³* P 0 wH j n e d*
1 jZ
1 jZ
³* Z s grad s w grad s I r d* [6.26]
³* Z s grad s w H j d*
The formulation in total potential is obtained by canceling the terms due to the source field Hj in the previous equation. The passage condition (H2 – H1) u n = K states that the surface current density K is due to the jump of the tangential component of the field through the layer of skin depth, where H1 = Hs and H2, which is the field inside the conductor, is assumed to be negligible with a certain depth. K and the surface density of Joule losses Pj are expressed according to field Hs calculated using potential Ir thanks to [6.21] [KRA 88] [GUE 94a]: K
n uǾ s ,
Pj
1
Re( Z s ) H s 2
2
[6.27]
6.7.1.4. Validity of the condition in the presence of permeable conductor When the permeability of the conducting region is sufficiently high and the frequency is not too high, the magnetic field in the air on conductor surface * is mainly normal on this surface. The numerical application of the surface impedance condition in reduced scalar potential gives bad results in this case. This problem of numerical inaccuracy is similar to the well-known permeable region problem described by the formulation in reduced potential in magnetostatics: the tangential component of the total field, which is weak, is the difference in two great numbers [PRE 92]. A solution to solve this problem consists of using the surface impedance condition in total scalar potential to describe the conductor, instead of reduced scalar potential, and including this conductor in an region of air in total scalar potential; the possible coils being in an region of air in reduced scalar potential. In [BOS 86], criteria are given to determine if the field is mainly tangential or normal on the surface of the conductors:
P0 G G !! and 1 , the field is mainly tangential; L P L P P G and 0 1 , the field is mainly normal. – if 0 L P P – if
Modeling of Thin and Line Regions
263
6.7.1.5. Taking into account magnetic nonlinearities with the surface impedance condition 6.7.1.5.1. Use of a step function B(H) curve Preston and Deeley have developed surface impedance type methods in 3D in scalar potential for strongly saturated materials [PRE 82], [DEE 79], [DEE 86]. They have used the traditional model by Agarwal and MacLean. In this calculation model of the losses in strongly saturated steel sheets, curve B(H) is a rung (see Figure 6.9 below) [MAC 54], [AGA 59]. Under these conditions, simple loss and surface impedance formulae are obtained analytically. Bo
H
Figure 6.9. B(H) curve in Agarwal’s model
More generally, there are two extreme cases: on the surface of the conductors, either the magnetic field is assumed to be sinusoidal, or the electric field is assumed to be sinusoidal. Actually, neither the electric field nor the magnetic field is sinusoidal, except in rare cases where it is possible to consider a 1D problem. The calculations carried out to obtain the surface impedance formulae (ZsH) in the case of the sinusoidal magnetic field are detailed in [MAC 54] and [AGA 59] and in [LOW 76] in the case of the sinusoidal electric field (ZsE). Z sH
with G
8
1
3S VG
2 j
and Z sE
2
2H 0
VZP ( H 0 )
VZB ( H 0 )
27S 3 1 § 4 · j¸¸ ¨¨1 3S ¹ 2 5 VG ©
[6.28]
where H0 is the peak tangent magnetic field and G is the penetration depth of the field for a nonlinear material. As the surface impedance depends on tangential field H0, it is necessary to perform iterations to adjust this surface impedance, by starting with a zero field and by taking, at iteration n, the field found in the previous iteration (so-called fixed point method). In practice, 4 to 6 iterations are required. It is preferable to use the induction corresponding to the real curve B(H) rather than induction B0 of the
264
The Finite Element Method for Electromagnetic Modeling
idealized step function curve. The results are accurate on a wider range of fields (from low to high fields). In order to ensure that the surface impedance formula is also valid in the first zone of curve B(H) (weak fields), the nonlinear and linear formulae can be weighted by a function of field H0 [FORD 94]. 6.7.1.5.2. Use of a 1D finite element model The method presented here is more accurate than the previous one [KRA 97] [AYM 97]. It uses the solution of a 1D problem and an energy equivalence for taking into account materials with a nonlinear characteristic B(H). The solved 1D problem is the conducting plate problem having infinite thickness, subjected to a magnetic field parallel to its surface and uniform, where the plate has a nonlinear B(H) characteristic. The imposed field is such that either the magnetic field is time varying sinusoidal, or the induction is sinusoidal. The 1D problem is solved step by step over time using finite elements. For an imposed magnetic field H1, impedance Zs is calculated according to the surface density of active power Ps and of reactive power Qs by formula [AYM 97]: Zs
2
dPs j dQs H12
[6.29]
Before the principal resolution, at the beginning of this one, a characteristic Zs(H1) is calculated. For this purpose, several impedances which correspond to various amplitudes of the imposed magnetic field H1 are calculated. We calculate points on curve Zs(H1) which allow all of curve B(H) to be described. Each calculated point corresponds to the resolution of the 1D problem with an amplitude H1. The curve is obtained by interpolation between each point of calculation. During the principal resolution, this curve Zs(H1) is directly used. As this impedance depends on the field on the surface of the conductor, iterations should be carried out, as for the method of the previous section, by the method known as the fixed point method. 6.7.1.6. Example: transformer with its tank This is about a 50 Hz three-phase, three-limb distribution transformer. The magnetic circuit which is laminated is described by an region with a constant permeability with the formulation in total scalar potential. The oil inside the tank, which has the same permeability as that in the air, is described by the formulation in reduced scalar potential. As the tank is made of magnetic steel, the skin depth, approximately 3 mm at 50 Hz, is much lower than the thickness of the tank (1 cm). The field on the external side of the tank, which is an almost perfect screen, is thus considered zero. The internal surface of the tank is described by the surface impedance condition in reduced scalar potential. Calculations were carried out first
Modeling of Thin and Line Regions
265
with a linear B(H) characteristic of the tank then with a nonlinear one. The presence of two symmetry planes makes it possible to describe only a quarter of the device.
Figure 6.10. On the left: quarter of the geometry of the transformer described in software FLUX3D (only the middle voltage (MV) and high voltage (HV) coil windings of the one of the three phases of the transformer are represented). On the right: arrows of the surface current density at a given instant, and isovalues of Joule losses in the tank (the darkest grays represent the highest losses), at rated conditions
6.7.2. Thin conducting regions
6.7.2.1. Formulations in magnetic scalar potential D. Rodger has proposed an interesting formulation for dealing with thin conducting regions in the case G >> e. It uses a scalar quantity “t” linked to the surface current density in the thin region and the magnetic scalar potential for the neighboring regions [ROD 87], [ROD 88], [ROD 92]. Nevertheless, the permeability of the thin region and the neighboring regions must be the same. We present in this section a more general formulation which allows the modeling of permeable thin regions while taking into account the skin effect in the thickness [GUE 94a]. This formulation, in magnetic scalar potential, requires surface elements with potential jump. The analytical solution of the conducting plate problem having a finite thickness subjected to transverse uniform fields is used [STO 74]. This analytical solution allows the surface impedances to be obtained, which will be used to obtain the formulation. This formulation was proposed in [KRA 90], [KRA 93] coupled with the boundary integral equations to take into account the neighboring regions. The formulation presented here was adapted for neighboring regions described by the finite element method [GUE 94a].
266
The Finite Element Method for Electromagnetic Modeling
The only validity condition of this formulation is the one which states that the region must be thin: e << L where L is a characteristic length of the thin region. The materials must have a linear and isotropic permeability and conductivity. 6.7.2.1.1. Equations in the thin region
Figure 6.11. Notations
Let us take H1s and H2s as the tangential magnetic fields on both sides of the thin region :. The analytical solution of the one-dimensional problem of the finite thickness plate subjected to imposed fields H1s and H2s is given in [STO 74]. The expression of the field is written: 1 ª H1s sh §¨ ae az ·¸ H 2 s sh §¨ ae az ·¸º» ¹ ¹¼ © 2 © 2 shae «¬
H s ( z)
with a
1 j
G
[6.30]
.
Current density J is tangential to the thin region. Ampere’s law curl H = J allows the expression of J to be obtained by deriving the expression of H above with respect to z: J ( z)
n1 u
wH s z wz
a sh ae
n1 u ª« H1s ch§¨ ae az ·¸ H 2 s ch§¨ ae az ·¸º» © 2 © 2 ¹¼ ¹ ¬
[6.31]
The electric fields E1 on the “side 1” surface of the plate (E1 = E(z/2) = UJ(z/2)), and E2, on side “2” (E2 = E(–z/2) = UJ(–z/2)), can thus be written: E1
n1 u E H 2 s D H1s
[6.32]
E2
n2 u E H1s D H 2 s
[6.33]
with the complex surface impedances D
a
V thae
and E
a
V shae
.
Modeling of Thin and Line Regions
267
Relations [6.32] and [6.33] bind surface feature electric fields E1 and E2 to H1s and H2s, tangential magnetic fields on both sides of the thin region :. It is noted that relation [6.33] can be obtained from relation [6.32] by permuting indices “1” and “2”. 6.7.2.1.2. Formulation finite elements in reduced scalar potential The following proof is similar to that in section 6.7.1.3, concerning the surface impedance condition, but differs by the thin region which comprises two borders instead of only one. Thereafter, we will focus on side “1” of the thin region. The formulation in reduced scalar potential in neighboring region :1 can be written:
³:1 grad w P1 grad I1 d: ³* wB n1 d*
[6.34]
³* P1 wH j n1 d*
The second term of [6.34] is transformed thanks to relations [6.32] and [6.33]. Thus, this term and the one corresponding to region : allow regions : and : to be coupled and the thin conducting region to be taken into account. We use relation [6.23] which is valid on both borders of thin region :. On the border of side “1”, this relation is written:
³* wB1 n1 d*
1 jZ
³* E1 u n1 grad wd*
1
[6.35]
³ wE1 dO jZ O
The line integral term disappears with the boundary conditions, and between 2 adjacent elements for the same reasons as in section 6.7.1.3. The tangential fields H1s and H2s are expressed according to the tangential source field Hjs and of the reduced potential, by: H1s = Hjs - grads I1,
By using the electric field expression [6.32] and n u (n u H s ) = (n H s )n (n n)H s , relation [6.35] becomes:
³* wB1 n1 d*
1
[6.36]
H2s = Hjs - grads I2
³ grad s w DH1s EH 2 s d* jZ *
the
propriety
[6.37]
The formulation in the thin region represented by the relation above, can now be coupled with the one of the formulation of the neighboring region :, in order to ensure the continuity of the normal component of induction B ((B2–B1)n1 = 0) at
268
The Finite Element Method for Electromagnetic Modeling
the crossing of the interface. Having replaced relations [6.36] and [6.37] in [6.34], we obtain the final formulation:
³:1 P1 grad w grad I1 d:1
1
jZ 1
jZ
³* E grad s w grad sI 2 d*
1 jZ
³* D grad s w grad sI1 d* ³* wP1 H j n1d *
³* D E grad s w H j d *
[6.38]
Equation [6.38] corresponds to side “2” of the thin region. It is necessary to associate with it the second equation which corresponds to side “1”, which is deduced from [6.38] by permuting indices “1” and “2”. The total scalar potential formulation is obtained by canceling the terms due to source field Hj in equation [6.38]. The passage condition (H2 – H1) u n = K allows the surface current impedance to be expressed as a function of the scalar potential. K
n1 u grad s I1 I 2
[6.39]
The surface density of Joule losses is expressed according to the tangential components of the magnetic fields on the two sides of the thin region H1s and H2s, by [GUE 94a]:
P
1
1 §¨ 2¨
©
H1s
VG
2
2· H 2 s ¸¸sh 2J sin 2J H1s H 2*s H1*s H 2 s shJ cos J chJ sin J ¹ ch 2J cos 2J
e and, the surface density of reactive power is expressed according to G magnetic fields H1 and H2 by [GUE 94a]:
where J
Q
1
VG
1 2
§ ¨¨ H1 ©
2
2· H 2 ¸¸sh 2J sin 2J H1 H 2* H1* H 2 chJ sin J s h J cos J ¹ ch 2J cos 2J
Modeling of Thin and Line Regions
269
Unlike the Joule losses, the reactive power is dependent on all the components of the fields. In fact, the Joule losses are calculated by integral 1/2V |J|² where current density J is tangential and is expressed according to H1s and H2s, whereas the reactive power is calculated by integral 1/2 P |H|² and is expressed according to the total magnetic field H. It can be shown that the variation of the normal component Hn(z) has the same variation as the tangential component Hs(z) given by [6.30]. In the extreme case where skin depth G becomes very small in comparison to thickness e, impedance D tends towards surface impedance ZS and coupling impedance E between the 2 sides becomes zero. Formulation [6.37] corresponds, in this case, to two conditions of surface impedance [6.26] on the two faces of the thin region, which decouples the 2 sides. Inversely, in the extreme case where skin depth G becomes very large in comparison to thickness e, impedances D and E tend towards 1/(Ve) and the power in the thin region becomes mainly resistive and the two sides are strongly coupled. 6.7.2.1.3. Edges of thin regions, line air-gaps and holes The condition I – I = constant on a line imposes that current density K is tangential with this line. Thus, the line currents are the equipotentials of I– I. When a thin region comprises an edge, this edge is a line current on which the condition “I – I = constant” must be imposed. In fact, the current density is characterized with a conservative flux in the thin region and only exists in this region. The constant is taken as equal to zero on the edge, which corresponds to confounding the degrees of freedom on the two sides: I = I [ROD 87]. Applying this condition I = I on a line allows insulating line air-gaps on a thin region to be described, for example, in the case of two jointed conducting plates, insulated between them. It is often the case of stator sheets of turbo-alternators, to reduce the losses by eddy currents. These line air-gaps must touch the edge of the thin conducting region, otherwise connectivity problems may occur [GUE 94a]. The magnetic scalar potentials can lead to problems of regions which are nonsimply connected when a thin region has holes. A solution consists of describing these holes as a material of low conductivity [ROD 87].
270
The Finite Element Method for Electromagnetic Modeling
6.7.2.1.4. Examples: transformer with its tank, conducting disk
Figure 6.12. 100 MVA three-phase, three-limb transformer under overloaded conditions. Tank modeled using surface elements taking into account the skin effect along the thickness. 6 HV and LV coils are not represented. On the left, view of surface meshing of the magnetic core and the tank. On the right, lines and cones representing the surface current density in the tank
Figure 6.13. Conducting disk with a line air-gap on a diameter, subjected to a vertical sinusoidal uniform field. On the right, lines and cones representing the surface current density
6.7.2.1.5. Composite shells The shields used in EMC (electromagnetic compatibility) are often made of several joined sheets of various materials. It is possible to take into account these associations of two or more layers with the formulation for thin conducting regions in magnetic scalar potential described in section 6.7.2.1 [ABA 01]. Let us consider two plates. Between these two plates, the tangential component of the magnetic field is conserved, thus the magnetic scalar potential I between these two plates is
Modeling of Thin and Line Regions
271
conserved. Let us take Iң and I as the potentials on the external sides of the plates. The potential I between the two plates is expressed by an affine combination of potentials Iң and I. Once Iҏ is suppressed in the initial matrix which is dependent on the unknown variables Iң, I and I, a system function of only Iң and I, which corresponds to a plate equivalent to the first two, is obtained. The method can be extended to a shield of more than two plates, by calculating the system which corresponds to a plate equivalent to two joined plates, then by calculating the system which corresponds to the equivalent plate coupled to another plate, then by continuing in a recursive way. 6.7.2.2. AV formulation 6.7.2.2.1. Thin regions and line regions without potential jump in AV formulation The AV formulation without potential jump allows thin conducting regions to be described when the skin depth is significantly larger than the thickness of the thin region. The neighboring regions must be described by a formulation in potential vector A: A formulation or AV formulation. When a thin conducting region is described by potentials A and V, the thin region is much more conducting than the neighboring regions, and the skin depth is large in comparison to thickness e, it can be shown that the current density is constant in the direction of this thickness [NAK 90]. Therefore, potentials A and V are constant in the thickness direction, the current is tangential on the surface of the thin region and the induction is normal in this surface. The validity conditions of this formulation are thus e << L, V >> Vext and G >> e, where L is a characteristic length of the thin region, e its thickness, V its conductivity, Vext the conductivity of the external region and G the skin depth in the thin region. AV formulation also allows conducting line regions to be described when the skin depth is significantly larger than the dimensions of the line region section. The surface formulation and the line formulation without potential jump are obtained from the volume formulation thanks to the methods described in sections 6.3 and 6.5. 6.7.2.2.2. Thin regions with potential jump in AV formulation In thin regions with potential jump in AV formulation, quantities H, B, J and E can have any direction. The skin depth must be larger than the thickness of the thin region. Under these conditions, quantities H, B, J and E are assumed to be constant in region thickness. Such regions thus allow slightly conducting thin regions in very conducting volume regions to be described, as well as thin conducting regions in the air, etc. The surface formulation with potential jump is obtained using the volume formulation thanks to the general method described in section 6.4.
272
The Finite Element Method for Electromagnetic Modeling
6.7.2.3. Other formulations for thin conducting regions The formulation for thin conducting region proposed by O. Biro uses as state variables scalar quantity t in the thin region and potential vector A in the external regions. In these regions, the potential vector is used to accept the non-simply connected regions [BIR 92]. Z. Ren has used a surface element without potential jump in electric field E with edge elements [REN 90]. The external regions are taken into account by an integral method. 6.8. Thin regions in electrostatic problems, “electric harmonic problems” and electric conduction problems
For electrostatic problems, “electric harmonic problems” and electric conduction problems the state variable used is generally the electric potential. For these applications, it is possible to perform a reasoning similar to that described in section 6.2 on magnetostatics, with the magnetic scalar potentials, for thin sheets and airgaps. For electrostatic problems and “electric harmonic problems”, the surface formulation with potential jump makes it possible to describe, for example, the thin cracks located in the dielectric of capacitors. For electrostatic problems, the surface charge densities can be described by thin regions with or without potential jump. For “electric harmonic problems”, the thin conducting regions with high permittivity surrounded by a vacuum can be described for the simulation of pollution on insulators. 6.9. Thin thermal regions
In thermal problems, the state variable used is generally the temperature. The surface formulation without temperature jump allows very good heat thin conducting regions to be described, i.e. having a great thermal conductivity compared to the medium where they are, for example, metal thin sections in the air, etc. In these regions, the heat flow must mainly be tangential. The surface formulation with temperature jump allows any type of thin region to be described, for example, the existing thin layers of low thermal conductivity in sandwich structures constituted by the power electronic components on their radiator. The surface densities of heat can also be described by thin regions with or without temperature jump.
Modeling of Thin and Line Regions
273
6.10. References [ABA 01] ABAKAR A., “Modélisation tridimensionnelle de systèmes électromagnétiques comportant des régions filaires et des régions minces: application en CEM 50 Hz à des dispositifs EDF”, PhD Thesis of INP Grenoble, April 2001. [AGA 59] AGARWAL P.D., “Eddy current losses in solid and laminated iron”, Trans. AIEE, vol. 78, Part II, 1959, pp. 169-179. [AYM 97] AYMARD N., “Etude des phénomènes magnétodynamiques pour l’optimisation de structures 3D de chauffage par induction à partir du code TRIFOU et d’essais sur prototypes”, PhD Thesis, Ecole doctorale des Sciences pour l’Ingénieur, Nantes, November 1997. [BIR 92] BIRO O., PREIS K., RICHTER K.R., HELLER R., KOMAREK P., MAURER W., “FEM calculation of eddy current losses and forces in thin conducting sheets of test facilities for fusion reactor components”, IEEE Trans. Mag., vol. 28, no. 2, March 1992, pp. 1