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.
Acoustic wave Created 2026-09-29 Updated 2026-11-05
An acoustic wave is a propagating disturbance in a material's pressure, mass density and particle motion. Compressing a small fluid region raises its pressure; the resulting pressure gradient accelerates adjacent material, while inertia carries the motion onward. This restoring mechanism permits longitudinal waves in an ordinary fluid.
For small perturbations about a uniform resting state, the linear continuity equation and momentum conservation combine into a wave equation. The squared speed of sound is the relevant derivative of pressure with respect to mass density; rapid locally reversible compression usually uses the isentropic derivative. A microphone records the pressure variation, while a travel-time measurement probes propagation speed. The particle velocity can remain much smaller than the speed of sound: local material oscillation and movement of the wave pattern are different quantities. Acoustic energy flux relates the pressure and particle-velocity fields to transported power.
Barotropic energy density Created 2026-10-06 Updated 2026-11-05
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.
Compressible flow Created 2026-09-24 Updated 2026-11-05
In compressible flow, a fluid parcel's mass density can change as it moves. The continuity equation expresses the relation between density change and local expansion:
A compressed gas parcel occupies less volume without losing mass, so its density rises. The resulting pressure response depends on an equation of state and on how the parcel exchanges heat.
A piston driven into a gas demonstrates why this matters: pressure disturbances propagate at the speed of sound, and sufficiently strong or rapid compression can produce a shock wave. The Mach number compares bulk speed with this propagation speed. Low Mach number often supports a nearly constant-density model for weakly heated gases, but heating or composition changes can still make density variations important at low flow speed. Compressibility is therefore a physical approximation to assess, rather than a label fixed by speed alone.
Condensate number current Created 2026-10-06 Updated 2026-11-05
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.
Continuity equation Created 2026-09-24 Updated 2026-11-05
A continuity equation expresses local conservation by balancing density changes against flux divergence. For mass density transported with fluid velocity and no mass sources, it is .
Expanding the divergence gives , where is the material derivative. A fluid parcel can change density when the surrounding flow compresses or expands it. For constant nonzero density, the equation reduces to the incompressibility condition .
In a steady one-dimensional pipe flow, integrating across a section gives constant mass flow rate , under the usual uniform-section approximation. Velocity need not remain constant when the density or channel area changes; the continuity equation constrains their product.
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.
Euler equations for an inviscid fluid Created 2026-09-24 Updated 2026-11-05
The Euler equations for an inviscid fluid describe fluid motion when viscous stresses can be neglected. For mass density , velocity , pressure and body force per unit mass , momentum balance is
The continuity equation supplies mass balance; compressible flow also needs thermodynamic and energy information to close the model.
A fluid parcel accelerates because of pressure differences and body forces such as gravity. Neglecting viscosity can be accurate away from thin boundary layers in a high-Reynolds number flow, even though the same viscosity remains crucial near a solid wall. An inviscid model usually imposes no penetration at an impermeable boundary; it does not generally impose the viscous no-slip boundary condition. Shock waves also require appropriate conservation and entropy conditions rather than a smooth-solution interpretation alone.