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
Momentum density
For a given dimension and a fluid state `fluid`, the momentum density is the vector field that assigns to each time and position the product of the fluid's mass density and its velocity . Mathematically, the momentum density field is given by the expression .
Convective momentum flux
Given a fluid state in -dimensional space with density and velocity field , the convective momentum flux is the matrix field defined by . At any time and position , its components are given by , where denotes the outer product of the velocity vector with itself.
Momentum equation
For a fluid in -dimensional space with mass density , velocity field , stress tensor field , and body force field , the momentum equation in conservative form is satisfied if for every time and position : where: - is the momentum density. - is the convective momentum flux matrix, with components . - denotes the matrix divergence operator, which maps a matrix field to a vector field by taking the divergence of its rows. - denotes the partial derivative with respect to time. - is the stress tensor field (not yet specialized to a Newtonian fluid). - is the external body force per unit mass.
Convective term
For a fluid in -dimensional space with velocity field , the convective term (also known as the nonlinear transport term) is a vector field defined at each time and position by the sum: where is the -th component of the velocity vector and is the partial derivative of the velocity field with respect to the -th spatial coordinate.
Material acceleration
For a fluid in -dimensional space with velocity field , the material acceleration is a vector field defined at each time and position as the sum of the partial time derivative of the velocity and the convective term: where denotes the local rate of change of velocity with respect to time, and is the convective acceleration term.
Convective momentum equation
For a fluid in -dimensional space, the convective momentum equation is the proposition that for all times and positions , the product of the fluid density and the material acceleration equals the sum of the divergence of the stress tensor and the external body force. The equation is given by: where is the velocity field, is the stress tensor field, is the body force per unit mass, and is the material acceleration.
LHS of the conservative momentum equation
For a fluid in -dimensional space with density and velocity field , the left-hand side of the conservative momentum equation is a vector field defined at time and position as: where is the momentum density, is the convective momentum flux, and denotes the matrix divergence operator.
Left-hand side of the convective momentum equation:
For a fluid in -dimensional space with mass density and velocity field , the left-hand side of the convective momentum equation is the vector field defined by the product of the density and the material acceleration: where is the local time derivative of the velocity and is the convective acceleration term.
Product rule for time derivative:
Let be a natural number representing the spatial dimension. Let be a scalar field (representing density at a fixed position) and be a velocity field. If and are differentiable at time , then the time derivative of their product at is given by the product rule: where denotes the time derivative operator.
Product Rule for the Time Derivative of Momentum Density
For a fluid in dimensions with mass density and velocity field , the time derivative of the momentum density at a fixed position and time satisfies the product rule: provided that the functions and are differentiable at .
Spatial product rule for momentum flux:
Given a fluid in -dimensional space with density and velocity field , let the convective momentum flux be defined as and the momentum density as . If the momentum density and the velocity field are spatially differentiable at time , then the partial derivative of the -th component of the momentum flux with respect to the -th spatial coordinate satisfies the product rule: where denotes the -th component of the velocity vector field .
For a fluid in -dimensional space with density and velocity field , suppose that at time the momentum density and the velocity field are spatially differentiable. Then the matrix divergence of the convective momentum flux at position is given by: where denotes the matrix divergence of the tensor field, is the divergence of the momentum density vector field, and is the convective (nonlinear transport) term.
For a fluid in -dimensional space with density and velocity field , suppose that at a given time and position , the density and velocity are differentiable with respect to time, and both the momentum density and the velocity field 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: where denotes the outer product, denotes the divergence operator (matrix divergence for the tensor term and vector divergence for the momentum density), and is the convective acceleration term.
Equivalence of Conservative and Convective Momentum Equations under Continuity**Note on LaTeX notations:**
For a fluid in -dimensional space with density , velocity field , stress tensor field , and body force field , suppose that the classical continuity equation holds: Additionally, assume that: 1. The density and velocity are differentiable with respect to time for all positions . 2. The momentum density and the velocity field are spatially differentiable for all times . Then, the conservative momentum equation: is equivalent to the convective momentum equation: where denotes the outer product and denotes the divergence operator (matrix divergence for the tensor field and vector divergence for the vector field).
