Skip to content
๐ŸŽ‰ Welcome to Aerosand!.
05_generalConservation

05_generalConservation

0. Preface

We have previously completed the derivation and discussion of the continuity equation (mass equation), momentum equation, and energy equation.

This article mainly discusses:

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

1. General Equation

Through previous discussions, we can see that no matter what physical quantity, there is always the Reynolds Transport Theorem.

Recall the Reynolds Transport Theorem:

(dBdt)MV=โˆซV[โˆ‚โˆ‚t(ฯb)+โˆ‡โ‹…(ฯUb)]dV=โˆซV[DDt(ฯb)+ฯbโˆ‡โ‹…U]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

For a system, physical quantity ฯ•\phi always has:

Change of physical quantity in material volume A = Flux change through control volume surface B + Generation/Disappearance within control volume C

change of ฯ•\phi over time ฮ”t\Delta t within the material volume (MV) - A

==

surface flux of ฯ•\phi over time ฮ”t\Delta t across the control volume - B

++

source/sink of ฯ•\phi over time ฮ”t\Delta t within control volume - C

For the first term A:

Combining with the Reynolds Transport Theorem:

A=ddt(โˆซMV(ฯฯ•)dV)=โˆซV[โˆ‚โˆ‚t(ฯฯ•)+โˆ‡โ‹…(ฯUฯ•)]dV A = \frac{d}{dt}\bigg(\int_{MV}(\rho\phi )dV\bigg) = \int_{V}\bigg[\frac{\partial}{\partial t}(\rho\phi) + \nabla\cdot(\rho U\phi)\bigg]dV

Based on previous discussions of velocity divergence and the Reynolds theorem, we can understand that ฯUฯ•\rho U \phi essentially represents the transport of physical quantity ฯ•\phi in the flow, called convective flux.

We define convective flux:

FC=ฯUฯ•F^{C} = \rho U \phi

For the second term B:

The second term is the change in physical quantity ฯ•\phi due to physical phenomena on the control volume surface.

We additionally define diffusion flux:

FD=โˆ’ฮ“ฯ•โˆ‡ฯ•F^{D} = -\Gamma^{\phi}\nabla \phi

Thus (using the divergence theorem for rearrangement):

B=โˆ’โˆซโˆ‚VFDโ‹…nโƒ—dS=โˆ’โˆซVโˆ‡โ‹…FDdV=โˆซVโˆ‡โ‹…(ฮ“ฯ•โˆ‡ฯ•)dVB = -\int_{\partial V} F^{D}\cdot \vec ndS = -\int_{V} \nabla\cdot F^{D}dV = \int_V\nabla\cdot(\Gamma^{\phi}\nabla\phi)dV

Tip

Flux inward is positive, flux outward is negative. The negative sign is also because diffusion is essentially a “loss” to the system.

For the third term C:

The third term is the change in physical quantity ฯ•\phi due to physical phenomena within the control volume.

C=โˆซVSฯ•dVC = \int_V S_{\phi}dV

Combining all:

โˆซV[โˆ‚โˆ‚t(ฯฯ•)+โˆ‡โ‹…(ฯฯ•U)]dV=โˆซVโˆ‡โ‹…(ฮ“ฯ•โˆ‡ฯ•)dV+โˆซVSฯ•dV\int_{V} \bigg[\frac{\partial}{\partial t}(\rho\phi) + \nabla\cdot(\rho\phi U)\bigg]dV = \int_V\nabla\cdot(\Gamma^{\phi}\nabla\phi)dV + \int_V S_{\phi}dV

Let’s pause and consider the physical essence of the transport process.

For the fluid we study, due to physical phenomena of convection and diffusion, there should always be the following conservation relationship:

Increase of physical quantity in the control volume (positive sign) == Inflow of physical quantity through control volume boundaries due to convection mechanism (opposite to control surface direction, negative sign) ++ Outflow of physical quantity through control volume boundaries due to diffusion mechanism (same as control surface direction, positive sign) ++ Change of physical quantity due to generation sources (positive sign)

The general conservation equation is summarized as:

โˆ‚โˆ‚t(ฯฯ•)+โˆ‡โ‹…(ฯฯ•U)โˆ’โˆ‡โ‹…(ฮ“ฯ•โˆ‡ฯ•)=Sฯ•\frac{\partial}{\partial t}(\rho\phi) + \nabla\cdot(\rho\phi U) - \nabla\cdot(\Gamma^{\phi}\nabla\phi) = S_{\phi}

The four major terms in this expression correspond to the four major physical aspects: time term (local time change), convection term (convective change), diffusion term (surface-based diffusion change), and source term (volume-based change).

Some readers may be confused by the complex discussions of diffusion terms, viscous terms, etc., so some supplementary discussion is needed here.

The diffusion term mentioned above is a generalized diffusion term, essentially including mass diffusion in the mass equation, momentum diffusion in the momentum equation, and energy diffusion in the energy equation.

Previously, when discussing the mass equation, we did not discuss material diffusion. Material diffusion or component diffusion generally leans toward chemical engineering, chemistry, and materials science, and will be specifically discussed when encountered later.

Comparing the previously derived N-S equations separately:

  1. Mass equation
โˆ‚โˆ‚tฯ+โˆ‡โ‹…(ฯU)=0\frac{\partial}{\partial t}\rho + \nabla\cdot(\rho U) = 0
  1. Momentum equation
โˆ‚โˆ‚t(ฯU)+โˆ‡โ‹…(ฯUU)=โˆ‡โ‹…(ฮผโˆ‡U)โˆ’โˆ‡p+Q\frac{\partial}{\partial t}(\rho U) + \nabla \cdot (\rho UU) = \nabla\cdot(\mu\nabla U)-\nabla p + Q
  1. Energy equation
โˆ‚โˆ‚t(ฯcpT)+โˆ‡โ‹…(ฯcpUT)=โˆ‡โ‹…(kโˆ‡T)+QT\frac{\partial}{\partial t}(\rho c_pT) + \nabla\cdot(\rho c_p U T) = \nabla\cdot(k\nabla T) + Q^T

Summarizing, we have the general form basic equation:

โˆ‚โˆ‚t(ฯฯ•)+โˆ‡โ‹…(ฯUฯ•)=โˆ‡โ‹…(ฮ“โˆ‡ฯ•)+Sฯ•\frac{\partial}{\partial t}(\rho \phi) + \nabla \cdot (\rho U\phi) = \nabla\cdot(\Gamma\nabla\phi) + S_{\phi}

From left to right, we call them: time term (transient term), convection term, diffusion term, source term.

2. Summary

So far, the basic equations of fluid dynamics have been largely discussed.

I hope readers can quickly overcome this first hurdle in computational fluid dynamics.

This article completes the discussion of:

  • Derivation of the general 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