PhyslibAlpha.Electromagnetism.Distributional.WireJunction
Junctions of thin wires
Let `A` be a distributional electromagnetic potential and `J` a distributional Lorentz current density such that Maxwell's equations hold, `IsExtrema 𝓕 A J`. Taking the divergence of Ampère's law and using Gauss's law gives the continuity equation `∂ₜ ρ + ∇ ⬝ J = 0` as an equation of distributions.
Distributions allow currents to be carried by thin wires. A junction is modelled by finitely many straight, semi-infinite wires leaving the origin in the directions `u k`, carrying steady currents `I k`. The divergence of such a current density is `(∑ k, I k) δ₀`: the wires end at the origin, where the currents must come from somewhere. If no charge accumulates, the continuity equation forces `∑ k, I k = 0`.
This is motivated by Kirchhoff's current law, of which it is a special case: a single node with steady currents, rather than the branch currents at every node of a lumped-element circuit.
Main results
- `Electromagnetism.DistElectromagneticPotential.continuityEquation` : the continuity equation for distributions. - `Electromagnetism.DistLorentzCurrentDensity.IsWireJunction` : the current density of a junction of thin wires. - `Electromagnetism.DistLorentzCurrentDensity.IsWireJunction.distSpaceDiv_currentDensity` : the divergence of the current density of a junction. - `Electromagnetism.DistLorentzCurrentDensity.IsWireJunction.sum_currents_eq_zero` : the currents leaving a junction of thin wires sum to zero.
Contents
- A. Analysis on `Space` - A.1. Time derivatives and the divergence of distributions - A.2. Schwartz functions along a ray - A.3. Integrating test functions over time - B. The continuity equation - C. Junctions of thin wires - C.1. The current density of a junction - C.2. The currents at a junction sum to zero
A. Analysis on `Space`
A.1. Time derivatives and the divergence of distributions
A.2. Schwartz functions along a ray
The ray from the origin in the direction `w` is parametrized by `s ↦ s • w`.
A.3. Integrating test functions over time
B. The continuity equation
C. Junctions of thin wires
C.1. The current density of a junction
The `k`-th wire is the ray `s ↦ s • u k`, `s > 0`. A current `I k` along it has current density `I k` times the unit tangent times the arc-length measure on the ray; in the parameter `s` this is `I k • u k` times the Lebesgue measure, whatever the length of `u k`. The currents are steady, so the pairing with a test function `η` only sees its time integral.
C.2. The currents at a junction sum to zero
10 declarations
for Distributions
Let be a vector-valued distribution defined on the spacetime domain . The temporal derivative and the spatial divergence operator commute, such that: where is the distributional spatial divergence and is the distributional temporal derivative.
The restriction of a Schwartz function to a line through the origin is a Schwartz function
For any dimension , let be a Schwartz function and be a non-zero vector. Then there exists a Schwartz function such that for all , . Here, represents the parametrization of a line through the origin in the direction of .
Fundamental Theorem of Calculus for Schwartz Functions along a Ray
Let be a Schwartz function on (denoted by ) and let be a non-zero vector. The integral along the ray in the direction of of the directional derivative of in the direction is equal to the negative value of at the origin: where denotes the Fréchet derivative of at the point evaluated in the direction . This result is a version of the fundamental theorem of calculus applied to a function restricted to a ray.
Let be a Schwartz function and be a non-zero vector with components relative to the standard orthonormal basis . Then the sum over the components of multiplied by the integral along the ray of the partial derivatives of equals : where denotes the directional derivative of in the direction of the basis vector .
Integration over Time Commutes with Spatial Differentiation:
Let be a Schwartz function on spacetime. For any index of the standard orthonormal basis of and any point , the integral over time of the partial spatial derivative of is equal to the partial spatial derivative of the time integral of : where denotes the Fréchet derivative of at evaluated in the direction of the spatial basis vector .
Existence of a Schwartz function with
There exists a Schwartz function defined on spacetime such that its integral over time at the spatial origin is non-zero, i.e.,
Distributional Continuity Equation from Maxwell's Equations
Let be the spatial dimension and be a free space environment with speed of light . Suppose is a distributional electromagnetic potential and is a distributional Lorentz current density such that is an extremum of the electromagnetic Lagrangian density (i.e., Maxwell's equations are satisfied). Then the distributional charge density and spatial current density satisfy the continuity equation. Specifically, for any Schwartz test function on spacetime : where is the distributional charge density and is the distributional spatial current density.
is a junction of thin wires with currents and directions
A distributional Lorentz current density is a **junction of thin wires** with directions and steady currents (where ranges over a finite index set ) if, given the speed of light , its spatial current density distribution satisfies: for all Schwartz test functions , where is the time-integrated test function. Physically, this defines such that each wire is a semi-infinite ray for carrying a constant current flowing away from the origin.
for a Junction of Thin Wires
Let be the spatial dimension and be the speed of light. Suppose is a distributional Lorentz current density representing a junction of thin wires with non-zero direction vectors and steady currents for in a finite index set . For any Schwartz test function defined on spacetime , the spatial divergence of the spatial current density satisfies: where is the origin in . This identifies the divergence as a point source at the origin with a strength equal to the total current leaving the junction.
The sum of steady currents at a distributional wire junction is zero
Consider a junction of thin wires in a -dimensional space, where each wire in a finite set has a non-zero direction vector and carries a steady current . Let be the distributional Lorentz current density associated with this junction. Suppose there exists a distributional electromagnetic potential such that is an extremum of the electromagnetic Lagrangian density in free space (implying Maxwell's equations hold). If the distributional charge density satisfies the condition of no charge accumulation, expressed as the vanishing of its distributional time derivative , then the sum of the currents leaving the junction is zero:
