Electrostatics toolbox
This toolbox solves a quasi-static conduction model for the electric potential \(V\) in conducting materials. The starting point is the Maxwell equations.
1. Fields and parameters (names and units)
1.1. Fields
| Symbol | Physical name | Toolbox field name | SI unit | Role |
|---|---|---|---|---|
\(V\) |
electric potential |
|
\(V\) |
primary unknown |
\(\mathbf{E}\) |
electric field |
|
\(V.m^{-1}\) |
derived from \(-\nabla V\) |
\(\mathbf{J}\) |
current density |
|
\(A.m^{-2}\) |
derived from \(-\sigma \nabla V\) |
\(q_J\) |
Joule losses density |
|
\(W.m^{-3}\) |
derived from \(\sigma \lVert \nabla V \rVert^2\) |
\(\mathbf{D}\) |
electric displacement |
not exported |
\(C.m^{-2}\) |
used in transient formulation |
\(\rho\) |
electric charge density |
not exported |
\(C.m^{-3}\) |
used in transient formulation |
1.2. Required material properties and units
| Property | Symbol | SI unit | Required in steady model | Required in transient model | Possible dependency |
|---|---|---|---|---|---|
electric conductivity |
\(\sigma\) |
\(S.m^{-1}\) |
yes |
yes |
may depend on \(\mathbf{E}\) (e.g. \(\sigma=\sigma(\mathbf{E})\)), and more generally on model symbols |
electric permittivity |
\(\epsilon\) |
\(F.m^{-1}\) |
no |
yes |
may depend on \(\mathbf{E}\) (e.g. \(\epsilon=\epsilon(\mathbf{E})\)) for nonlinear dielectrics |
| In the current toolbox implementation, \(\sigma\) is available as material property while \(\epsilon\) is not yet assembled in the electric solver. |
1.3. Parameters and boundary data
| Symbol | Name | JSON name/key | SI unit | Comment |
|---|---|---|---|---|
\(\sigma\) |
electric conductivity |
material property |
\(S.m^{-1}\) |
required in current implementation, can be nonlinear (e.g. \(\sigma(\mathbf{E})\)) |
\(\epsilon\) |
electric permittivity |
planned transient material property |
\(F.m^{-1}\) |
transient target model property, can be nonlinear (e.g. \(\epsilon(\mathbf{E})\)); not yet assembled in current implementation |
\(V_D\) |
imposed potential |
BC |
\(V\) |
Dirichlet boundary data |
\(g\) |
imposed normal current density |
BC |
\(A.m^{-2}\) |
Neumann-type boundary data |
\(I\) |
imposed total current |
integral-current condition |
\(A\) |
currently unavailable in this toolbox |
\(t\) |
time |
model parameter |
\(s\) |
used in transient expressions |
\(\mathbf{n}\) |
outward unit normal |
geometric quantity |
dimensionless |
boundary orientation |
2. Quasi-static electric model
In quasi-static conditions, the charge conservation equation is
with Ohm’s law
which gives the strong form solved in this toolbox:
The unknown is the scalar potential \(V\). The electric field and current density are then recovered from \(V\). From a physical viewpoint, this is a conduction model: currents are driven by potential differences and weighted locally by the conductivity.
For multiple materials \(\Omega_i\), the conductivity \(\sigma_i\) is piecewise defined. The implementation enforces continuity through the conforming finite-element space across interfaces.
| A volumetric electric source term (Poisson right-hand side) is currently not assembled in this toolbox implementation. |
3. Derived quantities
After solving for \(V\), the toolbox computes
where \(q_J\) is the Joule losses density.
3.1. Boundary flux and power quantities
For boundary interpretations, it is useful to name explicitly the normal current flux and its integrated value on a surface \(\Gamma\):
The electrical power flux density through a boundary is
and the associated terminal power is \(P_\Gamma=\int_\Gamma p_e\,d\Gamma\) with unit \(W\).
4. Boundary conditions
Boundary conditions encode how the device is electrically connected to its environment. In practice, one usually combines potential constraints (to drive current and fix the reference level) with natural/flux conditions on other boundaries.
4.1. Electric potential imposed (Dirichlet)
On \(\Gamma_D\):
This is exposed in JSON with electric_potential (or alias electric_potential_imposed).
This boundary condition is typically used on terminals where voltage is controlled.
4.2. Ground
Ground is a specialized Dirichlet condition:
This is exposed with the JSON key ground.
It provides a potential reference and avoids the constant-offset indeterminacy of pure Neumann problems.
4.3. Surface charge density / normal current density (Neumann)
On \(\Gamma_N\):
This is exposed with surface_charge_density (alias charge_density).
It models injected/extracted normal current density on a boundary.
If no such condition is set on a boundary part, the natural homogeneous condition applies:
4.4. Integral current condition
The integral-current boundary condition
is not available in this standard electric toolbox implementation (it is an HDG-oriented feature). Conceptually, this condition is useful for terminal-driven models where total current is prescribed instead of pointwise flux.
5. Time dependence
For time-dependent electric evolution in conducting media, a transient electro-quasistatic model can be considered. Compared with the steady model, it introduces capacitive effects through the displacement field.
Starting from charge conservation:
with
and conductive current
the transient electro-quasistatic PDE reads
When \(\epsilon\to 0\), this model reduces to the steady conduction equation.
5.1. Initial condition (transient case)
A transient solve requires an initial state, for example:
5.2. Boundary-condition interpretation in transient mode
Potential (Dirichlet) conditions keep the same form as in steady mode. For Neumann-like boundaries, one must choose whether the imposed normal quantity is:
-
conductive current only: \(\mathbf{J}\cdot\mathbf{n}\)
-
or total current including displacement: \((\mathbf{J}+\partial_t\mathbf{D})\cdot\mathbf{n}\)
This choice must be fixed consistently in model equations, weak form, and user-facing boundary-condition semantics.
| The current electric toolbox implementation remains steady-state only. The transient formulation above is a target model for future implementation. |