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
Classical continuity equation
For a fluid state in -dimensional space with density and velocity field , the classical continuity equation is satisfied if, for every time and spatial point where the density is differentiable with respect to time and the mass flux is spatially differentiable, the following relation holds: where is the partial derivative of density with respect to time, and is the divergence of the momentum density (mass flux) with respect to the spatial coordinates.
Continuity residual
For a fluid in -dimensional space with a state defined by density and velocity field , the continuity residual at time and position is the scalar value defined by: where denotes the partial derivative with respect to time and denotes the spatial divergence operator. This expression represents the local rate of change of mass density plus the divergence of the mass flux.
Smooth continuity equation
For a fluid in -dimensional space with density and velocity field , the smooth continuity equation is a property that holds if the following conditions are met: 1. For every spatial position , the density function is differentiable with respect to time. 2. For every time , the mass flux function is differentiable with respect to space. 3. The continuity residual vanishes for all and : where is the partial derivative with respect to time and is the spatial divergence operator.
Smooth Continuity Implies Classical Continuity Equation
For a fluid state in -dimensional space with density and velocity field , if the smooth continuity equation holds—meaning is differentiable with respect to time , the mass flux is differentiable with respect to space , and the relation holds for all and —then the classical continuity equation is also satisfied. That is, at any point where is differentiable in time and is differentiable in space, the relation holds.
