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.:
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.

Perform force analysis on this material volume element.
Considering the direction:
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 to represent viscous stress acting on a plane perpendicular to the -axis along the -direction.
Surface forces in the direction:
Simplifying and rearranging:
Considering volume force (gravity) on the element:
We analyze all forces in the direction in the figure:
The mass of this infinitesimal material volume element is:
Acceleration in the direction is:
We can obtain the momentum equation in the direction:
After rearranging:
Similarly in the and directions:
According to the derivation in the previous section 【Material Derivative】:
Substituting into the momentum equation, taking the direction as an example:
1.1. NS Equations
Finally, we have the NS equations:
The component form above still has many fluid-related terms that need discussion.
Taking the direction as an example, expanding the differential of the first term on the left and the operator of the second term:
According to the previously discussed conservative differential form continuity equation:
So NS equations can also be written as:
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:
Where is the molecular viscosity coefficient, is the second viscosity coefficient. Stokes further assumed:
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:
Here the applied force includes all volume and surface forces.
According to 【Reynolds Transport Theorem】:
Where:
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:
Rearranging gives:
Further rearranging:
Expanding the total differential of the first term:
Rearranged as:
Note: The term in parentheses on the left side is the non-conservative differential form continuity equation, which should equal zero.
So finally:
According to material derivative, expanding:
【Non-conservative Differential Form Momentum Equation】
We can see that this equation is consistent with the previous component form discussion.
2.2. Conservative Form
For conservative equations:
Rearranging gives:
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:
Surface Forces
Surface force equals the product of total stress tensor and area vector:
Using to represent total stress tensor (complete including pressure per unit area and viscous force per unit area):
- Same subscript 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 represent shear stress:表示 surface direction ( surface is the plane perpendicular to direction, same convention as component form). Convention: if the outward normal of the surface is positive, then is positive. The physical cause of shear stress is viscosity.
Rearranged as:
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:
Obviously, the volumetric part is the pressure matrix:
Further:
Also:
Analysis shows that the deviatoric part of the total stress tensor is the viscous force tensor.
So surface force is:
Using divergence theorem:
Correspondingly, surface force is:
Continuing discussion of the viscous force part:
For Newtonian fluids, according to previous discussion, we know there is a constitutive relationship:
Stokes assumed:
Substituting, the viscous force becomes:
If it’s an incompressible fluid, according to previous discussion:
Viscous force simplifies to:
Combining these discussions, we can understand why the term is also called volumetric expansion rate.
At this point, introducing strain rate, also called deformation rate, can be expressed as a function of velocity:
Written in vector form:
Viscous force expressed as:
Note is still fluid viscosity, a physical property of the fluid.
Volume Forces
Mainly gravity:
For rotating systems, body forces also come from Coriolis force and centrifugal force:
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:
Obtaining the more complete form of conservative differential form momentum equation (including viscous force):
In OpenFOAM, generally considered from the complete form, written as:
The complete tensor form of fluid viscous stress is:
Expanding into matrix form is clearer:
Substituting into the conservative differential form momentum equation:
Where the divergence of stress tensor is, physically representing viscous force action of fluid:
Rearranged as:
For more general cases, unifying the last three terms on the right as generalized source term:
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:
Thus obtaining transient term, convective term, diffusion term, and source term.
3. Supplementary Discussion
For incompressible fluid:
Momentum equation simplifies to:
For Newtonian fluids, shear stress is linearly related to strain rate (vector):
Combining with Boussnesq assumption: density changes only affect buoyancy; density changes in other terms can be ignored. Even if this is an incompressible fluid:
If viscosity coefficient is constant, momentum equation can be rearranged and simplified.
Divergence of viscous stress tensor:
Taking the first row of stress tensor divergence as an example:
Because fluid is incompressible, density constant, the second term is zero, so momentum equation further simplifies to:
If fluid has no viscosity, viscous term can be further omitted:
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
- Course (text, images, etc.): CC BY-NC-SA 4.0
- Code derived from OpenFOAM: GPL v3
- Other code: MIT License
