1. Introduction
Coupling of external electrical circuits with Finite Element (FE) computational domains is very important for practical applications, and it has been investigated for a very long time (see [
1] for a historical perspective in 1993). Coupling external circuits with 2D/3D computational domain is necessary to model electrotechnical appliances such as simple coils [
2,
3], non linear inductors [
4], contactors [
5,
6], power transformers [
7,
8], electrical motors [
9,
10,
11] and many others [
12,
13,
14,
15]. Maxwell’s equations are solved in the computational domain by using various formulations, the unknown of which are local quantities such as potentials, or (less frequently) the magnetic fields directly [
16,
17,
18,
19]. Currents and voltages are global quantities that are applied to the computational domain through “ports”, that is, interfaces between internal regions, or surfaces on the external boundary of the domain.
To this aim, the notions of “current” and “voltage” must be precisely defined and linked with the electric field
and current density
in the computational domain. The definition of the electrical current
I which flows across a given surface
is easily expressed and it depends uniquely on the current density:
where
is the unit normal vector, with outward orientation in respect of the computational domain. Conversely, the understanding of the physical significance of voltage is not as trivial as it may appear [
20], and it is worth to be clarified. In the case of static fields (electrostatics, continuous currents), the electric field is conservative and the voltage
U between two equipotential surfaces
and
can be uniquely defined as:
where
is any path which goes from
to
and
v is an electric scalar potential such that
. However, this definition of voltage cannot be truly satisfying in that it does not apply and cannot be easily extended to the case of time varying fields. In fact, in this case, the electric field is no more conservative and thus the choice of the path
matters.
In the case of time varying fields, one may define the voltage as the circulation of the “electrostatic component” (
) of the electric field:
However, in the case of bounded domains, there is no such thing as
the electrostatic component: at most, one may speak of
an electrostatic component. In fact, Helmholtz’s theorem [
21] ensures that such a decomposition (
3) exists, but in the case of bounded domains it is not unique [
22] unless appropriate additional boundary conditions are imposed. Even assuming that such a definition is well posed from the mathematical point of view—that is, if one assumes that the value of the voltage hereby defined is independent on the gauge of
, which is indeed the case—the question of the physical significance arises.
One observes that the definition (
1) is not tainted by any of these issues: the current
I is defined based on the current density only, and the definition is unambiguous in the case of time varying fields, and whatever the surface
.
The question of the well-posedness of the definition of voltage, in the case of time varying fields, is seldom addressed in undergraduate courses in physics and electrical engineering (because in practice “things work”) but also in most of the scientific literature. In the author’s opinion, any effort to shed light on this topic is worth to be explored.
The case of stranded coils [
2,
3,
7,
8] is considerably simpler. In fact, isopotential surfaces
and
reduce to points, so that in practice the integration path
is unique, and it is imposed by the geometry of the electrical wires. In this case, the induced electromotive force can be expressed through the time derivative of the magnetic flux.
The case of solid conductors is more complex. In some cases [
10], the voltage between two “isopotential” surfaces is mathematically defined as the difference of an electric scalar potential
v, but the question of its physical significance is eluded. As already observed, this scalar potential is not unique and it is not clear at all why the voltage has the same value whatever the gauge of
. The very same notion of “isopotential” surfaces is disturbing, because in the case of bounded domains it depends on a particular choice of the gauge, whereas the voltage ought to depend uniquely on the electric field.
The same considerations apply to [
4,
11,
14], where a 2D modelling is taken on. In this case, Coulomb’s gauge
is arbitrarily fixed by imposing that the vector potential
is perpendicular to the
plane, and thus a voltage between the front and the rear part of the domain can be uniquely defined as:
where
ℓ is the depth of the domain and
is the unit vector perpendicular to the plane.
In [
6,
23], the following relationship is derived for a two-ports conductor in the electrokinetic case (also known as continuous current):
where
is any current density corresponding to a net current of
. This equation is then generalised in various “flavours” [
6,
13,
23], to the case of time varying fields, by rewriting
:
where
(see the aforementioned works for details). However, by doing so, one forgets that the starting Equation (
5) holds under the hypothesis that fields do not vary with time. In spite of the fact that the derivation of (
6)–(
8) is somehow simplistic, all these equations are found to be correct.
A completely different approach is to postulate that the current flows out of special thin “generator regions”
, where a source of electromotive force exists [
17,
24,
25,
26]. Inside the generator regions, the electric field is conservative and hence (
2) is well posed, hence the voltage between the electrodes of a generator writes:
where
is a path that joins the electrodes and
is the electric field inside the generator. In practice, the integral in (
9) is never computed explicitly. Generators are removed from the computational domain so that their surfaces become new boundaries of the domain, over which appropriate boundary conditions must be imposed. Depending on the formulation, the voltage can be imposed either strongly (
formulation) or weakly (
formulation)—see details in [
24,
26].
This approach removes the practical difficulty of numerically defining voltages and has a correct power balance (all the electrical power which exits from generators enters in the domain), but it is not completely satisfying from the point of view of physics significance: voltage ought to be defined independently on how it is applied—that is, basing it exclusively on the electric field inside the computational domain.
Finally, one observes that numerical modelling of the coupling of electrical circuits with computational domains is addressed in specific ways for each formulation. This gives rise to a large number of different formulas which express the link between global (currents and voltages) and local quantities (fields and potentials). This is a source of complication, including from the pedagogical point of view, because many different approaches ought to be introduced to students.
The purpose of this work is twofold: First, to clarify the notion of “voltage” in the case of time varying fields, and to expressing it by exclusively using the electric field inside the domain (without resorting to any potential), as it should be! Second, to devise a general method to write coupling equations between external electrical circuits and 2D/3D computational domains.
The article is organised as follows: an operator
which expresses the voltage between two ports
for a given electric field
will be defined. It will be demonstrated that, by using this definition, the power balance is intrinsically respected: this gives a precise, physical significance to the notion of “voltage”, even in the case of time-varying fields (
Section 2). As a side product, a similar operator
for the current is obtained. It will be observed that the classical definition of current (
1) can be rewritten as a particular case of usage of the new operator (
Section 3). Then, the existing scientific literature is analysed critically and the most used Finite Element formulations for coupling external circuits and computational domains are reviewed in
Section 4. It will be demonstrated that all of them can be retrieved by using the newly introduced operators
and
. The obtained results are discussed in
Section 5. Finally, the conclusions can be found in
Section 6.
2. Definition of Voltage
In [
27], Hiptmair and Sterz pointed out the difficulties to rigorously define what voltage is and suggested it could be defined through the notion of electric power. Based on this idea, it will be shown that it is possible to give a precise meaning to the notion of “voltage” in the case of time varying fields and for an arbitrary number of ports. The proposed definition of voltage respects the power balance and it is coherent with all previous works. Moreover, the proposed definition of voltage relies exclusively on the electric field; therefore, it is independent of any formulation or numerical method. To go further, the following theorem has to be demonstrated:
Theorem 1 (fake power)
. Let and be an electric and a magnetic field, defined in a domain and Ω, where is the conductive part of Ω. Let and the magnetic flux density and the current density associated respectively with and , and assume that displacement currents are neglected:Assume that the boundary can be parted in two surfaces and where the following boundary conditions hold:and that there exists a couple of potentials such that: Under this hypothesis, one has:
- 1.
The scalar potential is equipotential on each of the N connected components of : Moreover, for a given electric field , the set of potentials is unique up to an arbitrary constant value.
- 2.
The following equality holds: - 3.
Let be the total current which enters in through :where is the unitary vector normal to oriented outwardly. Then, the following equality holds:
Before giving the demonstration, some remarks are mandatory:
Proof of Theorem 1. By writing
and by using (
15) on each port
one has:
Hence,
is constant on each port
. By using (
14), the first integral of (
17) writes:
By integrating by parts, the second integral of (
17) writes:
where the boundary integral vanishes due to the boundary conditions (
12) and (
13). By using together (
26) and (
27), one obtains (
18). Finally, by using integration by parts, (
18) writes:
The first integral on the right-hand side vanishes because
. The boundary of
can be parted as:
where
is the interface between the conductive and insulator part of the domain
. The current cannot flow in or out from
, that is:
hence the boundary integral in (
28) writes:
Finally, the uniqueness of the set
can be demonstrated by observing that these values depend uniquely on the electric field
. Hence, a set of
independent equations can be obtained from (
31) by selecting an arbitrary port
(namely
) and by considering
magnetic fields
such that
.
□
In order to define the voltage
between two ports
and
, the set
of “test” magnetic field is defined:
where
is the net current due to
which enters in
through the
nth port
. The following theorem provides a well-posed definition of the voltage
:
Theorem 2 (definition of voltage)
. Let be the electric field in , and and two ports. There is one and only one value such that:for any . Proof of Theorem 2. Theorem 1 holds with
and
,
, and thus the fake power writes:
In order to demonstrate that this value is unique, it must be shown that it does not depend on
nor on the gauge of
. The left-hand side term of (
35) does not depend on the gauge because of (
17), and the right-hand side of (
35) does not depend on
. Hence,
is independent of both
and the gauge of
. Therefore,
depends exclusively on the electric field
, which proves its uniqueness. Hence,
is the only value which satisfies (
34) whatever
. □
This definition of voltage is well posed because
depends exclusively on the electric field
, and it holds as well for static and time varying fields. One observes that when
are the voltages of generators that feed the device (
Figure 1), and
and
are the true electric and magnetic fields, the power balance is verified in that (
20) writes:
This result is important because it provides a precise physical significance to “voltages”, that is the unique set of values
such that the power balance (
36) is respected. In particular, in the case of a simple two-ports domain, the voltage can be defined like the ratio between the instantaneous power injected into the domain and the instantaneous current. One observes that the electric vector potential
defined beforehand belongs to
: this shows that indeed (
5) and (
7) are particular cases of (
34).
3. Expression of the Current
Now that a precise definition has been given to the term “voltage”, one observes that the roles of
and
can be exchanged, so as to provide a useful expression of the net current which enters in the domain through electrodes. To this aim, let us define the set
of “test” electric fields:
The following theorem provides a useful formula to compute the electric current which enters in the domain through a port:
Theorem 3 (computation of current)
. Let be the magnetic field in Ω, and a port. The electric current , which enters in the domain through , is equal to:for any . Proof of Theorem 3. Theorem 1 holds with
and
,
, thus the fake power writes:
□
In this case, there is no need to prove the uniqueness of because currents are correctly defined. Nevertheless, an argument similar to the one which has been used to prove Theorem 2 applies as well (that is, does not depend on the gauge, does not depend on ).
One observes that even if (
38) expresses the current based on
, only its curl matters:
Finally, one observes that even the classical definition of current (
1) can be rewritten as a particular case of (
38). In fact, consider as test electric field the gradient of a scalar potential
, the support of which is a thin layer of thickness
w which lays on the surface
. Assume that
on
. In the limit of
, the electric field writes
, where
is the Dirac distribution associated with the surface
. Hence, by using this particular test electric field with (
38), the current writes:
5. Discussion
In this work, an original couple of operators and are introduced. These operators provide a rigorous definition of voltages and currents in terms of the electric and magnetic field only.
The notion of voltage is analysed and a general physical interpretation is given based on the electrical power balance of the computational domain. In the static case, the classical definition of voltage (
2) is obtained as a particular case of (
34), by taking as test magnetic field
, the Biôt–Savart field generated by a unit current which flows along the path
:
In the case of time varying fields, by taking the same test magnetic field
, the integral
remains but the voltage can still be expressed as the difference of the scalar potential on the two (isopotential) ports, provided that the hypothesis of Theorem 1 is respected:
Notice that (
74) does not contradict the fact that, in the case of time varying fields, the circulation of
depends on the particular path
.
It has to be remarked that not all couples
satisfy the hypothesis of Theorem 1. A notable example of gauge where the hypothesis is not satisfied is the so-called temporal gauge [
27] (also called Weyl gauge):
This potential
is sometimes called modified vector potential [
32]. Luckily, this is not a problem because, in order to demonstrate the well-posedness of the definition of voltage, it is enough that a single couple of potentials which satisfies the hypothesis of the theorem exists; the uniqueness of voltages is then demonstrated. Moreover, potentials are only intermediate actors in the demonstration and, in practice, it is not necessary to compute them; it is enough that at least a couple of potentials exists. Notice also that, in the case of unbounded domains, Helmholtz decomposition ensures, by itself, the uniqueness of the scalar potential [
22], and thus of voltages.
Finally, notice that Theorem 1 requires that the electric field is normal to the ports which connect the computational domain to electric circuits. This is a limitative hypothesis which is required to define voltages but not for currents. Perhaps it is possible to weaken the hypothesis of the theorem so as to define voltages between arbitrary ports (that is, where the electric field is not necessarily normal) based on the power balance. Moreover, it can be conjectured that, in the case of physical electric fields, it is always possible to find at least a couple of potentials which satisfy the hypothesis of Theorem 1.
The findings on existing Finite Element formulations are resumed in
Table 2 (notice that notations may change with respect to the original works). It is found that all of the coupling formulas found in the reviewed scientific literature are particular cases of usage of the newly defined operators
and
.
6. Conclusions
In this work, the existing scientific literature on methods for coupling external electric circuits with the Finite Element method is critically analysed. It is observed that, in the cases of time varying fields, the definition of “voltage” is at best unclear and usually tainted with unspoken and/or unjustified assumptions.
In order to overcome these problems, a couple of original operators are defined so as to provide workable expressions for voltages and currents. In particular, it has been possible to define voltages based uniquely on the electric field—that is, without relying on any potential. By doing this, a clear physical significance is given to voltages, based on the fact that power balance must be respected. This is a first contribution of this work.
This result restores the “symmetry” between current and voltage, in that current is defined based on the current density only (or, equivalently, on the magnetic field). However, this symmetry is not complete; currents can be uniquely defined through any surfaces (also known as ports), whereas in the case of voltages, the choice of surfaces is constrained by the fact that the electric field must be perpendicular. In the case of static fields, this constraint leads to the notion of equipotential surface (which is flawed for time varying fields); if it were possible to remove this constraint, it would be possible to define a “voltage” between two non-equipotential surfaces! Notice that this is not a problem from the practical point of view because the details of connections between external circuits and computational domains are never modelled accurately in the quasi-static regime.
By using the newly defined operators, it is possible to devise a general method to write down coupling equations between external circuits and computational domains. In particular, it is demonstrated that all the coupling expressions found in the reviewed scientific literature for the Finite Element method can be retrieved as particular cases of these operators.
It is important to observe that, even if the analysis of existing formulations has been taken on with the Finite Element method only, these new operators do not rely on any particular numerical method. Hence, in principle, they can be used to devise the implementation of coupling between external electrical circuits and computational domains with any other numerical method (cell method, finite difference method, or whatever).
The major limitation of this work is that it is limited to the quasi-static case; in particular, displacement currents are completely neglected. It would be interesting to extend this work in order to take into account capacitive effects [
33,
34] or even wave propagation.