Physlib

Physlib.FluidDynamics.NavierStokes.Momentum

The Navier-Stokes momentum equations

i. Overview

This module defines the conservative and convective momentum equations for a fluid with stress and body-force fields. The stress tensor is left as an input field, so this is the balance-law layer before specializing to a Newtonian stress law.

ii. Key results

- `momentumDensity` : The vector momentum density `rho u`. - `momentumFlux` : The convective momentum flux `rho u ⊗ u`. - `MomentumEquation` : Conservation of momentum using `Space.matrixDiv`. - `convectiveTerm` : The nonlinear transport term `(u · ∇)u`. - `materialAcceleration` : The material acceleration `∂ₜ u + (u · ∇)u`. - `ConvectiveMomentumEquation` : The momentum equation in convective form. - `momentumEquation_iff_convectiveMomentumEquation` : Equivalence of the two momentum equations when continuity holds and the fields are differentiable.

iii. Table of contents

  • A. Momentum fields
  • B. Conservative momentum equation
  • C. Convective momentum equation
  • D. Equivalence of conservative and convective momentum

iv. References

A. Momentum fields

B. Conservative momentum equation

C. Convective momentum equation

D. Equivalence of conservative and convective momentum

14 declarations

definition

Momentum density ρu\rho \mathbf{u}

For a given dimension dNd \in \mathbb{N} and a fluid state `fluid`, the momentum density is the vector field that assigns to each time tt and position xRdx \in \mathbb{R}^d the product of the fluid's mass density ρ(t,x)\rho(t, x) and its velocity u(t,x)\mathbf{u}(t, x). Mathematically, the momentum density field is given by the expression ρu\rho \mathbf{u}.

definition

Convective momentum flux ρuu\rho \mathbf{u} \otimes \mathbf{u}

Given 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 convective momentum flux is the d×dd \times d matrix field defined by ρ(uu)\rho (\mathbf{u} \otimes \mathbf{u}). At any time tt and position xx, its components are given by (ρuu)ij=ρ(t,x)ui(t,x)uj(t,x)(\rho \mathbf{u} \otimes \mathbf{u})_{ij} = \rho(t, x) u_i(t, x) u_j(t, x), where \otimes denotes the outer product of the velocity vector with itself.

definition

Momentum equation (ρu)t+(ρuu)=σ+ρf\frac{\partial (\rho \mathbf{u})}{\partial t} + \nabla \cdot (\rho \mathbf{u} \otimes \mathbf{u}) = \nabla \cdot \sigma + \rho \mathbf{f}

For a fluid in dd-dimensional space with mass density ρ(t,x)\rho(t, x), velocity field u(t,x)\mathbf{u}(t, x), stress tensor field σ(t,x)\sigma(t, x), and body force field f(t,x)\mathbf{f}(t, x), the momentum equation in conservative form is satisfied if for every time tt and position xx: (ρu)t+(ρuu)=σ+ρf\frac{\partial (\rho \mathbf{u})}{\partial t} + \nabla \cdot (\rho \mathbf{u} \otimes \mathbf{u}) = \nabla \cdot \sigma + \rho \mathbf{f} where: - ρu\rho \mathbf{u} is the momentum density. - ρuu\rho \mathbf{u} \otimes \mathbf{u} is the convective momentum flux matrix, with components (ρuu)ij=ρuiuj(\rho \mathbf{u} \otimes \mathbf{u})_{ij} = \rho u_i u_j. - \nabla \cdot denotes the matrix divergence operator, which maps a matrix field to a vector field by taking the divergence of its rows. - t\frac{\partial}{\partial t} denotes the partial derivative with respect to time. - σ\sigma is the stress tensor field (not yet specialized to a Newtonian fluid). - f\mathbf{f} is the external body force per unit mass.

definition

Convective term (u)u(\mathbf{u} \cdot \nabla) \mathbf{u}

For a fluid in dd-dimensional space with velocity field u(t,x)\mathbf{u}(t, x), the convective term (also known as the nonlinear transport term) is a vector field (u)u(\mathbf{u} \cdot \nabla) \mathbf{u} defined at each time tt and position xx by the sum: j=0d1uj(t,x)uxj(t,x) \sum_{j=0}^{d-1} u_j(t, x) \frac{\partial \mathbf{u}}{\partial x_j}(t, x) where uj(t,x)u_j(t, x) is the jj-th component of the velocity vector and uxj\frac{\partial \mathbf{u}}{\partial x_j} is the partial derivative of the velocity field with respect to the jj-th spatial coordinate.

definition

Material acceleration ut+(u)u\frac{\partial \mathbf{u}}{\partial t} + (\mathbf{u} \cdot \nabla) \mathbf{u}

For a fluid in dd-dimensional space with velocity field u(t,x)\mathbf{u}(t, x), the material acceleration is a vector field defined at each time tt and position xx as the sum of the partial time derivative of the velocity and the convective term: ut(t,x)+(u(t,x))u(t,x) \frac{\partial \mathbf{u}}{\partial t}(t, x) + (\mathbf{u}(t, x) \cdot \nabla) \mathbf{u}(t, x) where ut\frac{\partial \mathbf{u}}{\partial t} denotes the local rate of change of velocity with respect to time, and (u)u(\mathbf{u} \cdot \nabla) \mathbf{u} is the convective acceleration term.

definition

Convective momentum equation ρ(ut+(u)u)=div σ+ρf\rho (\frac{\partial \mathbf{u}}{\partial t} + (\mathbf{u} \cdot \nabla) \mathbf{u}) = \text{div } \mathbf{\sigma} + \rho \mathbf{f}

For a fluid in dd-dimensional space, the convective momentum equation is the proposition that for all times tt and positions xx, the product of the fluid density ρ(t,x)\rho(t, x) and the material acceleration equals the sum of the divergence of the stress tensor σ(t,x)\sigma(t, x) and the external body force. The equation is given by: ρ(ut+(u)u)=div σ+ρf\rho \left( \frac{\partial \mathbf{u}}{\partial t} + (\mathbf{u} \cdot \nabla) \mathbf{u} \right) = \text{div } \mathbf{\sigma} + \rho \mathbf{f} where u\mathbf{u} is the velocity field, σ\mathbf{\sigma} is the stress tensor field, f\mathbf{f} is the body force per unit mass, and ut+(u)u\frac{\partial \mathbf{u}}{\partial t} + (\mathbf{u} \cdot \nabla) \mathbf{u} is the material acceleration.

definition

LHS of the conservative momentum equation (ρu)t+(ρuu)\frac{\partial (\rho \mathbf{u})}{\partial t} + \nabla \cdot (\rho \mathbf{u} \otimes \mathbf{u})

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 left-hand side of the conservative momentum equation is a vector field defined at time tt and position xx as: (ρu)t(t,x)+(ρuu)(t,x)\frac{\partial (\rho \mathbf{u})}{\partial t}(t, x) + \nabla \cdot (\rho \mathbf{u} \otimes \mathbf{u})(t, x) where ρu\rho \mathbf{u} is the momentum density, ρuu\rho \mathbf{u} \otimes \mathbf{u} is the convective momentum flux, and \nabla \cdot denotes the matrix divergence operator.

definition

Left-hand side of the convective momentum equation: ρ(ut+(u)u)\rho \left( \frac{\partial \mathbf{u}}{\partial t} + (\mathbf{u} \cdot \nabla) \mathbf{u} \right)

For a fluid in dd-dimensional space with mass density ρ(t,x)\rho(t, x) and velocity field u(t,x)\mathbf{u}(t, x), the left-hand side of the convective momentum equation is the vector field defined by the product of the density and the material acceleration: ρ(t,x)(ut(t,x)+(u(t,x))u(t,x))\rho(t, x) \left( \frac{\partial \mathbf{u}}{\partial t}(t, x) + (\mathbf{u}(t, x) \cdot \nabla) \mathbf{u}(t, x) \right) where ut\frac{\partial \mathbf{u}}{\partial t} is the local time derivative of the velocity and (u)u(\mathbf{u} \cdot \nabla) \mathbf{u} is the convective acceleration term.

theorem

Product rule for time derivative: t(ρu)=ρtu+(tρ)u\partial_t (\rho \mathbf{u}) = \rho \partial_t \mathbf{u} + (\partial_t \rho) \mathbf{u}

Let dd be a natural number representing the spatial dimension. Let ρ:TimeR\rho : \text{Time} \to \mathbb{R} be a scalar field (representing density at a fixed position) and u:TimeRd\mathbf{u} : \text{Time} \to \mathbb{R}^d be a velocity field. If ρ\rho and u\mathbf{u} are differentiable at time tTimet \in \text{Time}, then the time derivative of their product ρu\rho \mathbf{u} at tt is given by the product rule: t(ρu)(t)=ρ(t)tu(t)+(tρ(t))u(t)\partial_t (\rho \mathbf{u})(t) = \rho(t) \partial_t \mathbf{u}(t) + (\partial_t \rho(t)) \mathbf{u}(t) where t\partial_t denotes the time derivative operator.

theorem

Product Rule for the Time Derivative of Momentum Density ρu\rho \mathbf{u}

For a fluid in dd dimensions with mass density ρ\rho and velocity field u\mathbf{u}, the time derivative of the momentum density ρu\rho \mathbf{u} at a fixed position xx and time tt satisfies the product rule: t(ρ(t,x)u(t,x))=ρ(t,x)tu(t,x)+(tρ(t,x))u(t,x)\partial_t (\rho(t, x) \mathbf{u}(t, x)) = \rho(t, x) \partial_t \mathbf{u}(t, x) + (\partial_t \rho(t, x)) \mathbf{u}(t, x) provided that the functions tρ(t,x)t \mapsto \rho(t, x) and tu(t,x)t \mapsto \mathbf{u}(t, x) are differentiable at tt.

theorem

Spatial product rule for momentum flux: j(ρuiuj)=uij(ρuj)+(jui)(ρuj)\partial_j (\rho u_i u_j) = u_i \partial_j (\rho u_j) + (\partial_j u_i) (\rho u_j)

Given a fluid in dd-dimensional space with density ρ\rho and velocity field u\mathbf{u}, let the convective momentum flux be defined as (ρuu)ij=ρuiuj(\rho \mathbf{u} \otimes \mathbf{u})_{ij} = \rho u_i u_j and the momentum density as (ρu)j=ρuj(\rho \mathbf{u})_j = \rho u_j. If the momentum density and the velocity field are spatially differentiable at time tt, then the partial derivative of the (i,j)(i, j)-th component of the momentum flux with respect to the jj-th spatial coordinate satisfies the product rule: xj(ρuiuj)=ui(ρuj)xj+uixj(ρuj),\frac{\partial}{\partial x_j} (\rho u_i u_j) = u_i \frac{\partial (\rho u_j)}{\partial x_j} + \frac{\partial u_i}{\partial x_j} (\rho u_j), where uku_k denotes the kk-th component of the velocity vector field u\mathbf{u}.

theorem

(ρuu)=((ρu))u+ρ(u)u\nabla \cdot (\rho \mathbf{u} \otimes \mathbf{u}) = (\nabla \cdot (\rho \mathbf{u})) \mathbf{u} + \rho (\mathbf{u} \cdot \nabla) \mathbf{u}

For a fluid in dd-dimensional space with density ρ\rho and velocity field u\mathbf{u}, suppose that at time tt the momentum density ρu\rho \mathbf{u} and the velocity field u\mathbf{u} are spatially differentiable. Then the matrix divergence of the convective momentum flux ρuu\rho \mathbf{u} \otimes \mathbf{u} at position xx is given by: (ρuu)=((ρu))u+ρ(u)u\nabla \cdot (\rho \mathbf{u} \otimes \mathbf{u}) = (\nabla \cdot (\rho \mathbf{u})) \mathbf{u} + \rho (\mathbf{u} \cdot \nabla) \mathbf{u} where (ρuu)\nabla \cdot (\rho \mathbf{u} \otimes \mathbf{u}) denotes the matrix divergence of the tensor field, (ρu)\nabla \cdot (\rho \mathbf{u}) is the divergence of the momentum density vector field, and (u)u(\mathbf{u} \cdot \nabla) \mathbf{u} is the convective (nonlinear transport) term.

theorem

Conservative Momentum LHS=Convective Momentum LHS+Continuity Residualu\text{Conservative Momentum LHS} = \text{Convective Momentum LHS} + \text{Continuity Residual} \cdot \mathbf{u}

For a fluid in dd-dimensional space with density ρ(t,x)\rho(t, x) and velocity field u(t,x)\mathbf{u}(t, x), suppose that at a given time tt and position xx, the density and velocity are differentiable with respect to time, and both the momentum density ρu\rho \mathbf{u} and the velocity field u\mathbf{u} are spatially differentiable. Then the left-hand side of the conservative momentum equation is equal to the left-hand side of the convective momentum equation plus the product of the continuity residual and the velocity field: (ρu)t+(ρuu)=ρ(ut+(u)u)+(ρt+(ρu))u\frac{\partial (\rho \mathbf{u})}{\partial t} + \nabla \cdot (\rho \mathbf{u} \otimes \mathbf{u}) = \rho \left( \frac{\partial \mathbf{u}}{\partial t} + (\mathbf{u} \cdot \nabla) \mathbf{u} \right) + \left( \frac{\partial \rho}{\partial t} + \nabla \cdot (\rho \mathbf{u}) \right) \mathbf{u} where \otimes denotes the outer product, \nabla \cdot denotes the divergence operator (matrix divergence for the tensor term and vector divergence for the momentum density), and (u)u(\mathbf{u} \cdot \nabla) \mathbf{u} is the convective acceleration term.

theorem

Equivalence of Conservative and Convective Momentum Equations under Continuity**Note on LaTeX notations:**

For a fluid in dd-dimensional space with density ρ\rho, velocity field u\mathbf{u}, stress tensor field σ\sigma, and body force field f\mathbf{f}, suppose that the classical continuity equation holds: ρt+(ρu)=0\frac{\partial \rho}{\partial t} + \nabla \cdot (\rho \mathbf{u}) = 0 Additionally, assume that: 1. The density ρ\rho and velocity u\mathbf{u} are differentiable with respect to time tt for all positions xx. 2. The momentum density ρu\rho \mathbf{u} and the velocity field u\mathbf{u} are spatially differentiable for all times tt. Then, the conservative momentum equation: (ρu)t+(ρuu)=σ+ρf\frac{\partial (\rho \mathbf{u})}{\partial t} + \nabla \cdot (\rho \mathbf{u} \otimes \mathbf{u}) = \nabla \cdot \sigma + \rho \mathbf{f} is equivalent to the convective momentum equation: ρ(ut+(u)u)=σ+ρf\rho \left( \frac{\partial \mathbf{u}}{\partial t} + (\mathbf{u} \cdot \nabla) \mathbf{u} \right) = \nabla \cdot \sigma + \rho \mathbf{f} where \otimes denotes the outer product and \nabla \cdot denotes the divergence operator (matrix divergence for the tensor field and vector divergence for the vector field).