Sources and sinks

From testwiki
Revision as of 00:42, 16 December 2024 by imported>Kaltenmeyer (a -> an, typo(s) fixed: a energy โ†’ an energy, dissapearing โ†’ disappearing)
(diff) โ† Older revision | Latest revision (diff) | Newer revision โ†’ (diff)
Jump to navigation Jump to search

Template:Short description

Three examples of vector fields. From left to right: a field with a source, a field with a sink, a field without either.

In the physical sciences, engineering and mathematics, sources and sinks is an analogy used to describe properties of vector fields. It generalizes the idea of fluid sources and sinks (like the faucet and drain of a bathtub) across different scientific disciplines. These terms describe points, regions, or entities where a vector field originates or terminates. This analogy is usually invoked when discussing the continuity equation, the divergence of the field and the divergence theorem. The analogy sometimes includes swirls and saddles for points that are neither of the two.

In the case of electric fields the idea of flow is replaced by field lines and the sources and sinks are electric charges.

Description and fluid dynamics analogy

Template:See also Template:Multiple images

In physics, a vector field ๐›(x,y,z) is a function that returns a vector and is defined for each point (with coordinates x,y,z) in a region of space. The idea of sources and sinks applies to ๐› if it follows a continuity equation of the form

at+๐›=s,

where t is time, a is some quantity density associated to ๐›, and s is the source-sink term. The points in space where s>0 are called a sources and when s<0 are called sinks. The integral version of the continuity equation is given by the divergence theorem.

These concepts originate from sources and sinks in fluid dynamics, where the flow is conserved per the continuity equation related to conservation of mass, given by

ρt+๐ฏ=Q

where ρ is the mass density of the fluid, ๐ฏ is the flow velocity vector, and Q is the source-sink flow (fluid mass per unit volume per unit time). This equation implies that any emerging or disappearing amount of flow in a given volume must have a source or a sink, respectively. Sources represent locations where fluid is added to the region of space, and sinks represent points of removal of fluid. The term Q is positive for a source and negative for a sink.[1] Note that for incompressible flow or time-independent systems, Q is directly related to the divergence as

๐ฏ=Q.

For this kind of flow, solenoidal vector fields (no divergence) have no source or sinks. When at a given point Q=0 but the curl ×๐ฏ0, the point is sometimes called a swirl.[2][3] And when both divergence and curl are zero, the point is sometimes called a saddle.[3]

Other examples in physics

Electromagnetism

Field lines of an electric dipole. Field lines go from positive charge (source) to the negative charge (sink).

In electrodynamics, the current density behaves similar to hydrodynamics as it also follows a continuity equation due to the charge conservation:

ρet+๐ฃ=σ,

where this time ρe is the charge density, ๐ฃ is the current density vector, and σ is the current source-sink term. The current source and current sinks are where the current density emerges σ>0 or vanishes σ<0, respectively (for example, the source and sink can represent the two poles of an electrical battery in a closed circuit).[4]

The concept is also used for the electromagnetic fields, where fluid flow is replaced by field lines.[5] For an electric field ๐„, a source is a point where electric field lines emanate, such as a positive charge (๐„>0), while a sink is where field lines converge (๐„<0), such as a negative charge.[6] This happens because electric fields follow Gauss's law given by

๐„=ρe/ϵ0,

where ϵ0 is the vacuum permittivity. In this sense, for a magnetic field ๐ there are no sources or sinks because there are no magnetic monopoles as described by Gauss's law for magnetism which states that

๐=0.[7]

Electric and magnetic fields also carry energy as described by Poynting's theorem, given by

ut+๐’=๐‰๐„

where u is the electromagnetic energy density, ๐’ is the Poynting vector and ๐‰๐„ can be considered as an energy source-sink term.[8]

Newtonian gravity

Similar to electric and magnetic fields, one can discuss the case of a Newtonian gravitational field ๐  described by Gauss's law for gravity,

๐ =4πGρ,

where G is the gravitational constant. As gravity is only attractive (ρ0), there are only gravitational sinks but no sources. Sinks are represented by point masses.[9]

Thermodynamics and transport

In thermodynamics, the source and sinks correspond to two types of thermal reservoirs, where energy is supplied or extracted, such as heat flux sources or heat sinks. In thermal conduction this is described by the heat equation.[10] The terms are also used in non-equilibrium thermodynamics by introducing the idea of sources and sinks of entropy flux.[11]

Chaos theory

In chaos theory and complex system, the idea of sources and sinks is used to describes repellors and attractors, respectively.[12][13]

In mathematics

Complex functions

This terminology is also used in complex analysis, as complex number can be desrcibed as vectors in the complex plane.Sources and sinks are associated with zeros and poles of meromorphic function, representing inflows and outflows in a harmonic function. A complex function is defined to a source or a sink if it has a pole of order 1.[14]

Topology

In topology, the terminology of sources and sinks is used when discussing a vector field over a compact differentiable manifold. In this context the index of a vector field is +1 if it is a source or a sink, if the value is -1 it is called a saddle point. This concept is useful to introduce the Poincarรฉโ€“Hopf theorem and the hairy ball theorem.[15]

Other uses

Other areas where this terminology is used include sourceโ€“sink dynamics in ecology and current source density analysis in neuroscience.

References