Acoustic eikonal equation in a shear flow Created 2026-10-13 Updated 2026-10-18
For a slowly varying parallel shear flow , the leading WKB method neglects mean-velocity gradients while retaining local advection. The continuity equation and linearized Euler equations then give the displayed acoustic dispersion relation. On the positive intrinsic-frequency branch, and the group velocity is . A wavefront normal is parallel to ; the acoustic energy-ray direction generally differs because of the advection term.
Barotropic energy density 2026-10-06
For a barotropic fluid with pressure , choose an energy density satisfying . The continuity equation then gives . For an isothermal equation of state , one choice is . A fixed reference density changes only by a conserved mass term. The same construction holds with surface density and vertically integrated pressure. This closure energy need not equal the microscopic internal energy of a gas maintained at fixed temperature.
Barotropic spherical accretion equation Created 2026-10-07 Updated 2026-10-13
Steady spherical continuity equation gives . Combining this with Euler equations for an inviscid fluid and gives the displayed equation. Smooth transonic passage requires and simultaneously. The barotropic enthalpy function gives the integral .
Let be continuous in time and continuously differentiable in space, with a uniform spatial Lipschitz constant and at most linear growth on each compact time interval. Its characteristic flow map exists forward and backward over every bounded time interval. For each initial probability measure with finite first absolute moment, the displayed pushforward measure is the unique weak solution of the continuity equation continuous in the first Wasserstein distance.
The Gronwall inequality bounds the flow by and therefore preserves finite first absolute moments. The chain rule establishes the weak equation. For uniqueness, transport a compactly supported terminal test function backward along the flow; it solves and remains compactly supported on a bounded time interval. Inserting it into the weak identity identifies every terminal integral with that of the claimed pushforward measure. A zero divergence makes the corresponding scalar transport equation and the continuity equation coincide.
Charge conservation Created 2026-10-14 Updated 2026-10-20
Charge conservation says that the total signed electric charge of an isolated collection stays constant. More generally, a collection closed to electric charge exchange has constant total electric charge, even if energy crosses its boundary. This is the charge bookkeeping relevant to a closed system or an isolated system; isolation from energy exchange is not required. Positive and negative electric charge count with opposite signs. Creating or removing an electron and a Positron together is compatible with charge conservation, because their combined electric charge is zero. [ref].
Imagine a fixed box initially containing electric charge . Stipulate incoming conventional current and outgoing conventional current throughout , with no other boundary transport. Since one ampere is one coulomb per second, the stored electric charge grows at :
If instead the outgoing electric current also equals , the stored electric charge remains while electric charge passes through. These are stipulated transport examples; constant terminal electric currents alone do not guarantee a time-independent interior charge density.
Figure 1.
Signed electric current through a fixed control volume
. The dashed box is an accounting boundary. Outward unit normals point left at the inlet and right at the outlet: the respective contributions to outward electric current are and . Arrow lengths are schematic. Source. Details.
Figure 2.
Stored electric charge with unequal and balanced terminal electric currents
. Synthetic curves from the stipulated rates over , with the same initial electric charge; these are not measurements. Balanced transport keeps total electric charge fixed, and is compatible with steady transport. Source. Details.
Locally, charge conservation is the charge continuity equation, an instance of the general continuity equation:
Here is signed volume charge density and is current density. A positive divergence of current density means net outward transport from a small neighborhood, so its charge density decreases. For a fixed control volume with closed surface and outward unit normal , the equivalent integrated balance is
The surface integral is signed: incoming positive electric charge contributes negatively to outward electric current, and outgoing positive electric charge contributes positively. Integrate the charge continuity equation over fixed and apply the divergence theorem to obtain this balance. Zero net boundary transport gives constant ; the global and local statements describe the same conservation law at different scales. [ref].
In a steady transport state, charge density and current density are time-independent, so the charge continuity equation reduces to . At an electrical circuit junction, choose each terminal electric current positive outward and assume the terminals account for all boundary transport. Then
Kirchhoff's current law, , follows when accumulation of electric charge at the junction is negligible. During storage, retain the same balance with its nonzero derivative; charge conservation continues to hold. This makes charge conservation useful for checking electrical circuit models and for tracking the charging of a capacitor. [ref].
The beautiful consistency with Maxwell equations is that the electric field and magnetic field already enforce this transport balance. For sufficiently smooth fields in vacuum SI, take the divergence of the Ampère-Maxwell equation, use that the divergence of a curl is zero, and substitute Gauss's law, . Constant vacuum permittivity gives
The displacement current term supplies the part needed when electric charge accumulates. Historically, Maxwell added that term to extend the steady-current equation; see the existing charge conservation from Maxwell equations for this connection. [ref].
A Fourier mode advected with a homologous spherical flow has phase . Its material derivative in the background vanishes because . Thus contraction shortens its physical wavelength while preserving its phase on each fluid element. Linearizing the continuity equation and pressureless momentum equation gives and . Combining these with the Poisson equation for Newtonian gravity yields for nonzero compressive wavenumber. It is a local bulk calculation, without the moving cloud-boundary conditions.
Condensate number current Created 2026-10-06 Updated 2026-10-14
For , with real and , the continuity equation is
Multiply the equation by and subtract its complex conjugate multiplied by to obtain this identity; real interaction and potential terms cancel. Thus the current velocity is . With dimensional kinetic operator and left side , this gives the physical superfluid velocity . In normalized equations with or , the current velocity is respectively or . The distinction fixes the radial-flow slope of a driven quantum vortex.
Here and are real functions of time. Differentiation in position gives . The standard probability current is therefore
For a coherent state moving in a quadratic Hamiltonian, the centre follows the classical equation , so the current is the normalized Gaussian probability density transported at its centre velocity. The factor is essential: omitting it changes the current by a dimensional constant and violates the continuity equation for the normalized density. A spatially constant phase does not affect the current.
Let be the uniform background dust surface density of a disk and its fractional perturbation. Here is the radial wavenumber, is the epicyclic frequency and is a real velocity amplitude. For that uniform background and late velocity , linear dust continuity equation gives . Integrating yields the displayed formula. The coherent travelling-wave fractional excess is , with validity requiring this number much smaller than one. The static term records initial density and transient displacement: drag damps velocity, but supplies no density diffusion. The long-wavelength gas wave has the same fractional density amplitude, so entrainment alone does not produce an additional dust-to-gas ratio enhancement at this order.
For a depth-independent horizontal velocity in a layer of reference depth , the linear transports are , . They have dimensions of area per time and satisfy the surface continuity equation . Their momentum equations are obtained by multiplying the depth-independent velocity equations by .
Diffusion Created 2026-10-06 Updated 2026-10-31
Diffusion is net transport associated with random microscopic motion. A localized patch of a dilute solute can spread through a stationary solvent: individual molecules move in both directions, but more cross from the crowded side of an imaginary surface than from the less crowded side. This imbalance gives a net diffusive flux down the concentration gradient; the molecules do not need to sense which direction has lower concentration. At uniform concentration, microscopic exchanges continue even though the net diffusive flux vanishes. [ref]
The distinction from advection is easiest to see in a dye patch. Uniform bulk motion carries its centre downstream; diffusion broadens it relative to that centre. Both can happen together. A moving or spreading patch by itself does not identify the mechanism: a nonuniform velocity field can also stretch a patch. [ref]
Figure 1.
Diffusion broadens a patch; uniform advection translates it
. Original model curves, not measured data. Each panel starts with the same Gaussian distribution of dye, with standard deviation . The chosen diffusion coefficient is where enabled; the chosen bulk speed is where enabled. The vertical axis is concentration divided by its spatial integral, so every curve has area one. Pure uniform advection preserves width and peak height; diffusion lowers the peak while preserving the total dye. Details.
For a dilute nonreacting solute in a uniform medium at fixed temperature, Fick's first law models the relative diffusive flux as , with scalar diffusion coefficient of units . Here is the amount of substance per unit volume, so has units . With carrier velocity field , the total flux is . The continuity equation, with no sources or chemical reactions, gives
For constant and incompressible flow, this reduces to , where is the Laplacian. In a stationary carrier it is the diffusion equation. These assumptions matter: variable must remain inside the divergence, and changing sources require extra terms. [ref]
The useful surprise is the common mathematics: thermal conduction smooths temperature through the analogous heat equation, while molecular diffusion smooths composition. This analogy already motivated the original formulation of Fick's laws. [ref] However, the thermal diffusivity and the solutal diffusivity need not be equal. A diffusive time scale means that crossing ten times the distance requires roughly one hundred times the time. This is why molecular diffusion is especially effective across thin layers, and why chaotic advection can assist mixing by making those layers thinner. Physical diffusion is a transport mechanism, distinct from the broader probabilistic class of Markov diffusion.
The time derivative of the electric displacement field enters the macroscopic Ampère-Maxwell equation alongside free electric current density. In vacuum, . It is not transport of free charges through the vacuum gap of a capacitor; its surface integral nevertheless supplies the term needed for compatibility with the continuity equation.
Conservation of probability under a deterministic characteristic flow map with velocity gives the displayed continuity equation on phase space. Along a characteristic, . Unlike the Hamiltonian Liouville equation, it allows contraction of phase-space volume and increasing density along trajectories. It still preserves total probability when boundary fluxes vanish.
Divergence Created 2026-09-24 Updated 2026-10-14
For in Cartesian coordinates,
For a continuously differentiable vector field, the divergence is the limiting outward flux per unit volume through a small closed surface. Opposite faces of a small rectangular box almost cancel; the remaining differences in the three components give the sum of partial derivatives above. The divergence theorem extends this local balance to a whole region.
For , the divergence is . In a planar unit square, the right edge contributes outward flux and the top contributes , while the left and bottom contribute zero. The total equals the integral of the planar divergence over area .
If is a velocity field, positive divergence means local volume expansion, not automatically creation of mass. The continuity equation gives , where is the material derivative. For this field, a uniform initial density evolves as while material volumes grow as . Their product stays constant.
Electric current Created 2026-09-24 Updated 2026-10-14
An electric current measures how quickly signed electric charge crosses a chosen fixed oriented surface . Choose its unit normal ; positive electric charge crossing along counts positively, while crossing against it counts negatively. If is the accumulated signed electric charge transported through , then
Here is the current density; the surface integral collects its local normal contributions. Reversing the unit normal reverses . The electric current is a signed scalar associated with the whole chosen oriented surface, whereas current density is a vector at each point. The SI unit is the ampere, one coulomb per second. [ref]; [ref].
For a constant electric current of over a time interval of , the transported electric charge is . This need not be electric charge accumulating in the wire: in steady transport, electric charge enters and leaves. For a closed oriented surface with outward unit normal, electric charge conservation instead gives . Keeping transported and enclosed electric charge distinct connects electrical circuit bookkeeping to the local continuity equation.
Compare a flat background Friedmann equation with a nearly homogeneous curved region on a slicing of equal local Hubble parameter. To first order in its curvature parameter , subtraction gives , or . Conserved curvature therefore gives in radiation domination and in matter domination. This construction specifies the slicing: two patches at equal proper time generally do not have the same Hubble parameter. For growing dust perturbations, the continuity equation gives to first order. These different time comparisons can share growth powers without sharing the same curvature-to-density coefficient.
For pressureless matter, a positive cosmological constant, flat spatial geometry and negligible radiation, the continuity equation gives . Substitution in the Friedmann equation yields the displayed Hubble parameter, with . radiation must be restored at early epochs; the formula does not require matter to be the largest present-day density component.
Four-current Created 2026-10-06 Updated 2026-10-14
The four-current combines charge density and current density into the four-vector . With , its four-divergence vanishes by the charge continuity equation: . It is the source in the covariant Maxwell equations.
For diffusion with a constant diffusion coefficient and no sources, the model flux is . A continuity equation gives . This proportionality is a constitutive assumption about transport; the continuity equation expresses conservation. If varies with position, it must remain inside the divergence, giving instead.[ref]
An exact constructed heat equation example on the whole plane uses dimensionless coordinates with and the smooth initial Gaussian function . Set . For ,
Direct differentiation verifies both the initial condition and
The center decreases, while the region increases at that instant. The sign-change circle expands with radius . A fixed outer location can initially increase and later decrease as this circle passes it.
Figure 1.
An exact Gaussian function spreads under the heat equation while its spatial integral stays fixed
. Original analytic model with . Left: radial profiles at , whose peaks are . Right: at ; the sign changes at . These are model predictions, not experimental measurements. The conserved quantity uses the whole-plane area element , rather than the unweighted area under a radial profile. Details.
At time , the peak is , and the radius where the profile is times its peak is . The width grows as the height falls. Integration in polar coordinates gives
Thus a decreasing peak is compatible with a conserved spatial integral. Dividing by makes a probability density function with coordinate variances , connecting the same spreading to Brownian motion with diffusion coefficient one. Equivalently the profile is evolved by the Gaussian heat kernel with time parameter , since that article uses generator .
Use a monotone linear growth factor as time, , and with and . The cosmological Poisson equation becomes ; the continuity equation becomes . The material derivative is . Substitution into the pressureless cosmological Euler equation, followed by the growth equation and , proves the displayed motion equation, with . The density derivative in the conservative continuity equation is Eulerian, not material.