Maxwell’s equations and MQS approximation
1. Differential form of Maxwell’s equations
Maxwell’s equations, are laws of physics, constituting the basic postulates of electromagnetism. They translate, in local form, several theorems that governed electromagnetism, that Maxwell gathered in integral form. These equations define relations between the electromagnetic fields and the source elements. The differential form of Maxwell’s equations is as follows:
where :
\(H(r,t)\) |
the magnetic field intensity, |
\(E(r,t)\) |
the electric field intensity, |
\(B(r,t)\) |
the magnetic flux density, |
\(D(r,t)\) |
the electric flux density, |
\(J(r,t)\) |
the electric current density, |
\(\rho(r,t)\) |
the electric charge density, |
\(M(r,t)\) |
the magnetization, |
\(E_i(r,t)\) |
the impressed electric field, |
\(P(r,t)\) |
the polarization, |
\(\mu_0(r,t)\) |
the permeability of vaccum, |
\(\sigma(r,t)\) |
the conductivity, |
\(\epsilon_0(r,t)\) |
the permittivity of vacuum. |
2. The magnetic vector and electric scalar potentials formulation
We’re interested in simplified equations:
The MQS approximation consists in neglecting the so-called displacement current, aka \(\frac{\partial D}{\partial t}\). In this context, the equations to solve are:
The first two equations are respectively the so-called Ampere and Faraday equations. |
A classical way to solve these equations is to introduce a magnetic potential \(A\) and a scalar electric potential \(V\). As \(B\) is a divergence free field, we can define \(A\) as:
To ensure \(A\) unicity we will need to add a gauge condition. Most commonly:
The Faraday equation may, then, be rewritten as:
We can define the electric scalar potential \(V\) as:
It follows that:
From this expression of the current density, we may rewrite the Ampere equation as:
because :
so :
To this equation, we add the conservation of the current density:
3. Weak formulation
Let us note \(\Omega\) the domain, comprising the conductor \(\Omega_C\) and the air \(\Omega_A\), and let us note \(\Gamma\) the edge of this domain, comprising the edge of the air \(\Gamma_A\), the inlet \(\Gamma_I\) and the outlet \(\Gamma_O\). To simplify, let us note \(\Gamma_D\) the edges with Dirichlet boundary condition, and \(\Gamma_N\) the edges with Neumann bondary condition, such that \(\Gamma = \Gamma_D \cup \Gamma_N\).
We can also have a second case where the edges \(\Gamma_I\) and \(\Gamma_O\) are on \(\Gamma_A\), where we can impose Dirichlet boundary condition.
Let’s look at the set:
and let define the set containing Dirichlet’s boundary condition :
We can now distinguish two cases. First, if the edges are not curved, we have the following case, where \(A_D = 0\) :
Let us consider the equation (1) : By making the scalar product with \(\phi \in H_{A_D}^{curl}(\Omega)\) and by integrating on \(\Omega\) we get :
Using the relationship:
we deduce that:
Using the divergence theorem we get:
By performing a circular permutation on \(\Gamma_N\) and \(\Gamma_D\) we have :
On \(\Gamma_N\) we impose homogeneous Neumann boundary conditions \(B \times n = 0\) since \(B = \nabla \times A\). This condition typically apply for physical symetry on some bounday (cf 1/8 of a torus example). So \((\nabla \times A) \times n = 0\) on \(\Gamma_N\). On \(\Gamma_D\) we impose Dirichlet boundary condition \( \phi \times n = A_D\), where \(A_D\) is known.
In the case where edges are not curved, we have \( \phi \times n = A_D = 0\). So we finally get the weak formulation:
In the second case, were we have curved edges, we concider that \( \phi \times n = A_D\), where \(A_D\) is known.
So we have :
The border of \(\Omega_C\) is considered to be splitted into \(\Gamma_I\), \(\Gamma_O\) respectively the input and output of current and the rest will be noted \(\Gamma_C\). On \(\Gamma_I\) and \(\Gamma_O\) we consider Dirichlet Boundary condition for the electrical potential. Thus we will take \(\psi \in H^1(\Omega_C)\).
Let’s consider the equation (2) : By making the scalar product with \(\psi\) and integrating over \(\Omega_C\) we get :
Using the relationship:
we get :
By using the formula of divergence we get:
Or we know that \(j \cdot n = 0\) on \(\Gamma_C\) due to the current density conservation law. Or \(j = \sigma E = \sigma(\nabla V + \frac{\partial A}{\partial t})\) so we get finally :
4. Discretization
To solve these two differential equations, we can first discretize the time derivative by finite differences. If u is a functions. Let us note \(u^n\) the quantity designating \(u\) at time \(n\).
Let’s go back to our equations :
(or the following one if the edges are curved :)
and :
Let us note \(\Delta t > 0\) the step time, such that \(t_n = n\Delta t\). Let us note \(A^n(x) := A(t_n,x)\). We have, using an implicit euler’s schema : \(\frac{\partial A}{\partial t} = \frac{A^n-A^{n-1}}{\Delta t}\).
So, in the case where the edges are not curved, we have :
In other words :
and the second equations :
If the edges are curved, our first equation becomes :