Next Article in Journal
Perturbation of Wavelet Frames of Quaternionic-Valued Functions
Next Article in Special Issue
The Hybrid FEM-DBCI for the Solution of Open-Boundary Low-Frequency Problems
Previous Article in Journal
Solving High-Dimensional Problems in Statistical Modelling: A Comparative Study
Previous Article in Special Issue
A FEM-Green Approach for Magnetic Field Problems with Open Boundaries
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:

Electromagnetic Devices with Moving Parts—Simulation with FEM/BEM Coupling

TAILSIT GmbH, Nikolaiplatz 4, 8020 Graz, Austria
Author to whom correspondence should be addressed.
Mathematics 2021, 9(15), 1804;
Submission received: 31 May 2021 / Revised: 20 July 2021 / Accepted: 26 July 2021 / Published: 30 July 2021
(This article belongs to the Special Issue The BEM and FEM/BEM Methods in Computational Electromagnetics)


The numerical analysis of electromagnetic devices by means of finite element methods (FEM) is often hindered by the need to incorporate the surrounding domain. The discretisation of the air may become complex and has to be truncated by artificial boundaries incurring a modelling error. Even more problematic are moving parts that require tedious re-meshing and mapping techniques. In this work, we tackle these problems by using the boundary element method (BEM) in conjunction with FEM. Whereas the solid parts of the electrical device are discretised by FEM, which can easily account for material non-linearities, the surrounding domain is represented by BEM, which requires only a surface discretisation. This approach completely avoids an air mesh and its re-meshing during the simulation with moving or deforming parts. Our approach is robust, shows optimal complexity, and provides an accurate calculation of electromagnetic forces that are required to study the mechanical behaviour of the device.

1. Introduction

The digital development of electromagnetic devices usually requires a coupled multi-physical approach to achieve a sufficiently accurate prediction of electrical and mechanical properties. Examples are electric motors, actuators or eddy-current brakes and also processes such as magnetic metal forming. Their functionality is determined by the effect of electromagnetic forces induced by permanent magnets or AC coils.
Conventional simulation methods are based on the finite element method (FEM) and rely on the domain discretisation of both the solid parts and the surrounding air or protective gas environment; however, this has some significant drawbacks for the design engineer: the volume of the surrounding domain is usually not covered by the computer-aided design (CAD) model and its domain needs to be discretised and artificially truncated. This potentially introduces non-physical boundary conditions. Moreover, if individual parts move against each other or are subject to large deformations, frequent and tedious re-meshing of the surrounding domain is required, which leads to additional modelling and computational effort.
As an alternative to FEM, the boundary element method (BEM) [1] can be used to simulate the surrounding domain. A surface discretisation is sufficient to incorporate the complete exterior domain fulfilling the decay conditions exactly. This means that moving components can be handled in an intriguingly simple fashion by completely avoiding air meshes and re-meshing.
The advantage of coupling both methods is well known and has been addressed by [2,3] at an early stage. Different approaches of FEM/BEM coupling schemes for eddy-current problems have been proposed e.g., in [4,5]. In this work, we present a symmetric coupling scheme based on [6]. It utilises the particular advantages of the involved numerical methods and provides the application engineer with an easy-to-use, versatile, and accurate simulation tool.
This paper is organised as follows: After introducing the continuous formulation in Section 2, the spatial and temporal discretisation as well as the Newton method are briefly presented in Section 3. In Section 4 we explain how a robust and optimally scalable implementation has been achieved by using special solution and preconditioning strategies as well as acceleration techniques for the solution of the system of equations. As a crucial post-processing step, the force calculation is explained in Section 5. Finally, the accuracy of the proposed methodology is demonstrated in Section 6 using established benchmark problems and its applicability is shown by means of practical examples.

2. Continuous Formulation

2.1. Eddy-Current Model

The underlying problem considered in this work is the eddy-current model that is obtained from Maxwell’s equations by neglecting the displacement current D . The remaining set of equations reads [7]
curl H = J
curl E = B t
div B = 0 ,
which are, in order, Ampère’s law, Faraday’s law, and Gauß’s law for magnetism. The involved fields are the magnetic field strength H , the current density J , the electric field E , and the magnetic flux intensity B . These equations are supplemented by the material laws
B = μ H + M
J = J s + σ E
with the magnetic permeability μ , the electric conductivity σ , a given magnetisation M , and the applied source current density J s . Note that relation between the H - and B -fields can be non-linear, in which case, the permeability μ depends on the field strength. Furthermore, the inverse of μ is denoted by the reluctivity ν and it is customary to use the decompositions
μ = μ 0 μ r and ν = ν 0 ν r = 1 μ 0 ν r
with the permeability of free space μ 0 = 4 π · 10 7 H / m and the dimensionless scalars μ r and ν r = 1 μ r . For air and vacuum we assume μ r = ν r = 1 . Furthermore, expression (5) contains the term J e = σ E , which represents Ohm’s law and yields the induced or eddy currents J e . Since J s and M are prescribed known quantities, the above set of equations can be expressed by only one vector field. Here, we make use of the A -based formulation in which an artificial vector potential A is introduced such that
B = curl A
and, therefore, Equation (3) is automatically fulfilled. Plugging all equations together and making use of a temporal gauging [7], we obtain the second-order partial differential equation
σ A t + curl ν ( curl A ) curl A M = J s .
The above equations are valid in the entire space R 3 and across any material interface the following transmission conditions hold
H × n = 0 and A × n = 0 ,
where n is a unit vector normal to the considered surface. In these conditions, we assume the absence of surface currents and similar fields. Note, that in conducting regions ( σ > 0 ) the electric field is given by
E = t A ,
whereas in non-conducting regions ( σ = 0 ) it is not uniquely defined [7]. For later purposes, we also define the magnetostatic energy as
w ( B ) = 0 B H ( β ) d β ,
where we assume that the material is always isotropic, that is B and H are always co-linear. Moreover, B and H are the magnitudes of the B - and H -fields, respectively.

2.2. Weak Form

In order to develop a finite and boundary element discretisation of the considered eddy-current problem, we first establish a weak form. To this end, let Ω denote an embedding domain, which can be multiply connected and consist of disconnected subdomains. For simplicity, in Figure 1, a rectangular domain is depicted, which encompasses the regions with applied source currents and the regions with conducting materials. Let L 2 ( Ω ) denote the space of vector-valued functions f whose components are square-integrable in the domain Ω [8]. With this function space, we define
X Ω = H ( curl , Ω ) = f L 2 ( Ω ) :   curl f L 2 ( Ω ) .
For the sake of readability, we abbreviate with t ( · ) the time derivative and denote the L 2 -inner product between two vector-valued function f and g as
f , g Ω = Ω f · g d Ω .
Using a weighted-residual method with test function A X Ω , we obtain via integration by parts
0 = σ t A + curl ν curl A M J s , A Ω = σ t A , A Ω + ν curl A , curl A Ω + H × , γ D A Γ M , curl A Ω J s , A Ω .
In the last expression, so-called trace operators are used, which are defined as
γ D ± A = n × A | Γ ± × n
H × ± = ν curl A M | Γ ± × n = ν γ N ± A M | Γ ± × n ,
where the function limits to the boundary are
f | Γ ± ( x ) = lim ε 0 f ( x ± ε n ) x Γ .
At last, there is the duality paring · , · Γ , which reads
f , g Γ = Γ f · g Γ ,
where the function regularities and thus corresponding spaces for each slot are detailed in [6]. For further conciseness, we re-write Equation (14) as
m ( t A , A ) + a ν ( A , A ) + H × , γ D A Γ = ( A )
with the abbreviations
m ( t A , A ) = σ t A , A Ω = σ t A , A Ω c
a ν ( A , A ) = ν curl A , curl A Ω
( A ) = J ( A ) + M ( A ) = J , A Ω s + M , curl A Ω
Remark 1.
Expression (19) can only be solved for the unknown field A if we acquire some knowledge about the boundary field H × or make restrictive assumptions. To the best of our knowledge, there are the following options:
Perfect electric conductor (PEC) boundary conditions imply γ D A = 0 (and therefore B · n = 0 ). In this case, one usually makes use of the function space H 0 ( curl , Ω ) , that is the subspace of (12) with vanishing γ D on the boundary. Application of the weighted-residual method in this subspace does not yield any boundary term.
Perfect magnetic conductor (PMC) boundary conditions state H × = 0 , which means that the boundary term can be dropped from Equation (19).
Dirichlet-to-Neumann maps allow for a (global) functional relation between H × and γ D A . In this case, the boundary term is either approximated by absorbing or asymptotic boundary conditions or represented accurately by means of boundary integral equations as in the following. For an overview of these techniques, see [9].

2.3. Boundary Integral Equations

Let Ω + denote the complement domain R 3 Ω ¯ , exterior to Ω . Furthermore, we assume that μ = μ 0 everywhere in Ω + . Following the approach of [6], which is based on the Stratton–Chu formula, we can represent the vector potential A in Ω + as
A ( x ) = μ 0 Γ G ( x , y ) H × + ( y ) d Γ y + curl x Γ G ( x , y ) n × γ D + A ( y ) d Γ y grad x Γ G ( x , y ) B + · n ( y ) d Γ y x Ω + .
In this equation, the function G ( x , y ) is the fundamental solution of the Laplace operator
G ( x , y ) = 1 4 π 1 | x y | .
By means of the transmission condition (9), we can replace H × by H × + in the boundary term in Equation (19). Now, we obtain a representation of H × + by applying the exterior trace (16) to the representation (23). Moreover, since H × + will play the role of an additional variable, we dedicate an extra symbol to it
λ = H × + .
Applying both exterior traces to (23) yields
γ D + A = D ( γ D + A ) μ 0 V ( λ ) S ( B + · n )
λ = ν 0 W ( γ D + A ) K ( λ )
Before detailing what is hidden behind these the new symbols, we point out that we are aiming at a representation of λ , γ D Γ . Equation (27) represents the unknown surface datum λ in terms of boundary integral operators applied to the datum itself (operator K ) and to the trace γ D + A (operator W ). Using γ D + A = γ D A from (9), we still need a further equation. This is provided by (26), but introduces B + · n as another datum. It can be shown that div Γ λ = 0 and therefore
X Γ = H 1 / 2 ( curl Γ , Γ ) and Y Γ = H 1 / 2 ( div Γ 0 , Γ )
are the function spaces of choice for the pairing (18), see [6] for a more theoretical reasoning and precise definitions. Roughly speaking, X Γ is the trace space corresponding to X Ω and Y Γ is the space of all vector-valued functions with a specific regularity and zero surface divergence. It turns out that λ , S ( f ) Γ = 0 for any suitable f and all λ Y Γ . We can thus formulate weighted expressions of the traces (26) and (27)
λ , γ D A Γ = ν 0 W ( γ D A ) , γ D A Γ K ( λ ) , γ D A Γ 0 = λ , D I ( γ D A ) Γ μ 0 λ , V ( λ ) Γ .
Furthermore, we define K = D I and it can be shown [6] that K is adjoint to K , which justifies the latter notation. Finally, we use a more concise writing as follows
λ , γ D A Γ = w ( γ D A , γ D A ) + k ( λ , γ D A )
0 = k ( λ , γ D A ) v ( λ , λ ) ,
where we have used the following abbreviations
v ( λ , μ ) = λ , V ( μ ) Γ
k ( λ , f ) = λ , K ( f ) Γ
w ( f , g ) = W ( f ) , g Γ .
It remains to define the boundary integral operators V , K and W , which are commonly referred to as single layer, double layer, and hypersingular operators, respectively. We have
V ( μ ) = γ D + Γ G ( x , y ) μ ( y ) d Γ y
K ( f ) = γ D + curl x Γ G ( x , y ) [ n × f ] ( y ) d Γ y f
W ( f ) = γ N + curl x Γ G ( x , y ) [ n × f ] ( y ) d Γ y .
With the system (30) and (31) the boundary term in (19) can be replaced and we obtain
m ( t A , A ) + a ν ( A , A ) + ν 0 w ( γ D A , γ D A ) + k ( λ , γ D A ) = ( A ) k ( λ , γ D A ) μ 0 v ( λ , λ ) = 0 .
This statement shall hold for all considered times and for all ( A , λ ) X Ω × Y Γ .
Remark 2.
The bilinear forms m, w, and v are symmetric, k and k are adjoint to each other, and the linearisation of a (see Section 3.4) gives rise to a symmetric form. There are other coupling formulations that give rise to an unsymmetric system of equations. One possibility is obtained by employing a single-layer potential instead of (23)
A ( x ) = Γ G ( x , y ) k ( y ) Γ y
with the surface density function k . This approach is commonly labeled as indirect, due to the fact that k in most circumstances does not have a direct physical meaning. Another alternative is to employ only Equation (31) as an extra equation. This way, we obtain a direct, unsymmetric formulation.

3. Discretisation

We need to construct finite element spaces X Ω h and Y Γ h that approximate (12) and (28). The approximation of X Ω is well-established in the finite element community, see e.g., [8,10], and we simply state
A ( x ) A h ( x ) = a i w i ( x ) with X Ω h = span { w i } .
The employed basis functions w i are Nédélec functions of the first kind [10], which are in case of the lowest order associated with the edges of the finite element mesh. The restriction of these functions to those at the surface of the mesh naturally gives rise to the traces γ D w i , which span the space X Γ as given in (28).
It is more delicate to find an approximation of Y Γ since the constraint of zero surface divergence plays an essential role. We note that div Γ curl Γ ψ = 0 and seek, at first, a representation by means of the surface curl, curl Γ ψ = ( grad Γ ψ ) × n . In the first trial, we thus write
λ ( x ) λ h ( x ) = curl Γ ψ h ( x ) = ψ j curl Γ φ j ( x ) ,
where, for the lowest order, φ j are the nodal finite element that functions on the surface mesh.

3.1. Cohomologies

Unfortunately, trial (41) is not sufficient since there are functions η with div Γ η = 0 that can not be represented by means of a linear combination of curl Γ ψ j . These functions depend on the topology of the domain Ω ; the following is an example to illustrate the situation.
Example 1.
The domain depicted in Figure 2 serves as an example to point out the defect of the trial (41). We assume that there is a toroidal current density J , that is J circulates around the hole in the domain. The total current I for a cross section Σ with normal n Σ and closed boundary Σ (for instance, the red circle in Figure 2) becomes
I = Σ J · n Σ d Σ = Σ curl H · n Σ d Σ = Σ H · τ d s = γ ( H · n ) n + n × λ · τ d s = γ n × grad Γ ψ × n · τ d s = γ grad ψ · τ d s = 0 ,
where n refers to the domain’s surface Γ and τ is tangent to γ , hence also tangent to Γ. In this derivation, we have used Ampère’s law (1), Stoke’s theorem, the decomposition into normal and tangential surface components of H , the representation of λ by means of curl Γ ψ , and the fact that γ = Σ is a closed circle. Clearly, for the given situation, there is a contradiction in that I cannot be zero for the considered non-zero current density. We thus need to augment the trial (41) by adding extra functions.
For domains that are not simply connected, we have to incorporate vector functions along the topological generators. For the case depicted in Figure 2, there are two independent generators (blue and red) and a vector function along the blue one repairs the trial and yields a non-zero total current. For simplicity, it does not hurt to incorporate vector functions along both generators and we know from basic topology that each hole implies two such generators. Let Ω have L topological holes and therefore have 2 L independent generators γ . Along each generator, we define a vector-valued function η such that
γ k η · τ d s = δ k ,
where γ k is the dual path to γ k in the same way as in Figure 2. Note that ( γ k ) = γ k . Finally, we state the augmented trial for the surface magnetic field
λ ( x ) curl Γ ψ h ( x ) + = 1 2 L α η .
We must discuss how to obtain these global functions η . Here, we work with the algorithms developed in [11], which only require a surface mesh if all 2 L generators are included.

3.2. Spatial Discretisation

By splitting spatial and temporal discretisation, we summarise the spatial approximations
A ( x , t ) a i ( t ) w i ( x ) λ ( x , t ) ψ j ( t ) curl Γ φ j ( x ) + α ( t ) η .
Introducing these FE approximations into the system (38) yields the system of equations
M ¯ 0 ¯ 0 ¯ 0 ¯ t a ¯ ( t ) ψ ¯ ( t ) + h ¯ ( a ¯ ) 0 ¯ + W ¯ K ¯ K ¯ V ¯ a ¯ ( t ) ψ ¯ ( t ) = f ¯ ( t ) 0 ¯ .
This system still depends continuously on time and is non-linear in the term h ¯ ( a ¯ ) due to the possible non-linear relation between B - and H -fields.
Remark 3.
Equation (46) does not explicitly reveal the occurrence of the weights α associated to the additional vector-fields η . These extra degrees of freedom are either subsumed in the coefficients ψ ¯ or they have been removed from the system of equations by simple elimination. In the latter case, a matrix of dimension 2 L × 2 L is inverted prior to the solution process and the matrices representing the boundary integral operators are modified accordingly.

3.3. Time Integration

For simplicity we use here the Euler backward time integration method
t y = f ( y , t ) y n + 1 = y n + Δ t f ( y n + 1 , t n + 1 ) ,
where y n approximates y ( t n ) and t n = n Δ t is the n-th time point along an equidistant time grid with step size Δ t .
Remark 4.
The presented method is not restricted to the Euler backward integration nor to equidistant time grids. The preceding choices are only made in order to keep the presentation of the algorithms as simple as possible.
Based on this approach, system (46) becomes
1 Δ t M ¯ 0 ¯ 0 ¯ 0 ¯ a ¯ n + 1 ψ ¯ n + 1 + h ¯ ( a ¯ n + 1 ) 0 ¯ + W ¯ K ¯ K ¯ V ¯ a ¯ n + 1 ψ ¯ n + 1 = f ¯ n + 1 0 ¯ + 1 Δ t M ¯ 0 ¯ 0 ¯ 0 ¯ a ¯ n ψ ¯ n
with suitable initial conditions for a ¯ 0 = a ¯ ( 0 ) .

3.4. Newton Method

System (48) is possibly non-linear as represented by the term h ¯ ( a ¯ n + 1 ) . Therefore, within each time step it is necessary to iteratively determine the new solution vector by means of a non-linear equation solver. We chose a Newton method with optional line search in order to solve (48). To this end, we write
g ¯ ( x ¯ ) = L ¯ x ¯ + n ¯ ( x ¯ ) + f ¯ = 0
in terms of x ¯ = [ a ¯ n + 1 ψ ¯ n + 1 ] . The meaning of the symbols L ¯ , n ¯ , and f ¯ should be clear when comparing to Equation (48), where the non-linearity is contained in n ¯ ( x ¯ ) . The Newton method now reads
x ¯ ( k + 1 ) = x ¯ ( k ) + β ( k ) Δ x ¯ with L ¯ + J ¯ ( x ¯ ( k ) ) Δ x ¯ = f ¯ L ¯ x ¯ ( k ) n ¯ ( x ¯ ( k ) ) .
In this algorithm, x ¯ ( k ) denotes the current iterate, J ¯ the Jacobian related to n ¯ ( x ¯ ) , and β ( k ) ( 0 , 1 ] is a weighting parameter, which is obtained by means of a one-dimensional minimisation of a scalar-valued cost function Φ ( β ) = Φ ^ ( x ¯ ( k ) + β Δ x ¯ ) . Ideally, D x ¯ Φ ^ = g ¯ ( x ¯ ) and we choose
Φ ^ ( x ¯ ) = 1 2 x ¯ L ¯ x ¯ + e ( x ¯ ) + x ¯ f ¯ ,
where e ( x ) denotes the magnetostatic energy contained in Ω . In particular, we use the line search algorithm presented in [12] in order to determine the weighting parameter β ( k ) in the k-th Newton iteration of the form (50).

4. Solution of Linear System of Equations

Plugging everything together, the final system of equations in each Newton step of each time integration step has the form
1 Δ t M ¯ + J ¯ n + 1 ( k ) + W ¯ K ¯ K ¯ V ¯ Δ a ¯ Δ ψ ¯ = f ¯ n + 1 0 ¯ 1 Δ t M ¯ 0 ¯ 0 ¯ 0 ¯ a ¯ n + 1 ( k ) a ¯ n ψ ¯ n + 1 ( k ) ψ ¯ n h ¯ ( a ¯ n + 1 ( k ) ) 0 ¯ W ¯ K ¯ K ¯ V ¯ a ¯ n + 1 ( k ) ψ ¯ n + 1 ( k ) .
The system matrix in (52) is symmetric and indefinite. Furthermore, there are two major difficulties when it comes to solving this system:
  • The matrix J ¯ n + 1 ( k ) , that is, the linearisation of h ¯ ( a ¯ ) at a ¯ n + 1 ( k ) , has a large kernel due to the fact that curl grad = 0 . In case there are non-conducting regions, or in other words supp ( σ ) Ω , this deficiency carries over to the entire top-left block of the system matrix. In case of a direct solver, one would need to classify the degrees of freedom on the finite element mesh and eliminate the redundant ones, see [13]. For iterative solvers, on the other hand, careful preconditioning is needed as discussed below.
  • The matrices W ¯ , K ¯ , and V ¯ are fully populated. This implies a quadratic complexity for storage and cost of matrix-vector products. Since a direct solution is complicated from the onset—see the previous point—it can be ruled out completely when considering its cubic complexity due to the boundary element matrices. In case of an iterative solution, only the actions of these matrices on a given vector need to be calculated.

4.1. Fast Multipole Method

The second of the above-listed difficulties, the fully populated BEM matrices, is addressed here by using a fast multipole method [14]. Without going too much into the details, we will give an outline of the mechanisms of the method. To begin with, each surface degree of freedom is associated with a geometric location and these locations are hierarchically clustered, typically by using octrees. This means that the point cloud representing the degrees of freedom is partitioned into eight similar cubes and each cube, in turn, is subdivided in the same way if it is not empty and contains more than a predefined number of points. The left image in Figure 3 indicates this partitioning by the different colours given to each point the belongs to a cluster, that is one of these boxes, of the same partitioning level. Each cluster has direct neighbours that define its near-field and the remaining clusters of the same level thus belong to its far field. The key idea is now that the interaction between a cluster and its far field can be approximated. Moreover, the near-field clusters become far field after a further partition which gives rise to a multi-level scheme, as indicated by the right image in Figure 3. By means of spherical harmonics, one can make use of an expansion with the structure
1 | x y | = i = 0 f i ( x ) g i ( y )
and obtain an approximation by truncation of the infinite series. Expression (53) is far more complex in reality and only used here to transmit the basic idea of fast multipole approximations. The level of truncation of this sum together with the corresponding geometric constellation allows for a precise error estimate [14] such that the approximation error of the fast multipole can be well controlled. Overall, the fast multipole method exhibits a linear complexity in terms of the surface degrees of freedom.

4.2. Preconditioning

As pointed out earlier, iterative solution methods are the right choice in order to solve system (52); however, to keep the numerical costs bounded it is essential to use preconditioners, which ideally control the conditioning of the system independent of mesh refinement. Methods that come close to this ideal are algebraic multigrid methods [15] and operator preconditioning [16]. In particular, we choose a preconditioner P ¯ of the form
P ¯ = P ¯ A P ¯ V .
Here, P ¯ A is based on [17] and hence a modification of an algebraic multigrid scheme. The BEM matrix V ¯ on the other hand has the same coefficients as the discretisation of the hypersingular operator for Laplace equation and we therefore make use of the operator preconditioning as advocated in [16] in order to realise P ¯ V . Since the preconditioner P ¯ V is itself a boundary element matrix, we also make use of the fast multipole method for its application with linear numerical cost.

5. Force Computation

With the aim of analysing the mechanical behaviour of electromagnetic devices, it is of utmost importance to calculate magnetic forces. Classically, the key player in the interaction is the Lorentz force density f L = J × B , where here and in the following, the electric part of this force is being neglected. Obviously, this force is zero in the absence of currents and can therefore not account for, e.g., the forces between two permanent magnets; therefore, we make use of the approach given in [18] and consider a force as a specific derivative of the magnetic energy with respect to an (imaginary) velocity field. The gist is given by the force component in direction of v ,
F · v = Ω σ ( B , H ) : grad v d Ω .
In this equation, v denotes the velocity that is power-adjoint to the force of interest and σ is the Maxwell stress tensor
σ = B H H · B w ( B ) I
with the magnetostatic energy density w ( B ) (11). Note that the term in brackets is often referred to as co-energy. This tensor is symmetric due to the assumption of an isotropic material and, hence, the co-linearity of B and H . By integration of parts, we obtain
F · v = Ω div σ v div σ · v d Ω = Γ σ v · n d Γ + Ω div σ · v d Ω
and for the domain part the integrand becomes
div σ = div B H H · B w ( B ) I = ( div B ) H + ( grad H ) B ( grad H ) B ( grad B ) H + grad w = 0 H + ( curl H ) × B + grad w grad B H = J × B ,
which is the Lorentz force density f L . Clearly, if there are no currents (magnetostatics) the only non-zero contribution to the force has to come from the boundary term when using the last part of (57). In order to compute the -th component of a nodal force F k [ ] at the node x k of the finite element mesh, we set v = φ k e with the nodal hat function associated to x k and the -th Cartesian unit vector. Therefore, we have the following options to calculate the k-th nodal force
F k = supp φ k σ ( B , H ) grad φ k d Ω
= supp φ k Ω f L φ k d Ω supp φ k Γ σ n φ k d Γ .
The first variant, (59), is commonly referred to as the principle of virtual work in the finite element community and gives good accuracy. One has to bear in mind that for the underlying principles [18] to be valid, the velocity field v has to be continuous. This implies that a nodal force at the boundary of a domain can only be calculated by (60). To be more precise, the expression (60) contains the Lorentz force density f L and the boundary part stemming from contributions from Ω + , that is from outside of Ω where B = μ 0 H . Therefore, we can rewrite the integrand of the boundary term as
σ n = H B n H · B 1 2 H · B n = B · n H 1 2 B · H n = B n H n n + n × λ 1 2 B n H n + ( n × B × ) · ( n × λ ) n = B n 1 μ 0 B n n + n × λ 1 2 1 μ 0 B n B n + ( n × μ 0 λ ) · ( n × λ ) n = 1 2 1 μ 0 B n 2 μ 0 λ · λ n + B n n × λ .
Hence, we can use tangential magnetic field λ from the exterior (BEM) part of the simulation and the normal magnetic flux intensity B n from the interior (FEM) part.

6. Results

In this section, we present a few numerical simulations that demonstrate the accuracy of the proposed method and, in addition, emphasise its versatility in combination with moving parts. The convergence of the method has been demonstrated elsewhere [19]. All examples have been carried out with lowest-order space discretisation and a Euler-backward time integration. Not mentioned in the derivations of this work is that current excitations from spatially separate coil domains can also be incorporated by means of the Biot–Savart law [20]. In this case, excitation fields A s and B s = curl A s are pre-computed for the given coil and current distribution, which can then be incorporated by means of the transmission conditions (9). The advantage is that the coil domains need not be incorporated directly into the computation and thus the system size is reduced.
We emphasise that in every of the presented examples only the visualised solid parts require a volume mesh. The proposed method effectively eliminates the discretisation of free space and we make full use of this advantage.

6.1. Force between Permanent Magnets

To begin with, we look at the force between two permanent magnets. In particular, the case of two rectangular parallelepipeds with parallel axes and the case of two cylindrical magnets with the same central axis are analysed. As reference for these cases, the analytic solutions given in [21] for the parallelepipeds and in [22] for the cylindrical magnets are used. The left images in Figure 4 and Figure 5 show the simulation setup where in both cases the magnetisation is the vertical (z) direction. The right plots in these Figures show the outcome of the analytical model of the references and the simulated results for various positions of the red magnets. Plotted are the total force acting on the blue magnets. The precise setups of the models, that is magnetisation value and geometry parameters, are given in the references [21,22] where, in addition, experimental validations of these models have been carried out.
In both cases, we can observe an excellent agreement between analytic model and simulation results. Note that here there is no Lorentz force and we have used expression (60) with (61) for the calculation of the nodal forces whose sum provides the presented results.

6.2. TEAM 24

Here, we consider the TEAM 24 benchmark problem as defined in [23]. The problem domain consists of a stator and rotor part and two coils surrounding the poles of the stator. The rotor is fixed at an angle of 23 rotated from alignment of the poles. The geometry is depicted in the left image in Figure 6. Here, the current-driven version is carried out using the current-time relation given in [23]. The currents asymptotically converges to a steady value such that time-dependent effects disappear. The material behaviour in the rotor and stator regions is characterised by the B-H curve given in the right image in Figure 6. Note that it has also been confirmed in other studies that the provided data points of [23] do not describe the material sufficiently; the region between zero and the first data point are especially problematic: drawing a straight line from zero to this first point or a somewhat curved approximation curve lead to significant differences in the outcome. To alleviate this issue, we make use of the so-called Fröhlich model, see [24], that gives a global approximation of the B ( H ) relation and is also plotted in Figure 6.
Figure 7 shows some images of the results of the simulation. We display the induced currents J e at t = 0.03 s in the left image and the B-field at t = 0.3 s in the right image. Note, that the induced currents disappear for large times since the system approaches a steady state. Moreover, the magnitude of the B-field is with almost 2.5 T well in the saturation phase when considering the B ( H ) curve in Figure 6.
The proposition of this benchmark [23] also contains measured experimental data for the validation of the simulation results. To this end, we consider the average magnetic flux density, B ¯ = S B · n S S / | S | , through a specified surface S that is basically the cross section of a rotor pole. The comparison of measured and simulated results is given in the left plot in Figure 8. In addition, the integral torque T on the rotor domain has been measured and calculated for the right plot of the same figure. We can observe a very good agreement between experimental and simulated data with deviations of less than 4 % for large times in both considered quantities.

6.3. Eddy-Current Brake

Next, we consider the simplest model of an eddy-current brake: a permanent magnet falling through a copper pipe. This resembles a classic experiment from high school physics and demonstrates induction mechanisms. The basic principle is depicted in the left image in Figure 9. A permanent magnet that falls due to gravity incurs a temporarily changing magnetic field, and by virtue of Faraday’s law (2), creates an electric field. This induces currents in the copper pipe due to Ohm’s law (5). These currents, in turn, create a magnetic field due to Ampère’s law (1), which brakes the magnet.
Snapshots of the falling magnet are displayed in Figure 10, which show the induced currents in the copper pipe near the magnet. One can see the circumferential currents with direction above opposed to below the magnet position, in accordance with the left image in Figure 9. The snapshots are given at equidistant time points and thus demonstrate the constant velocity of the magnet as opposed to a constant acceleration in free fall. This is substantiated by means of the plot in Figure 9. While inside the tube, the magnet falls with a constant velocity whose magnitude agrees very well with the simplified analytic model developed in [25].

6.4. Electromagnetic Launcher

In this example, we consider an application in which electromagnetic forces are used to accelerate a conducting, magnetic object. In its most simple version, a coil is temporarily subject to a direct current that generates a strong magnetic field. This, in turn, magnetises the projectile, which is then being sucked into the coil. If the current is turned off at the right time, this acceleration is never reversed and the object keeps moving in the desired direction. Coil guns typically work with this principle and often contain a series of such coils that further accelerate the object by precise timing of activation and deactivation of the currents. In the presented example, we use the setup of [26] with a coil of 203 turns and a current density as given in the left plot of Figure 11. The material behaviour of the projectile is described the B ( H ) -relation as in the right plot of the same figure.
Figure 12 shows eight snapshots of the simulation, after the first time step of size Δ t = 1 × 10 5 s, then at t i = 50 i Δ t with i = 1 , , 7 . Clearly, the projectile hardly moves for the first four considered time points and then moves noticeably to the right.
The particular details of the projectile’s motion is given in Figure 13 with the integral force on the object and its velocity over the considered time. For comparison, the simulation has been performed as a magnetostatic axisymmetric problem with the software package FEMM [27]. It is based on the FEM, and therefore the air region has to be re-meshed in each time step.
Remark 5.
The presented simulation here differs from the work presented in [26] in several aspects. In the reference, the term σ t A of Equation (8) is replaced by σ ( t A v × curl A ) , which stems from the coordinate change due to the motion of the projectile where v is the velocity vector of the projectile. Moreover, drag forces of structure 1 2 C S ρ a i r v · v with a shape factor C and the cross section S have been included. We have incorporated both these effects but the difference to the outcome without them is negligible, in fact less than 0.1% difference has been obtained in the terminal velocity. At last, in [26] a voltage-driven analysis was carried out in which a circuit equation is coupled (via its inductivity) with an eddy-current system. Instead, we have simply taken the measured current distribution of that reference in order to drive the coil.

6.5. Magnetic Metal Forming

Another application of magnetic forces is the so-called magnetic metal forming in which a sudden release of large current into a well-designed system of coils very quickly generates large opposing forces in a nearby placed work piece. This mechanism can be used to form metal and many variants of it are presented in [28]. We will not immerse ourselves into the depths and technicalities of this process, but just present a simple simulation that demonstrates the mechanism. Therefore, the setup displayed in the left image of Figure 14 is used: the work piece (blue) is placed above multiple coils (red) and subject to a vertical displacement constraint (green). In order to analyse the work piece, we make use of continuum plasticity with finite strains [29]. The application of the large currents induce the deforming magnetic forces that push the work piece away from the coils. The final state of deformation is shown in the right image in Figure 14. Clearly, the conducting plate has been pushed through the hole of the displacement constraints and assumed a new shape.

7. Conclusions

A symmetric coupling formulation between the finite element and the boundary element method for eddy-current problems has been presented. The solid parts of the electrical devices are tackled by the FEM, which can easily account for material non-linearities. The surrounding domain is represented by the BEM via a surface-only discretisation. As the main feature of this approach, no air-mesh or even re-meshing is required if components are moving or are subject to large deformations. We use Nédélec functions for the spatial discretisation and incorporate additional vector spaces in the case of multiply connected domains. The usually non-linear behaviour of the component’s material is tackled by a Newton method involving a line search algorithm. By using the fast multipole method and iterative solution methods in connection with suitable preconditioners, the presented method has an optimal complexity. This means that the memory and time required depend linearly on the number of degrees of freedom.
To analyse the mechanical behaviour of the solid parts, the calculation of magnetic forces is of great importance and accurately achieved by using the flux intensity from the interior and the tangential magnetic field from the exterior domain. The implemented method has been validated by a set of benchmarks and was used to calculate some practical examples.
In summary, the features of the proposed coupling scheme make it an ideal approach for the investigation of the mechanical behaviour of electrical devices. In order to set up the simulation, the design engineer can operate on the CAD model and does not have to bother with the surrounding domain and its descretisation.

Author Contributions

Writing—original draft, T.R.; Writing—review & editing, L.K. and J.Z. All authors have read and agreed to the published version of the manuscript.


This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data sharing not applicable.

Conflicts of Interest

The authors declare no conflict of interest.


  1. Sauter, S.A.; Schwab, C. Boundary Element Methods; Springer: Berlin/Heidelberg, Germany, 2010. [Google Scholar]
  2. Zienkiewicz, O.; Kelly, D.; Bettess, P. The coupling of the finite element method and boundary solution procedures. Int. J. Numer. Methods Eng. 1977, 11, 355–375. [Google Scholar] [CrossRef]
  3. Johnson, C.; Nédélec, J. On the coupling of boundary integral and finite element methods. Math. Comput. 1980, 35, 1063–1079. [Google Scholar] [CrossRef]
  4. Bossavit, A.; Verite, J.C. A mixed FEM-BIEM method to solve 3-D eddy-current problems. IEEE Trans. Magn. 1982, 18, 431–435. [Google Scholar] [CrossRef]
  5. Kuhn, M.; Steinbach, O. Symmetric coupling of finite and boundary elements for exterior magnetic field problems. Math. Methods Appl. Sci. 2002, 25, 357–371. [Google Scholar] [CrossRef]
  6. Hiptmair, R. Symmetric coupling for eddy current problems. SIAM J. Numer. Anal. 2002, 40, 41–65. [Google Scholar] [CrossRef] [Green Version]
  7. Hiptmair, R.; Sterz, O. Current and voltage excitations for the eddy current model. Int. J. Numer. Model. Electron. Netw. Devices Fields 2005, 18, 1–21. [Google Scholar] [CrossRef] [Green Version]
  8. Monk, P. Finite Element Methods for Maxwell’s Equations; Oxford University Press: Oxford, UK, 2003. [Google Scholar]
  9. Chen, Q.; Konrad, A. A review of finite element open boundary techniques for static and quasi-static electromagnetic field problems. IEEE Trans. Magn. 1997, 33, 663–676. [Google Scholar] [CrossRef]
  10. Ern, A.; Guermond, J.L. Theory and Practice of Finite Elements; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2013; Volume 159. [Google Scholar]
  11. Hiptmair, R.; Ostrowski, J. Generators of H1h, Z ) for Triangulated Surfaces: Construction and Classification. SIAM J. Comput. 2002, 31, 1405–1423. [Google Scholar] [CrossRef]
  12. Moré, J.J.; Thuente, D.J. Line search algorithms with guaranteed sufficient decrease. ACM Trans. Math. Softw. TOMS 1994, 20, 286–307. [Google Scholar] [CrossRef]
  13. Manges, J.B.; Cendes, Z.J. A generalized tree-cotree gauge for magnetic field computation. IEEE Trans. Magn. 1995, 31, 1342–1347. [Google Scholar] [CrossRef]
  14. Greengard, L.; Rokhlin, V. A new version of the fast multipole method for the Laplace equation in three dimensions. Acta Numer. 1997, 6, 229–269. [Google Scholar] [CrossRef]
  15. Ruge, J.W.; Stüben, K. Algebraic multigrid. In Multigrid Methods; SIAM: Philadelphia, PA, USA, 1987; pp. 73–130. [Google Scholar]
  16. Steinbach, O.; Wendland, W.L. The construction of some efficient preconditioners in the boundary element method. Adv. Comput. Math. 1998, 9, 191–216. [Google Scholar] [CrossRef]
  17. Hiptmair, R.; Xu, J. Nodal auxiliary space preconditioning in H(curl) and H(div) spaces. SIAM J. Numer. Anal. 2007, 45, 2483–2509. [Google Scholar] [CrossRef]
  18. Henrotte, F.; Hameyer, K. A theory for electromagnetic force formulas in continuous media. IEEE Trans. Magn. 2007, 43, 1445–1448. [Google Scholar] [CrossRef]
  19. Kielhorn, L.; Rüberg, T.; Zechner, J. Simulation of electrical machines: A FEM-BEM coupling scheme. COMPEL Int. J. Comput. Math. Electr. Electron. Eng. 2017, 36, 1540–1551. [Google Scholar] [CrossRef] [Green Version]
  20. Jackson, J.D. Classical Electrodynamics, 3rd ed.; Wiley: New York, NY, USA, 1999. [Google Scholar]
  21. Akoun, G.; Yonnet, J.P. 3D analytical calculation of the forces exerted between two cuboidal magnets. IEEE Trans. Magn. 1984, 20, 1962–1964. [Google Scholar] [CrossRef]
  22. Vokoun, D.; Beleggia, M.; Heller, L.; Šittner, P. Magnetostatic interactions and forces between cylindrical permanent magnets. J. Magn. Magn. Mater. 2009, 321, 3758–3763. [Google Scholar] [CrossRef]
  23. Allen, N.; Rodger, D. Description of TEAM Workshop Problem 24: Nonlinear time-transient rotational test rig. In Proceedings of the TEAM Workshop in the Sixth Round; 1996; pp. 57–60. Available online: (accessed on 30 May 2021).
  24. Trutt, F.C.; Erdelyi, E.A.; Hopkins, R.E. Representation of the magnetization characteristic of DC machines for computer use. IEEE Trans. Power Appar. Syst. 1968, 665–669. [Google Scholar] [CrossRef]
  25. Levin, Y.; da Silveira, F.L.; Rizzato, F.B. Electromagnetic braking: A simple quantitative model. Am. J. Phys. 2006, 74, 815–817. [Google Scholar] [CrossRef] [Green Version]
  26. Leubner, K.; Laga, R.; Doležel, I. Advanced model of electromagnetic launcher. Power Eng. Electr. Eng. 2015, 13, 223–229. [Google Scholar] [CrossRef]
  27. Baltzis, K. The FEMM Package: A Simple, Fast, and Accurate Open Source Electromagnetic Tool in Science and Engineering. J. Eng. Sci. Technol. Rev. 2008, 1, 83–89. [Google Scholar] [CrossRef]
  28. Psyk, V.; Risch, D.; Kinsey, B.L.; Tekkaya, A.E.; Kleiner, M. Electromagnetic forming—A review. J. Mater. Process. Technol. 2011, 211, 787–829. [Google Scholar] [CrossRef]
  29. Simo, J.C. Numerical analysis and simulation of plasticity. Handb. Numer. Anal. 1998, 6, 183–499. [Google Scholar]
Figure 1. Embedding domain Ω with conducting part Ω c and source current region Ω s .
Figure 1. Embedding domain Ω with conducting part Ω c and source current region Ω s .
Mathematics 09 01804 g001
Figure 2. Torus domain with two generating cycles γ and γ .
Figure 2. Torus domain with two generating cycles γ and γ .
Mathematics 09 01804 g002
Figure 3. Geometric clusters of the same partition level (left) and up and downward passes in the multilevel scheme (right).
Figure 3. Geometric clusters of the same partition level (left) and up and downward passes in the multilevel scheme (right).
Mathematics 09 01804 g003
Figure 4. Two parallelepiped permanent magnets. Position of the magnets where the red is shifted through various positions in x-direction (left). Analytic and simulated force components (right).
Figure 4. Two parallelepiped permanent magnets. Position of the magnets where the red is shifted through various positions in x-direction (left). Analytic and simulated force components (right).
Mathematics 09 01804 g004
Figure 5. Two axis-aligned cylindrical permanent magnets. Position of the magnets where the red is shifted through various positions in z-direction (left). Analytic and simulated force component F z (right).
Figure 5. Two axis-aligned cylindrical permanent magnets. Position of the magnets where the red is shifted through various positions in z-direction (left). Analytic and simulated force component F z (right).
Mathematics 09 01804 g005
Figure 6. TEAM 24 setup (left) with rotor (blue), stator (green), and coils; material behaviour (right) with provided data and employed curve representation.
Figure 6. TEAM 24 setup (left) with rotor (blue), stator (green), and coils; material behaviour (right) with provided data and employed curve representation.
Mathematics 09 01804 g006
Figure 7. TEAM 24 result snapshots for induced currents at t = 0.03 s (left) and the B-field at t = 0.3 s (right).
Figure 7. TEAM 24 result snapshots for induced currents at t = 0.03 s (left) and the B-field at t = 0.3 s (right).
Mathematics 09 01804 g007
Figure 8. TEAM 24 validation for the average flux (left) and torque on the rotor domain (right).
Figure 8. TEAM 24 validation for the average flux (left) and torque on the rotor domain (right).
Mathematics 09 01804 g008
Figure 9. Falling magnet in a copper tube: mechanism (left), falling velocity (right).
Figure 9. Falling magnet in a copper tube: mechanism (left), falling velocity (right).
Mathematics 09 01804 g009
Figure 10. Falling magnet in a copper tube: snapshots with induced currents.
Figure 10. Falling magnet in a copper tube: snapshots with induced currents.
Mathematics 09 01804 g010
Figure 11. EM launcher input data: B ( H ) relation (left, logarithmic H-axis), current in the wire vs. time (right).
Figure 11. EM launcher input data: B ( H ) relation (left, logarithmic H-axis), current in the wire vs. time (right).
Mathematics 09 01804 g011
Figure 12. Different snapshots of the electromagnetic launcher, projectile is coloured by the magnitude of the B-field (max = 6.8 T).
Figure 12. Different snapshots of the electromagnetic launcher, projectile is coloured by the magnitude of the B-field (max = 6.8 T).
Mathematics 09 01804 g012
Figure 13. Magnetic force on the projectile (left) and its velocity (right). Dashed lines show results carried out with FEMM.
Figure 13. Magnetic force on the projectile (left) and its velocity (right). Dashed lines show results carried out with FEMM.
Mathematics 09 01804 g013
Figure 14. Magnetic metal forming. Setup (left) and snapshot (right).
Figure 14. Magnetic metal forming. Setup (left) and snapshot (right).
Mathematics 09 01804 g014
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Rüberg, T.; Kielhorn, L.; Zechner, J. Electromagnetic Devices with Moving Parts—Simulation with FEM/BEM Coupling. Mathematics 2021, 9, 1804.

AMA Style

Rüberg T, Kielhorn L, Zechner J. Electromagnetic Devices with Moving Parts—Simulation with FEM/BEM Coupling. Mathematics. 2021; 9(15):1804.

Chicago/Turabian Style

Rüberg, Thomas, Lars Kielhorn, and Jürgen Zechner. 2021. "Electromagnetic Devices with Moving Parts—Simulation with FEM/BEM Coupling" Mathematics 9, no. 15: 1804.

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop