Physlib

Physlib.FluidDynamics.NavierStokes.Continuity

The Navier-Stokes continuity equation

i. Overview

This module defines the classical conservative mass-balance equation for a fluid state and the corresponding continuity residual.

ii. Key results

  • `ClassicalContinuityEquation` : Classical conservation of mass in conservative form.
  • `continuityResidual` : The scalar residual `partial_t rho + div (rho u)`.
  • `SmoothContinuityEquation` : Continuity for globally differentiable fields.
  • `SmoothContinuityEquation.toClassical` : Smooth continuity implies classical continuity.

iii. Table of contents

  • A. Continuity equations

iv. References

A. Continuity equations

4 declarations

definition

Classical continuity equation ∂ρ∂t+∇⋅(ρu)=0\frac{\partial \rho}{\partial t} + \nabla \cdot (\rho \mathbf{u}) = 0

For a fluid state in dd-dimensional space with density ρ(t,x)\rho(t, x) and velocity field u(t,x)\mathbf{u}(t, x), the classical continuity equation is satisfied if, for every time tt and spatial point xx where the density is differentiable with respect to time and the mass flux ρu\rho \mathbf{u} is spatially differentiable, the following relation holds: ∂ρ∂t(t,x)+∇⋅(ρu)(t,x)=0\frac{\partial \rho}{\partial t}(t, x) + \nabla \cdot (\rho \mathbf{u})(t, x) = 0 where ∂ρ∂t\frac{\partial \rho}{\partial t} is the partial derivative of density with respect to time, and ∇⋅(ρu)\nabla \cdot (\rho \mathbf{u}) is the divergence of the momentum density (mass flux) with respect to the spatial coordinates.

definition

Continuity residual ∂ρ∂t+∇⋅(ρu)\frac{\partial \rho}{\partial t} + \nabla \cdot (\rho \mathbf{u})

For a fluid in dd-dimensional space with a state defined by density ρ(t,x)\rho(t, x) and velocity field u(t,x)\mathbf{u}(t, x), the continuity residual at time tt and position xx is the scalar value defined by: ∂ρ∂t(t,x)+∇⋅(ρ(t,x)u(t,x))\frac{\partial \rho}{\partial t}(t, x) + \nabla \cdot (\rho(t, x) \mathbf{u}(t, x)) where ∂∂t\frac{\partial}{\partial t} denotes the partial derivative with respect to time and ∇⋅\nabla \cdot denotes the spatial divergence operator. This expression represents the local rate of change of mass density plus the divergence of the mass flux.

definition

Smooth continuity equation ∂ρ∂t+∇⋅(ρu)=0\frac{\partial \rho}{\partial t} + \nabla \cdot (\rho \mathbf{u}) = 0

For a fluid in dd-dimensional space with density ρ(t,x)\rho(t, x) and velocity field u(t,x)\mathbf{u}(t, x), the smooth continuity equation is a property that holds if the following conditions are met: 1. For every spatial position x∈Space dx \in \text{Space } d, the density function t↦ρ(t,x)t \mapsto \rho(t, x) is differentiable with respect to time. 2. For every time t∈Timet \in \text{Time}, the mass flux function x↦ρ(t,x)u(t,x)x \mapsto \rho(t, x) \mathbf{u}(t, x) is differentiable with respect to space. 3. The continuity residual vanishes for all tt and xx: ∂ρ∂t(t,x)+∇⋅(ρ(t,x)u(t,x))=0\frac{\partial \rho}{\partial t}(t, x) + \nabla \cdot (\rho(t, x) \mathbf{u}(t, x)) = 0 where ∂∂t\frac{\partial}{\partial t} is the partial derivative with respect to time and ∇⋅\nabla \cdot is the spatial divergence operator.

theorem

Smooth Continuity Implies Classical Continuity Equation

For a fluid state in dd-dimensional space with density ρ(t,x)\rho(t, x) and velocity field u(t,x)\mathbf{u}(t, x), if the smooth continuity equation holds—meaning ρ\rho is differentiable with respect to time tt, the mass flux ρu\rho \mathbf{u} is differentiable with respect to space xx, and the relation ∂ρ∂t+∇⋅(ρu)=0\frac{\partial \rho}{\partial t} + \nabla \cdot (\rho \mathbf{u}) = 0 holds for all tt and xx—then the classical continuity equation is also satisfied. That is, at any point (t,x)(t, x) where ρ\rho is differentiable in time and ρu\rho \mathbf{u} is differentiable in space, the relation ∂ρ∂t+∇⋅(ρu)=0\frac{\partial \rho}{\partial t} + \nabla \cdot (\rho \mathbf{u}) = 0 holds.