원시데이터 수집 시스템
선정목록으로

Efficient solution of 3D electromagnetic eddy-current problems within the finite volume framework of OpenFOAM

관련 산업용 섬유 · (10) 아라미드

기본 정보

저자
  1. Beckstein, Pascal
  2. Galindo, Vladimir
  3. Vukčević, Vuko
DOI
10.48550/arxiv.1612.06580
저널
arXiv (Cornell University)
발행년도
2022
발행기관
Cornell University
피인용수
0
라이선스
0
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.48550/arxiv.1612.06580
토픽
Composite Material Mechanics
OpenAlex ID
W6910645203

평가 내용

관련도
관련
사업분야
산업용 섬유 · (10) 아라미드
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '산업용 섬유 > 아라미드' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Eddy-current problems occur in a wide range of industrial and metallurgical applications where conducting material is processed inductively. Motivated by realising coupled multi-physics simulations, we present a new method for the solution of such problems in the finite volume framework of foam-extend, an extended version of the very popular OpenFOAM software. The numerical procedure involves a semi-coupled multi-mesh approach to solve Maxwell's equations for non-magnetic materials by means of the Coulomb gauged magnetic vector potential and the electric scalar potential. The concept is further extended on the basis of the impressed and reduced magnetic vector potential and its usage in accordance with Biot-Savart's law to achieve a very efficient overall modelling even for complex three-dimensional geometries. Moreover, we present a special discretisation scheme to account for possible discontinuities in the electrical conductivity. To complement our numerical method, an extensive validation is completing the paper, which provides insight into the behaviour and the potential of our approach.

본문 99,010자

본문 펼치기
## Efficient solution of 3D electromagnetic eddy-current problems within the finite volume framework of _OpenFOAM_ Pascal Beckstein <sup>a</sup>, Vladimir Galindo <sup>a</sup>, Vuko Vukˇcevi´c <sup>b</sup> _aHelmholtz-Zentrum_ _Dresden-Rossendorf,_ _Institute_ _of_ _Fluid_ _Dynamics,_ _Department_ _of_ _Magnetohydrodynamics,_ _Bautzner_ _Landstr._ _400,_ _Dresden,_ _Germany_ _bUniversity_ _of_ _Zagreb,_ _Faculty_ _of_ _Mechanical_ _Engineering_ _and_ _Naval_ _Architecture,_ _Ivana_ _Luˇci´ca_ _5,_ _Zagreb,_ _Croatia_ Abstract Eddy-current problems occur in a wide range of industrial and metallurgical applications where conducting material is processed inductively. Motivated by realising coupled multi-physics simulations, we present a new method for the solution of such problems in the finite volume framework of _foam-extend_, an extended version of the very popular _OpenFOAM_ software. The numerical procedure involves a semi-coupled multi-mesh approach to solve Maxwell’s equations for non-magnetic materials by means of the Coulomb gauged magnetic vector potential _A_ and the electric scalar potential _φ_ . The concept is further extended on the basis of the impressed and reduced magnetic vector potential and its usage in accordance with BiotSavart’s law to achieve a very efficient overall modelling even for complex three-dimensional geometries. Moreover, we present a special discretisation scheme to account for possible discontinuities in the electrical conductivity. To complement our numerical method, an extensive validation is completing the paper, which provides insight into the behaviour and the potential of our approach. _Keywords:_ eddy-currents, induction processing, potential formulation, Maxwell’s equations, finite volume method, block-coupling, OpenFOAM, foam-extend _Preprint_ _submitted_ _to_ _Journal_ _of_ _Computational_ _Physics_ _May_ _9,_ _2017_ 1. Introduction Eddy-current problems can be found in a wide range of industrial and metallurgical applications. The basic idea of such processes is to use alternating electromagnetic fields, originating from an inductor like a powered coil, to excite eddy-currents in electrically conducting material. Such induced currents produce secondary effects like electromagnetic forces and heat. Depending on the arrangement and geometry of one or more excitation coils in the proximity of the conductor, various different force fields may be tailored for special tasks. The spectrum of possibilities is further extended by the time-dependent behaviour of the driving source current density. Electromagnetic forces are mainly used for the processing of liquid materials e.g. for stirring, mixing, levitation or retention. The scope of possible applications for electromagnetic heat sources is versatile, too. This comprises processes like welding, hardening, melting or casting. The design of induction processing applications and its electromagnetic effects is often very difficult based only on experimental investigation or measurement. Insights from numerically modelling of eddy-current problems are thus very desirable. Especially in the field of liquid metal and semiconductor processing, most industrial applications rely on a complex interaction of hydrodynamic and electromagnetic effects. Covering multiple physical effects and their interaction is however challenging for numerical models and computer simulations, particularly in three-dimensional space. Electromagnetic phenomena are most commonly formulated and solved using the finite element method (FEM). Numerous different formulations with its own characteristics exist based on primary and secondary variables [1, 2, 3, 4, 5]. The physics is governed by the time-dependent Maxwell’s equations [6], which are defined on an unbounded domain. Depending on the application, more or less additional simplifications may be recognised. We will concentrate only on highly conducting, non-magnetic materials, such as nonferrous metals or semi-conductors at high temperatures. The unboundedness of Maxwell’s equations is approximately captured by means of a sufficiently large computational domain. For many industrial induction processes involving liquids, alternating magnetic fields are used with oscillation frequencies of 1 kHz and above. In those cases, solving a time-dependent electromagnetic problem may not be convenient as very small time-scales have to be resolved, while the time-scales of the coupled phenomena like fluid dynamics or thermodynamics may be in 2 dependent. If the difference in the order of magnitude of the time-scales is sufficient, a quasi-steady description of Maxwell’s equations is advantageous. In computational fluid dynamics (CFD), the finite volume method (FVM) is the favourable solution in contrast to FEM due to its conservative property [7]. Even though a combination of FEM and FVM for coupled magnetohydrodynamic (MHD) applications is possible [8], its realisation may suffer from reduced efficiency due to additional overhead. This is especially true for simulations with involved, time-dependent geometric changes, where recurring interpolation and grid generation may become a limiting factor. Staying in one single framework, either FEM or FVM, avoids such overhead. Our claim is to propose a method to solve three-dimensional eddy-current problems based on unstructured, polyhedral FVM, which can be implemented and combined readily within existing CFD-software. This development is motivated by our recent investigation of free-surface flows under the influence of electromagnetic forces in the context of the Ribbon Growth on Substrate (RGS) process [9, 10]. The main difficulty thereby is that for unstructured FVM, the size of the computational stencil is limited. Compact numerical stencils however conflict with a proper implicit discretisation of differential operators like _∇_ ( _∇·_ ( )) or _∇×_ ( ). Hence, a suitable formulation of the electromagnetic problem should preferably rely on differential operators which are typical for CFD and known from the Navier-Stokes-Equations [7]. We therefor use a description of Maxwell’s equations based on the Coulomb gauged magnetic vector potential _A_ and the electric scalar potential _φ_ [5]. An alternative formulation can be found in Djambazov et al. [11]. A closer look however reveals that their implementation is not feasible for very large problems. In the complex, quasi-steady formulation of the electromagnetic problem, the resulting governing equation system poses an additional challenge for a solution within a finite volume framework. A fully coupled approach of the whole system for a similar, geophysical problem was presented in [12, 13] for simple, structured meshes. Even though it is possible to solve the whole system fully coupled, it is not only difficult to implement for unstructured meshes, but it will also require tremendous amounts of memory. The CFD code _foam-extend_ [14], an extended version of the very popular _OpenFOAM_ [15, 16, 17], provides a special framework for the solution of coupled problems. The implementation for coupled equations is based on block-matrices, which use tensor-valued matrix coefficients. The development in this field is still very active (cf. [18, 19]) and is motivated mainly 3 to address the pressure-velocity coupling originating from the Navier-Stokes equations. To avoid the problems of a fully coupled discretisation, we propose a semicoupled approach in _foam-extend_ which treats the weak coupling between _A_ and _φ_ explicitly in a segregated manner (similar to the SIMPLE algorithm [20, 7]), while the strong coupling between the complex components of the phasor amplitude is addressed implicitly. The partially block-coupled solution renders techniques like source term linearisation (cf. [11]) obsolete and is much more robust at higher frequencies. Our semi-coupled proposal relies on the discretisation of a non-conducting region around the conducting region of interest. To maintain an effective method, a special multi-mesh implementation has been developed, where two overlapping finite volume meshes are being used. We will extend our proposal on the basis of the impressed and reduced magnetic vector potential and its usage in accordance with Biot-Savart’s law to achieve a very efficient overall modelling even for complex threedimensional geometries. Although the whole idea of this step is not new and has been used extensively in literature [3, 4, 21, 22] within different finite element frameworks, it is particularly helpful within the finite volume framework. The reason for this is simply that high quality, unstructured finite volume meshes of complex geometries are much more difficult to create than, for example, finite element meshes. Mesh skewness and non-orthogonality may degrade results as only compact numerical stencils are used. The application of inductors modelled on the basis of Biot-Savart’s law offers a great potential to reduce the size and geometrical complexity of the non-conducting region to a minimum, but it comes in general at high computational costs. In our solution concept, this application is very limited, not intended to be used on bulk volume data, and it is also not involved in any iterative steps. Even though we have to deal with a simplified nonconducting region, we expect our proposal to be much faster compared to e.g. [11], where Biot-Savart is iteratively used in a fully segregated approach. With the formulation of the electromagnetic problem based on the magnetic vector potential _A_, charge conservation of induced currents is not intrinsically satisfied. In fact, the electric scalar potential _φ_, more specifically its gradient, is adjusted to achieve a solenoidal current density field based on a derived Poisson-type differential equation. The corresponding equation is strictly valid only for a continuous electrical conductivity. For cases with large jumps in the electrical conductivity, e.g. at boundaries of different ma 4 terials, the conducting region has to be either split in several sub-regions or special care has to be taken during discretisation. In order to avoid additional regions with possibly complex geometries and to keep the setup of simulation cases simple, it is much more convenient to account for discontinuities in the process of discretisation. For instance in [12] a generalised current density has been used to address this problem for structured meshes. In order to address the discontinuity of the electrical conductivity, we follow the Ghost-Fluid-Method (GFM) procedure as presented in [23, 24] for free-surface flow simulations in unstructured FVM. The GFM defines one-sided extrapolations in the discretisation process, thus embedding the discontinuity into discretisation schemes [25, 26]. The method has been successfully used by Desjardins et. al. [27] for incompressible two-phase flows in a finite difference framework, while just recently, Lalanne et. al. [28] have provided a detailed overview of the treatment of tangential stresses in such flows. An approach very similar to the GFM is called embedded free-surface method [29, 30], where the discontinuities are taken into account using possibly higher order discretisation. In fact, Wang et. al. [31] note that the difference between the GFM and embedded free-surface method is simply in the treatment (discretisation) of discontinuities. Most of the research activity regarding the GFM and embedded free-surface method concerns two-phase flows, and to our knowledge, no one has applied these methods for electromagnetic eddy-current problems with a discontinuous electrical conductivity, yet. Note that in this work, we have chosen to refer to this newly developed approach as embedded discretisation because we feel that the name GhostFluid-Method would be misleading due to the absence of a fluid. The paper is organised in the following way: In Sections 2 and 3, governing equations, coupling mechanisms and time-harmonic excitation will be discussed. Afterwards, in Section 4, we will present our semi-coupled multimesh approach. In Section 5, the embedded discretisation scheme for jump discontinuities in the electrical conductivity is explained. To validate our whole numerical method, we will then investigate simulation results for two test cases in Section 6, and finally give a short summary. Our main goal is thereby devoted to providing a comprehensive overview including all important aspects to solve eddy-current problems with the help of _foam-extend_ . 5 Γ _∞_ Ω0 ( _σ_ _≡_ 0) _n_ _∞_ _j_ 0 ΩC ( _σ_ _>_ 0) _j_ <sup>_′_</sup> ΓC = Ω0 _∩_ ΩC _n_ C Figure 1: Typical setup for electromagnetic processing of conducting materials. An alternating source current in the induction coil induces eddy-currents in the conductor. The non-conducting region reaches up to a sufficiently large distance away from the coil and the conducting region. 2. Induced eddy-currents Figure 1 shows the scheme of a typical setup, which is widely used for electromagnetic processing of materials: An excitation coil, situated in a non-conducting region Ω0 ( _σ_ _≡_ 0) and represented by an alternating current density _j_ 0, is used to induce eddy-currents in a conducting region ΩC ( _σ_ _>_ 0) close to or usually inside the inductor. The conducting domain may contain multiple solid or liquid sub-regions with each locally varying electrical conductivity _σ_ . Both regions share the conductor interface ΓC = Ω0 _∩_ ΩC and the non-conducting domain is bounded by Γ _∞_ . _2.1._ _Governing_ _equations_ For highly conducting, non-magnetic materials, the local rate of change of electric charges and displacement currents may be neglected. This quasistatic approximation is common for various magnetohydrodynamic applications [32, 33] and can be formulated by means of a simplified differential form of Maxwell’s equations: _∇×_ _B_ = _µ_ 0 ( _j_ 0 + _j_ <sup>_′_</sup> ) (1a) _∇·_ _B_ = 0 (1b) _∇×_ _E_ = _−∂t_ _B_ (1c) _∇·_ _E_ = _ρ_ E _/ϵ_ 0, (1d) 6 where _B_ and _E_ denote the magnetic flux density and the electric field intensity, respectively, for the physical time _t_ . The distribution of electrical charges is represented by _ρ_ E and the total current density _j_ = _j_ 0 + _j_ <sup>_′_</sup> in Eq. (1a) comprises a purely induced part _j_ <sup>_′_</sup> and the part which represents the externally applied current sources _j_ 0 (cf. Fig. 1). For media with an isotropic electrical conductivity, the induced current density _j_ <sup>_′_</sup> is proportionally related to the electric field intensity via Ohm’s law ΩC: _j_ <sup>_′_</sup> = _σ_ _E_ . (2) Even in the presence of conducting liquids convected with a flow velocity _U_ on a length scale _L_, equation Eq. (2) is still an adequate approximation in the range of small Magnetic Reynolds numbers Rem = _µ_ 0 _σUL ≪_ 1, (3) for which flow-induced currents may be neglected [32, 33]. Due to the solenoidal character of the magnetic flux density and taking into account Faraday’s of induction (1c), the Coulomb-gauged [21] magnetic vector potential _A_ and the electric scalar potential _φ_ can be introduced as follows: _B_ = _∇×_ _A_, _∇·_ _A_ = 0 (4a) _E_ = _−_ ( _∂t_ _A_ + _∇φ_ ) . (4b) Consequently, Ampere’s circuital law (1a) and Eq. (4a) may be combined to one new governing equation for _A_ : Ω: (5) _∇× ∇×_ _A_ = _µ_ 0 ( _j_ <sup>_′_</sup> + _j_ 0) . Gauss’s law (1d) is only necessary if the distribution of electrical charges _ρ_ E is of interest. Exploiting the vector Laplacian identity _∇× ∇×_ _A_ = _∇_ ( _∇·_ _A_ ) _−∇_ <sup>2</sup> _A_, the gauge condition from (4a), the definition of the electric scalar potential (4b) and Ohm’s law (2), Eq. (5) can be further elaborated to: Ω: _∇_ <sup>2</sup> _A_ = _µ_ 0 _σ_ ( _∂t_ _A_ + _∇φ_ ) _−_ _µ_ 0 _j_ 0. (6) To obey flux continuity of the magnetic field, the Coulomb-gauged _A_ is itself continuous across the conductor boundary ΓC. Hence, Eq. (6) is valid 7 everywhere in Ω= Ω0 _∪_ ΩC. Depending on _σ_, it may nevertheless appear in two different shapes Ω0: _∇_ <sup>2</sup> _A_ = _−µ_ 0 _j_ 0 (7a) ΩC: _∇_ <sup>2</sup> _A_ = _µ_ 0 _σ_ ( _∂t_ _A_ + _∇φ_ ), (7b) since the implications Ω0: _j_ 0 _̸_ = 0 _⇒_ _σ_ = 0 (8a) ΩC: _σ_ _>_ 0 _⇒_ _j_ 0 = 0 (8b) hold for a setup similar to Fig. 1. Using the vector identity _∇·_ ( _σ∂t_ _A_ ) = _∇σ · ∂t_ _A_ + _σ∂t_ ( _∇·_ _A_ ) and the Coulomb-gauge condition, an additional equation for _φ_ can be derived from Eq. (4b) to ensure conservation of charges ( _∇·_ _j_ <sup>_′_</sup> = 0) in the conducting region: ΩC: _∇·_ ( _σ∇φ_ ) = _−∇σ · ∂t_ _A_ . (9) Equation (9) is strictly valid only if _σ_ is continuous everywhere in ΩC. Section 5 is solely dedicated to our corresponding embedded implementation for _σ_ for polyhedral (unstructured) meshes in _foam-extend_ . If the electric field _E_ in Ω0 is of interest, it can be calculated from the electric scalar potential _φ_ and _∇_ <sup>2</sup> _φ_ = 0, which follows from Eq. (1d) and Eq. (4b) if we assume _ρ_ E _≡_ 0. _2.2._ _Boundary_ _conditions_ For the sake of simplicity, boundary conditions for Eqs. (7) and (9) will only be detailed for the case illustrated in Fig. 1, where the conducting region ΩC is entirely surrounded by the non-conducting region Ω0. For different boundaries, like e.g. existing symmetry planes, further information can be found in specialised books such as [21]. Maxwell’s equations (1a) are actually defined for an unbounded domain. From the elliptic Eq. (6) or Eq. (7a) it is however apparent that the amplitude of _A_ will rapidly decay with increasing distance from current sources. That is, extending the non-conducting region only up to a sufficiently large, finite distance from the location of ΓC and _j_ 0, will still result in a good approximation for a numerical model. Recalling the solenoidal nature of _B_, it is obvious to assume closing magnetic field lines within our region of interest. This can be imposed assuming tangentially magnetic boundary conditions on 8 the far-field boundary Γ _∞_ : _n_ _∞_ _·_ _B_ = 0, where _n_ _∞_ denotes the corresponding normal vector. Using the Coulomb-gauge condition, an adequate constraint for _A_ reads: Γ _∞_ : _n_ _∞_ _×_ _A_ = 0, _n_ _∞_ _· ∇_ _A_ = 0 . (10) Expressed in words, this means the tangential components of _A_ and its normal-derivative need to vanish on Γ _∞_ to achieve a consistent behaviour. A simpler (but stiffer) constraint for _A_ at Γ _∞_ is to use homogeneous Dirichletconditions _A_ _|_ Γ _∞_ = 0, assuming a fully decayed magnetic field as approximation. On the conductor surface ΓC, as already mentioned above, the Coulombgauged vector potential _A_ remains continuous: ΓC: _A_ _|_ ΓC = _A_ _|_ ΓC _∈_ Ω0 = _A_ _|_ ΓC _∈_ ΩC . (11) For Eq. (9), suitable boundary conditions on ΓC with its normal vector _n_ C can be identified based on the requirement of a vanishing normal component of the induced current density: _n_ C _·_ _j_ <sup>_′_</sup> = 0 . The condition can be rewritten by means of an inhomogeneous Neumann-condition for _φ_ ΓC: _n_ C _· ∇φ_ = _−_ _n_ C _· ∂t_ _A_, (12) which relates the normal gradient of the electric scalar potential to the temporal derivative of the magnetic vector potential in normal direction. _2.3._ _Lorentz-force_ _and_ _Joule-heat_ The induced eddy-current density in the conducting region produces secondary effects which are fundamental for induction processing of materials. On the one hand, the existence of a current in the direction perpendicular to the magnetic field results in the Lorentz-force: (13) _F_ = _j_ <sup>_′_</sup> _×_ _B_ = _j_ <sup>_′_</sup> _×_ ( _∇×_ _A_ ) . On the other hand, the current distribution in ΩC may introduce large amounts of thermal energy which is being transmitted contactlessly. This power source is known as Joule heating: _′|_ 2 _σ_ _Q_ = _j_ <sup>_′_</sup> _·_ _E_ = <sup>_<u>|</u>_</sup> <sup>_<u>j</u>_</sup> _′|_ 2 (14) _σ_ <sup>.</sup> 9 _2.4._ _Two-dimensional_ _cases_ For a two-dimensional case (e.g. plane/wedge), the magnetic vector potential has only one component, e.g. in _z_ -direction _A_ = _A_ _e_ _z_, and the spatial derivatives for all fields in that direction are equal to zero ( _∂z._ = 0) by definition. From Eq. (5) for Ωwe subsequently find that the induced current may only contain components in the direction of _A_, too: (15) _j_ <sup>_′_</sup> = _j_ <sup>_′_</sup> _e_ _z_ = _−j_ 0 _e_ _z −_ 1 _/µ_ 0 ( _∂xxA_ + _∂yyA_ ) _e_ _z_ . In order to keep Eq. (15) self-consistent, the source current density _j_ 0 needs to be restricted accordingly. Furthermore, the originally inhomogeneous Neumann-condition (12) becomes homogeneous, since also the timederivative of _A_ is parallel to the _z_ -direction ( _∂t_ _A_ _∥_ _e_ _z_ ) while the latter is always perpendicular to the normal vector of the conductor boundary ( _e_ _z_ _⊥_ _n_ C): (16) _n_ C _· ∇φ_ = 0. (16) Similarly, the right hand side (RHS) of Eq. (9) vanishes completely due to _∂zσ_ = 0 and _A_ _∥_ _e_ _z_ . With Eq. (16), we can finally identify _φ_ _≡_ 0 as solution. This means that in the two-dimensional case only the magnetic vector potential is relevant and Eq. (6) in Ωsimply reduces to _∇_ <sup>2</sup> _A_ = _µ_ 0 _σ∂tA −_ _µ_ 0 _j_ 0. (17) _2.5._ _Supplementary_ _notes_ Together with the boundary conditions from Eqs. (10) to (12), the governing Eqs. (7) and (9) constitute a closed differential system for both potentials _A_ and _φ_ in the three-dimensional space. As the electric scalar potential is only necessary in the conducting region, this form is often related to as _A_ _, φ_ - _A_ -formulation in literature (e.g. [2, 5]). Especially due to the absence of a curl-operator, the presented description is perfectly suitable for a discretisation based on an unstructured finite volume method with compact stencils. Special numerical schemes are only necessary for cases of discontinuous electrical conductivity. All involved terms are well known from the Navier-Stokes equations [7]. That is, numerical codes like _OpenFOAM_, which are actually tailored for Computational Fluid Dynamics (CFD) applications, directly qualify as tools to solve such time-dependent, electromagnetic problems. So far, the main difference compared to classical CFD cases lies in the existence of the non-conducting region Ω0. Two-dimensional cases make 10 less computational demand due to the trivial solution of the electric scalar potential _φ_ . No additional numerical treatment or special implementations are necessary in this case. 3. Time-harmonic excitation In most induction applications, the excitation coil in Fig. 1 is driven by a time-harmonic source current density (18) _j_ 0 = _j_ <sup>ˆ</sup> 0 cos ( _ω_ 0 _t −_ _α_ 0) with a case-dependent angular frequency _ω_ 0 and phase shift _α_ 0. Assuming that a harmonic solution of Eqs. (7) and (9) exists (for both potentials represented by _ψ_ ), we may introduce the complex phasor function _ψ_ C( _x_ _, t_ ) = _ψ_ <sup>ˆ</sup> C( _x_ ) _e_ <sup>_i ω_</sup> <sup>0</sup> <sup>_t_</sup> with _ψ_ ˆC( _x_ ) = _ψ_ ˆ( _x_ ) _e_ <sup>_−i α_</sup> _ψ_ <sup>(</sup> <sup>_x_</sup> <sup>)</sup>, (19) such that the harmonic solution is obtained from its real part _ψ_ ( _x_ _, t_ ) = Re ( _ψ_ C( _x_ _, t_ )) . (20) The phasor amplitude _ψ_ <sup>ˆ</sup> C contains the physical amplitude _ψ_ <sup>ˆ</sup> and the local phase shift _αψ_ . Using Eq. (19) we may transform the electromagnetic system into the frequency domain. The result is a quasi-steady description in the complex plane since time-derivatives can be evaluated analytically: _∂tψ_ ( _x_ _, t_ ) = Re ( _i ω_ 0 _ψ_ C( _x_ _, t_ )) . (21) In order to maintain readability, we may additionally introduce the notations and _ψ_ Im = Im _ψ_ ˆC (22) _ψ_ Re = Re _ψ_ ˆC for the complex parts of the phasor amplitude _ψ_ <sup>ˆ</sup> C. If we hereinafter refer to the potentials _A_, _φ_ in the context of the quasi-steady formulation, we will always imply that actually their complex phasor amplitude is addressed. 11 _3.1._ _Quasi-steady_ _formulation_ Based on the ansatz function from Eq. (19) for _A_, _φ_ and _j_ 0, and the definitions from Eq. (22), the resulting set of governing equations and boundary conditions can be evaluated for real and imaginary parts, separately: Ω0: 1 _/µ_ 0 _∇_ <sup>2</sup> _A_ Re = _−_ _j_ 0; Re 1 _/µ_ 0 _∇_ <sup>2</sup> _A_ Im = _−_ _j_ 0; Im (23a) ΩC: 1 _/µ_ 0 _∇_ <sup>2</sup> _A_ Re = _−σω_ 0 _A_ Im + _σ∇φ_ Re 1 _/µ_ 0 _∇_ <sup>2</sup> _A_ Im = + _σω_ 0 _A_ Re + _σ∇φ_ Im (23b) Γ _∞_ : _n_ _∞_ _×_ _A_ Re = 0, _n_ _∞_ _· ∇_ _A_ Re = 0 _n_ _∞_ _×_ _A_ Im = 0, _n_ _∞_ _· ∇_ _A_ Im = 0 (23c) ΓC: _A_ Re _|_ ΓC = _A_ Re _|_ ΓC _∈_ Ω0 = _A_ Re _|_ ΓC _∈_ ΩC _A_ Im _|_ ΓC = _A_ Im _|_ ΓC _∈_ Ω0 = _A_ Im _|_ ΓC _∈_ ΩC (23d) ΩC: _∇·_ ( _σ∇φ_ Re) = + _∇σ · ω_ 0 _A_ Im _∇·_ ( _σ∇φ_ Im) = _−∇σ · ω_ 0 _A_ Re (23e) ΓC: _n_ C _· ∇φ_ Re = + _n_ C _· ω_ 0 _A_ Im _n_ C _· ∇φ_ Im = _−_ _n_ C _· ω_ 0 _A_ Re. (23f) Due to both complex parts, the whole system is now twice as large compared to the transient version. In total, there are eight scalar-valued equations and eight unknown, scalar-valued variables. Six occur from the phasor of the magnetic vector potential and two from the phasor of the electric scalar potential. _3.2._ _Time-averaged_ _Lorentz-force_ _and_ _Joule-heat_ At high frequencies, the time scale of the electromagnetic problem may be orders of magnitude smaller than characteristic time-scales of induced effects. In such cases, especially if we think of coupled multi-physics simulations, it might be favourable to use time-averaged quantities for the secondary effects according to: _⟨ψ⟩t_ = _T_ <sup><u>1</u></sup> 0 0 - _T_ 0 _ψ_ d _t_ with _T_ 0 = <sup><u>2</u></sup> <sup>_<u>π</u>_</sup> 0 _ω_ 0 _T_ 0 _ω_ 0 . (24) 12 The time-average of the Lorentz-force (13) can be expressed in terms of the complex parts of the phasor amplitude (19) as: _⟨_ _F_ _⟩t_ = 2 <sup><u>1</u></sup> <sup>(</sup> <sup>_j_</sup> <sup>_′_</sup> Re <sup>_×_</sup> <sup>(</sup> <sup>_∇×_</sup> <sup>_A_</sup> <sup>Re) +</sup> <sup>_j_</sup> <sup>_′_</sup> Im <sup>_×_</sup> <sup>(</sup> <sup>_∇×_</sup> <sup>_A_</sup> <sup>Im)) .</sup> (25) Similarly, a time-averaged formulation for the calculation of the Joule heat (14) reads: _⟨Q⟩t_ = 2 <sup><u>1</u></sup> _σ_ . (26) 2 _σ_ _j_ <sup>_′_</sup> <sup>2</sup> <sup>2</sup> Re <sup>+</sup> <sup>_j_</sup> <sup>_′_</sup> <sup>2</sup> Im _3.3._ _Coupling_ _mechanisms_ Examining the system of Eq. (23) more closely reveals three distinct coupling mechanisms. The first mechanism concerns the connection of the nonconducting Ω0 and conducting region ΩC and was basically mentioned as Eqs. (7a) and (7b) were split from Eq. (6). It is hence a matter of the domain discretisation whether this type of coupling even appears. That is, if we describe and numerically solve both Eqs. (23a) and (23b) in one single region Ωanalogously to Eq. (6): Ω: 1 _/µ_ 0 _∇_ <sup>2</sup> _A_ Re = _−σω_ 0 _A_ Im + _σ∇φ_ Re _−_ _j_ 0; Re 1 _/µ_ 0 _∇_ <sup>2</sup> _A_ Im = + _σω_ 0 _A_ Re + _σ∇φ_ Im _−_ _j_ 0; Im, (27) this coupling can be avoided and the transition conditions from Eq. (23d) may be dropped. As long as ΓC is resolved by the numerical grid, FVMCFD codes like _OpenFOAM_, which rely on data stored at the cell-centres of the mesh, can be used straightforwardly to solve Eq. (6) in Ω. There is no differential operator acting on _σ_, which is always discontinuous at ΓC, and the terms on the RHS will vanish except for their associated sub-region according to Eq. (8). In contrast to Eq. (6), solving Eq. (27) with a CFD code is however much more challenging due to another coupling effect. This second coupling is also visible in Eq. (23b) and arose from the transformation into the complex plane, where Eq. (6) was intermediately expressed as complex vector-valued Helmholtz-equation by subsequent evaluation of the time-derivatives. This introduced a cross-wise linkage between real and imaginary part for each component of the phasor amplitude of _A_ . If the rightmost terms of Eq. (23b) are notionally ignored, we can identify pairs of Helmholtz- or respectively Poisson-like equations for each component of the magnetic vector potential, whose inhomogeneous parts are sources of the 13 respective other complex part. The strength of the coupling thereby depends on the source-coefficient _ω_ 0 _σ_ . Hence, the coupling-effect becomes more and more dominant for an increasing frequency in combination with a specific material. The third coupling mechanism is more branched and lies of course in the dependency of _A_ on _φ_ and vice versa. Firstly, Eq. (23b) connects each component of _A_ with the electric scalar potential due to the gradient-operator on the RHS. Secondly, there is a relation between _φ_ and the components of the magnetic vector potential from the inner product on the RHS of Eqs. (23e) and (23f). As explained in [12, 13], and in contrast to the strong coupling of the complex parts of the phasor amplitude of _A_, Eqs. (23b) and (23e) are only weakly coupled. The two last coupling mechanisms can be illustrated with the example of the conducting domain, if Eqs. (23b) and (23e) are written in pseudo-matrix form  _−σ∂x._ 1 _/µ_ 0 _∇_ <sup>2</sup> _._ 0 0 + _ω_ 0 _σ_ 0 0 0 _−σ∂y._ 0 1 _/µ_ 0 _∇_ <sup>2</sup> _._ 0 0 + _ω_ 0 _σ_ 0 0 _−σ∂z._ 0 0 1 _/µ_ 0 _∇_ <sup>2</sup> _._ 0 0 + _ω_ 0 _σ_ 0 _∇·_ ( _σ∇._ ) 0 0 0 _−ω_ 0 _∂xσ_ _−ω_ 0 _∂yσ_ _−ω_ 0 _∂zσ_ 0     ΩC:   0 _−ω_ 0 _σ_ 0 0 1 _/µ_ 0 _∇_ <sup>2</sup> _._ 0 0 _−σ∂x._ 0 0 _−ω_ 0 _σ_ 0 0 1 _/µ_ 0 _∇_ <sup>2</sup> _._ 0 _−σ∂y._ 0 0 0 _−ω_ 0 _σ_ 0 0 1 _/µ_ 0 _∇_ <sup>2</sup> _._ _−σ∂z._   _φ_ Re _A_ _x_ ; Re _A_ _y_ ; Re _A_ _z_ ; Re _A_ _x_ ; Im _A_ _y_ ; Im _A_ _z_ ; Im _φ_ Im = 0, (28)   _·_ 0 + _ω_ 0 _∂xσ_ + _ω_ 0 _∂yσ_ + _ω_ 0 _∂zσ_ 0 0 0 _∇·_ ( _σ∇._ ) where all entries with lower dots “ _._ ” are meant to be applied to the corresponding solution field as differential operators, and _A_ _x,y,z_ each denote one Cartesian vector-component of _A_ . 4. Efficient finite volume solution In this section we will present an efficient solution for the quasi-steady problem (23). From several numerical tests with the CFD code _foam-extend_ for various different setups we found that the coupling in the system is dominated by the strong coupling between the complex components of _A_ . Especially for higher frequencies, this has a great impact on convergence behaviour and general solubility of the discretised linear equation system. Although it is possible to solve the whole system fully coupled (cf. [12, 13]), it requires tremendous amounts of memory. For a numerical mesh with a 14 size of _N_, the size of the matrix to resolve the fully coupled system is of 8 _N ×_ 8 _N_ . Even though this matrix is sparse, preserving the sparseness pattern defined by mesh faces, this is a factor of 64 compared to the discretisation of a scalar valued problem. Furthermore, a fully coupled approach as presented in [12, 13] would require to solve _φ_ in Ω0 even if it is not explicitly required. Finally also the transition condition from Eq. (12) and the vanishing electrical conductivity in Ω0 has to be dealt with. A fully coupled CFD simulation (cf. [19]) in _foam-extend_ with three velocity components and the pressure results in a matrix of size 4 _N_ _×_ 4 _N_, which is still four times smaller than the discretisation of a system like Eq. (23) based on the same mesh size _N_ . Due to the presence of the non-conducting region, a typical electromagnetic problem is likely to be much larger than a comparable CFD case as the region of interest is only ΩC in the former. _4.1._ _Semi-coupled_ _multi-mesh_ _approach_ A segregated solution of _A_ and _φ_ greatly reduces the peak memory consumption and gives us the opportunity to solve Eqs. (23a) and (23b) combined in one single region Ωaccording to Eq. (27), while Eq. (23e) is solved only in ΩC. Concurrently, a simultaneous region- and equation-coupling in _foam-extend_ is avoided. We use a multi-mesh approach based on two overlapping finite volume meshes. The base-mesh represents the domain Ωand a sub-mesh models ΩC. The special feature of both these meshes is that the mesh geometry of ΩC in the base-mesh exactly coincides with the mesh geometry of the sub-mesh. Both meshes share the same origin of co-ordinates, too. This enables us to use direct, bi-directional mapping for bulk numerical data. Interpolation is only necessary for a mapping from the base-mesh to ΓC in the sub-mesh. The solution of _A_ and _φ_ is realised by means of repeating iterative steps. Let us assume a trivial solution of _∇φ_ in ΩC before the first iteration. The reverse mapping of the gradient of the electric scalar potential from the submesh representing ΩC back to the base-mesh representing Ωcan be formulated as: ΩC: (29a) _∇φ_ Re <sup>_{_</sup> <sup>0</sup> <sup>_}_</sup> _,_ Im <sup>(</sup> <sup>_x_</sup> <sup>C)</sup> <sup>_≡_</sup> <sup>0</sup> Ω: _∇φ_ Re <sup>_∗_</sup> _,_ Im <sup>(</sup> <sup>_x_</sup> <sup>) =</sup> Re _,_ Im <sup>(</sup> <sup>_x_</sup> <sup>C</sup> <sup>=</sup> <sup>_x_</sup> <sup>)</sup> <sup>_,_</sup> _∇φ_ <sup>_{m−_</sup> <sup>1</sup> <sup>_}_</sup> _x_ _∈_ ΩC 0 _,_ - _x_ _∈_ Ω0 15 , (29b) 1 _/µ_ 0 _<u>∇</u>_ <sup>2</sup> _A_ = _σ_ ( _∇φ_ <sup>_∗_</sup> + _∂t_ _A_ ) _−_ _j_ 0 _j_ 0 _∇φ_ <sup>_∗_</sup> in ΩC _n_ _∞_ _n_ _∞_ _×_ _A_ = 0 _n_ _∞_ _· ∇_ _A_ = 0 _<mark>A</mark>_ <mark>in Ω</mark> (a) Solution of the magnetic vector potential in Ω. The gradient of the electric scalar potential is reverse mapped and treated explicitly. Note that each component of _A_ can be solved separately. _<u>∇</u>_ _· σ∇φ_ = _−∂t_ _A_ <sup>_∗_</sup> _· ∇σ_ _∇φ_, _A_ <sup>_∗_</sup> in ΩC _n_ C _· ∇φ_ = _−_ _n_ C _· ∂t_ _A_ <sup>_∗_</sup> _n_ C (b) Correction of the gradient of the electric scalar potential in ΩC. The magnetic vector potential is forward mapped and explicitly included. Figure 2: Semi-coupled (segregated) solution of the electromagnetic problem based on the total magnetic vector potential. where _m_ is the integer iteration counter and the superscripted curly braces ( _._ ) <sup>_{m}_</sup> shall denote the approximate solution at the _m_ -th iteration step. The field _∇φ_ <sup>_∗_</sup> is the representation of _∇φ_ in Ω. The part of _∇φ_ <sup>_∗_</sup> which lies in Ω0 is not coupled to the solution of _A_ . Although it physically represents a part of the electric field in the non-conducting domain, we are hence free to ignore it. Provisioning _∇φ_ <sup>_∗_</sup> from a previous iteration ( _m −_ 1) in Ω, we may use it to gain a better approximation of _A_ in the current iteration step ( _m_ ). This procedure is illustrated in Fig. 2a. As explained above, this is done for each complex vector-component _A_ _k_ separately, as they uncouple as soon as _∇φ_ is 16 treated explicitly. The strong coupling of the complex parts of each vectorcomponent _A_ _k_ is resolved implicitly on the basis of block-matrices within the framework of _foam-extend_ . Using the matrix-notation as of Eq. (28), a formulation of Eq. (27) for each complex vector-component _A_ _k_ reads: Re <sup>_·_</sup> <sup>_e_</sup> <sup>_k_</sup> <sup>_∗_</sup> Im <sup>_·_</sup> <sup>_e_</sup> <sup>_k_</sup> <sup>_∗_</sup> _k_ ; Im     = _σ_ _∇φ_ <sup>_∗_</sup> _j_ 0; Im _·_ _e_ _k_ _−ω_ 0 _σ_ 1 _/µ_ 0 _∇_ <sup>2</sup> _._ _k_ ; Re _A_ _k_ <sup>_{_</sup> ; Im <sup>_m}_</sup> <sup>_A_</sup> <sup>_{m}_</sup>     _·_     _−_    _∇φ_ <sup>_∗_</sup>  <sup>_∇φ∗_</sup>    _j_ 0; Im _·_ _e_ _k_  <sup>_j_</sup> <sup>0; Re</sup> <sup>_·_</sup> <sup>_e_</sup> <sup>_k_</sup>   _k_ ; Re  _A_ _k_ <sup>_{_</sup> ; Im <sup>_m}_</sup>  <sup>_A_</sup> <sup>_{m}_</sup> Ω:   + _ω_ 0 _σ_  _−ω_ 0 _σ_ 1 _/µ_ 0 _∇_  <sup>1</sup> <sup>_/µ_</sup> <sup>0</sup> <sup>_∇_</sup> <sup>2</sup> <sup>_._</sup>     for _k_ = _x, y, z_ . (30) While the left hand side (LHS) reflects the implicit coupling, the RHS only contains explicit sources. These known quantities in the _m_ -th iteration comprise the _k_ -th component of the mapped _∇φ_ <sup>_∗_</sup> and _j_ 0. If we assume that fields in Ωare numerically represented in _N_ discrete data points, the size of the solution vector of Eq. (30) is 2 _N_ . The size of a matrix, which is necessary to discretise the LHS of Eq. (30) is consequently 2 _N_ _×_ 2 _N_ and thus 16 times smaller than a corresponding matrix for a fully coupled system like Eq. (28) would be. Given the solution of _A_ in the _m_ -th iteration the gradient of the electric scalar potential can be corrected in ΩC. Therefor the magnetic vector potential in the conducting region is needed for Eq. (23e). The forward mapping from the base-mesh representing Ωto the sub-mesh representing ΩC is given by: , (31) ΩC: _A_ <sup>_∗_</sup> Re _,_ Im <sup>(</sup> <sup>_x_</sup> <sup>C) =</sup>        _A_ Re <sup>_{m_</sup> _,_ Im <sup>_}_</sup> _A_ Re <sup>_{m_</sup> _,_ Im <sup>_}_</sup> Re <sup>_{m_</sup> _,_ Im <sup>_}_</sup> <sup>(</sup> <sup>_x_</sup> <sup>=</sup> <sup>_x_</sup> <sup>C)</sup> <sup>_,_</sup> _x_ C _∈_ ΩC _∧_ _x_ C _̸_ _∈_ ΓC ΓC _A_ ��� ( _x_ = _x_ C) _,_ _x_ C _∈_ ΓC where _A_ <sup>_∗_</sup> is the representation of _A_ in ΩC in the _m_ -th iteration. The boundary values _A_ _|_ ΓC on the conductor boundary cannot be mapped directly. This results from the fact that in _foam-extend_ discretised data is stored at cell centres, while ΓC is represented by faces. Hence, _A_ _|_ ΓC is obtained either from interpolation in Ωor from extrapolation in ΩC. With _A_ explicitly available in ΩC in terms of _A_ <sup>_∗_</sup> we can correct _∇φ_ according to Eq. (23e): Re <sup>_∗_</sup> <sup>.</sup> (32) ΩC: _∇·_ _∇·_ Re _σ∇φ_ <sup>_{m}_</sup> Im _σ∇φ_ <sup>_{m}_</sup> Re Im = + _∇σ · ω_ 0 _A_ <sup>_∗_</sup> = _−∇σ · ω_ 0 _A_ Re <sup>_∗_</sup> Im Im 17 This can be done for both complex parts sequentially. An illustration of the correction can be found in Fig. 2b. The whole procedure from Eq. (29) to (31) can be repeated until convergence for both potentials _A_ and _φ_ is achieved. _4.2._ _Impressed_ _&_ _Reduced_ _magnetic_ _vector_ _potential_ In the last section we have presented a semi-coupled multi-mesh approach for the solution of _A_ and _φ_, where Eq. (27) is solved in Ωand Eq. (23e) in ΩC. Following our proposal, only the complex components of the phasor amplitude of the magnetic vector potential are solved in a coupled manner. In this regard, Eq. (27) requires special attention in contrast to Eq. (6). Further explanations will however be given only referring to the general timedependent formulation of Eqs. (7) and (9), as all of the following methods can be applied to the harmonic, quasi-steady formulation from Eq. (23) in the same way. We want to stress again that the solution of the Eq. (6) in Ωis dependent on the discretisation of the non-conducting region Ω0 which contains the excitation coils carrying the source current density _j_ 0. Especially for complex inductor geometries this may lead to a large number of necessary cells. Furthermore, high field gradients may occur close to inductors and they would need to be represented by means of a reasonable local mesh resolution. To avoid meshing of the inductors within Ω0, and thus reducing the number of cells to a minimum, it is possible to firstly split the magnetic vector potential _A_ into an impressed _A_ 0 and a reduced part _A_ <sup>_′_</sup> [4]: _A_ = _A_ 0 + _A_ <sup>_′_</sup> . (33) The former corresponds to the part which is defined by the source current density _j_ 0: Ω: 1 _/µ_ 0 _∇_ <sup>2</sup> _A_ 0 = _−_ _j_ 0, (34) while the latter is caused solely by the induced current density _j_ <sup>_′_</sup> : Ω: (35) 1 _/µ_ 0 _∇_ <sup>2</sup> _A_ <sup>_′_</sup> = _σ_ ( _∂t_ _A_ 0 + _∂t_ _A_ <sup>_′_</sup> + _∇φ_ ) . Equation (35) originates from the electric field _E_ = _−_ ( _∂t_ _A_ 0 + _∂t_ _A_ <sup>_′_</sup> + _∇φ_ ). In a second step, we can exploit Biot-Savart’s law [6] _<u>j</u>_ <u>0(</u> _<u>r</u>_ <u>)</u> _|_ _x_ _−_ _r_ _|_ <sup>d</sup> <sup>_V_</sup> <sup>(</sup> <sup>_r_</sup> <sup>)</sup> (36) _A_ 0( _x_ ) = <sup>_<u>µ</u>_</sup> <sup><u>0</u></sup> 4 _π_ Ω 18 to algebraically determine the impressed magnetic vector potential instead of solving Eq. (34). This can be done either by discretising _j_ 0 separately or by an exact integration of a parametrised geometry. The downside of this approach is however that the calculation of the integral from Eq. (36) may get extremely expensive in terms of computational demand, especially if _j_ 0 is distributed over a large volume. Let us just assume that _j_ 0 would exist in a number of _N_ 0 discrete locations ( _r_ ) and we were interested in _A_ 0 at a number of _N_ locations in Ω. Then the necessary number of operations to evaluate Eq. (36) would consequently be in the order of _N_ 0 _× N_ . The problem becomes even more pronounced if one needs to parallelise this procedure as lots of communication needs to be performed. For some cases (e.g. [34, 11]), the existence of the surrounding region might be a greater obstacle than a significantly higher computational effort. In such circumstances, one can go one step ahead and utilise Biot-Savart’s law to calculate the reduced potential _A_ <sup>_′_</sup> from _j_ <sup>_′_</sup> = _σ_ _E_ . While this indeed renders the non-conducting region superfluous, a closer inspection shows that this idea is inconvenient for the quasi-steady formulation from Eq. (23) of harmonically alternating fields. The cause for this stems from the inherent coupling-mechanisms (cf. Sections 3.3 and 4.1), which then had to be resolved iteratively, if at all possible for higher frequencies. And even in the case of slowly varying fields ( _∂t_ _A_ _≈_ 0) there is still the coupling between _A_ and _φ_ which had to be captured sequentially. Taking into account both advantages and disadvantages of Biot-Savart’s law, we will now explain what we found to be the most promising procedure for a realisation in _foam-extend_ . We would like to draw the readers attention to an interesting effect in Eq. (35). A structural comparison with Eq. (6) reveals that the source term “+ _σ∂t_ _A_ 0” in the latter replaces the source term “ _−_ _j_ 0” in the former. That is, the source for the total magnetic vector potential partly lies in the non-conducting region, while the source of the reduced magnetic vector potential is only located in the conducting region. This comes to our advantage if we are only interested in the distribution of induced eddy-currents or secondary effects like Lorentz-force (13) and Joule-heat (14). In such a case we can simply refrain from solving _A_ 0 in Ω0 as it does not contribute to the induced fields. Moreover, primarily to keep the computational costs of Biot-Savart’s law as low as possible, we are free to exploit the usage of Eq. (36) only to determine values of the impressed magnetic vector potential _A_ 0 _|_ ΓC on the conductor boundary. Applying these in terms of a Dirichlet-boundary condition for 19 _µ_ 0 4 _π_ <u>�</u> Ω _|_ _jx_ 0 _−_ ( _rr_ ) _|_ <sup>d</sup> <sup>_V_</sup> <sup>(</sup> <sup>_r_</sup> <sup>) =</sup> <sup>_A_</sup> <sup>0(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_|_</sup> ΓC _j_ 0 <mark>Ω</mark> C _A_ 0 _|_ ΓC _n_ C (a) Calculation of the impressed magnetic vector potential on ΓC. Only boundary values are calculated to keep the computational costs of Biot-Savart’s law as low as possible. 1 _/µ_ 0 _∇_ <sup>2</sup> _A_ 0 = 0 _<mark>A</mark>_ 0 <mark>in Ω</mark> C _A_ 0 _|_ ΓC _n_ C (b) Solution of the impressed magnetic vector potential in ΩC. For complex shaped coils, the solution based on its defining differential equation is computationally less demanding. The part in Ω0 is only necessary if the electric field needs to be known there. Figure 3: Calculation of the impressed magnetic vector potential with BiotSavart’s law. Eq. (34) readily allows us to solve _A_ 0 in ΩC as the source term of _j_ 0 on the RHS vanishes in the conducting region. Both necessary steps are illustrated and commented in Fig. 3. Furthermore, Eq. (34) only needs to be solved once as long as no geometric changes occur and no iterations are required. With the solution of the impressed magnetic vector potential in ΩC we also found the solution of the corresponding impressed part of the electric field from its time-derivative. The total magnetic vector potential may be calculated from Eq. (33) and does not need to be stored. For the segregated solution of _A_ <sup>_′_</sup> and _φ_ we can proceed in analogy to the solution of _A_ and _φ_ as proposed in Section 4.1 (cf. Fig. 2). Starting with an initial guess for 20 1 _/µ_ 0 _<u>∇</u>_ <sup>2</sup> _A_ <sup>_′_</sup> = _σ_ ( _∇φ_ <sup>_∗_</sup> + _∂t_ _A_ 0 + _∂t_ _A_ <sup>_′_</sup> ) _∇φ_ <sup>_∗_</sup>, _A_ 0 in ΩC _n_ _∞_ _×_ _A_ <sup>_′_</sup> = 0 _n_ _∞_ _· ∇_ _A_ <sup>_′_</sup> = 0 _<mark>A</mark>_ <sup>_′_</sup> <mark>in Ω</mark> _n_ _∞_ (a) Solution of the reduced magnetic vector potential in Ω. The impressed magnetic vector potential prior to the iteration and the gradient of the electric scalar potential is reverse mapped and treated explicitly. Each component of _A_ can be solved separately. _<u>∇· σ∇φ</u>_ = _−_ ( _∂t_ _A_ 0 + _∂t_ _A_ _′∗_ ) _· ∇σ_ _∇φ_, _A_ 0, _A_ _′∗_ in ΩC _n_ C _· ∇φ_ _n_ C = _−_ _n_ C _·_ ( _∂t_ _A_ 0 + _∂t_ _A_ _′∗_ ) (b) Correction of the gradient of the electric scalar potential in ΩC. The reduced and the impressed magnetic vector potential are forward mapped and explicitly included. Figure 4: Semi-coupled (segregated) solution of the electromagnetic problem based on the reduced magnetic vector potential, analogously to Fig. 2. the electric scalar potential _φ_ <sup>_∗_</sup> we can solve Eq. (35) and correct _φ_ based on Eq. (9). The principle based on _A_ 0 is pictured in Fig. 4. From a direct comparison with Fig. 2 one can comprehend that we just need to superpose the impressed magnetic vector potential wherever the total magnetic vector potential occurs. _4.3._ _Inductors_ _based_ _on_ _Biot-Savart’s_ _law_ For an excitation coil with a sufficiently small cross section _S_ 0 compared to its characteristic length, the integral of Eq. (36) may be limited to an integration over a path in three-dimensional space. If this type of modelling 21 #### _x_ #### r 1 _|_ _x_ _−_ _r_ 1 _|_ _θ_ 1 #### S 0 #### j 0 _θ_ 2 _h_ _θ_ 2 _h_ _|_ _x_ _−_ _r_ 2 _|_ _l_ #### _·_ #### r 2 Figure 5: Geometrical relations at a finite wire between two points _r_ 1 and _r_ 2 and a point _x_ . The current density _j_ 0 carried by the wire with a small cross section _S_ 0 causes a magnetic field density _B_ 0 in _x_ which may be expressed in terms of the magnetic vector potential _A_ 0( _x_ ). is taken in consideration, it must be further ensured that also the closest distance between the location of the source current density _j_ 0 and the conducting region ΩC is sufficient. That guaranteed, we are moreover free to approximate complex inductor paths by means of a finite number of straight lines. These line segments represent pieces of straight, current carrying wire as shown in Fig. 5. Coils with larger cross sections, up to certain extent, can be modelled in a similar way by using bundles of paths to reproduce the envelopes. We therefor need to assume that the current density is concentrated on the inductor surface. The quality <u>of</u> <u>this</u> <u>modelling</u> assumption however depends on the skin-depth _δ_ Coil = 2 _/_ ( _σ_ Coil _ω_ 0 _µ_ 0) and holds especially for high frequencies in combination with a highly conducting coil-material like copper. Coils ~~�~~ which are used for induction processing are very often internally cooled, which even supports the usage of path bundles. Integrating _j_ 0 according to Eq. (36) over a finite wire from the origin _r_ 1 to the destination _r_ 2 for a point of interest _x_ yields: - coscos _θ θ_ 22 _−_ <u>+ sinsin</u> _<u>θ θ</u>_ <u>22 + 1 + 1</u> _−_ ln 22 cos _θ_ 1 + sin _θ_ 1 + 1 - <u>cos</u> _<u>θ</u>_ <u>1</u> _<u>−</u>_ <u>sin</u> _<u>θ</u>_ <u>1 + 1</u> _S_ 0 _j_ 0. (37) �� _A_ 0 = <sup>_<u>µ</u>_</sup> <sup><u>0</u></sup> 4 _π_ ln Both angles _θ_ 1 _,_ 2 can be obtained from the geometric relations _<u>l</u>_ sin _θ_ 1 = (38a) sin _θ_ 2 = <sup>_<u>|</u>_</sup> <sup>_<u>r</u>_</sup> <sup><u>2</u></sup> <sup>_<u>−</u>_</sup> <sup>_<u>r</u>_</sup> <sup><u>1</u></sup> <sup>_<u>| −</u>_</sup> <sup>_<u>l</u>_</sup> _|_ _x_ _−_ _r_ 1 _|_ _|_ _x_ _−_ _r_ 2 _|_ _<u>h</u>_ _<u>h</u>_ cos _θ_ 1 = cos _θ_ 2 = (38b) _|_ _x_ _−_ _r_ 1 _|_ _|_ _x_ _−_ _r_ 2 _|_ <sup>,</sup> while the length _l_ and the perpendicular _h_ are given by: _l_ = <sup><u>(</u></sup> <sup>_<u>x</u>_</sup> <sup>_<u>−</u>_</sup> <sup>_<u>r</u>_</sup> <sup><u>1)</u></sup> <sup>_<u>·</u>_</sup> <sup><u>(</u></sup> <sup>_<u>r</u>_</sup> <sup><u>2</u></sup> <sup>_<u>−</u>_</sup> <sup>_<u>r</u>_</sup> <sup><u>1)</u></sup> <sup>_<u>r</u>_</sup> <sup><u>1)</u></sup> <sup>_<u>·</u>_</sup> <sup><u>(</u></sup> <sup>_<u>r</u>_</sup> <sup><u>2</u></sup> <sup>_<u>−</u>_</sup> <sup>_<u>r</u>_</sup> <sup><u>1)</u></sup> (39a) _<u>|</u>_ _r_ 2 _<u>−</u>_ _r_ 1 _<u>|</u>_ _h_ = (39b) _|_ _x_ _−_ _r_ 1 _|_ <sup>2</sup> _−_ _l_ <sup>2</sup> . ~~�~~ For most practical cases, a current _I_ 0 or harmonic current amplitude _I_ <sup>ˆ</sup> 0 is directly known instead of _j_ 0. In such cases, the product _S_ 0 _j_ 0 in Eq. (37) can be substituted: _|_ <sup>_<u>r</u>_</sup> _r_ <sup><u>2</u></sup> 2 <sup>_<u>−</u>_</sup> _−_ <sup>_<u>r</u>_</sup> _r_ <sup><u>1</u></sup> 1 _|_ <sup>_I_</sup> <sup>0</sup> <sup>=</sup> _|_ <sup>_<u>r</u>_</sup> _r_ <sup><u>2</u></sup> 2 <sup>_<u>−</u>_</sup> _−_ <sup>_<u>r</u>_</sup> _r_ <sup><u>1</u></sup> 1 _S_ 0 _j_ 0 = _|_ <sup>_<u>r</u>_</sup> _r_ <sup><u>2</u></sup> 2 <sup>_<u>−</u>_</sup> _−_ <sup>_<u>r</u>_</sup> _r_ <sup><u>1</u></sup> 1 _|_ <sup>_<u>r</u>_</sup> _r_ <sup><u>2</u></sup> 2 <sup>_<u>−</u>_</sup> _−_ <sup>_<u>r</u>_</sup> _r_ <sup><u>1</u></sup> 1 _|_ (40) _I_ ˆ0 cos ( _ω_ 0 _t −_ _α_ 0). Let us finally recall from Eq. (18) that the real and imaginary parts of the current amplitude can be obtained according to: _I_ 0; Re = cos _α_ 0 _I_ <sup>ˆ</sup> 0 (41a) (41b) _I_ 0; Im = _−_ sin _α_ 0 _I_ <sup>ˆ</sup> 0, if one uses the quasi-steady formulation from Eq. (23). Biot-Savart’s law (36) can be applied separately for both complex parts. 5. Embedded discretisation of charge conservation A consistent finite volume discretisation of Eq. (9) is not straight-forward if we allow discontinuities in _σ_ at material boundaries ΓM within the conducting domain ΩC. Charge conservation ( _∇·_ _j_ <sup>_′_</sup> = 0) implies that the current density flux _n_ M _·_ _j_ <sup>_′_</sup> remains continuous at these boundaries, where _n_ M shall denote the corresponding normal vector. Ohm’s law (2) directly implies that a discontinuity in _σ_ _n_ M is compensated by an inverse proportional discontinuity in the electric field in normal direction _n_ M _·_ _E_ . 23 More specifically, a sudden rise in electrical conductivity _σ_ across ΓM is compensated by a corresponding local charge accumulation _ρ_ E. This leads to a jump of the electric field _n_ M _·_ _E_ according to Gauss’s law (1d). Due to the continuous magnetic vector potential _n_ M _·_ _A_ _·_, this discontinuity is however only inherited by _n_ M _· ∇φ_ . _5.1._ _Jump_ _conditions_ In order to express these discontinuities across ΓM mathematically, we will use a linear jump operator (42) [ _ψ_ ] = _ψ_ <sup>+</sup> _−_ _ψ_ <sup>_−_</sup> in the same way as it is used in [24]. The superscripts “+” and “ _−_ ” each denote values of a general function _ψ_, infinitesimally close to one side of the material boundary. The sign of the jump is not relevant for our purposes and jump locations always coincide with the location of faces of the finite volume mesh. Recalling the continuous current density flux due to charge conservation [ _n_ M _·_ _j_ <sup>_′_</sup> ] = [ _n_ M _· σ_ _E_ ] = 0 (43) and the absence of discontinuities in the magnetic vector potential [ _A_ ] = 0, (44) we obtain a set of jump conditions from Eq. (4b): (45a) [ _σ_ ] = _σ_ <sup>+</sup> _−_ _σ_ <sup>_−_</sup> [ _φ_ ] = 0 (45b) [ _n_ M _· σ∇φ_ ] = _−_ [ _σ_ ] _n_ M _· ∂t_ _A_, (45c) if we additionally assume that the electric scalar potential is continuous. The jump in electrical conductivity [ _σ_ ] depends only on the material combination at ΓM and is thus known. _5.2._ _Discretisation_ _of_ _Gradient_ _&_ _Laplacian_ The primary step to achieve spatial discretisation in accordance with the finite volume method (cf. [7, 35]) based on the notations of _OpenFOAM_ [15, 16], is to divide ΩC into non-overlapping, polyhedral control volumes 24 #### _N_ #### _S f_ #### _d f_ _P_ #### _·_ _f_ #### _z_ _y_ _x_ Figure 6: Polyhedral control volume (CV) with owner centroid ( _P_ ), neighbour cell centre ( _N_ ), face centre ( _f_ ), surface normal vector _S_ _f_ and cell-centre distance _d_ _f_ . Each CV shares exactly one flat face with its immediate neighbouring cell (in the style of [36, Fig. 1]). (CV), which are each bounded by flat faces (cf. Fig. 6). Every internal face (indicated with subscript _f_ ) of the resulting finite volume mesh is only in contact with one owner CV (denoted with subscript _P_ ) and one neighbour CV (denoted with subscript _N_ ). The control volumes may be also referred to as cells. Faces and cells have centroids named according to the corresponding subscript ( _f_, _P_ or _N_ ). The field data is numerically stored at the cell centroids. The finite volume method is based on the assumption of linear variation of fields being discretised. A discrete data value which is stored at the centroid of a CV corresponds to the cell-average. In this framework, both the gradientterm and the Laplacian-term may be evaluated using Gauss’ theorem by integrating over the control volume. More specifically, an approximation with second-order accuracy can be achieved for the gradient of _φ_ [15] in 25 Eq. (6) as _V_ CV _S_ _f_ _φf_, (46) _f_ _∇φ_ d _V_ = _∂V_ CV _φ ·_ d _S_ _≈_ and for the Laplacian of Eq. (9) according to _V_ CV _∇· σ∇φ_ d _V_ = _∂V_ CV _σ∇φ ·_ d _S_ _≈_ _f_ _S_ _f_ _·_ ( _σ∇φ_ ) _f_, (47) where the sum is evaluated for all faces of the CV and the subscript _f_ denotes values at the corresponding centroids of the face. The surface normal vector _S_ _f_ = _n_ _f_ _Sf_ for each flat face is the product of its normal and the corresponding face area _Sf_ and points always towards the outside of the CV. We will now discuss the calculation of the missing face values at a material boundary from the cell values on both sides. _5.3._ _Material_ _boundary_ _faces_ Some of the internal faces of the domain ΩC, but no boundary faces, may be part of the material boundary ΓM. Let us now examine the situation across one single face at ΓM as it has been done in [24] for a free-surface boundary. It is important to note that the essential idea of the following procedure is to revise the hypothesis of linear variation across such faces, from which we know that it is locally inaccurate, to find a suitable replacement from the jump conditions (45) instead. These relations contain one condition for _φ_ and a second condition for _∇φ_, which may serve us as additional information to derive one-sided extrapolations for both. Compared to [24], we only have to deal with a jump in _∇φ_, while _φ_ itself remains continuous. Rewriting Eqs. (45b) and (45c) using the definitions from Eq. (42), reads: _φf_ + _−_ _φf_ _−_ = 0 (48a) _f_ _−_ ( _n_ _· ∇φ_ ) <sup>_−_</sup> _σf_ +( _n_ _· ∇φ_ ) <sup>+</sup> _f_ <sup>_−_</sup> <sup>_σf_</sup> +( _n_ _· ∇φ_ ) <sup>+</sup> _f_ _f_ <sup>=</sup> <sup>_−_</sup> _σf_ <sup>_−_</sup> <sup>_−_</sup> _f_ _f_ <sup>_−_</sup> <sup>_σ_</sup> <sup>+</sup> _f_ _∂t_ _n_ _f_ _·_ _A_ _f_ . (48b) corresponds to the Let us further restrict ourselves to the case where “+” corresponds to the neighbour side ( _N_ ) and “ _−_ ” corresponds to the owner side ( _P_ ) of the face. The gradients normal to the face can then be calculated using the spatial change of _φ_ between cell centre and face centre for both sides individually, 26 which yields: <sup>_−_</sup> _f_ <sup>_≈_</sup> <sup><u>(</u></sup> <sup>_<u>φf</u>_</sup> _Pf_ <sup>_<u>−</u>_</sup> <sup>_<u>φP</u>_</sup> <sup><u>)</u></sup> <sup>+</sup> _f_ <sup>_≈_</sup> <sup><u>(</u></sup> <sup>_<u>φN</u>_</sup> _fN_ <sup>_<u>−</u>_</sup> <sup>_<u>φf</u>_</sup> <sup><u>)</u></sup> ( _n_ _· ∇φ_ ) <sup>_−_</sup> _f_ ( _n_ _· ∇φ_ ) <sup>+</sup> _f_ . (49b) _fN_ <sup>_<u>−</u>_</sup> <sup>_<u>φf</u>_</sup> <sup><u>)</u></sup> (49a) _Pf_ <sup>_<u>−</u>_</sup> <sup>_<u>φP</u>_</sup> <sup><u>)</u></sup> Although Eqs. <u>(49a)</u> and (49b) are strictly valid only for orthogonal meshes ( _n_ _f_ _∥_ _fN_ _∥_ _Pf_ ), they still represent a good approximation for small deviations. For severely non-orthogonal meshes, a correction may be introduced in the same way as the discretisation of the Laplacian is corrected [15]. We will hereafter only <u>consider</u> <u>the</u> orthogonal case. With the assumption of constant _σ_ along _fN_ and _Pf_ according to _σf_ _−_ = _σP_ (50a) _σf_ + = _σN_, (50b) _σf_ + = _σN_, (50b) it is possible to derive an expression for the face value _φf_ = _φf_ _−_ = _φf_ + of the electric scalar potential from Eqs. (48) and (49): it is possible to derive an expression for the face value _φf_ = _φf_ _−_ = _φf_ _Ff_ <sup>_∂t_</sup> <sup>_A_</sup> <sup><u>+</u></sup> <sup>_<u>fN</u>_</sup> _|_ _S_ _f_ _|_ _φf_ = <sup>_<u>σP</u>_</sup> _σ_ ¯ _f_ _fx φP_ + <sup>_<u>σN</u>_</sup> _σ_ ¯ _f_ (1 _−_ _fx_ ) _φN_ + <sup>_<u>σN</u>_</sup> _σ_ ¯ <sup>_<u>−</u>_</sup> _f_ <sup>_<u>σP</u>_</sup> _fx_ (1 _−_ _fx_ ) <sup>_<u>Pf</u>_</sup> <sup><u>+</u></sup> <sup>_<u>fN</u>_</sup> _|_ _S_ _f_ _|_ _f_ <sup>_∂t_</sup> <sup>_A_</sup>, (51) with _Ff_ <sup>_∂t_</sup> <sup>_A_</sup> = _S_ _f_ _·_ _∂t_ _A_ _f_ being the face flux of the rate of change of the magnetic vector potential. In agreement with <u>[15],</u> we have introduced the central-differencing weight _fx_ = _fN/_ ( _Pf_ + _fN_ ) (cf. Fig. 6) and the linear interpolated face value of the electrical conductivity _σ_ ¯ _f_ = _fx σP_ + (1 _−_ _fx_ ) _σN_ . (52) Evaluating _φf_ from Eq. (51) now allows us to calculate the face contribution for the gradient in Eq. (46) based on the jump conditions from Eq. (45). It is important to note that even for electrostatic problems ( _∂t_ _A_ = 0 ), where the rightmost term in Eq. (51) vanishes, a spacial interpolation is required to obey current conservation at a material boundary. Additionally, we would like to emphasise that the normal-gradient of _σ_, which is a part of _∇σ_ on the RHS of Eq. (9), is always homogeneous on both sides of the material boundary. The reason for this lies in the assumption of Eq. (50). For the discretisation of _∇σ_ similar to the discretisation of _∇φ_ from Eq. (46), the face values _σf_ are different on both sides and need be taken from Eq. (50). That is, a special gradient scheme is necessary for the gradient of _σ_ . 27 _5.4._ _One-sided_ _extrapolation_ The face contributions to the sum in the Laplacian approximation according to Eq. (47) are calculated based on central-differencing [15]. Leaving out the non-orthogonal correction and special treatment of skewed meshes for explanatory purposes, this reads: _S_ _f_ _·_ ( _σ∇φ_ ) _f_ _S_ _f_ _·_ ( _σ∇φ_ ) _f_ <u>�</u> _≈_ _Lf_ <sup>_P_</sup> - _P_ _≈_ _Lf_ <sup>_N_</sup> <u>�</u> _N_ _f_ <sup>_P_</sup> <sup>=</sup> <sup>_σf_</sup> _<u>|</u>_ _<u>S</u>_ _<u>f</u>_ _<u>|</u>_ _<u>|</u>_ _<u>S</u>_ _<u>f</u>_ _<u>|</u>_ (53a) _<u>|</u>_ _d_ _f_ _<u>|</u>_ <sup>(</sup> <sup>_φN_</sup> <sup>_−_</sup> <sup>_φP_</sup> <sup>)</sup> _f_ <sup>_N_</sup> <sup>=</sup> <sup>_σf_</sup> _<u>|</u>_ _<u>S</u>_ _<u>f</u>_ _<u>|</u>_ _<u>|</u>_ _<u>S</u>_ _<u>f</u>_ _<u>|</u>_ (53b) _|_ _d_ _f_ _|_ <sup>(</sup> <sup>_φP_</sup> <sup>_−_</sup> <sup>_φN_</sup> <sup>) .</sup> where _|_ _d_ _f_ _|_ = _PN_ = _Pf_ + _fN_ is the cell-centre distance and the superscript _P_ means the face contribution to the owner CV and superscript _N_ means face contribution to the neighbour CV. Even though the central-differencing is again based on the hypothesis of linear varying fields, it does not need to be revised here if one follows the idea of [24] further. Instead a “ghost”-value is used for the opposing cell across the face in order to respect the jump conditions of Eq. (48): _′ P_ _Lf_ = _σP_ _<u>|</u>_ _<u>S</u>_ _<u>f</u>_ _<u>|</u>_ _N_ <sup>_′_</sup> <sup>_−_</sup> <sup>_φP_</sup> <sup>)</sup> (54a) _P_ <sup>_′_</sup> <sup>_−_</sup> <sup>_φN_</sup> <sup>) .</sup> (54b) _′ N_ _Lf_ = _σN_ _<u>|</u>_ _<u>S</u>_ _<u>f</u>_ _<u>|</u>_ _<u>|</u>_ _d_ _f_ _<u>|</u>_ <sup>(</sup> <sup>_φ′_</sup> _<u>|</u>_ _<u>S</u>_ _<u>f</u>_ _<u>|</u>_ _<u>|</u>_ _<u>S</u>_ _<u>f</u>_ _<u>|</u>_ _|_ _d_ _f_ _|_ <sup>(</sup> <sup>_φ′_</sup> The electrical conductivity at the face is taken from the corresponding side of the face as just explained. These “ghost”-values _φ_ <sup>_′_</sup> _N_ <sup>and</sup> <sup>_φ′_</sup> _P_ <sup>are</sup> <sup>derived</sup> <sup>_′_</sup> _N_ <sup>and</sup> <sup>_φ′_</sup> of the face as just explained. These “ghost”-values _φ_ <sup>_′_</sup> _N_ <sup>and</sup> <sup>_φ′_</sup> _P_ <sup>are</sup> <sup>derived</sup> by one-sided, linear extrapolations based on the face value of _φ_ : <sup>_′_</sup> _N_ <sup>=</sup> <sup>_φf_</sup> <sup>+</sup> <sup>_<u>φf</u>_</sup> <sup>_<u>−</u>_</sup> <sup>_<u>φP</u>_</sup> _Pf_ <sup>_′_</sup> _P_ <sup>=</sup> <sup>_φf_</sup> <sup>+</sup> <sup>_<u>φf</u>_</sup> <sup>_<u>−</u>_</sup> <sup>_<u>φN</u>_</sup> _φ_ <sup>_′_</sup> <sup>_<u>−</u>_</sup> <sup>_<u>φP</u>_</sup> _fN_ (55a) _Pf_ _φ_ <sup>_′_</sup> <sup>_<u>−</u>_</sup> <sup>_<u>φN</u>_</sup> _Pf_ . (55b) _fN_ The situation across a face of the material boundary is sketched in Fig. 7, although the flux _Ff_ <sup>_∂t_</sup> <sup>_A_</sup> = _∂t_ _A_ _f ·_ _S_ _f_ is not illustrated there. For both extrapolations in Eq. (55), second order accuracy is only maintained for completely unskewed meshes. Otherwise, a skew-correction may be necessary. 28 ### _φ, σ_ − + _φ_ <sup>_′_</sup> _N_ _φ_ <sup>_′_</sup> _P_ _φf_ _σ_ <sup>+</sup> _σN_ _φN_ _σP_ _σ_ <sup>_−_</sup> _φP_ _Pf_ _fN_ ### _P f n f N_ Figure 7: One-sided extrapolation at a face of a material boundary. The thick black line shall illustrate the (non-linear) course of _φ_ and the discontinuity in _n_ _f_ _· ∇φ_ from the owner cell ( _P_ ) to the neighbour cell ( _N_ ) across a face ( _f_ ). The symbols “+” and “-” represent one side of the material boundary each. The values _φ_ <sup>_′_</sup> _P,N_ <sup>are</sup> <sup>determined</sup> <sup>by</sup> <sup>extrapolation</sup> <sup>along</sup> <sup>_φN_</sup> <sup>-</sup> <sup>_φf_</sup> <sup>and</sup> _φP_ - _φf_ respectively. Inserting the face value _φf_ given by Eq. (51) then yields: <sup>_′_</sup> _N_ <sup>=</sup> <sup>_<u>σN</u>_</sup> _σ_ ¯ _f_ _φN_ + <sup>_<u>σN</u>_</sup> <sup>_<u>−</u>_</sup> <sup>_<u>σP</u>_</sup> _σ_ ¯ _f_ _φ_ <sup>_′_</sup> _σ_ ¯ _f_ (56a) _f_ - _||_ _Sd_ _<u>ff||</u>_ <sup>_F ∂t_</sup> <sup>_A_</sup> _f_ <sup>_∂t_</sup> <sup>_A_</sup> _−_ _φP_ _fx_ _f_ + _φN_ <sup>_′_</sup> _P_ <sup>=</sup> <sup>_<u>σP</u>_</sup> _σ_ ¯ _f_ _φ_ <sup>_′_</sup> _σ_ ¯ _f_ _f_ - _||_ _Sd_ _<u>ff||</u>_ <sup>_F ∂t_</sup> <sup>_A_</sup> . (56b) _φP_ + <sup>_<u>σN</u>_</sup> <sup>_<u>−</u>_</sup> <sup>_<u>σP</u>_</sup> _σ_ ¯ _f_ _φP_ + <sup>_<u>σN</u>_</sup> <sup>_<u>−</u>_</sup> <sup>_<u>σP</u>_</sup> (1 _−_ _fx_ ) By further substituting _φ_ <sup>_′_</sup> <sup>_′_</sup> _N_ <sup>and</sup> <sup>_φ′_</sup> _P_ By further substituting _φ_ <sup>_′_</sup> _N_ <sup>and</sup> <sup>_φ′_</sup> _P_ <sup>from</sup> <sup>Eq.</sup> <sup>(56)</sup> <sup>into</sup> <sup>Eq.</sup> <sup>(54),</sup> <sup>we</sup> <sup>finally</sup> obtain the face contributions of the Laplacian discretisation for a material boundary face: _f_ <sup>_∂t_</sup> <sup>_A_</sup> (57a) _′ P_ _Lf_ = _σ_ ˆ _f_ _<u>|</u>_ _<u>S</u>_ _<u>f</u>_ _<u>|</u>_ 1 _−_ _σ_ <sup>_<u>σ</u>_</sup> _N_ <sup>_<u>P</u>_</sup> _fx Ff_ <sup>_∂t_</sup> <sup>_A_</sup> _f_ (1 _−_ _fx_ ) _F_ <sup>_∂t_</sup> <sup>_A_</sup> _f_ . (57b) <sup>_∂t_</sup> <sup>_A_</sup> _′ N_ _Lf_ = _σ_ ˆ _f_ _<u>|</u>_ _<u>S</u>_ _<u>f</u>_ _<u>|</u>_ _<u>|</u>_ _d_ _f_ _<u>|</u>_ <sup>(</sup> <sup>_φN_</sup> <sup>_−_</sup> <sup>_φP_</sup> <sup>) + ˆ</sup> <sup>_σf_</sup> _<u>|</u>_ _<u>S</u>_ _<u>f</u>_ _<u>|</u>_ _<u>|</u>_ _<u>S</u>_ _<u>f</u>_ _<u>|</u>_ _|_ _d_ _f_ _|_ <sup>(</sup> <sup>_φP_</sup> <sup>_−_</sup> <sup>_φN_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_σ_</sup> <sup>ˆ</sup> <sup>_f_</sup> 1 _−_ <sup>_<u>σ</u>_</sup> _σ_ <sup>_<u>N</u>_</sup> _P_ Here we have additionally introduced the harmonically interpolated electrical conductivity , (58) - _−_ 1 _σ_ ˆ _f_ = <sup>_<u>σN</u>_</sup> <sup>_<u>σP</u>_</sup> _σ_ ¯ _f_ = _σN_ - _<u>fx</u>_ + <sup><u>1</u></sup> <sup>_<u>−</u>_</sup> <sup>_<u>fx</u>_</sup> _σP_ 29 which results from the derivation of the equations after combining the corresponding coefficients. We would like to stress at this point that for an electrostatic case ( _∂t_ _A_ = 0 ), this harmonic interpolation of _σ_ is sufficient to obey the jump conditions (45) in the Laplacian discretisation due to the vanishing face flux ( _Ff_ <sup>_∂t_</sup> <sup>_A_</sup> = 0). Exactly as it is the case in [24], a closer inspection of Eq. (57) reveals that an implicit discretisation of the Laplacian across material boundaries still leads to a symmetric matrix due to equal upper and lower off-diagonal coefficients. It is also still possible to reconstruct the diagonal contributions using negative off-diagonal coefficients. The last terms in Eq. (57) denote additional source terms that are not only anti-symmetric but also differ in magnitude depending on mesh geometry and the jump of _σ_ across the material boundary. Analogously to [24], additional face flux from the source terms is here compensated by the jump in the gradient of _φ_ . 6. Validation In order to demonstrate the capabilities of our proposed method in the finite volume framework of _foam-extend_, and to verify the corresponding implementation, this section will be devoted to two individual validation cases. The purpose of the first test case, which was motivated by an existing facility and from the existence of tailored magnetic fields in industrial applications, is to provide a general idea of how the numerical method from Section 4 behaves depending on different mesh parameters. A second, more academical, test setup is used to validate the embedded discretisation from Section 5. _6.1._ _Rotating_ _magnetic_ _field_ The first test concerns an eddy-current problem of multiple inductor coils with different phase shifts _α_ 0 according to Eqs. (18) and (41). We have selected a coil setup similar to the RMF-coils (RMF: rotating magnetic field) of the MULTIMAG (MULTI purpose MAGnetic fields) facility [37] at the HZDR (Helmholtz-Zentrum Dresden-Rossendorf). A picture of this facility is shown in Fig. 8a, whereas the derived numerical model is illustrated in Fig. 8b. For a finite, electrically conducting cylinder (cf. Fig. 8b & Fig. 8d) with a height of 2 _H_ and radius _R_, which is axially aligned with the RMF, an analytical solution for the corresponding time-averaged Lorentz-force (25) is 30 (a) The MULTIMAG facility at HZDR [37]. (b) Test case with conducting cylinder, non-conducting domain and 6 RMF coils. (d) Conducting cylinder with finite (c) Biot-Savart inductor with bundle of filaments. number of hexahedral cells. Figure 8: Rotating magnetic field (RMF) test case: Motivation from scientific facility a), numerical model b), inductor discretisation based on an edge mesh c) and conductor discretisation based on a finite volume mesh d). available [38, 39, 37] for small shielding parameters: _S_ = _µ_ 0 _σω_ 0 _R_ <sup>2</sup> _<_ 1. (59) Provided that Eq. (3) and the low-frequency approximation [33] Rem _≪_ _S_ _<_ 1 (60) both hold, the time-averaged Lorentz-force inside the cylinder contains only an azimuthal component, which can be written in cylindrical coordinates ( _r_, 31 _ϕ_, _z_ ) as <u>0</u> _R_ _s_ ( _r, z_ ) _e_ _ϕ_, (61) _⟨_ _F_ _⟩t_ = <sup>_<u>σω</u>_</sup> 2 <sup><u>0</u></sup> <sup>_<u>B</u>_</sup> <sup>2</sup> where _B_ 0 = _∥_ _B_ ( _r_ = 0 _, z_ = 0) _∥_ is the magnitude of the magnetic field in the centroid of the cylinder. The shape function _s_ ( _r, z_ ) reads: _λk_ _s_ ( _r, z_ ) = <sup>_<u>r</u>_</sup> _R_ <sup>_−_</sup> _∞_ _k_ =1 cosh _<u>z</u>_ _R_ . (62) _ckJ_ 1 _λk_ _<u>r</u>_ _R_ Based on the Bessel functions of the first kind _J_ 1 and order and the roots _λk_ of its first derivative _J_ 1 <sup>_′_</sup> <sup>,</sup> <sup>the</sup> <sup>coefficients</sup> <sup>in</sup> <sup>Eq.</sup> <sup>(62)</sup> <sup>are</sup> <sup>defined</sup> <sup>as:</sup> <u>2</u> _ck_ = ( _λ_ <sup>2</sup> ~~�~~ aspect. ratio of _H/R_ (63)= <sup>2</sup> _k_ <sup>_−_</sup> <sup>1)</sup> <sup>_J_</sup> <sup>1(</sup> <sup>_λk_</sup> <sup>) cosh</sup> _λk_ for ~~�~~ _<u>H</u>_ _R_ We have performed numerical simulations for an aspect ratio of _H/R_ = 1 with _R_ = 30 mm, an angular frequency of _ω_ 0 = 2 _π_ 50 Hz and _B_ 0 = 0 _._ 4216 _×_ 10 <sup>_−_</sup> <sup>3</sup> T. The value of _B_ 0 originates from an underlying magnetic Taylor number of Ta = _σω_ 0 _B_ 0 <sup>2</sup> <sup>_R_</sup> <sup>4</sup> <sup>_/_</sup> <sup>(2</sup> <sup>_ρν_</sup> <sup>2) = 1</sup> <sup>_×_</sup> <sup>105 for the material properties</sup> Taylor number of Ta = _σω_ 0 _B_ 0 <sup>2</sup> <sup>_R_</sup> <sup>4</sup> <sup>_/_</sup> <sup>(2</sup> <sup>_ρν_</sup> <sup>2) = 1</sup> <sup>_×_</sup> <sup>105 for the material properties</sup> ( _ρ_ = 6353 <sup>kg</sup> _/_ m <sup>3</sup>, _ν_ = 3 _._ 436 _×_ 10 <sup>_−_</sup> <sup>7</sup> <sup>m2</sup> _/_ s, _σ_ = 3 _._ 289 _×_ 10 <sup>6</sup> <sup>S</sup> _/_ m) of the liquid-metal alloy Gallium-Indium-Tin (GaInSn) at room temperature ( _T_ 0 = 20 <sup>_◦_</sup> C). In the numerical model as shown in Fig. 8b, the conducting cylinder is surrounded by a non-conducing region which extends up to a distance of _R∞_ = 4 _R_ in axial and radial direction from its centroid. That is, the volume of the non-conducting region is seven times larger than the volume of the conducting domain. The reader may have recognised that the non-conducting region does not contain the coils. This is possible due the utilisation of Biot-Savart’s law as presented in Section 4.3. According to Fig. 3a, boundary conditions for the impressed magnetic vector potential _A_ 0 in ΩC are calculated from Eq. (36). If a coil is modelled on the basis of Eq. (37) and represented by a finite number of piecewise linear edges, it does not need to be part of the finite volume mesh. Figure 8c shows the separate edge-discretisation of one RMF Biot-Savart inductor with a bundle of such filaments. All four _z_ - _r_ contour plots of Fig. 9 depict a comparison of results for the time-averaged Lorentz-force from a numerical simulation of our implementation in _foam-extend_ (solid lines) with results from the commercial FEMsoftware _Cobham_ _Opera_ _3D_ [22] (dashed lines). Both data sets are the outcome of formulations without low-frequency approximation. The underlying 32 30 25 20 15 10 5 0 0 5 10 15 20 25 30 _r_ [mm] 0 5 10 15 20 25 30 _r_ [mm] 30 25 20 15 10 5 0 (a)30Azimuthal component: _<u>⟨</u>_ _F_ _<u>⟩t ·</u>_ _e_ _ϕ_ [ <sup>N</sup> _/_ m <sup>3</sup> ] (b)30 Radial component: _<u>⟨</u>_ _F_ _<u>⟩t ·</u>_ _e_ r [ <sup>N</sup> _/_ m <sup>3</sup> ] 30 0.2 25 20 15 10 5 0 0 5 10 15 20 25 30 _r_ [mm] -0.1 -0.2 25 20 15 10 5 0 0 5 10 15 20 25 30 _r_ [mm] (d) Magnitude: _∥⟨_ _F_ _⟩t∥_ [ <sup>N</sup> _/_ m <sup>3</sup> ] (c) Axial component: _⟨_ _F_ _⟩t ·_ _e_ z [ <sup>N</sup> _/_ m <sup>3</sup> ] Figure 9: Comparison of results (without low-frequency approximation) from a numerical simulation of our implementation in _foam-extend_ (solid) with results from the commercial software _Cobham Opera 3D_ [22] (dashed). Figure a) additionally shows the analytical solution (dotted) from Eq. (61) based on the first 40 addends of the infinite series of _s_ ( _r, z_ ). 33 mesh for our solution consists of _N_ _≈_ 7 _×_ 10 <sup>5</sup> cells, whereof _N_ C _≈_ 1 _._ 2 _×_ 10 <sup>5</sup> were used for the conducting region. These parameters correspond to the highlighted mesh (1 _._ 000) in Table 1. Using one single CPU-core ( _Intel_ _i5-_ _3570_ ), the simulation time for this mesh, given a global residual of 1 _×_ 10 <sup>_−_</sup> <sup>8</sup>, amounts to _≈_ 500 s. For the reference solution in _Cobham Opera 3D_, we have used a finer mesh consisting of _≈_ 5 _×_ 10 <sup>6</sup> linear and _≈_ 1 _._ 5 _×_ 10 <sup>5</sup> quadratic finite elements, on which convergence with the same residual was achieved after _≈_ 6600 s with the help of four CPU-cores of the same processor. For all components (Figs. 9a to 9c) and the magnitude (Fig. 9d) of _⟨_ _F_ _⟩t_, we found a very good agreement of both results. The plot in Fig. 9a additionally relates the numerical results to the analytical solution (dotted line). There are two reasons which are responsible for the slight, but obvious deviation between numerical and analytical data of the azimuthal component of _⟨_ _F_ _⟩t_ : Firstly, Eq. (61) has been derived using the low-frequency approximation together with the assumption of a purely axial magnetic vector potential. Secondly, the shape function in Eq. (62) needs to be approximated using only a finite number (in our case 40) addends of its infinite series. In our code, the low-frequency assumption can be modelled numerically by assuming the reduced magnetic vector potential, which was introduced in Eq. (33), to vanish completely ( _A_ <sup>_′_</sup> _≡_ 0 ). As a consequence, Eq. (35) may be dropped. It is therefore only necessary to solve for the electric scalar potential in ΩC. The boundary condition from Eq. (12) for _φ_ on ΓC simplifies to _n_ C _·∇φ_ = _−_ _n_ C _·∂t_ _A_ 0. An almost perfect axial (impressed) magnetic vector potential _A_ 0 was realised by simply setting the length of the vertical filaments of our Biot-Savart inductors (cf. Fig. 8c) much larger than the height of the conducting cylinder. With the assumptions of Eq. (61) numerically met, a very good agreement with our numerical solution has finally been achieved. This is illustrated in Fig. 10. As explained in [15], spatial discretisation of the FVM in _OpenFOAM_ is ideally second order accurate, if linear interpolation and central differencing is used. This accuracy is however limited due to mesh skewness and nonorthogonality. In case of the O-grid of the cylinder-mesh (cf. Fig. 8c), the bulk mesh-quality is very good, but it is not perfect from a local point of view. To analyse the grid-dependency of the error, we will hereinafter refer 34 30 25 20 15 10 5 0 0 5 10 15 20 25 30 _r_ [mm] Figure 10: Comparison of the analytical solution (dotted) of the azimuthal partresults _⟨_ _F_ of _⟩t ·_ a _e_ numerical _ϕ_ [ <sup>N</sup> _/_ m <sup>3</sup> ] ofsimulationthe time-averaged(solid) basedLorentz-forceon the low-frequencyfrom Eq. (61approx-) with imation from Eq. (60) and a magnetic vector potential with only an axial component (infinitely high coils). to the following three error-norms: _∥E∥∞_ = <sup><u>max</u></sup> max <sup>_k_</sup> max _k_ (64a) _<u>−Qk</u>_ <u>��</u> ~~<u>�</u>~~ <u>�</u> _Qk_ ~~<u>�</u>~~ <u>�</u> (64b) _k −Qk_ <u>��</u> _k_ <u>��</u> _<u>Qk −Qk</u>_ <u>��</u> ~~<u>�</u>~~ <u>�</u> _Qk_ ~~<u>�</u>~~ <u>�</u> _∥E∥_ 1 = _∥E∥_ 2 = _<u>k</u>_ <u>=1</u> <u>�</u> _N_ ~~<u>�</u>~~ ~~<u>�</u>~~ _<u>k</u>_ <u>=1</u> _N_ �� _N_ ~~�~~ _<u>k</u>_ <u>=1</u> ~~<u>�</u>~~ <u>�</u> _Qk_ ~~<u>�</u>~~ <u>�</u> _N_ _k_ =1�� _<u>Qk −Qk</u>_ <u>��</u> ~~<u>�</u>~~ _<u>k</u>_ <u>=1</u> _N_ ~~<u>�</u>~~ <u>�</u> _<u>Qk</u>_ ~~<u>�</u>~~ <u>�</u> _k_ =1 <u>��</u> ~~�~~ _N_ ~~<u>�</u>~~ <u>�</u> _<u>Qk</u>_ ~~<u>�</u>~~ <u>�</u> =1 <u>��</u> _<u>Qk −Qk</u>_ <u>��2</u> ~~<u>�</u>~~ <u>�</u> _Qk_ ~~<u>�</u>~~ <u>�2</u> (64b) _k −Qk_ <u>��</u> ~~<u>�</u>~~ <u>�</u> _<u>Qk</u>_ ~~<u>�</u>~~ <u>�</u> . (64c) _<u>Qk −Qk</u>_ <u>��2</u> �1 _/_ 2 �1 _/_ 2 . (64c) _<u>−Q</u>_ points, ~~<u>�</u>~~ <u>�</u> _Qk_ ~~<u>�</u>~~ <u>�2</u> _k_ Therein, _N_ is the number of sample points, _k_ a sample point index, _Qk_ is a local value of an approximation of a <u>quantity</u> of interest (e.g. a numerical solution of _⟨_ _F_ _⟩t_ at sample location _k_ ), _Qk_ is the reference value of _Qk_ (e.g. the most accurate value available at _k_ ) and _Qk −Qk_ = _Ek_ is regarded as the absolute error of an approximation of a certain quantity with respect to a reference solution of that quantity. For all mesh variations from Table 1 and its relative cell-sizes _△_, Fig. 11 shows the course of the corresponding error norms from Eq. (64) with respect 35 Table 1: Numerical meshes with different cell-sizes: The first column contains mesh scaling factors, _△_ is a relative cell-size and _△/△_ max the corresponding normalised cell-size. The total number of cells for each mesh is represented by _N_ and the number of cells in the conducting region by _N_ C. In the last column, the computational time for one CPU-core is listed. The highlighted mesh (1.000) corresponds to the default from which refinement/coarsening was performed in both directions. <u>Mesh</u> _<u>△</u>_ _<u>△/△</u>_ <u>max</u> _<u>N</u>_ _<u>N</u>_ <u>C</u> _<u>N/N</u>_ <u>C</u> _<u>t</u>_ <u>CPU</u> <u>[s]</u> 0 _._ 125 8 _._ 00 1 _._ 0000 1792 384 4 _._ 67 1 0 _._ 250 4 _._ 00 0 _._ 5000 11832 2112 5 _._ 60 5 0 _._ 375 2 _._ 67 0 _._ 3333 43000 8160 5 _._ 27 15 0 _._ 500 2 _._ 00 0 _._ 2500 91872 15840 5 _._ 80 40 0 _._ 750 1 _._ 33 0 _._ 1667 367200 62560 5 _._ 87 300 <mark>1</mark> _<mark>.</mark>_ <mark>000</mark> <mark>1</mark> _<mark>.</mark>_ <mark>00</mark> <mark>0</mark> _<mark>.</mark>_ <mark>1250</mark> <mark>698880</mark> <mark>120960</mark> <mark>5</mark> _<mark>.</mark>_ <mark>77</mark> <mark>500</mark> 1 _._ 500 0 _._ 67 0 _._ 0833 2629600 454480 5 _._ 79 2700 2 _._ 000 0 _._ 50 0 _._ 0625 5684352 967680 5 _._ 87 10800 <u>2</u> _<u>.</u>_ <u>500</u> <u>0</u> _<u>.</u>_ <u>40</u> <u>0</u> _<u>.</u>_ <u>0500</u> <u>11325600</u> <u>1908000</u> <u>5</u> _<u>.</u>_ <u>94</u> <u>31200</u> to the best solution with the finest mesh (2 _._ 500). A normalisation has been applied which is based on the global maximum value _∥E∥max_ that any norm may take on (not to be confused with _∥E∥∞_ ), and the maximum of all cellsizes _△_ max. As expected, we found a convergence rate between first (dotted line) and second order (dashed line). The infinity-norm ( _∥E∥∞_ ) shows the worst behaviour, as it represents a global maximum of the error. In contrast to that, the _L_ <sup>2</sup> -Norm shows the best behaviour as here the error is quadratically weighted and describes a mean error. This exactly reflects the mesh quality as explained above. Besides discretisation errors, the quality of the numerical results also depends on the size of the non-conducting region, as the domain of Maxwell’s equations (1) is actually unbounded. The truncation of Ω0 at Γ _∞_ introduces a related truncation error. In order to investigate the impact of this error, it is helpful to regard all currents of the finite volume discretisation as a general, localised current-distribution of size _RJ_ . According to [40, Section 5.6], we may approximate the strength of the magnetic field _B_ ( _r_ ) at some distant radius _r_ _> RJ_ with _B_ ( _r_ ) _≈_ _r_ <sup>_<u>J</u>_</sup> <sup>3</sup> _r_ <sup>_<u>J</u>_</sup> <sup>3</sup> <sup>,</sup> (65) 36 10 <sup>0</sup> 10 <sup>_−_</sup> <sup>1</sup> 10 <sup>_−_</sup> <sup>2</sup> 10 <sup>_−_</sup> <sup>3</sup> _∥E∥_ 1 _/∥E∥_ max _∥E∥_ 2 _/∥E∥_ max _<u>∥E∥∞/∥E∥</u>_ max _O_ ( _△/△_ max) _O_ (( _△/△_ max) <sup>2</sup> ) 10 <sup>0</sup> 10 <sup>_−_</sup> <sup>1</sup> log( _△/△_ max) Figure 11: Convergence rate of the normalised error norms from Eq. (64) for the time-averaged Lorentz-force ( _Q_ = _⟨_ _F_ _⟩t_ ) and different normalised mesh cell-sizes according to Table 1. The finest mesh (2 _._ 500) has served as reference solution for the error-estimation. where _J_ is a coefficient which represents the influence of the first magnetic moment of the localised current-distribution. Using this simple approximation, the ratio of the magnetic field strengths _B∞_ = _B_ ( _R∞_ ) and _BJ_ = _B_ ( _RJ_ ) reads: _B∞/BJ_ _≈_ ( _R∞/RJ_ ) <sup>3</sup> . By implication, we can approximately express the ratio of the radii in terms of the ratio of magnetic field strengths: 3 . (66) - <u>1</u> _<u>R∞</u>_ _RJ_ _≈_ _BJ_ - _<u>B∞</u>_ Figure 12 demonstrates that this relation is a very good approximation to estimate the relative error of the Lorentz-force ( _Q_ = _⟨_ _F_ _⟩t_ ) with respect to _R∞_ according to the different meshes from Table 2. To be specific, for a relative error of e.g. 1% we need a size of _R∞_ _≈_ 4 _._ 6 _RJ_ and for a relative error of 0 _._ 1% we need a size of _R∞_ _≈_ 10 _._ 0 _RJ_ . With this rule-of-thumb, we again want to emphasise the advantage of using Biot-Savart inductors, where _RJ_ is defined by the size _R_ of the conducting region only. In case of discretised inductors, _RJ_ is given by the size of the coils and is thus significantly larger. 37 Table 2: Numerical meshes with different absolute size of the non-conducting region: The first column contains mesh scaling factors, _R_ is the radius of the conducting cylinder and _R∞_ the radius of the non-conducting region. The total number of cells for each mesh is represented by _N_ and the number of cells in the conducting region by _N_ C. In the last column, the computational time for one CPU-core is listed. The highlighted mesh (1.000) corresponds to the default from which refinement/coarsening was performed. <u>Mesh</u> _<u>R∞/R</u>_ _<u>N</u>_ _<u>N</u>_ <u>C</u> _<u>N/N</u>_ <u>C</u> _<u>t</u>_ <u>CPU</u> <u>[s]</u> 0 _._ 300 1 _._ 2 251904 120960 2 _._ 08 100 0 _._ 375 1 _._ 5 342912 120960 2 _._ 83 140 0 _._ 500 2 _._ 0 447744 120960 3 _._ 70 210 0 _._ 750 3 _._ 0 587520 120960 4 _._ 85 320 <mark>1</mark> _<mark>.</mark>_ <mark>000</mark> <mark>4</mark> _<mark>.</mark>_ <mark>0</mark> <mark>698880</mark> <mark>120960</mark> <mark>5</mark> _<mark>.</mark>_ <mark>78</mark> <mark>400</mark> 2 _._ 000 8 _._ 0 950400 120960 7 _._ 86 660 4 _._ 000 16 _._ 0 1240320 120960 10 _._ 25 1000 8 _._ 000 32 _._ 0 1534080 120960 12 _._ 68 1500 16 _._ 000 64 _._ 0 1896960 120960 15 _._ 68 2100 <u>32</u> _<u>.</u>_ <u>000</u> <u>128</u> _<u>.</u>_ <u>0</u> <u>2298240</u> <u>120960</u> <u>19</u> _<u>.</u>_ <u>0</u> <u>7800</u> _6.2._ _Material_ _boundary_ A second validation case concerns an eddy-current problem of three inductor coils with equal phase shift _α_ 0 = 0. The basic geometry for this setup was derived from our model of the RGS process [9, 10]. The inductor coils exactly match the ones from the RGS model, while only the bulk fluid-region with material properties of liquid silicon serves us as conducting domain. As a somewhat academical extension, we have reduced the electrical conductivity _σ_ in one half of the conductor by a factor of 12 in order to simulate a material change and validate our embedded discretisation from Section 5. In Fig. 13, an overview of the test case is given. Figure 13a shows the basic setup. The conducting region measures 70 mm in length ( _x_ -direction), 150 mm in width ( _y_ -direction) and 20 mm in height ( _z_ -direction). The jump discontinuity of _σ_ occurs at the centre in _y_ -direction. An electrical conductivity of liquid silicon of _σ_ <sup>+</sup> = 1 _._ 2 _×_ 10 <sup>6</sup> <sup>S</sup> _/_ m was used in one half and a value of _σ_ <sup>_−_</sup> = 1 _/_ 12 _σ_ <sup>+</sup> = 1 _×_ 10 <sup>5</sup> <sup>S</sup> _/_ m in the other half. For this validation case, the inductor coil assembly with a span of 130 mm in length, 240 mm in width, corner radius of 8 mm, offset of 9 mm, an indi 38 10 <sup>0</sup> 10 <sup>_−_</sup> <sup>1</sup> 10 <sup>_−_</sup> <sup>2</sup> 10 <sup>_−_</sup> <sup>3</sup> 10 <sup>_−_</sup> <sup>4</sup> _R∞/RJ_ = const _._ _O_ (( _R∞/RJ_ ) <sup>_−_</sup> <sup>3</sup> ) 10 _._ 0 _∥E∥_ 1 _/∥E∥_ max _∥E∥_ 2 _/∥E∥_ max _∥E∥∞/∥E∥_ max 21 _._ 5 2 _._ 2 4 _._ 6 10 <sup>_−_</sup> <sup>5</sup> 10 <sup>0</sup> 10 <sup>1</sup> 10 <sup>2</sup> log( _R∞/RJ_ ) _<u>B∞/BJ</u>_ _<u>R∞/RJ</u>_ 1 _×_ 10 <sup>_−_</sup> <sup>1</sup> 2 _._ 2 1 _×_ 10 <sup>_−_</sup> <sup>2</sup> 4 _._ 6 1 _<u>×</u>_ 10 <sup>_−_</sup> <sup>3</sup> 10 _._ 0 <u>1</u> _<u>×</u>_ <u>10</u> <sup>_<u>−</u>_</sup> <sup>4</sup> <u>21</u> _<u>.</u>_ <u>5</u> Figure 12 & Table 3: Convergence rate of the normalised error norms from Eq. (64) for the time-averaged Lorentz-force ( _Q_ = _⟨_ _F_ _⟩t_ ) and different absolute sizes of the non-conducting region according to Table 2. The largest mesh (32 _._ 000) has served as reference solution for the error-estimation. The norms are also compared to the ratio (dotted) from Eq. (66). The table shows some selected values for _R∞/RJ_, which are also marked in the plot. vidual cross-section of 5 mm _×_ 5 mm and with its centroid being 13 mm above the conductor’s centroid, is situated within the non-conducting domain. It is fully discretised and part of the finite volume mesh which is illustrated in Fig. 13b. The size of the non-conducting region is not to scale and actually dimensioned such that a ratio of _B∞/B_ _≈_ 0 _._ 01 was achieved. Both contour plots in Fig. 14 show numerical results for the induced current density from simulations with two different frequencies of 1 kHz and 10 kHz. Thanks to our embedded discretisation, the flux continuity across the material boundary is preserved, while the jump in tangential current density is sharply resolved. The corresponding mesh consists of _N_ _≈_ 5 _×_ 10 <sup>5</sup> cells, whereof _N_ _≈_ 1 _×_ 10 <sup>5</sup> cells were used for the conducting region. By comparing the results from our simulations with results from the commercial FEM-software _Cobham Opera 3D_ [22] and a corresponding mesh with _≈_ 7 _×_ 10 <sup>6</sup> finite elements, we revealed a perfect agreement of any local data. Figure 15 shows the local course of all components of the complex phasor 39 (a) Geometry and dimensions (in [m]) of coils and the fluid region according to our model [9, 10] of the RGS process. The electrical conductivity _σ_ (in [ _×_ 10 <sup>6</sup> <sup>S</sup> _/_ m]) has been artificially reduced in one half of the conductor. (c) Inductors with hexahedral mesh. (b) Test case with conducting block, non-conducting domain and 3 excitation coils. (d) Conducting block with hexahedral finite volume mesh. Figure 13: Material boundary test case: Motivation from the RGS a), numerical model b) and inductor/conductor discretisation based on a finite volume mesh c)/d). from Eq. (19) of _j_ <sup>_′_</sup> across the jump in _σ_ . The sampled data has been taken from a line along the _y_ -direction through the centre of the conducting region (in terms of height), 5 mm below the conductor surface in _x_ -direction. The plots clearly present the continuous components in _y_ -direction and occurring jumps in _x_ -direction and _z_ -direction. 7. Conclusion A new multi-mesh concept for the solution of 3D eddy-current problems in the finite volume framework of _foam-extend_ ( _OpenFOAM_ ) was presented in detail. The corresponding formulation is based on the magnetic vector 40 (a) Induced current density _∥_ _j_ <sup>_′_</sup> _∥_ (in [ _×_ 10 <sup>6A</sup> _/_ m <sup>2</sup> ]) for a coil frequency of _ω_ 0 = 1 kHz. (b) Induced current density _∥_ _j_ <sup>_′_</sup> _∥_ (in [ _×_ 10 <sup>6A</sup> _/_ m <sup>2</sup> ]) for a coil frequency of _ω_ 0 = 10 kHz. Figure 14: Results for the amplitude of the induced current density _j_ <sup>_′_</sup> from simulations with jump discontinuity in _σ_ for two different frequencies. 41 2 1.5 1 0.5 0 -0.5 -1 -1.5 -2 -2.5 -3 -0.06 -0.04 -0.02 0 0.02 0.04 0.06 Width _y_ [m] _j_ <sup>_′_</sup> _j_ <sup>_′_</sup> _xy_ ; Re; Re _j_ <sup>_′_</sup> _j_ <sup>_′_</sup> _y_ ; Re _j_ <sup>_′_</sup> _xz_ ; Im; Re _x_ ; Im _j_ <sup>_′_</sup> _yz_ ; Im; Im _z_ ; Im (a) Course of the induced current density for a coil frequency of _ω_ 0 = 1 kHz. 6 4 2 0 -2 -4 -6 -8 -10 -12 -0.06 -0.04 -0.02 0 0.02 0.04 0.06 Width _y_ [m] _j_ <sup>_′_</sup> _j_ <sup>_′_</sup> _xy_ ; Re; Re _j_ <sup>_′_</sup> _j_ <sup>_′_</sup> _y_ ; Re _j_ <sup>_′_</sup> _xz_ ; Im; Re _x_ ; Im _j_ <sup>_′_</sup> _yz_ ; Im; Im _z_ ; Im (b) Course of the induced current density for a coil frequency of _ω_ 0 = 10 kHz. Figure 15: Comparison of results of all components of the complex phasor of _j_ <sup>_′_</sup> across the jump in _σ_ from our implementation in _foam-extend_ (solid lines) with results from the commercial FEM-software _Cobham_ _Opera_ _3D_ [22] (markers) for two different frequencies. 42 potential and the electric scalar potential. A semi-coupled solution of both potentials is memory efficient and, due to the usage of block-coupled matrices, numerically robust also for higher frequencies. Even though it involves a non-conducting domain around the region of interest, the former is only used for the solution of the magnetic vector potential. By means of edgebased inductors in combination with splitting the magnetic vector potential into an impressed and reduced part, both the size of the non-conducting region and the computational costs of Biot-Savart’s law were minimised. We have furthermore derived and included a special discretisation scheme to correctly resolve jump discontinuities in the electrical conductivity within the conducting region at material boundaries. An extensive validation for all aspects of the numerical approach was accomplished and demonstrated. The method is fully parallelised and may be readily coupled to models of other physical phenomena within the library of _foam-extend_ . Just recently we have investigated the three-dimensional behaviour of a free-surface flow under the influence of magnetic fields in the Ribbon Growth on Substrate process [41]. Related numerical simulations have been performed by means of a successful and efficient integration of hydrodynamic and the presented electromagnetic methods within one simulation tool. Acknowledgements This work was funded by the German Helmholtz Association in frame of the Alliance Liquid Metal Technologies (LIMTECH), Project C2. Their financial support for research and development is gratefully acknowledged. Special thanks go to Prof. Hrvoje Jasak, Prof. Zeljko <sup>ˇ</sup> Tukovi´c, Dr. Henrik Rusche and all other people involved in the NUMAP-FOAM Summerschool 2015 at the Faculty of Mechanical Engineering and Naval Architecture (FAMENA) in Zagreb for helpful lessons, fruitful debates and shared code. References References [1] C. J. Carpenter, Comparison of alternative formulations of 3dimensional magnetic-field and eddy-current problems at power frequencies, Proceedings of the Institution of Electrical Engineers 124 (11) (1977) 1026–1034. 43 [2] O. Biro, Edge element formulations of eddy current problems, Computer Methods in Applied Mechanics and Engineering 169 (1999) 391–405. [3] O. Biro, K. Preis, An edge finite element eddy current formulation using a reduced magnetic and a current vector potential, IEEE Transactions on Magnetics 36 (5) (2000) 3128–3130. [4] E. X. Xu, J. Simkin, Total and reduced magnetic vector potentials and electrical scalar potential for eddy current calculation, IEEE Transactions on Magnetics 40 (2) (2004) 938–940. [5] O. Biro, A. Valli, The Coulomb gauged vector potential formulation for the eddy-current problem in general geometry: Well-posedness and numerical approximation, Computer Methods in Applied Mechanics and Engineering 196 (2007) 1890–1904. [6] J. A. Stratton, Electromagnetic Theory, McGraw-Hill, 1941. [7] J. H. Ferziger, M. Peri´c, Computational Methods for Fluid Dynamics, Springer, 3 edn., 2002. [8] S. Spitans, E. Baake, B. Nacke, A. Jakovics, A numerical model for coupled free surface and liquid metal flow calculation in electromagnetic field, International Journal of Applied Electromagnetics and Mechanics 44 (2014) 171–182. [9] P. Beckstein, V. Galindo, G. Gerbeth, Electromagnetic flow control in the Ribbon Growth on Substrate (RGS) process, Magnetohydrodynamics 51 (2) (2015) 385–396. [10] P. Beckstein, V. Galindo, G. Gerbeth, Modelling free-surface dynamics in the Ribbon Growth on Substrate process (RGS), in: Proceedings of the 10 <sup>th</sup> International PAMIR Conference on Fundamental and Applied MHD, Cagliari, Italy, 257–261, 2016. [11] G. Djambazov, V. Bojarevics, K. Pericleous, N. Croft, Finite volume so lutions for electromagnetic induction processing, Applied Mathematical Modelling 39 (16) (2015) 4733–4745. [12] E. Haber, U. Ascher, D. Aruliah, D. Oldenburg, Fast Simulation of 3D Electromagnetic Problems Using Potentials, Journal of Computational Physics 163 (1) (2000) 150–171. 44 [13] D. A. Aruliah, U. M. Ascher, E. Haber, D. Oldenburg, A Method for the forward modelling of 3-D electromagnetic quasi-static problems, Mathematical Models and Methods in Applied Sciences 11 (1) (2001) 1–21. [14] The foam-extend project, URL `[http://www.foam-extend.org](http://www.foam-extend.org)`, 2016. [15] H. Jasak, Error Analysis and Estimation for the Finite Volume Method with Applications to Fluid Flows, Ph.D. thesis, Imperial College London, 1996. [16] H. Weller, G. Tabor, H. Jasak, C. Fureby, A tensorial approach to com putational continuum mechanics using object oriented techniques, Computers in Physics 12 (6) (1998) 620–631. [17] OpenFOAM - Free Open Source CFD, URL `[http://www.openfoam.](http://www.openfoam.org)` `[org](http://www.openfoam.org)`, 2016. [18] M. Darwish, I. Sraj, F. Moukalled, A coupled finite volume solver for the solution of incompressible flows on unstructured grids, Journal of Computational Physics 228 (2009) 180–201. [19] K. Jareteg, V. Vukˇcevi´c, H. Jasak, pUCoupledFoam - An open source coupled incompressible pressure-velocity solver based on foam-extend, in: 9th OpenFOAM Workshop, 2014. [20] S. Patankar, D. Spalding, A calculation procedure for heat, mass and momentum transfer in three-dimensional parabolic flows, International Journal of Heat and Mass Transfer 15 (10) (1972) 1787–1806. [21] K. J. Binns, P. J. Lawrenson, C. W. Trowbridge, The Analytical and Numerical Solution of Electric and Magnetic Fields, Wiley, 1992. [22] Opera-3D Design Software, URL `[http://operafea.com](http://operafea.com)`, 2016. [23] V. Vukˇcevi´c, Numerical Modelling of Coupled Potential and Viscous Flow for Marine Applications, Ph.D. thesis, University of Zagreb, 2016. [24] V. Vukˇcevi´c, H. Jasak, I. Gatin, Implementation of the Ghost Fluid Method for Free Surface Flows in Polyhedral Finite Volume Framework, Computers & Fluids (2017) In Press. 45 [25] R. P. Fedkiw, T. Aslam, S. Xu, The Ghost Fluid Method for Deflagra tion and Detonation Discontinuities, Journal of Computational Physics 154 (2) (1999) 393–427. [26] J. Huang, P. M. Carrica, F. Stern, Coupled ghost fluid/two-phase level set method for curvilinear body-fitted grids, International Journal for Numerical Methods in Fluids 44 (2007) 867–897. [27] O. Desjardins, V. Moureau, H. Pitsch, An accurate conservative level set/ghost fluid method for simulating turbulent atomization, Journal of Computational Physics 227 (18) (2008) 8395–8416. [28] B. Lalanne, L. R. Villegas, S. Tanguy, F. Risso, On the computation of viscous terms for incompressible two-phase flows with Level Set/Ghost Fluid Method, Journal of Computational Physics 301 (2015) 289–307. [29] H. Johansen, P. Colella, A Cartesian Grid Embedded Boundary Method for Poisson’s Equation on Irregular Domains, Journal of Computational Physics 147 (1998) 60–85. [30] R. K. Crockett, P. Colella, D. T. Graves, A Cartesian grid embedded boundary method for solving the Poisson and heat equations with discontinuous coefficients in three dimensions, Journal of Computational Physics 230 (2010) 613–628. [31] S. Wang, J. Glimm, R. Samulyak, X. Jiao, C. Diao, An Embedded Boundary Method for Two Phase Incompressible Flow, ArXiv e-prints . [32] R. Moreau, Magnetohydrodynamics, Kluwer, 1990. [33] P. A. Davidson, An Introduction to Magnetohydrodynamics, Cambridge University Press, 2001. [34] N. Weber, V. Galindo, F. Stefani, T. Weier, T. Wondrak, Numerical simulation of the Tayler instability in liquid metals, New Journal of Physics 15 (2013) 043034. [35] H. K. Versteeg, W. Malalasekera, An introduction to Computational Fluid Dynamics: The finite volume method, Prentice Hall, 2 edn., 2007. 46 [36] Z. <sup>ˇ</sup> Tukovi´c, H. Jasak, A moving mesh finite volume interface tracking method for surface tension dominated interfacial fluid flow, Computers & Fluids 55 (2012) 70–84. [37] J. Pal, A. Cramer, T. Gundrum, G. Gerbeth, MULTIMAG - A MULTI purpose MAGnetic system for physical modelling in magnetohydrodynamics, Flow Measurement and Instrumentation 20 (6) (2009) 241–251. [38] L. Gorbachev, N. Nikitin, A. Ustinov, Magnetohydrodynamic rotation of an electrically conductive liquid in a cylindrical vessel of finite dimensions, Magnetohydrodynamics 10 (4) (1974) 406–414. [39] I. Grants, G. Gerbeth, Stability of axially symmetric flow driven by a rotating magnetic field in a cylindrical cavity, Journal of Fluid Mechanics 431 (2001) 407–426. [40] J. D. Jackson, Classical Electrodynamics, Wiley, 2 edn., 1975. [41] P. Beckstein, V. Galindo, G. Gerbeth, Free-surface dynamics in the Ribbon Growth on Substrate (RGS) process, International Journal of Applied Electromagnetics and Mechanics 53 (S1) (2017) 43–51. 47

섹션 본문

섹션 본문이 없습니다.

참고문헌

참고문헌 정보가 없습니다.