Skip to content
🎉 Welcome to Aerosand!.
03_momentumConservation

03_momentumConservation

0. Preface

Although people now refer to solving the mass, momentum, and energy equation systems corresponding to problems as solving Navier-Stokes equations, narrowly speaking, NS equations specifically refer to the momentum equation.

In 1822, French engineer and physicist Claude-Louis Navier first wrote fluid equations with viscous terms while studying viscous fluids.

In 1845, British mathematician and physicist George Gabriel Stokes more systematically derived fluid motion equations using continuum mechanics methods, and specifically clarified the linear relationship between viscous stress tensor and velocity gradient (i.e., the “Newtonian fluid” model).

Through subsequent discussion, we will understand the difficulty in solving NS momentum equations: they contain nonlinear convective terms, involve strongly coupled physical quantities, and have complex mathematical properties of partial differential equations. Turbulence research involved in the equations is even a century-old problem for humanity.

As for the momentum equation, physically it is essentially based on conservation of momentum equation, i.e.:

F=ma F = m \vec{a}

This article mainly discusses:

  • Derivation of momentum equation
  • Derivation from different perspectives
  • Understanding the physical meaning of mathematical expressions

Warning

The discussion in this article follows previous symbol conventions.

1. Component Form

Assume we take an infinitesimal material volume element model.

|497x383

Perform force analysis on this material volume element.

Considering the xx direction:

Fx=max F_{x} = m a_{x}

The forces on the material volume element can be divided into 2 parts:

  • Volume forces: directly acting on the entire volume of the material volume element, long-distance forces closely related to volume (mass), e.g., gravity, electromagnetic forces, etc.
  • Surface forces: directly acting on the surface of the material volume element, contact forces closely related to area, with only two sources: pressure generated by surrounding external fluid, and viscous forces (viscous normal stress, viscous shear stress) generated by external fluid pushing/pulling friction.

Both normal and shear stresses depend on the fluid’s velocity gradient and are proportional to the rate of deformation. The greater the stress, the faster the deformation rate. In most viscous flows, viscous normal stress is much smaller than viscous shear stress, even negligible. When normal velocity gradients are large (e.g., inside shock waves), normal stress becomes important. We agree to use τij\tau_{ij} to represent viscous stress acting on a plane perpendicular to the ii-axis along the jj-direction.

Surface forces in the xx direction:

pdydz(p+pxdx)dydz+(τxx+τxxxdx)dydzτxxdydz+(τyx+τyxydy)dxdzτyxdxdz+(τzx+τzxzdz)dxdyτzxdxdy \begin{aligned} pdydz - (p+\frac{\partial p}{\partial x}dx)dydz \\ +(\tau_{xx}+\frac{\partial\tau_{xx}}{\partial x}dx)dydz - \tau_{xx}dydz \\ +(\tau_{yx} + \frac{\partial\tau_{yx}}{\partial y}dy)dxdz- \tau_{yx}dxdz \\ +(\tau_{zx} + \frac{\partial\tau_{zx}}{\partial z}dz)dxdy - \tau_{zx}dxdy \end{aligned}

Simplifying and rearranging:

pxdxdydz+τxxxdxdydz+τyxydydxdz+τzxzdzdxdy -\frac{\partial p}{\partial x}dxdydz + \frac{\partial\tau_{xx}}{\partial x}dxdydz +\frac{\partial\tau_{yx}}{\partial y}dydxdz + \frac{\partial\tau_{zx}}{\partial z}dzdxdy

Considering volume force (gravity) on the element:

ρfxdxdydz \rho f_{x}dxdydz

We analyze all forces FxF_{x} in the xx direction in the figure:

Fx=(px+τxxx+τyxy+τzxz+ρfx)dxdydz \begin{align*} F_{x} &= \bigg(- \frac{\partial p}{\partial x}+\frac{\partial\tau_{xx}}{\partial x}+\frac{\partial\tau_{yx}}{\partial y}+\frac{\partial\tau_{zx}}{\partial z} + \rho f_{x} \bigg)dxdydz \end{align*}

The mass of this infinitesimal material volume element is:

m=ρdxdydz m = \rho dxdydz

Acceleration in the xx direction is:

ax=DuDt a_{x} = \frac{Du}{Dt}

We can obtain the momentum equation in the xx direction:

ρDuDtdxdydz=(px+τxxx+τyxy+τzxz+ρfx)dxdydz \rho\frac{Du}{Dt} dxdydz= \bigg(- \frac{\partial p}{\partial x}+\frac{\partial\tau_{xx}}{\partial x}+\frac{\partial\tau_{yx}}{\partial y}+\frac{\partial\tau_{zx}}{\partial z} + \rho f_{x} \bigg)dxdydz

After rearranging:

ρDuDt=px+τxxx+τyxy+τzxz+ρfx \rho\frac{Du}{Dt} = - \frac{\partial p}{\partial x}+\frac{\partial\tau_{xx}}{\partial x}+\frac{\partial\tau_{yx}}{\partial y}+\frac{\partial\tau_{zx}}{\partial z} + \rho f_{x}

Similarly in the yy and zz directions:

ρDvDt=py+τxyx+τyyy+τzyz+ρfy \rho\frac{Dv}{Dt} = -\frac{\partial p}{\partial y} + \frac{\partial\tau_{xy}}{\partial x} + \frac{\partial\tau_{yy}}{\partial y} + \frac{\partial\tau_{zy}}{\partial z} + \rho f_{y} ρDwDt=pz+τxzx+τyzy+τzzz+ρfz \rho\frac{Dw}{Dt} = -\frac{\partial p}{\partial z} + \frac{\partial\tau_{xz}}{\partial x} + \frac{\partial\tau_{yz}}{\partial y} + \frac{\partial\tau_{zz}}{\partial z} + \rho f_{z}

According to the derivation in the previous section 【Material Derivative】:

ρDbDt=ρbt+ρUb=(ρb)t+(ρUb)\rho\frac{Db}{Dt} = \rho\frac{\partial b}{\partial t} + \rho U\cdot \nabla b = \frac{\partial (\rho b)}{\partial t} + \nabla \cdot (\rho Ub)

Substituting into the momentum equation, taking the xx direction as an example:

ρDuDt=ρut+ρUu=(ρu)t+(ρuU) \rho\frac{Du}{Dt} = \rho\frac{\partial u}{\partial t} + \rho U \cdot \nabla u = \frac{\partial (\rho u)}{\partial t} + \nabla \cdot (\rho u U)

1.1. NS Equations

Finally, we have the NS equations:

(ρu)t+(ρuU)=px+τxxx+τyxy+τzxz+ρfx \frac{\partial (\rho u)}{\partial t} + \nabla \cdot (\rho u U) = -\frac{\partial p}{\partial x} + \frac{\partial\tau_{xx}}{\partial x} + \frac{\partial\tau_{yx}}{\partial y} + \frac{\partial\tau_{zx}}{\partial z} + \rho f_{x} (ρv)t+(ρvU)=py+τxyx+τyyy+τzyz+ρfy \frac{\partial (\rho v)}{\partial t} + \nabla \cdot (\rho v U) = -\frac{\partial p}{\partial y} + \frac{\partial\tau_{xy}}{\partial x} + \frac{\partial\tau_{yy}}{\partial y} + \frac{\partial\tau_{zy}}{\partial z} + \rho f_{y} (ρw)t+(ρwU)=pz+τxzx+τyzy+τzzz+ρfz \frac{\partial (\rho w)}{\partial t} + \nabla \cdot (\rho w U) = -\frac{\partial p}{\partial z} + \frac{\partial\tau_{xz}}{\partial x} + \frac{\partial\tau_{yz}}{\partial y} + \frac{\partial\tau_{zz}}{\partial z} + \rho f_{z}

The component form above still has many fluid-related terms that need discussion.

Taking the xx direction as an example, expanding the differential of the first term on the left and the operator of the second term:

(ρut+uρt)+(uρU+ρUu)\bigg(\rho\frac{\partial u}{\partial t} + u\frac{\partial \rho}{\partial t}\bigg) + \bigg( u\nabla\cdot \rho U + \rho U \cdot \nabla u \bigg)

According to the previously discussed conservative differential form continuity equation:

ρut+u(ρt+ρU)=0+ρUu \rho \frac{\partial u}{\partial t} + u\underbrace{\bigg( \frac{\partial\rho}{\partial t}+\nabla\cdot\rho U \bigg)}_{=0} + \rho U\cdot\nabla u

So NS equations can also be written as:

ρut+ρUu=px+τxxx+τyxy+τzxz+ρfx \rho \frac{\partial u}{\partial t} + \rho U\cdot\nabla u = -\frac{\partial p}{\partial x} + \frac{\partial\tau_{xx}}{\partial x} + \frac{\partial\tau_{yx}}{\partial y} + \frac{\partial\tau_{zx}}{\partial z} + \rho f_{x} ρvt+ρUv=py+τxyx+τyyy+τzyz+ρfy \rho \frac{\partial v}{\partial t} + \rho U\cdot\nabla v = -\frac{\partial p}{\partial y} + \frac{\partial\tau_{xy}}{\partial x} + \frac{\partial\tau_{yy}}{\partial y} + \frac{\partial\tau_{zy}}{\partial z} + \rho f_{y} ρwt+ρUw=pz+τxzx+τyzy+τzzz+ρfz \rho \frac{\partial w}{\partial t} + \rho U\cdot\nabla w = -\frac{\partial p}{\partial z} + \frac{\partial\tau_{xz}}{\partial x} + \frac{\partial\tau_{yz}}{\partial y} + \frac{\partial\tau_{zz}}{\partial z} + \rho f_{z}

1.2. Fluid Shear Stress

By the end of the 17th century, Newton pointed out that fluid shear stress is proportional to the time rate of strain (i.e., velocity gradient). Such fluids are also called Newtonian fluids.

For Newtonian fluids, Stokes obtained:

τxx=λ(U)+2μux\tau_{xx} = \lambda(\nabla\cdot U) + 2\mu\frac{\partial u}{\partial x}

τyy=λ(U)+2μvy\tau_{yy} = \lambda(\nabla\cdot U) + 2\mu\frac{\partial v}{\partial y}

τzz=λ(U)+2μwz\tau_{zz} = \lambda(\nabla\cdot U) + 2\mu\frac{\partial w}{\partial z}

τxy=τyx=μ(vx+uy)\tau_{xy} = \tau_{yx} = \mu(\frac{\partial v}{\partial x} + \frac{\partial u}{\partial y})

τxz=τzx=μ(uz+wx)\tau_{xz} = \tau_{zx} = \mu(\frac{\partial u}{\partial z} + \frac{\partial w}{\partial x})

τyz=τzy=μ(wy+vz)\tau_{yz} = \tau_{zy} = \mu(\frac{\partial w}{\partial y} + \frac{\partial v}{\partial z})

Where μ\mu is the molecular viscosity coefficient, λ\lambda is the second viscosity coefficient. Stokes further assumed:

λ=23μ\lambda = -\frac{2}{3}\mu

Substituting this physical relationship assumption yields the complete momentum equation. It will not be expanded here.

2. Tensor Form

The component form of equations is very cumbersome,不利于 theoretical expression and analysis. We use tensor form to analyze, derive, and express again.

According to Newton’s second law, the rate of momentum change equals the applied force:

(d(mU)dt)MV=(VFdV)MV\bigg(\frac{d(mU)}{dt}\bigg)_{MV} = \bigg(\int_V \vec{F} dV\bigg)_{MV}

Here the applied force F\vec{F} includes all volume and surface forces.

According to 【Reynolds Transport Theorem】:

(dBdt)MV=V[t(ρb)+(ρUb)]dV=V[DDt(ρb)+ρbU]dV \bigg(\frac{dB}{dt}\bigg)_{MV} = \int_V\bigg[\frac{\partial}{\partial t}(\rho b) + \nabla \cdot (\rho U b)\bigg]dV = \int_V\bigg[\frac{D}{D t}(\rho b) + \rho b \nabla \cdot U\bigg]dV

Where:

b=Bm=U b = \frac{B}{m} = U

The momentum equation can be arranged according to the form on the right side of the above equation,分别整理为 conservative and non-conservative equations.

2.1. Non-conservative Form

For non-conservative equations:

V[DDt(ρU)+ρUU]dVVFdV=0\int_V\bigg[\frac{D}{D t}(\rho U) + \rho U \nabla \cdot U\bigg]dV - \int_V \vec{F} dV = 0

Rearranging gives:

V[DDt(ρU)+ρUUF]dV=0\int_V\bigg[\frac{D}{D t}(\rho U) + \rho U \nabla \cdot U - \vec{F}\bigg]dV = 0

Further rearranging:

DDt(ρU)+ρUU=F\frac{D}{D t}(\rho U) + \rho U \nabla \cdot U = \vec{F}

Expanding the total differential of the first term:

(ρDUDt+UDρDt)+ρUU=F(\rho\frac{DU}{Dt} + U\frac{D\rho}{Dt}) + \rho U \nabla \cdot U = \vec{F}

Rearranged as:

ρDUDt+U(DρDt+ρU)=0=F\rho\frac{DU}{Dt} + U\underbrace{(\frac{D\rho}{Dt} + \rho \nabla \cdot U)}_{=0} = \vec{F}

Note: The term in parentheses on the left side is the non-conservative differential form continuity equation, which should equal zero.

So finally:

ρDUDt=F\rho\frac{DU}{Dt}= \vec{F}

According to material derivative, expanding:

【Non-conservative Differential Form Momentum Equation】

ρUt+ρUU=F\rho\frac{\partial U}{\partial t} + \rho U\cdot \nabla U= \vec{F}

We can see that this equation is consistent with the previous component form discussion.

2.2. Conservative Form

For conservative equations:

V[t(ρU)+(ρUU)]dVVFdV=0\int_{V}\bigg[\frac{\partial}{\partial t}(\rho U) + \nabla \cdot (\rho U U)\bigg]dV - \int_{V} \vec{F} dV = 0

Rearranging gives:

t(ρU)+(ρUU)=F\frac{\partial}{\partial t}(\rho U) + \nabla \cdot (\rho UU) = \vec{F}

We can see that this form is consistent with the previous component form discussion.

2.3. Force Composition

Forces can be divided into surface forces and volume forces:

F=Fs+Fb\vec{F} = \vec{F_{s}} + \vec{F_{b}}

Surface Forces

Surface force equals the product of total stress tensor and area vector:

dFs=ΣdS=ΣndSd\vec{F_{s}} = \Sigma \cdot d\vec S = \Sigma\cdot \vec{n} dS

Using Σ\Sigma to represent total stress tensor (complete including pressure per unit area and viscous force per unit area):

Σ=[ΣxxΣxyΣxzΣyxΣxxΣyzΣzxΣzyΣzz]\Sigma = \begin{bmatrix} \Sigma_{xx} & \Sigma_{xy} & \Sigma_{xz} \\ \Sigma_{yx} & \Sigma_{xx} & \Sigma_{yz} \\ \Sigma_{zx} & \Sigma_{zy} & \Sigma_{zz} \end{bmatrix}
  • Same subscript Σii\Sigma_{ii} represents normal stress: greater than zero indicates tension, less than zero indicates compression. The main physical cause of normal stress is pressure, with viscosity being only a very small part.
  • Different subscripts Σij\Sigma_{ij} represent shear stress:表示 ii surface jj direction (ii surface is the plane perpendicular to ii direction, same convention as component form). Convention: if the outward normal of the surface is positive, then ii is positive. The physical cause of shear stress is viscosity.
Σ=[p000p000p]+{τxxτxyτxzτyxτyyτyzτzxτzyτzz} \Sigma = - \begin{bmatrix} p & 0 & 0 \\ 0 & p & 0 \\ 0 & 0 & p \end{bmatrix} + \begin{Bmatrix} \tau_{xx} & \tau_{xy} & \tau_{xz} \\ \tau_{yx} & \tau_{yy} & \tau_{yz} \\ \tau_{zx} & \tau_{zy} & \tau_{zz} \end{Bmatrix}

Rearranged as:

Σ={τxxpτxyτxzτyxτyypτyzτzxτzyτzzp}=pI+τ\Sigma =\begin{Bmatrix} \tau_{xx} - p & \tau_{xy} & \tau_{xz} \\ \tau_{yx} & \tau_{yy}-p & \tau_{yz} \\ \tau_{zx} & \tau_{zy} & \tau_{zz} - p \end{Bmatrix} = -p\vec I + \vec{\tau}

That is, the sum of pressure and viscous force mentioned earlier.

Referring to previous discussion (00_intro-cfdb), matrices can be decomposed into volumetric and deviatoric parts:

Σ=Σhyd+Σdev \Sigma = \Sigma^{hyd} + \Sigma^{dev}

Obviously, the volumetric part is the pressure matrix:

pI=ΣhydI=13tr(Σ)I -p\vec{I} = |\Sigma^{hyd}|\vec{I} = \frac{1}{3}tr(\Sigma)\vec{I}

Further:

Σ=pI+[Σ13tr(Σ)I]viscousstress \Sigma = -p\vec{I} + \underbrace{ \bigg[\Sigma- \frac{1}{3}tr(\Sigma)\vec{I} \bigg]}_{viscous-stress}

Also:

Σ=13tr(Σ)+dev(Σ) \Sigma = \frac{1}{3}tr(\Sigma) + dev(\Sigma)

Analysis shows that the deviatoric part of the total stress tensor is the viscous force tensor.

So surface force is:

VFsdV=VΣndS\int_{V}\vec F_{s}dV = \int_{\partial V} \Sigma\cdot \vec n dS

Using divergence theorem:

VΣndS=VΣdV\int_{\partial V} \Sigma\cdot \vec n dS = \int_V\nabla\cdot\Sigma dV

Correspondingly, surface force is:

FS=Σ=p+τ\vec F_{S} = \nabla\cdot\Sigma = -\nabla p + \nabla\cdot \tau

Continuing discussion of the viscous force part:

For Newtonian fluids, according to previous discussion, we know there is a constitutive relationship:

τ=μ[U+(U)T]+λ(U)I\vec{\tau} = \mu [\nabla U + (\nabla U)^T] + \lambda(\nabla\cdot U)\vec I

Stokes assumed:

λ=23μ\lambda = - \frac{2}{3} \mu

Substituting, the viscous force becomes:

τ=μ[U+(U)T]23μ(U)I \vec{\tau} = \mu [\nabla U + (\nabla U)^{T}] - \frac{2}{3}\mu (\nabla\cdot U)\vec I

If it’s an incompressible fluid, according to previous discussion:

U=0\nabla\cdot U = 0

Viscous force simplifies to:

τ=μ[U+(U)T]\vec{\tau} = \mu [\nabla U + (\nabla U)^T]

Combining these discussions, we can understand why the term λ(U)\lambda(\nabla\cdot U) is also called volumetric expansion rate.

At this point, introducing strain rate, also called deformation rate, can be expressed as a function of velocity:

S=[SxxSxySxzSyxSyySyzSzxSzySzz]=[12(ux+ux)12(uy+vx)12(uz+wx)12(vx+uy)12(vy+vy)12(vz+wy)12(wx+uz)12(wy+vz)12(wz+wz)] \begin{align*} S &= \begin{bmatrix} S_{xx} &S_{xy} &S_{xz}\\ S_{yx} &S_{yy} &S_{yz}\\ S_{zx} &S_{zy} &S_{zz} \end{bmatrix}\\ &= \begin{bmatrix} \frac{1}{2}\left(\frac{\partial u}{\partial x} + \frac{\partial u}{\partial x}\right)& \frac{1}{2}\left(\frac{\partial u}{\partial y} + \frac{\partial v}{\partial x}\right)& \frac{1}{2}\left(\frac{\partial u}{\partial z} + \frac{\partial w}{\partial x}\right)\\ \frac{1}{2}\left(\frac{\partial v}{\partial x} + \frac{\partial u}{\partial y}\right)& \frac{1}{2}\left(\frac{\partial v}{\partial y} + \frac{\partial v}{\partial y}\right)& \frac{1}{2}\left(\frac{\partial v}{\partial z} + \frac{\partial w}{\partial y}\right)\\ \frac{1}{2}\left(\frac{\partial w}{\partial x} + \frac{\partial u}{\partial z}\right)& \frac{1}{2}\left(\frac{\partial w}{\partial y} + \frac{\partial v}{\partial z}\right)& \frac{1}{2}\left(\frac{\partial w}{\partial z} + \frac{\partial w}{\partial z}\right)\\ \end{bmatrix} \end{align*}

Written in vector form:

S=12(U+UT) S = \frac{1}{2} (\nabla U + \nabla U^{T})

Viscous force expressed as:

τ=2μS \vec{\tau} = 2\mu S

Note μ\mu is still fluid viscosity, a physical property of the fluid.

Volume Forces

Mainly gravity:

Fb=ρg\vec F_{b} = \rho \vec g

For rotating systems, body forces also come from Coriolis force and centrifugal force:

Fb=2ρ[ω×U]ρ[ω×[ω×r]]\vec F_{b} = -2\rho[\omega \times U] - \rho [\omega\times[\omega\times\vec r]]

Generally, gravity and centrifugal force are related to position, not velocity, so they are included in pressure correction terms. Coriolis force is handled separately. Volume forces also include electromagnetic forces, electric field forces, and many other types. Different volume forces need to be added for specific problems. Volume forces in the following equations only consider gravity.

Caution

When considering relative pressure, the above gravity term is canceled and replaced by a new gravity term. See discussion in interFoam for details; not深入展开讨论 here.

2.4. NS Equations

Considering the general case, substituting details of force terms:

t(ρU)+(ρUU)=F\frac{\partial}{\partial t}(\rho U) + \nabla \cdot (\rho UU) = \vec{F}

Obtaining the more complete form of conservative differential form momentum equation (including viscous force):

t(ρU)+(ρUU)=p+τ+ρg\frac{\partial}{\partial t}(\rho U) + \nabla \cdot (\rho UU) = -\nabla p + \nabla\cdot\vec{\tau} + \rho\vec{g}

In OpenFOAM, generally considered from the complete form, written as:

t(ρU)+(ρUU)=p+(rhoReff)+ρg\frac{\partial}{\partial t}(\rho U) + \nabla \cdot (\rho UU) = -\nabla p + (\nabla\cdot rhoR^{eff}) + \rho\vec{g}

The complete tensor form of fluid viscous stress is:

τ=rhoReff=μ[U+(U)T]+λ(U)I\vec{\tau} = rhoR^{eff} = \mu [\nabla U + (\nabla U)^{T}] + \lambda(\nabla\cdot U)\vec I

Expanding into matrix form is clearer:

rhoReff=[2μux+λUμ(vx+uy)μ(uz+wx)μ(vx+uy)2μvy+λ(U)μ(wy+vz)μ(uz+wx)μ(wy+vz)2μwz+λ(U)]rhoR^{eff} = \begin{bmatrix} 2\mu\frac{\partial u}{\partial x} + \lambda\nabla\cdot U & \mu(\frac{\partial v}{\partial x} + \frac{\partial u}{\partial y}) & \mu(\frac{\partial u}{\partial z} + \frac{\partial w}{\partial x}) \\ \mu(\frac{\partial v}{\partial x} + \frac{\partial u}{\partial y}) & 2\mu\frac{\partial v}{\partial y} + \lambda(\nabla\cdot U) & \mu(\frac{\partial w}{\partial y} + \frac{\partial v}{\partial z}) \\ \mu(\frac{\partial u}{\partial z} + \frac{\partial w}{\partial x}) & \mu(\frac{\partial w}{\partial y} + \frac{\partial v}{\partial z}) & 2\mu\frac{\partial w}{\partial z} + \lambda(\nabla\cdot U) \end{bmatrix}

Substituting into the conservative differential form momentum equation:

t(ρU)+(ρUU)=p+[μ(U+(U)T)]+(λU)+ρg \frac{\partial}{\partial t}(\rho U) + \nabla \cdot (\rho UU) = -\nabla p + \nabla\cdot[\mu (\nabla U + (\nabla U)^T)] + \nabla(\lambda\nabla\cdot U) + \rho\vec{g}

Where the divergence of stress tensor is, physically representing viscous force action of fluid:

τ=[μ(U+(U)T)]=(μU)+[μ(U)T] \nabla\cdot\vec{\tau}=\nabla\cdot[\mu (\nabla U + (\nabla U)^{T})] = \nabla\cdot(\mu\nabla U) + \nabla\cdot[\mu (\nabla U)^{T}]

Rearranged as:

t(ρU)+(ρUU)=(μU)p+[μ(U)T]+(λU)+ρg \frac{\partial}{\partial t}(\rho U) + \nabla \cdot (\rho UU) = \nabla\cdot(\mu\nabla U)-\nabla p + \nabla\cdot[\mu (\nabla U)^T] + \nabla(\lambda\nabla\cdot U) + \rho\vec{g}

For more general cases, unifying the last three terms on the right as generalized source term:

t(ρU)+(ρUU)=(μU)p+Q \frac{\partial}{\partial t}(\rho U) + \nabla \cdot (\rho UU) = \nabla\cdot(\mu\nabla U)-\nabla p + Q

We can see that viscous force action partly acts as diffusion term,表现为 momentum diffusion. Another part acts as generalized source term,表现为 momentum loss.

Including pressure term in source term, rearranged into more general form:

t(ρU)+(ρUU)=(μU)+Q \frac{\partial}{\partial t}(\rho U) + \nabla \cdot (\rho UU) = \nabla\cdot(\mu\nabla U) + Q

Thus obtaining transient term, convective term, diffusion term, and source term.

3. Supplementary Discussion

For incompressible fluid:

U=0\nabla\cdot U = 0

Momentum equation simplifies to:

t(ρU)+(ρUU)=p+[μ(U+(U)T)]+(λU)+ρg\frac{\partial}{\partial t}(\rho U) + \nabla \cdot (\rho UU) = -\nabla p + \nabla\cdot[\mu (\nabla U + (\nabla U)^T)] + \cancel{\nabla(\lambda\nabla\cdot U)} + \rho\vec{g}

For Newtonian fluids, shear stress τ\vec{\tau} is linearly related to strain rate SS (vector):

τ=2μS=μ(U+(U)T) \vec{\tau} = 2\mu S = \mu(\nabla U + (\nabla U)^{T})

Combining with Boussnesq assumption: density changes only affect buoyancy; density changes in other terms can be ignored. Even if this is an incompressible fluid:

t(ρU)+(ρUU)=p+[μ(U+(U)T)]+(λU)+ρgUt+(UU)[ν(U+(U)T]=1ρp+gUt+(UU)(τρ)=1ρp+gUt+(UU)Reff=1ρp+g\begin{align*} \frac{\partial}{\partial t}(\rho U) + \nabla \cdot (\rho UU) &= -\nabla p + \nabla\cdot[\mu (\nabla U + (\nabla U)^T)] + \cancel{\nabla(\lambda\nabla\cdot U)} + \rho\vec{g} \\ \frac{\partial U}{\partial t} + \nabla \cdot (UU) - \nabla \cdot[\nu(\nabla U + (\nabla U)^{T}] &= - \frac{1}{\rho} \nabla p + \vec{g} \\ \frac{\partial U}{\partial t} + \nabla \cdot (UU) - \nabla \cdot (\frac{\vec{\tau}}{\rho}) &= - \frac{1}{\rho} \nabla p + \vec{g} \\ \frac{\partial U}{\partial t} + \nabla \cdot (UU) - \nabla \cdot R^{eff} &= - \frac{1}{\rho} \nabla p + \vec{g} \end{align*}

If viscosity coefficient μ\mu is constant, momentum equation can be rearranged and simplified.

Divergence of viscous stress tensor:

τ=[μ(U+(U)T)]+(λU)={x[2μux+λU]+y[μ(vx+uy)]+z[μ(uz+wx)]x[μ(vx+uy)]+y[2μvy+λ(U)]+z[μ(wy+vz)]x[μ(uz+wx)]+y[μ(wy+vz)]+z[2μwz+λ(U)]}\begin{aligned} \nabla\cdot \vec{\tau} &= \nabla\cdot[\mu (\nabla U + (\nabla U)^T)] + \nabla(\lambda\nabla\cdot U) \\ &= \begin{Bmatrix} \frac{\partial}{\partial x}[2\mu\frac{\partial u}{\partial x} + \lambda\nabla\cdot U] + \frac{\partial}{\partial y}[\mu(\frac{\partial v}{\partial x} + \frac{\partial u}{\partial y})] +\frac{\partial}{\partial z}[\mu(\frac{\partial u}{\partial z} + \frac{\partial w}{\partial x})] \\ \frac{\partial}{\partial x}[\mu(\frac{\partial v}{\partial x} + \frac{\partial u}{\partial y})] + \frac{\partial}{\partial y}[2\mu\frac{\partial v}{\partial y} + \lambda(\nabla\cdot U)] + \frac{\partial}{\partial z}[\mu(\frac{\partial w}{\partial y} + \frac{\partial v}{\partial z})] \\ \frac{\partial}{\partial x}[\mu(\frac{\partial u}{\partial z} + \frac{\partial w}{\partial x})] + \frac{\partial}{\partial y}[\mu(\frac{\partial w}{\partial y} + \frac{\partial v}{\partial z})] +\frac{\partial}{\partial z}[2\mu\frac{\partial w}{\partial z} + \lambda(\nabla\cdot U)] \end{Bmatrix} \end{aligned}

Taking the first row of stress tensor divergence as an example:

(τ)col1=x[2μux+λU]+y[μ(vx+uy)]+z[μ(uz+wx)]=x[2μux]+μy[(vx+uy)]+μz[(uz+wx)]=μ[(2ux2+2uy2+2uz2)+2ux2+2vxy+2wxz]=μ[(2ux2+2uy2+2uz2)+x(ux+vy+wz)]=μ[(2u)+x(U)]\begin{align*} (\nabla\cdot\tau)_{col1} &= \frac{\partial}{\partial x}[2\mu\frac{\partial u}{\partial x} + \cancel{\lambda\nabla\cdot U}] + \frac{\partial}{\partial y}[\mu(\frac{\partial v}{\partial x} + \frac{\partial u}{\partial y})] +\frac{\partial}{\partial z}[\mu(\frac{\partial u}{\partial z} + \frac{\partial w}{\partial x})]\\ &= \frac{\partial}{\partial x}[2\mu\frac{\partial u}{\partial x}] + \mu\frac{\partial}{\partial y}[(\frac{\partial v}{\partial x} + \frac{\partial u}{\partial y})] +\mu\frac{\partial}{\partial z}[(\frac{\partial u}{\partial z} + \frac{\partial w}{\partial x})]\\ &= \mu[(\frac{\partial^2 u}{\partial x^2}+\frac{\partial^2 u}{\partial y^2}+\frac{\partial^2 u}{\partial z^2}) + \frac{\partial^2 u}{\partial x^2} + \frac{\partial^2 v}{\partial xy} + \frac{\partial^2 w}{\partial xz}]\\ &= \mu[(\frac{\partial^2 u}{\partial x^2}+\frac{\partial^2 u}{\partial y^2}+\frac{\partial^2 u}{\partial z^2}) + \frac{\partial }{\partial x}(\frac{\partial u}{\partial x} + \frac{\partial v}{\partial y} + \frac{\partial w}{\partial z})]\\ &= \mu[(\nabla^2 u) + \cancel{\frac{\partial }{\partial x}(\nabla\cdot U)}]\\ \end{align*}

Because fluid is incompressible, density constant, the second term is zero, so momentum equation further simplifies to:

ρUt+(ρUU)=p+μ2U+ρg\frac{\partial \rho U}{\partial t} + \nabla \cdot (\rho UU) = -\nabla p + \mu \nabla^2U + \rho\vec{g}

If fluid has no viscosity, viscous term can be further omitted:

ρUt+(ρUU)=p+ρg \frac{\partial\rho U}{\partial t} + \nabla \cdot (\rho UU) = -\nabla p + \rho\vec{g}

4. Summary

This article completes discussion of:

  • Derivation of momentum equation
  • Derivation from different perspectives
  • Understanding the physical meaning of mathematical expressions

References

[1] The Finite Volume Method in Computational Fluid Dynamics, https://link.springer.com/book/10.1007/978-3-319-16874-6

[2] Computational fluid dynamics : the basics with applications, https://searchworks.stanford.edu/view/2989631

[3] Mathematics, Numerics, Derivations and OpenFOAM®, https://holzmann-cfd.com/community/publications/mathematics-numerics-derivations-and-openfoam-free

[4] Notes on Computational Fluid Dynamics: General Principles, https://doc.cfd.direct/notes/cfd-general-principles/

Support us

Tip

Hopefully, the sharing here can be helpful to you.

If you find this content helpful, your comments or donations would be greatly appreciated. Your support helps ensure the ongoing updates, corrections, refinements, and improvements to this and future series, ultimately benefiting new readers as well.

The information and message provided during donation will be displayed as an acknowledgment of your support.

Copyright @ 2026 Aerosand

Last updated on • Aerosand