Fundamentals / Physics / Electrodynamics

Charge relaxation and magnetic diffusion

Distinguish two conductor timescales and estimate how deeply an alternating magnetic field penetrates a solid.

From first principles

Trace two relaxation processes back to charge and current

A homogeneous ohmic conductor obeys the measured material law \(\mathbf J=\sigma\mathbf E\). Local conservation says that charge decreases where current flows out. Take the divergence of the material law, then use Gauss’s law for constant permittivity:

\[\partial_t\rho=-\nabla\cdot\mathbf J=-\sigma\nabla\cdot\mathbf E=-\frac{\sigma}{\epsilon}\rho,\]
\[\rho(t)=\rho(0)e^{-t\sigma/\epsilon}.\]

This equation describes local free-volume charge relaxation within the constant-conductivity model. The spatial redistribution of a magnetic field in the same body is a different measurement. At frequencies where displacement current is small compared with conduction current, write \(\nabla\times\mathbf B=\mu\sigma\mathbf E\) and take a curl. Use Faraday’s law and the absence of magnetic monopoles to cancel the gradient of \(\nabla\cdot\mathbf B\):

\[-\nabla^2\mathbf B=-\mu\sigma\,\partial_t\mathbf B,\]
\[\partial_t\mathbf B=\frac{1}{\mu\sigma}\nabla^2\mathbf B .\]

A magnetic disturbance varying on the length \(L\) has a diffusion time of order \(\mu\sigma L^2\), which grows as the square of the size. A charge-relaxation time \(\epsilon/\sigma\) contains no length. These estimates rely on the separate constitutive and frequency assumptions above. Extrapolating a static conductivity through arbitrarily high frequencies exceeds those assumptions.

Derivation and applications

Follow a magnetic field step into a metal

A switched field probes a conductor over a growing depth. Take a conducting half-space \(x>0\) with constant permeability \(\mu\) and conductivity \(\sigma\). Initially its magnetic field is zero. At \(t=0\) impose a uniform tangential field \(B_s\) at its planar surface and maintain it thereafter. Work at times longer than charge relaxation and switching transients, neglect displacement current, and assume no variation parallel to the surface. Ampère's and Faraday's laws, together with Ohm's law, reduce to a diffusion equation for the tangential induction.

\[\partial_t B=D\partial_x^2B,\]
\[D=\frac{1}{\mu\sigma}.\]

Since \(D\) has dimensions of area per time and the half-space supplies no length scale, try \(B=B_sf(\eta)\) with \(\eta=x/(2\sqrt{Dt})\). Differentiating at fixed \(x\) gives \(\partial_t\eta=-\eta/(2t)\) and differentiating at fixed \(t\) gives

\[\partial_x\eta=1/(2\sqrt{Dt}).\]

Common factors cancel, leaving

\[f''+2\eta f'=0,\]
\[f'=C e^{-\eta^2}.\]

The surface imposes \(f(0)=1\) and the unaffected interior gives \(f(\infty)=0\). Integrate the Gaussian slope from \(\eta\) to infinity and normalise its integral at the surface. The result fixes both the shape and the rate at which any chosen field contour advances.

\[\frac{B(x,t)}{B_s}=\operatorname{erfc}\!\left(\frac{x}{2\sqrt{Dt}}\right),\]
\[\operatorname{erfc}(u)=\frac{2}{\sqrt\pi}\int_u^\infty e^{-s^2}ds.\]

This contour speed falls with time. A sinusoidal skin depth describes a steady, single-frequency measurement, while the step response has a penetration length that grows with the square root of elapsed time.

Worked example

Time the half-field crossing in aluminium

Take \(\sigma=3.50\times10^7\) S/m and \(\mu=\mu_0\). The diffusivity is \(0.0227\) m²/s. Half the applied field corresponds to

\[\operatorname{erfc}^{-1}(0.5)=0.47694.\]

At \(x=2.00\) mm its arrival time is

\[x^2/[4D(0.47694)^2]=0.193\,\mathrm{ms}.\]

A sensor at 4.00 mm would reach the same fraction at 0.773 ms as long as the far surface remains sufficiently distant.

Second application

Estimate conductivity from a single contour

In a thick nonmagnetic sample the 15.73 percent contour reaches 3.00 mm after 0.180 ms. Since \(\operatorname{erfc}(1)=0.1573\), this contour has \(x=2\sqrt{Dt}\). Its measured depth gives \(D=(0.00300)^2/(4\times0.000180)=0.0125\) m²/s and hence \(\sigma=1/(\mu_0D)=6.37\times10^7\) S/m. A conductivity inferred this way depends on knowing the permeability independently, since the field trace determines their product.

Try it · Magnetic step

Vary the physical parameters in the derived relation. Use the units and assumptions in the readout to connect the curves to the two worked examples. A parameter study can test the forward prediction; the same relation can then be inverted to infer a parameter from a measurement.

How deep does a time-dependent field penetrate?

A plane harmonic field enters a homogeneous good conductor. Assume \(\mu=\mu_0\) and conduction current much greater than displacement current. Mark the depth where amplitude is reduced to \(1/e\) before comparing the magnitude with the in-phase component.

Combining Faraday's law with \(\nabla\times H=\sigma E\) gives the diffusion equation \(\partial_t E=(\mu\sigma)^{-1}\partial_z^2 E\). With time factor \(e^{i\omega t}\) the decaying spatial root is \((1+i)/\delta\) where \(\delta=\sqrt{2/(\omega\mu\sigma)}\). Only its real part controls attenuation. Its imaginary part shifts the phase.

Raise frequency fourfold and predict the shift of the first zero of the in-phase field. Use the graph to distinguish this zero from disappearance of the full harmonic amplitude.

Why charge accumulates at the interface between two weak conductors

A pair of plane electrodes sandwiches two slightly conducting dielectric layers in series. A voltage step is applied and held for a long time. At the first instant the voltage divides as in a capacitor. Much later it divides as in two resistors. The terminal voltage is unchanged throughout, so what physical quantity moved between these limits? A probe located at the internal interface reveals the charge, its timescale and the field that can persist even after the two outer electrodes are shorted. This is a simple example of interfacial, or Maxwell–Wagner, relaxation.

Match total current rather than conduction current alone

Let layer \(i\) have thickness \(d_i\), absolute permittivity \(\epsilon_i\) and conductivity \(\sigma_i>0\). Set positive field from electrode 1 through layer 1 and layer 2 toward electrode 2. Large area and negligible edge effects make the fields \(E_1(t),E_2(t)\) uniform within each layer. Both media are linear, isotropic and nondispersive over the measurement band apart from their specified Ohmic currents. Assume no initial space charge, no interfacial reactions and a voltage rise slow compared with field transit time but fast compared with interfacial relaxation. When the applied voltage has become the constant \(V\),

\[d_1E_1+d_2E_2=V,\]
\[\sigma_1 E_1+\epsilon_1\dot E_1=\sigma_2 E_2+\epsilon_2\dot E_2 .\]

The second equation is continuity of the sum of conduction and displacement current densities. The conduction currents alone can differ while free charge accumulates on the interface. Define \(\sigma_f=\epsilon_2E_2-\epsilon_1E_1\). Differentiating it and using the second equation yields \(\dot\sigma_f=\sigma_1E_1-\sigma_2E_2\), an independent local balance that fixes the sign of any predicted sheet charge.

Derive the response without guessing a circuit

Eliminate \(E_2=(V-d_1E_1)/d_2\). Since \(V\) is constant after the rise,

\[\dot E_2=-d_1\dot E_1/d_2.\]

Collecting the terms gives

\[(\epsilon_1d_2+\epsilon_2d_1)\dot E_1+(\sigma_1d_2+\sigma_2d_1)E_1=\sigma_2V .\]

Before conduction has had time to move appreciable charge, \(\sigma_f(0^+)=0\), so

\[E_1(0^+)=\epsilon_2V/(\epsilon_1d_2+\epsilon_2d_1).\]

In steady state the displacement derivatives vanish and \(E_1(\infty)=\sigma_2V/(\sigma_1d_2+\sigma_2d_1)\). The first-order equation therefore gives

\[E_1(t)=E_1(\infty)+[E_1(0^+)-E_1(\infty)]e^{-t/\tau},\]
\[\tau=\frac{\epsilon_1d_2+\epsilon_2d_1}{\sigma_1d_2+\sigma_2d_1}.\]

Substitution into the first voltage equation gives \(E_2(t)\), and subtraction of the two normal displacements gives

\[\sigma_f(t)=\sigma_f(\infty)(1-e^{-t/\tau}).\]

Its final value can have either sign even when both applied fields always point in the same direction. If \(\sigma_1/\epsilon_1=\sigma_2/\epsilon_2\), the initial and final voltage divisions coincide. Both materials conduct and dissipate power, but this particular interfacial charge does not build up.

Reconstruct an interface charge from a voltage trace

Choose \(d_1=d_2=1.00\) mm, \(\epsilon_1=2\epsilon_0,\epsilon_2=6\epsilon_0\), \(\sigma_1=1.00\times10^{-9}\) S/m and \(\sigma_2=3.00\times10^{-10}\) S/m. With \(V=10.0\) V, the first layer initially drops 7.50 V but finally drops only 2.31 V. The time constant is 54.5 ms. After one time constant the first-layer drop is 4.22 V. The final sheet is positive, \(\epsilon_0[6(7692)-2(2308)]\simeq3.68\times10^{-7}\) C/m². Equal steady conduction currents \(2.31\,\mu\mathrm{A/m^2}\) through both layers independently confirm the final voltage division.

An alternative calculation uses admittances per area in the Laplace domain:

\[Y_i/A=(\sigma_i+s\epsilon_i)/d_i.\]

The fraction of total voltage across layer 1 is \(Y_2/(Y_1+Y_2)\). Its pole is at \(s=-(\sigma_1d_2+\sigma_2d_1)/(\epsilon_1d_2+\epsilon_2d_1)\), precisely the time constant found without using a circuit. Its high- and low-frequency limits give the two electrode readings above. The familiar parallel resistor–capacitor representation of each layer now has an identifiable field origin and a way to test its validity.

Estimate conductivities from a step without measuring a tiny dc current

If the thicknesses and permittivities are known, the late-time voltage fraction and the measured relaxation time constrain two different combinations of the conductivities. In the equal-thickness example write \(f=V_1(\infty)/V=\sigma_2/(\sigma_1+\sigma_2)\). The transient gives the sum \(\sigma_1+\sigma_2=(\epsilon_1+\epsilon_2)/\tau\). Using \(f=0.231\) and \(\tau=54.5\) ms yields a sum of \(1.30\times10^{-9}\) S/m, with contributions \(\sigma_2\simeq3.0\times10^{-10}\) S/m and \(\sigma_1\simeq1.0\times10^{-9}\) S/m. The initial capacitive voltage division remains an independent check on the assumed permittivities and geometry.

This inversion becomes ill-conditioned if the initial and final voltage fractions nearly coincide. Although the formal time constant is still finite, the measured exponential then has very small amplitude and its decay time is hard to estimate against offsets or drift. A static leakage-current measurement can provide a more reliable conductivity constraint in that case. Fitting an arbitrary time constant to a trace that is experimentally flat would confuse a model parameter with a measured observable.

Short the electrodes after the charge has accumulated

Hold the previous setup until steady, then reduce the voltage quickly to zero and leave the outer plates shorted. Determine the two signed internal fields immediately after shorting, and decide what a late-time interface probe will record.

Derive the result and check it independently

The fast change cannot instantaneously remove free charge trapped on the internal interface, so the displacement jump stays at its pre-existing value. By linearity superpose a fast \(-10\) V step whose capacitive division changes \(E_1\) by \(-7500\) V/m and \(E_2\) by \(-2500\) V/m. Starting from the preceding steady fields leaves \(E_1=-5192\) V/m and \(E_2=+5192\) V/m. Equal thicknesses make their line integral zero, as required by the terminal short.

With \(V=0\) the same differential equation now has zero steady fields. Both internal fields decay to zero with 54.5 ms time constant, fed by the discharging interfacial sheet. Hence zero terminal voltage coexists temporarily with nonzero local electric fields, stored electrical energy and Ohmic heating. A numerical calculation enforcing continuity of normal displacement at all times would erase precisely the free interface charge that controls this memory. Check each field at the voltage step, charge conservation at the interface, and the eventual return to zero.

Fließbach, chapter 30 · applications of macroscopic field equations

What relaxes when a field is applied?

A metal plate inserted in a static electric field rapidly rearranges its free surface charge. A metal plate subjected to a changing magnetic field can carry eddy currents for an appreciable time. The two observations concern different field equations. Model a uniform material using \(\mathbf J=\sigma\mathbf E\), \(\mathbf D=\epsilon\mathbf E\) and \(\mathbf B=\mu\mathbf H\), treating the coefficients as constants over the frequencies used.

Free charge conservation gives

\[\partial_t\rho+\nabla\cdot\mathbf J=0.\]

Within the uniform bulk, \(\nabla\cdot\mathbf E=\rho/\epsilon\) gives

\[\partial_t\rho=-(\sigma/\epsilon)\rho.\]

A prepared bulk charge perturbation therefore decays exponentially with characteristic time \(\tau_q=\epsilon/\sigma\). The derivation says nothing about the disappearance of total charge from an isolated body. Charge can move to its boundary, where the bulk equation with constant coefficients across the interface no longer applies. Extremely short formal times in good metals also probe frequencies beyond the constant-conductivity model.

Curl fields obey a different evolution

Use Ampère’s law without displacement current when \(\omega\epsilon\ll\sigma\) and the frequency lies within the material model. Combining \(\nabla\times\mathbf B=\mu\sigma\mathbf E\) with Faraday’s law gives

\[\nabla\times(\nabla\times\mathbf B)=-\mu\sigma\partial_t\mathbf B.\]

Because magnetic flux has zero divergence, the left-hand side is \(-\nabla^2\mathbf B\). Thus

\[\partial_t\mathbf B=D_m\nabla^2\mathbf B,\]
\[D_m=\frac1{\mu\sigma}.\]

A spatial Fourier component with wavenumber \(k\) decays as \(\exp(-D_mk^2t)\). Long spatial scales persist longer because the electric field required to change a large magnetic flux drives stronger circulating currents. Dimensional analysis gives a diffusion time of order \(\mu\sigma L^2\), with a geometric factor determined by the actual boundaries.

OneSimulation · Does a thin sheet have a field-free interior?

Place a 2 mm copper sheet between two coils that impose the same harmonic tangential magnetic field on its two faces. Neglect displacement current and edge fringing. For a phasor proportional to \(e^{i\omega t}\), diffusion across the thickness becomes a complex boundary-value problem. Reflection symmetry fixes the slope at the centre.

\[H''=i\omega\mu\sigma H,\]
\[\frac{H(x)}{H_s}=\frac{\cosh[(1+i)x/\delta]}{\cosh[(1+i)a/\delta]},\]
\[\delta=\sqrt{\frac{2}{\omega\mu\sigma}}.\]

Here \(a\) is the half-thickness. The half-space law would keep a single decaying exponential. In this experiment the second face drives a second field with a definite phase. OneSimulation solves for both quadratures on a thickness grid. Compare the calculated centre amplitude with the two-face solution before using a measured attenuation to infer conductivity.

"""Harmonic magnetic diffusion in a copper sheet with two driven faces."""
import matplotlib.pyplot as plt
import numpy as np
from onesim.numerics.linear.matrices.dense_linear_algebra import solve_dense

mu, sigma = 4e-7 * np.pi, 5.8e7  # H/m, S/m
half_width = 1e-3  # m
x = np.linspace(-half_width, half_width, 101)
h = x[1] - x[0]
n = len(x) - 2
identity = np.eye(n)
minus_laplacian = 2 * identity - np.eye(n, k=1) - np.eye(n, k=-1)
boundary = np.zeros(n)
boundary[[0, -1]] = 1.0  # unit field at each face
fig, ax = plt.subplots(figsize=(6.6, 3.5), layout="constrained")

for frequency in (1e3, 1e4, 1e5):
    omega = 2 * np.pi * frequency
    alpha = omega * mu * sigma * h**2
    # Real and imaginary parts of the same complex diffusion equation.
    matrix = np.block([[minus_laplacian, -alpha * identity],
                       [alpha * identity, minus_laplacian]])
    u, v = np.split(solve_dense(matrix, np.r_[boundary, np.zeros(n)]), 2)
    field = np.r_[1, u + 1j * v, 1]
    delta = np.sqrt(2 / (omega * mu * sigma))
    exact = np.cosh((1+1j) * x / delta) / np.cosh((1+1j) * half_width / delta)
    assert np.max(np.abs(field - exact)) < 8e-4
    print(f"{frequency:g} Hz: centre amplitude {abs(field[n//2+1]):.4f}")
    ax.plot(1000 * x, abs(field), label=f"{frequency/1000:g} kHz")
ax.set(xlabel="Position across sheet (mm)", ylabel="Field amplitude / surface amplitude")
ax.legend()
ax.grid(alpha=0.2)
fig.savefig("electrodynamics.png", dpi=180)
Three symmetric through-thickness profiles dip at the middle. The middle amplitude falls from 0.983 at 1 kHz to 0.017 at 100 kHz.
Both surfaces have unit amplitude. At 10 kHz the interior still reaches 46% of that field. At 100 kHz the centre reaches less than 2%.

Try it · Magnetic sheet

Change the inputs and compare the recalculated curves with the preceding derivation and baseline figure. The axes give the units; the numerical readout states the model assumptions and any limiting cases. Reset the inputs to return to the reference setting.

Download the Python example

An alternating field outside a copper block

Take a tangential field at the plane \(x=0\) bounding a conductor occupying \(x>0\). Substitute \(B(x,t)=\mathrm{Re}\{B_0e^{i\omega t-\kappa x}\}\) into diffusion. The admissible square root of \(\kappa^2=i\omega\mu\sigma\) has positive real part,

\[\kappa=(1+i)/\delta,\]
\[\delta=\sqrt{2/(\omega\mu\sigma)} .\]

At depth \(\delta\) the amplitude has dropped to \(1/e\) and the phase lags by one radian. These are independent observables for testing the semi-infinite, constant-property solution. The surface excitation sets the boundary amplitude. It need not equal the field that an external coil would generate with the metal absent.

For copper take \(\sigma=5.8\times10^7\) S/m, \(\mu=\mu_0\) and \(f=1.00\) kHz. Then \(\delta=2.09\) mm. At \(x=4.00\) mm the field amplitude is \(0.148\) of its surface value and the phase lag is \(1.91\) rad. Raising frequency by a factor of four halves the penetration depth. If a plate thickness is comparable to \(\delta\), fields from the opposite face also affect the solution and a second boundary condition must replace the one-sided decay condition. This geometric check matters as much as the conductivity value when using an amplitude ratio to infer a material property.

Two magnetic field profiles at a quarter-cycle separation decay with depth and show a delayed oscillation below the surface.
A conducting half-space in a sinusoidal field. Both the attenuation and the phase shift are set by the depth measured in skin depths.

The oscillating solution also predicts current concentrated near the surface, since Ampère’s law makes the current density proportional to the local spatial derivative of magnetic field. As frequency rises, less of the metal cross-section transports the alternating current at a given field amplitude. This mechanism helps explain why a conductor’s measured AC resistance can exceed its DC value even when the local conductivity is unchanged.

Relate surface fields to the power dissipated in a metal

The skin depth gives the distance over which current flows, yet a circuit measurement usually returns an impedance or a heating rate. Use the conducting half-space \(x>0\) and time convention \(e^{i\omega t}\). Choose magnetic field along \(z\), with phasor \(H_z=H_0e^{-(1+i)x/\delta}\). From Ampère's law without displacement current, the only current component is

\[J_y=-\partial_xH_z=(1+i)H_z/\delta.\]

Ohm’s law therefore fixes the tangential electric field immediately inside the conductor.

\[Z_s=\frac{E_y(0)}{H_z(0)}=\frac{1+i}{\sigma\delta},\]
\[R_s=\mathrm{Re}\,Z_s=\sqrt{\frac{\pi f\mu}{\sigma}} .\]

The surface resistance \(R_s\) is expressed in ohms even though neither field in this ratio is a terminal voltage or current. Current integrated over depth is a sheet current with units A/m equal to the surface magnetic amplitude. The real part of the surface impedance relates mean heating per unit area to this current, while the imaginary part describes reversible magnetic energy storage near the surface.

For peak phasors, mean inward Poynting flux is

\[\mathrm{Re}[E_yH_z^*]/2=R_s|H_0|^2/2.\]

The same result must follow from local heating. Insert \(|J_y|^2=2|H_0|^2e^{-2x/\delta}/\delta^2\) into \(\int_0^\infty |J_y|^2/(2\sigma)\,dx\). The integral supplies \(\delta/2\), reproducing the surface formula. This equality is a sensitive check on the distinction between amplitude decay over \(\delta\) and squared-amplitude decay over \(\delta/2\).

Estimate loss in a microwave wall

Take copper with constant \(\sigma=5.8\times10^7\) S/m, \(\mu=\mu_0\) at \(f=10.0\) MHz. The skin depth is \(\delta=20.9\) μm and \(R_s=1/(\sigma\delta)=0.825\) mΩ. A nearly uniform tangential peak magnetic field of \(80.0\) A/m illuminates a wall patch of area \(0.0200\) m². Surface heating density is \(0.000825(80.0)^2/2=2.64\) W/m², corresponding to \(52.8\) mW for the patch. If the supplied field were an RMS amplitude the division by two would be inappropriate.

Increasing frequency fourfold at constant peak magnetic field doubles the loss and halves the skin depth. A coating 10 μm thick at the original frequency is less than one skin depth, so a calculation assuming all current decays within that coating is unreliable; substrate conductivity and the second interface matter. A very thick low-loss conductor can instead be represented by the surface condition without resolving the field throughout its interior. A numerical mode solver using that substitution should recover both the inferred loss and its square-root frequency dependence.

The complex sign in the impedance also makes a phase prediction. For the stated time convention the surface electric field leads the tangential magnetic field by 45 degrees. Squaring the electric amplitude alone and dividing by the bulk resistivity would give a volumetric rather than an areal heating rate. To obtain an areal quantity one must integrate over its penetration profile. A measured phase substantially different from 45 degrees can indicate a magnetic permeability with appreciable losses, a finite film thickness, or a displacement current no longer negligible compared with conduction.

A calibrated surface-field phase measurement tests this condition independently of absolute field amplitude.

Develop this calculation further

Chapter 22 · Why dispersion and absorption belong together · Chapter 29 · When a circuit element must be treated as a field

Study the full derivation

How a magnetic field relaxes into a finite conductor · Magnetism, induction and field dynamics

A conducting sheet initially shields its interior from an applied magnetic step. Given time, a normal resistive metal admits a static tangential magnetic field. The same equations give a finite slab a discrete relaxation spectrum and a periodic drive a complex penetration depth. These are different initial and boundary conditions for one diffusion operator.