Math 2.0

Fluid mechanics Foundations and kinematics of flow Theorem

Continuity equation

Builds on Fluid mechanicsDivergenceMaterial derivativeDivergence theoremNavier–Stokes equations

Statement

Let Ω⊆ℝ3\Omega \subseteq \R^3 be open and let II be an open interval. Let ρ ⁣:Ω×I→(0,∞)\rho \colon \Omega \times I \to (0, \infty) be the density and 𝐮 ⁣:Ω×I→ℝ3\mathbf{u} \colon \Omega \times I \to \R^3 the velocity of a fluid, both continuously differentiable. Suppose that mass is conserved in the following sense. For every bounded open set VV with smooth boundary ∂V\partial V, closure V‾⊆Ω\overline{V} \subseteq \Omega and outward unit normal 𝐧\mathbf{n}, and for every t∈It \in I, ddt∫Vρ dV=−∮∂Vρ 𝐮⋅𝐧 dA.\frac{d}{dt} \int_V \rho \, dV = - \oint_{\partial V} \rho \, \mathbf{u} \cdot \mathbf{n} \, dA. Then at every point of Ω×I\Omega \times I, ∂ρ∂t+∇⋅(ρ𝐮)=0,\frac{\partial \rho}{\partial t} + \nabla \cdot (\rho \mathbf{u}) = 0, or equivalently DρDt+ρ ∇⋅𝐮=0\dfrac{D\rho}{Dt} + \rho \, \nabla \cdot \mathbf{u} = 0, where D/DtD/Dt is the material derivative. Conversely, this equation implies the integral law for every such VV.

Remarks

By the divergence theorem, the integral law says ∫V(∂tρ+∇⋅(ρ𝐮))dV=0\int_V \left( \partial_t \rho + \nabla \cdot (\rho \mathbf{u}) \right) dV = 0 for every small ball VV. The integrand is continuous, so if it were nonzero at a point it would keep its sign on a small ball around that point, and the integral would not vanish. The second form follows from ∇⋅(ρ𝐮)=𝐮⋅∇ρ+ρ ∇⋅𝐮\nabla \cdot (\rho \mathbf{u}) = \mathbf{u} \cdot \nabla \rho + \rho \, \nabla \cdot \mathbf{u}. Example: for constant density, the equation reduces to ∇⋅𝐮=0\nabla \cdot \mathbf{u} = 0, the condition of incompressible flow. Example: the one-dimensional gas ρ(x,t)=1/(1+t)\rho(x, t) = 1/(1 + t), u(x,t)=x/(1+t)u(x, t) = x/(1 + t) satisfies it, since ∂tρ=−1/(1+t)2\partial_t \rho = -1/(1 + t)^2 and ∂x(ρu)=1/(1+t)2\partial_x (\rho u) = 1/(1 + t)^2.

Going deeper

For a student

The continuity equation is the first of the equations of motion of a fluid, next to the momentum equation and the energy equation. It has the form of a conservation law ∂tρ+∇⋅𝐣=0\partial_t \rho + \nabla \cdot \mathbf{j} = 0 with flux 𝐣=ρ𝐮\mathbf{j} = \rho \mathbf{u}, and the same form governs electric charge, probability in quantum mechanics and heat. In the divergence form it couples the density to the velocity; for an incompressible fluid it becomes the constraint ∇⋅𝐮=0\nabla \cdot \mathbf{u} = 0 in the Navier–Stokes equations. The passage from the integral law to the pointwise law needs the fields to be continuously differentiable; for flows with shocks only the integral form survives.

Reading path

To understand this page from the ground up, read these 44 pages in order. The foundations come first.

  1. Euclidean space object
  2. Fluid mechanics concept
  3. Function concept
  4. Infimum concept
  5. Material derivative concept
  6. Navier–Stokes equations concept
  7. Supremum concept
  8. Fréchet derivative definition
  9. Function of several variables concept
  10. Vector-valued function concept
  11. Jordan measure definition
  12. Limit of a function of several variables concept
  13. Iterated integral definition
  14. Partial derivative concept
  15. Vector field concept
  16. Continuity in R^n definition
  17. Differentiable function of several variables definition
  18. Partial derivative definition
  19. Divergence concept
  20. Double integral definition
  21. Differentiable on an open set definition
  22. Gradient definition
  23. Jacobian matrix definition
  24. Higher partial derivatives definition
  25. Fubini's theorem statement
  26. Triple integral definition
  27. Iterated derivative definition
  28. C^k function characterised by continuous derivatives statement
  29. Parametrised curve definition
  30. Vector field definition
  31. Closed curve definition
  32. Rectifiable curve definition
  33. Parametrised surface definition
  34. Divergence definition
  35. Line integral of a vector field definition
  36. Tangent plane and normal vector of a surface definition
  37. Green's theorem statement
  38. Surface area definition
  39. Divergence theorem on a rectangle in the plane statement
  40. Surface integral definition
  41. Orientable surface definition
  42. Flux through a surface definition
  43. Divergence theorem statement
  44. Continuity equation statement

Where this leads

5 pages build on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/Continuity_equation, Fluid dynamics
About this page
TagFD4NR553YR
URIm2://FD4NR553YR
Kindstatement, theorem
WritingW0 stub
MSC76A02, 35Q35
StatusThis copy of the site has no build data. Run m2 status FD4NR553YR.
AboutFluid mechanics
UsesFluid mechanics, Divergence, Material derivative, Divergence theorem, Navier–Stokes equations
Changed3 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

Used by