<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.g3dflow.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Nian</id>
	<title>Flowpedia - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.g3dflow.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Nian"/>
	<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Special:Contributions/Nian"/>
	<updated>2026-07-11T05:57:24Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Flowpedia&amp;diff=588</id>
		<title>Flowpedia</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Flowpedia&amp;diff=588"/>
		<updated>2026-04-12T16:52:11Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;br&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;nomobile&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;__TOC__&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/nomobile&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
== Incompressible flow ==&lt;br /&gt;
&lt;br /&gt;
{{:Incompressible flow}}&lt;br /&gt;
&lt;br /&gt;
== Compressible flow ==&lt;br /&gt;
&lt;br /&gt;
* [[Compressible flow outline|Compressible flow outline]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
{{:Compressible flow outline}}&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Compressible_flow_outline&amp;diff=587</id>
		<title>Compressible flow outline</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Compressible_flow_outline&amp;diff=587"/>
		<updated>2026-04-12T16:50:37Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:Compressible flow}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Compressible flow]]&lt;br /&gt;
[[Category:Compressible flow:Outline]]&lt;br /&gt;
&lt;br /&gt;
Compressible flow or gas dynamics is a branch of fluid mechanics that deals with flows having significant changes in fluid density.&lt;br /&gt;
&lt;br /&gt;
* the study of motion of gases and its effects on physical systems&lt;br /&gt;
* based on the principles of fluid mechanics and thermodynamics&lt;br /&gt;
* gases flowing around or within physical objects at speeds comparable to the speed of sound&lt;br /&gt;
&lt;br /&gt;
[[:Compressible flow|All topics in one document]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=&amp;quot;mw-heading mw-heading1&amp;quot;&amp;gt;Topics ordered by category&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nomobile&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/nomobile&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Thermodynamics ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;DynamicPageList&amp;gt;&lt;br /&gt;
category = Compressible flow&lt;br /&gt;
category = Compressible flow:Section&lt;br /&gt;
category = Thermodynamics&lt;br /&gt;
mode     = unordered&lt;br /&gt;
&amp;lt;/DynamicPageList&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Sub topics:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;DynamicPageList&amp;gt;&lt;br /&gt;
category = Compressible flow&lt;br /&gt;
category = Compressible flow:Topic&lt;br /&gt;
category = Thermodynamics&lt;br /&gt;
mode     = unordered&lt;br /&gt;
&amp;lt;/DynamicPageList&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Governing equations ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;DynamicPageList&amp;gt;&lt;br /&gt;
category = Compressible flow&lt;br /&gt;
category = Compressible flow:Section&lt;br /&gt;
category = Governing equations&lt;br /&gt;
mode     = unordered&lt;br /&gt;
&amp;lt;/DynamicPageList&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Sub topics:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;DynamicPageList&amp;gt;&lt;br /&gt;
category = Compressible flow&lt;br /&gt;
category = Compressible flow:Topic&lt;br /&gt;
category = Governing equations&lt;br /&gt;
mode     = unordered&lt;br /&gt;
&amp;lt;/DynamicPageList&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== One-dimensional inviscid flow ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;DynamicPageList&amp;gt;&lt;br /&gt;
category = Compressible flow&lt;br /&gt;
category = Compressible flow:Section&lt;br /&gt;
category = One-dimensional flow&lt;br /&gt;
mode     = unordered&lt;br /&gt;
&amp;lt;/DynamicPageList&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Sub topics:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;DynamicPageList&amp;gt;&lt;br /&gt;
category = Compressible flow&lt;br /&gt;
category = Compressible flow:Topic&lt;br /&gt;
category = One-dimensional flow&lt;br /&gt;
mode     = unordered&lt;br /&gt;
&amp;lt;/DynamicPageList&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Oblique shocks and expansion waves ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;DynamicPageList&amp;gt;&lt;br /&gt;
category = Compressible flow&lt;br /&gt;
category = Compressible flow:Section&lt;br /&gt;
category = Two-dimensional flow&lt;br /&gt;
mode     = unordered&lt;br /&gt;
&amp;lt;/DynamicPageList&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Sub topics:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;DynamicPageList&amp;gt;&lt;br /&gt;
category = Compressible flow&lt;br /&gt;
category = Compressible flow:Topic&lt;br /&gt;
category = Two-dimensional flow&lt;br /&gt;
mode     = unordered&lt;br /&gt;
&amp;lt;/DynamicPageList&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Quasi-one-dimensional flow ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;DynamicPageList&amp;gt;&lt;br /&gt;
category = Compressible flow&lt;br /&gt;
category = Compressible flow:Section&lt;br /&gt;
category = Quasi-one-dimensional flow&lt;br /&gt;
mode     = unordered&lt;br /&gt;
&amp;lt;/DynamicPageList&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Sub topics:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;DynamicPageList&amp;gt;&lt;br /&gt;
category = Compressible flow&lt;br /&gt;
category = Compressible flow:Topic&lt;br /&gt;
category = Quasi-one-dimensional flow&lt;br /&gt;
mode     = unordered&lt;br /&gt;
&amp;lt;/DynamicPageList&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Unsteady waves ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;DynamicPageList&amp;gt;&lt;br /&gt;
category = Compressible flow&lt;br /&gt;
category = Compressible flow:Section&lt;br /&gt;
category = Unsteady waves&lt;br /&gt;
mode     = unordered&lt;br /&gt;
&amp;lt;/DynamicPageList&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Sub topics:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;DynamicPageList&amp;gt;&lt;br /&gt;
category = Compressible flow&lt;br /&gt;
category = Compressible flow:Topic&lt;br /&gt;
category = Unsteady waves&lt;br /&gt;
mode     = unordered&lt;br /&gt;
&amp;lt;/DynamicPageList&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== High-temperature effects ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;DynamicPageList&amp;gt;&lt;br /&gt;
category = Compressible flow&lt;br /&gt;
category = Compressible flow:Section&lt;br /&gt;
category = High-temperature effects&lt;br /&gt;
mode     = unordered&lt;br /&gt;
&amp;lt;/DynamicPageList&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Sub topics:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;DynamicPageList&amp;gt;&lt;br /&gt;
category = Compressible flow&lt;br /&gt;
category = Compressible flow:Topic&lt;br /&gt;
category = High-temperature effects&lt;br /&gt;
mode     = unordered&lt;br /&gt;
&amp;lt;/DynamicPageList&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Numerical methods ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;DynamicPageList&amp;gt;&lt;br /&gt;
category = Compressible flow&lt;br /&gt;
category = Compressible flow:Section&lt;br /&gt;
category = Numerical methods&lt;br /&gt;
mode     = unordered&lt;br /&gt;
&amp;lt;/DynamicPageList&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Sub topics:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;DynamicPageList&amp;gt;&lt;br /&gt;
category = Compressible flow&lt;br /&gt;
category = Compressible flow:Topic&lt;br /&gt;
category = Numerical methods&lt;br /&gt;
mode     = unordered&lt;br /&gt;
&amp;lt;/DynamicPageList&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Acoustic_waves&amp;diff=586</id>
		<title>Acoustic waves</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Acoustic_waves&amp;diff=586"/>
		<updated>2026-04-02T15:37:49Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Compressible flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:One-dimensional flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Inviscid flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Wave solution]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Compressible flow:Topic]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;nomobile&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;__TOC__&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/nomobile&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#vardefine:secno|3}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#vardefine:eqno|1}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
\begin{figure}[ht!]&lt;br /&gt;
\begin{center}&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter03/pdf/acoustic-wave.pdf}&lt;br /&gt;
\caption{sound wave}&lt;br /&gt;
\label{fig:soundwave}&lt;br /&gt;
\end{center}&lt;br /&gt;
\end{figure}&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In Fig. \ref{fig:soundwave}, station 1 represents the flow state ahead of the sound wave and station 2 the flow state behind the sound wave. Set up the continuity equation for one-dimensional flows between 1 and 2. If we could change frame of reference and follow the sound wave, we would see fluid approaching the wave with the propagation speed of the wave, &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt;, and behind the wave, the fluid would have a slightly modified speed, &amp;lt;math&amp;gt;a+da&amp;lt;/math&amp;gt;. There would also be a slight in all other flow properties. Let&#039;s apply the one-dimensional continuity equation between station 1 and station 2.&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho_1 u_1=\rho_2 u_2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho a=(\rho+d\rho)(a+da)&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\cancel{\rho a}=\cancel{\rho a} + \rho da + ad\rho +\underbrace{d\rho da}_{\sim 0} \Rightarrow&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
a=-\rho\frac{da}{d\rho}&lt;br /&gt;
&amp;lt;/math&amp;gt;}|label=eq-speed-of-sound-a}}&lt;br /&gt;
&lt;br /&gt;
The one-dimensional momentum equation between station 1 and station 2 gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho_1 u_1^2+p_1=\rho_2 u_2^2+p_2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho a^2+p=(\rho+d\rho)(a+da)^2+(p+dp)&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\cancel{\rho a^2}+\cancel{p}=\cancel{\rho a^2}+2\rho ada+\underbrace{\rho da^2}_{\sim 0}+d\rho a^2+\underbrace{2d\rho ada}_{\sim 0}+\underbrace{d\rho da^2}_{\sim 0}+\cancel{p}+dp \Rightarrow&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
dp=-2\rho ada-d\rho a^2 \Rightarrow&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
da=-\frac{dp+d\rho a^2}{2\rho a}=-\frac{d\rho}{2a\rho}\left(\frac{dp}{d\rho}+a^2\right) \Rightarrow&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{da}{d\rho}=-\frac{1}{2a\rho}\left(\frac{dp}{d\rho}+a^2\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;|label=eq-speed-of-sound-b}}&lt;br /&gt;
&lt;br /&gt;
{{EquationNote|label=eq-speed-of-sound-b|nopar=1}} in {{EquationNote|label=eq-speed-of-sound-a|nopar=1}} gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
a=\frac{1}{2a}\left(\frac{dp}{d\rho}+a^2\right) \Rightarrow&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
a^2=\frac{dp}{d\rho}&lt;br /&gt;
&amp;lt;/math&amp;gt;|label=eq-speed-of-sound-c}}&lt;br /&gt;
&lt;br /&gt;
Sound wave:&lt;br /&gt;
&lt;br /&gt;
* gradients are small&lt;br /&gt;
* irreversible (dissipative effects are negligible)&lt;br /&gt;
* no heat addition&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thus, the change of flow properties as the sound wave passes can be assumed to be an isentropic process&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
a^2=\left(\frac{dp}{d\rho}\right)_s&lt;br /&gt;
&amp;lt;/math&amp;gt;|label=eq-speed-of-sound-d}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
a=\sqrt{\left(\frac{dp}{d\rho}\right)_s}=\sqrt{\frac{1}{\rho \tau_s}}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\tau_s&amp;lt;/math&amp;gt; is the compressibility of the gas. {{EquationNote|label=eq-speed-of-sound-d|nopar=1}} is valid for all gases. It can be seen from the equation, that truly incompressible flow (&amp;lt;math&amp;gt;\tau_s=0&amp;lt;/math&amp;gt;) would imply infinite speed of sound.&lt;br /&gt;
&lt;br /&gt;
Since the process is isentropic, we can use the isentropic relations if we also assume the gas to be calorically perfect&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{p_2}{p_1}=\left(\frac{\rho_2}{\rho_1}\right)^\gamma \Rightarrow p=C\rho^\gamma&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
a^2=\left(\frac{dp}{d\rho}\right)_s=\gamma C\rho^{\gamma-1}=\gamma \underbrace{\left[C\rho^\gamma\right]}_{=p}\rho^{-1}=\frac{\gamma p}{\rho}\Rightarrow&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
a=\sqrt{\frac{\gamma p}{\rho}}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
a=\sqrt{\gamma RT}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
From the relation above, it is obvious that the local speed of sound is related to the temperature of the flow, which in turn is a measure of the motion of elementary particles (atoms and/or molecules) of the fluid at a specific location. This stems from the fact that sound waves are propagated via interaction of these elementary particles. Since information in a flow is propagated via molecular interaction the relation between the speed at which this information is conveyed and the speed of the flow has important physical implications. Figure~\ref{fig:speed:of:sound} compares three sound wave patterns generated by a a beacon. In the left picture, the sound transmitter is stationary and thus the acoustic waves are centered around the transmitter. In the middle image, the transmitter is moving to the left at a speed less than the speed of sound and thus the transmitter will always be within all sound wave circles but it will be off-centered with a bias in the direction that the transmitter is moving. In the right image the transmitter is moving faster than the speed of sound and thus it will always be located outside of all acoustic waves. In a supersonic flow, no information can travel upstream and therefore there is no way for the flow to adjust to downstream obstacles. This is compensated for by the introduction of shocks in the flow. Over a shock flow properties changes discontinuity. An example is given in Figure~\ref{fig:supersonic:flow}.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
\begin{figure}[ht!]&lt;br /&gt;
\begin{center}&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter03/pdf/speed-of-sound.pdf}&lt;br /&gt;
\caption{Acoustic signature of a moving transmitter}&lt;br /&gt;
\label{fig:speed:of:sound}&lt;br /&gt;
\end{center}&lt;br /&gt;
\end{figure}&lt;br /&gt;
&lt;br /&gt;
\begin{figure}[ht!]&lt;br /&gt;
\begin{center}&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter03/pdf/supersonic-flow.pdf}&lt;br /&gt;
\caption{Physical consequences of the speed of sound}&lt;br /&gt;
\label{fig:supersonic:flow}&lt;br /&gt;
\end{center}&lt;br /&gt;
\end{figure}&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Governing_equations_on_integral_form&amp;diff=585</id>
		<title>Governing equations on integral form</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Governing_equations_on_integral_form&amp;diff=585"/>
		<updated>2026-04-02T08:03:19Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Compressible flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Governing equations]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Compressible flow:Topic]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;nomobile&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;__TOC__&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/nomobile&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#vardefine:secno|2}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#vardefine:eqno|0}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
\begin{figure}[ht!]&lt;br /&gt;
\begin{center}&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter02/pdf/control-volume.pdf}&lt;br /&gt;
\caption{Generic control volume}&lt;br /&gt;
\label{fig:generic:cv}&lt;br /&gt;
\end{center}&lt;br /&gt;
\end{figure}&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The governing equations stems from mass conservation, conservation of momentum and conservation of energy&lt;br /&gt;
&lt;br /&gt;
==== The Continuity Equation ====&lt;br /&gt;
&lt;br /&gt;
{{QuoteBox|Mass can be neither created nor destroyed, which implies that mass is conserved}}&lt;br /&gt;
&lt;br /&gt;
The net massflow into the control volume &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; in Fig. \ref{fig:generic:cv} is obtained by integrating mass flux over the control volume surface &amp;lt;math&amp;gt;\partial \Omega&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
-\iint_{\partial \Omega}\rho \mathbf{v}\cdot \mathbf{n} dS&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Now, let&#039;s consider a small infinitesimal volume &amp;lt;math&amp;gt;dV&amp;lt;/math&amp;gt; inside &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt;. The mass of &amp;lt;math&amp;gt;dV&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;\rho dV&amp;lt;/math&amp;gt;. Thus, the mass enclosed within &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; can be calculated as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iiint_{\Omega} \rho dV&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
The rate of change of mass within &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; is obtained as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dt}\iiint_{\Omega} \rho dV&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Mass is conserved, which means that the rate of change of mass within &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; must equal the net flux over the control volume surface.&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dt}\iiint_{\Omega} \rho dV=-\iint_{\partial \Omega}\rho \mathbf{v}\cdot \mathbf{n} dS&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dt}\iiint_{\Omega} \rho dV+\iint_{\partial \Omega}\rho \mathbf{v}\cdot \mathbf{n} dS=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
which is the integral form of the continuity equation.&lt;br /&gt;
&lt;br /&gt;
==== The Momentum Equation ====&lt;br /&gt;
&lt;br /&gt;
{{QuoteBox|The time rate of change of momentum of a body equals the net force exerted on it}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dt}(m\mathbf{v})=\mathbf{F}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
What type of forces do we have?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Body forces acting on the fluid inside &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt;&lt;br /&gt;
** gravitation&lt;br /&gt;
** electromagnetic forces&lt;br /&gt;
** Coriolis forces&lt;br /&gt;
* Surface forces: pressure forces and shear forces&lt;br /&gt;
&lt;br /&gt;
Body forces inside &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iiint_{\Omega}\rho \mathbf{f}dV&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Surface force on &amp;lt;math&amp;gt;\partial \Omega&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
-\iint_{\partial \Omega} p\mathbf{n}dS&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Since we are considering inviscid flow, there are no shear forces and thus we have the net force as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\mathbf{F}=\iiint_{\Omega}\rho \mathbf{f}dV-\iint_{\partial \Omega} p\mathbf{n}dS&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
The fluid flowing through &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; will carry momentum and the net flow of momentum out from &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; is calculated as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iint_{\partial \Omega} (\rho\mathbf{v}\cdot\mathbf{n}dS)\mathbf{v}=\iint_{\partial \Omega} (\rho\mathbf{v}\cdot\mathbf{n})\mathbf{v}dS&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Integrated momentum inside &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iiint_{\Omega} \rho \mathbf{v} dV&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Rate of change of momentum due to unsteady effects inside &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dt}\iiint_{\Omega} \rho \mathbf{v} dV&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Combining the rate of change of momentum, the net momentum flux and the net forces we get&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dt}\iiint_{\Omega} \rho \mathbf{v} dV+\iint_{\partial \Omega} (\rho\mathbf{v}\cdot\mathbf{n})\mathbf{v}dS=\iiint_{\Omega}\rho \mathbf{f}dV-\iint_{\partial \Omega} p\mathbf{n}dS&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
combining the surface integrals, we get&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dt}\iiint_{\Omega} \rho \mathbf{v} dV+\iint_{\partial \Omega} \left[(\rho\mathbf{v}\cdot\mathbf{n})\mathbf{v}+p\mathbf{n}\right]dS=\iiint_{\Omega}\rho \mathbf{f}dV&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
which is the momentum equation on integral form.&lt;br /&gt;
&lt;br /&gt;
==== The Energy Equation ====&lt;br /&gt;
&lt;br /&gt;
{{QuoteBox|Energy can be neither created nor destroyed; it can only change in form}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
E_1+E_2=E_3&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;math&amp;gt;E_1&amp;lt;/math&amp;gt; Rate of heat added to the fluid in &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; from the surroundings&lt;br /&gt;
: heat transfer&lt;br /&gt;
: radiation&lt;br /&gt;
;&amp;lt;math&amp;gt;E_2&amp;lt;/math&amp;gt; Rate of work done on the fluid in &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt;&lt;br /&gt;
;&amp;lt;math&amp;gt;E_3&amp;lt;/math&amp;gt; Rate of change of energy of the fluid as it flows through &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
E_1=\iiint_{\Omega} \dot{q}\rho dV&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\dot{q}&amp;lt;/math&amp;gt; is the rate of heat added per unit mass&lt;br /&gt;
&lt;br /&gt;
The rate of work done on the fluid in &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; due to pressure forces is obtained from the pressure force term in the momentum equation.&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
E_{2_{pressure}}=-\iint_{\partial \Omega}(p\mathbf{n}dS)\cdot\mathbf{v}=-\iint_{\partial \Omega} p\mathbf{v}\cdot\mathbf{n}dS&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
The rate of work done on the fluid in $\Omega$ due to body forces is&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
E_{2_{body\ forces}}=\iiint_{\Omega}(\rho\mathbf{f}dV)\cdot\mathbf{v}=\iiint_{\Omega}\rho\mathbf{f}\cdot\mathbf{v}dV&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
E_2=E_{2_{pressure}}+E_{2_{body\ forces}}=-\iint_{\partial \Omega} p\mathbf{v}\cdot\mathbf{n}dS+\iiint_{\Omega}\rho\mathbf{f}\cdot\mathbf{v}dV&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
The energy of the fluid per unit mass is the sum of internal energy &amp;lt;math&amp;gt;e&amp;lt;/math&amp;gt; (molecular energy) and the kinetic energy &amp;lt;math&amp;gt;V^2/2&amp;lt;/math&amp;gt; and the net energy flux over the control volume surface is calculated by the following integral&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iint_{\partial \Omega}(\rho \mathbf{v}\cdot\mathbf{n}dS)\left(e+\frac{V^2}{2}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Analogous to mass and momentum, the total amount of energy of the fluid in &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; is calculated as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iiint_{\Omega}\rho\left(e+\frac{V^2}{2}\right)dV&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
The time rate of change of the energy of the fluid in &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; is obtained as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dt}\iiint_{\Omega}\rho\left(e+\frac{V^2}{2}\right)dV&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Now, &amp;lt;math&amp;gt;E_3&amp;lt;/math&amp;gt; is obtained as the sum of the time rate of change of energy of the fluid in &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; and the net flux of energy carried by fluid passing the control volume surface.&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
E_3=\frac{d}{dt}\iiint_{\Omega}\rho\left(e+\frac{V^2}{2}\right)dV+\iint_{\partial \Omega}(\rho \mathbf{v}\cdot\mathbf{n}dS)\left(e+\frac{V^2}{2}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
With all elements of the energy equation defined, we are now ready to finally compile the full equation&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\dfrac{d}{dt}\iiint_{\Omega}\rho\left(e+\dfrac{V^2}{2}\right)dV+\iint_{\partial \Omega}\left[\rho\left(e+\dfrac{V^2}{2}\right)(\mathbf{v}\cdot\mathbf{n}) + p\mathbf{v}\cdot\mathbf{n}\right]dS=&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\iiint_{\Omega}\rho\mathbf{f}\cdot\mathbf{v}dV+\iiint_{\Omega} \dot{q}\rho dV&lt;br /&gt;
&amp;lt;/math&amp;gt;|align=center}}&lt;br /&gt;
&lt;br /&gt;
The surface integral in the energy equation may be rewritten as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iint_{\partial \Omega}\left[\rho\left(e+\frac{V^2}{2}\right)(\mathbf{v}\cdot\mathbf{n}) + p\mathbf{v}\cdot\mathbf{n}\right]dS=&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;math&amp;gt;\iint_{\partial \Omega}\rho\left[e+\frac{p}{\rho}+\frac{V^2}{2}\right](\mathbf{v}\cdot\mathbf{n})dS&lt;br /&gt;
&amp;lt;/math&amp;gt;|align=center}}&lt;br /&gt;
&lt;br /&gt;
and with the definition of enthalpy &amp;lt;math&amp;gt;h=e+p/\rho&amp;lt;/math&amp;gt;, we get&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iint_{\partial \Omega}\rho\left[h+\frac{V^2}{2}\right](\mathbf{v}\cdot\mathbf{n})dS&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Furthermore, introducing total internal energy &amp;lt;math&amp;gt;e_o&amp;lt;/math&amp;gt; and total enthalpy &amp;lt;math&amp;gt;h_o&amp;lt;/math&amp;gt; defined as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
e_o=e+\frac{1}{2}V^2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
h_o=h+\frac{1}{2}V^2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
the energy equation is written as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dt}\iiint_{\Omega}\rho e_o dV+\iint_{\partial \Omega}\rho h_o(\mathbf{v}\cdot\mathbf{n})dS=&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;math&amp;gt;\iiint_{\Omega}\rho\mathbf{f}\cdot\mathbf{v}dV+\iiint_{\Omega} \dot{q}\rho dV&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
==== Summary ====&lt;br /&gt;
&lt;br /&gt;
The integral form of the governing equations for inviscid compressible flow has been derived&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: solid 1px;&amp;quot;&amp;gt;&lt;br /&gt;
{{OpenInfoBox|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dt}\iiint_{\Omega} \rho dV+\iint_{\partial \Omega}\rho \mathbf{v}\cdot \mathbf{n} dS=0&lt;br /&gt;
&amp;lt;/math&amp;gt;|description=Continuity:}}&lt;br /&gt;
&lt;br /&gt;
{{OpenInfoBox|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dt}\iiint_{\Omega} \rho \mathbf{v} dV+\iint_{\partial \Omega} \left[(\rho\mathbf{v}\cdot\mathbf{n})\mathbf{v}+p\mathbf{n}\right]dS=\iiint_{\Omega}\rho \mathbf{f}dV&lt;br /&gt;
&amp;lt;/math&amp;gt;|description=Momentum:}}&lt;br /&gt;
&lt;br /&gt;
{{OpenInfoBox|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dt}\iiint_{\Omega}\rho e_o dV+\iint_{\partial \Omega}\rho h_o(\mathbf{v}\cdot\mathbf{n})dS=&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;math&amp;gt;\iiint_{\Omega}\rho\mathbf{f}\cdot\mathbf{v}dV+\iiint_{\Omega} \dot{q}\rho dV&lt;br /&gt;
&amp;lt;/math&amp;gt;|description=Energy:}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Template:QuoteBox&amp;diff=584</id>
		<title>Template:QuoteBox</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Template:QuoteBox&amp;diff=584"/>
		<updated>2026-04-02T08:00:58Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;table style=&amp;quot;width: 100%; &amp;lt;!--&lt;br /&gt;
   --&amp;gt;border-collapse: collapse;&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
   --&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td style=&amp;quot;&amp;lt;!--&lt;br /&gt;
         --&amp;gt;width: {{#if:{{{side-margin|}}}|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{{side-margin}}}|5em}};&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td style=&amp;quot;&amp;lt;!--&lt;br /&gt;
          --&amp;gt;text-align: {{#if:{{{align|}}}|{{{align}}}|center}}; &amp;lt;!--&lt;br /&gt;
          --&amp;gt;{{#if:{{{border|}}}|border: solid 1px &amp;lt;!--&lt;br /&gt;
          --&amp;gt;{{#if:{{{border-color|}}}|{{{border-color}}}}};}}&amp;lt;!--&lt;br /&gt;
          --&amp;gt;background-color: {{#if:{{{background-color|}}}|&amp;lt;!--&lt;br /&gt;
          --&amp;gt;{{{background-color}}}|whitesmoke}}; &amp;lt;!--&lt;br /&gt;
          --&amp;gt;padding: {{#if:{{{padding|}}}|{{{padding}}}|2em}};&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
          --&amp;gt;&amp;lt;i&amp;gt;&amp;lt;!--&lt;br /&gt;
             --&amp;gt;&amp;quot;{{#if:{{{quote|}}}|&amp;lt;!--&lt;br /&gt;
                 --&amp;gt;{{{quote}}}|&amp;lt;!--&lt;br /&gt;
                 --&amp;gt;{{#if:{{{1|}}}|&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;{{{1}}}|dummy quote&amp;lt;!--&lt;br /&gt;
                 --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
              --&amp;gt;}}&amp;quot;&amp;lt;!--&lt;br /&gt;
          --&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td style=&amp;quot;&amp;lt;!--&lt;br /&gt;
         --&amp;gt;width: {{#if:{{{side-margin|}}}|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{{side-margin}}}|5em}};&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
   --&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#if:{{{source|}}}|&amp;lt;!--&lt;br /&gt;
   --&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td style=&amp;quot;text-align: right; &amp;lt;!--&lt;br /&gt;
         --&amp;gt;background-color: {{#if:{{{background-color|}}}|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{{background-color}}}|whitesmoke}}; &amp;lt;!--&lt;br /&gt;
         --&amp;gt;padding-right: 1em;&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{{source}}}&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
   --&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;|&amp;lt;!--&lt;br /&gt;
   --&amp;gt;{{#if:{{{2|}}}|&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;!--&lt;br /&gt;
         --&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
         --&amp;gt;&amp;lt;td style=&amp;quot;text-align: right; &amp;lt;!--&lt;br /&gt;
            --&amp;gt;background-color: {{#if:{{{background-color|}}}|&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{{background-color}}}|whitesmoke}}; &amp;lt;!--&lt;br /&gt;
            --&amp;gt;padding-right: 1em;&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{{2}}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
         --&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;!--&lt;br /&gt;
   --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/table&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Template:QuoteBox&amp;diff=583</id>
		<title>Template:QuoteBox</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Template:QuoteBox&amp;diff=583"/>
		<updated>2026-04-02T07:52:25Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;table style=&amp;quot;width: 100%; &amp;lt;!--&lt;br /&gt;
   --&amp;gt;border-collapse: collapse;&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
   --&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td style=&amp;quot;&amp;lt;!--&lt;br /&gt;
         --&amp;gt;width: {{#if:{{{side-margin|}}}|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{{side-margin}}}|5em}};&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td style=&amp;quot;&amp;lt;!--&lt;br /&gt;
          --&amp;gt;text-align: {{#if:{{{align|}}}|{{{align}}}|center}}; &amp;lt;!--&lt;br /&gt;
          --&amp;gt;{{#if:{{{border|}}}|border: solid 1px &amp;lt;!--&lt;br /&gt;
          --&amp;gt;{{#if:{{{border-color|}}}|{{{border-color}}}}};}}&amp;lt;!--&lt;br /&gt;
          --&amp;gt;background-color: {{#if:{{{background-color|}}}|&amp;lt;!--&lt;br /&gt;
          --&amp;gt;{{{background-color}}}|whitesmoke}}; &amp;lt;!--&lt;br /&gt;
          --&amp;gt;padding: {{#if:{{{padding|}}}|{{{padding}}}|2em}};&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
          --&amp;gt;&amp;lt;i&amp;gt;&amp;lt;!--&lt;br /&gt;
             --&amp;gt;&amp;quot;{{#if:{{{quote|}}}|&amp;lt;!--&lt;br /&gt;
                 --&amp;gt;{{{quote}}}|&amp;lt;!--&lt;br /&gt;
                 --&amp;gt;{{#if:{{{1|}}}|&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;{{{1}}}&amp;lt;!--&lt;br /&gt;
                 --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
              --&amp;gt;}}&amp;quot;&amp;lt;!--&lt;br /&gt;
          --&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td style=&amp;quot;&amp;lt;!--&lt;br /&gt;
         --&amp;gt;width: {{#if:{{{side-margin|}}}|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{{side-margin}}}|5em}};&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
   --&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#if:{{{source|}}}|&amp;lt;!--&lt;br /&gt;
   --&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td style=&amp;quot;text-align: right; &amp;lt;!--&lt;br /&gt;
         --&amp;gt;background-color: {{#if:{{{background-color|}}}|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{{background-color}}}|whitesmoke}}; &amp;lt;!--&lt;br /&gt;
         --&amp;gt;padding-right: 1em;&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{{source}}}&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
   --&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;|&amp;lt;!--&lt;br /&gt;
   --&amp;gt;{{#if:{{{2|}}}|&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;!--&lt;br /&gt;
         --&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
         --&amp;gt;&amp;lt;td style=&amp;quot;text-align: right; &amp;lt;!--&lt;br /&gt;
            --&amp;gt;background-color: {{#if:{{{background-color|}}}|&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{{background-color}}}|whitesmoke}}; &amp;lt;!--&lt;br /&gt;
            --&amp;gt;padding-right: 1em;&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{{2}}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
         --&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;!--&lt;br /&gt;
   --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/table&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Template:QuoteBox&amp;diff=582</id>
		<title>Template:QuoteBox</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Template:QuoteBox&amp;diff=582"/>
		<updated>2026-04-02T07:38:27Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;table style=&amp;quot;width: 100%; &amp;lt;!--&lt;br /&gt;
   --&amp;gt;border-collapse: collapse;&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
   --&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td style=&amp;quot;&amp;lt;!--&lt;br /&gt;
         --&amp;gt;width: {{#if:{{{side-margin|}}}|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{{side-margin}}}|5em}};&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td style=&amp;quot;&amp;lt;!--&lt;br /&gt;
          --&amp;gt;text-align: {{#if:{{{align|}}}|{{{align}}}|center}}; &amp;lt;!--&lt;br /&gt;
          --&amp;gt;{{#if:{{{border|}}}|border: solid 1px &amp;lt;!--&lt;br /&gt;
          --&amp;gt;{{#if:{{{border-color|}}}|{{{border-color}}}}};}}&amp;lt;!--&lt;br /&gt;
          --&amp;gt;background-color: {{#if:{{{background-color|}}}|&amp;lt;!--&lt;br /&gt;
          --&amp;gt;{{{background-color}}}|whitesmoke}}; &amp;lt;!--&lt;br /&gt;
          --&amp;gt;padding: {{#if:{{{padding|}}}|{{{padding}}}|2em}};&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
          --&amp;gt;&amp;lt;i&amp;gt;&amp;quot;{{{1}}}&amp;quot;&amp;lt;/i&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td style=&amp;quot;&amp;lt;!--&lt;br /&gt;
         --&amp;gt;width: {{#if:{{{side-margin|}}}|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{{side-margin}}}|5em}};&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
   --&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#if:{{{2|}}}|&amp;lt;!--&lt;br /&gt;
   --&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td style=&amp;quot;text-align: right; &amp;lt;!--&lt;br /&gt;
         --&amp;gt;background-color: {{#if:{{{background-color|}}}|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{{background-color}}}|whitesmoke}}; &amp;lt;!--&lt;br /&gt;
         --&amp;gt;padding-right: 1em;&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{{2}}}&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
   --&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/table&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Template:QuoteBox&amp;diff=581</id>
		<title>Template:QuoteBox</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Template:QuoteBox&amp;diff=581"/>
		<updated>2026-04-02T07:00:09Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;table style=&amp;quot;width: 100%; &amp;lt;!--&lt;br /&gt;
   --&amp;gt;border-collapse: collapse;&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
   --&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td style=&amp;quot;width: 5em;&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td style=&amp;quot;text-align: {{#if:{{{align|}}}|{{{align}}}|center}}; &amp;lt;!--&lt;br /&gt;
          --&amp;gt;{{#if:{{{border|}}}|border: solid 1px &amp;lt;!--&lt;br /&gt;
          --&amp;gt;{{#if:{{{border-color|}}}|{{{border-color}}}}};}}&amp;lt;!--&lt;br /&gt;
          --&amp;gt;background-color: {{#if:{{{background-color|}}}|&amp;lt;!--&lt;br /&gt;
          --&amp;gt;{{{background-color}}}|whitesmoke}}; &amp;lt;!--&lt;br /&gt;
          --&amp;gt;padding: {{#if:{{{padding|}}}|{{{padding}}}|2em}};&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
          --&amp;gt;&amp;lt;i&amp;gt;&amp;quot;{{{1}}}&amp;quot;&amp;lt;/i&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td style=&amp;quot;width: 5em;&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
   --&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#if:{{{2|}}}|&amp;lt;!--&lt;br /&gt;
   --&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td style=&amp;quot;text-align: right; &amp;lt;!--&lt;br /&gt;
         --&amp;gt;background-color: {{#if:{{{background-color|}}}|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{{background-color}}}|whitesmoke}}; &amp;lt;!--&lt;br /&gt;
         --&amp;gt;padding-right: 1em;&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{{2}}}&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
   --&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/table&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Template:NumEqn&amp;diff=580</id>
		<title>Template:NumEqn</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Template:NumEqn&amp;diff=580"/>
		<updated>2026-04-02T06:56:24Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;includeonly&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;{{#if:{{{nonumber|}}}||&amp;lt;!--&lt;br /&gt;
   --&amp;gt;{{#if:{{{number|}}}|&amp;lt;!--&lt;br /&gt;
      --&amp;gt;{{#vardefine:leqno|{{{number}}}}}|&amp;lt;!--&lt;br /&gt;
   --&amp;gt;{{#if:{{{3|}}}|&amp;lt;!--&lt;br /&gt;
      --&amp;gt;{{#vardefine:leqno|{{{3}}}}}|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{#var:eqno}}|&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{#vardefine:eqno|&amp;lt;!--&lt;br /&gt;
               --&amp;gt;{{#expr:{{#var:eqno}}+1}}&amp;lt;!--&lt;br /&gt;
            --&amp;gt;}}|&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{#vardefine:eqno|1}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{#var:secno}}|&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{#vardefine:leqno|&amp;lt;!--&lt;br /&gt;
               --&amp;gt;{{#var:secno}}.{{#var:eqno}}&amp;lt;!--&lt;br /&gt;
            --&amp;gt;}}|&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{#vardefine:leqno|&amp;lt;!--&lt;br /&gt;
               --&amp;gt;{{#var:eqno}}&amp;lt;!--&lt;br /&gt;
            --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
      --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
   --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
   --&amp;gt;{{#if:{{{noprefix|}}}||&amp;lt;!--&lt;br /&gt;
      --&amp;gt;{{#if:{{{prefix|}}}|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#vardefine:leqno|&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{{prefix}}} {{#var:leqno}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
      --&amp;gt;|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{#var:eqprefix}}|&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{#vardefine:leqno|&amp;lt;!--&lt;br /&gt;
               --&amp;gt;{{#var:eqprefix}} {{#var:leqno}}&amp;lt;!--&lt;br /&gt;
            --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;|&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{#vardefine:leqno|&amp;lt;!--&lt;br /&gt;
               --&amp;gt;Eq. {{#var:leqno}}&amp;lt;!--&lt;br /&gt;
            --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
      --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
   --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;}}&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;table style=&amp;quot;width: 100%;{{#if:{{{noborder|}}}||&amp;lt;!--&lt;br /&gt;
   --&amp;gt;{{#if:{{{border|}}}|&amp;lt;!--&lt;br /&gt;
   --&amp;gt;border: 1px solid {{#if:{{{border-color|}}}|&amp;lt;!--&lt;br /&gt;
   --&amp;gt;{{{border-color}}}|}};|{{#if:{{{infobox|}}}|&amp;lt;!--&lt;br /&gt;
   --&amp;gt;border: 1px solid {{#if:{{{border-color|}}}|&amp;lt;!--&lt;br /&gt;
   --&amp;gt;{{{border-color}}}|}};}}}}}}border-collapse: collapse;&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
   --&amp;gt;&amp;lt;tr {{#if:{{{background-color|}}}|&amp;lt;!--&lt;br /&gt;
      --&amp;gt;style=&amp;quot;background-color: {{{background-color}}};&amp;quot;|&amp;lt;!--&lt;br /&gt;
      --&amp;gt;{{#if:{{{infobox|}}}|style=&amp;quot;background-color: whitesmoke;&amp;quot;}}}}&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td &amp;lt;!--&lt;br /&gt;
         ... left cell css ...&lt;br /&gt;
         --&amp;gt;style=&amp;quot;width: {{#if:{{{numw|}}}|{{{numw}}}|5em}}; &amp;lt;!--&lt;br /&gt;
         --&amp;gt;padding-left: 0.5em; &amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{{inner-border|}}}|border: 1px solid &amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{{border-color|}}}|{{{border-color}}}|}};}}&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
         --&amp;gt;&amp;lt;span {{#if:{{{color|}}}|style=&amp;quot;color: {{{color}}};&amp;quot;|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{{infobox|}}}|style=&amp;quot;color: steelblue;&amp;quot;}}}}&amp;gt;&amp;lt;!--&lt;br /&gt;
         ... left cell content (if applicable) ...&lt;br /&gt;
         --&amp;gt;{{#if:{{{description|}}}|{{{description}}}}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td &amp;lt;!-- &lt;br /&gt;
         ... equation cell css ...&lt;br /&gt;
         --&amp;gt;style=&amp;quot;padding: {{#if:{{{padding|}}}|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{{padding}}};|{{#if:{{{infobox|}}}|2.0em;|0.5em;}}}} &amp;lt;!--&lt;br /&gt;
         --&amp;gt;text-align: {{#if:{{{align|}}}|{{{align}}}|center}};&amp;lt;!--      &lt;br /&gt;
         --&amp;gt;{{#if:{{{inner-border|}}}|border: 1px solid &amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{{border-color|}}}|{{{border-color}}}|}};&amp;quot;}}&amp;gt;&amp;lt;!--&lt;br /&gt;
         --&amp;gt;&amp;lt;span {{#if:{{{color|}}}|style=&amp;quot;color: {{{color}}};&amp;quot;|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{{infobox|}}}|style=&amp;quot;color: steelblue;&amp;quot;}}}}&amp;gt;&amp;lt;!--&lt;br /&gt;
         ... equation cell content ...&lt;br /&gt;
         --&amp;gt;{{{1}}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td &amp;lt;!-- &lt;br /&gt;
         ... number cell css ...&lt;br /&gt;
         --&amp;gt;style=&amp;quot;width: {{#if:{{{numw|}}}|{{{numw}}}|5em}}; &amp;lt;!--&lt;br /&gt;
         --&amp;gt;padding-right: 0.5em; &amp;lt;!--&lt;br /&gt;
         --&amp;gt;text-align: right; vertical-align: middle; &amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{{inner-border|}}}|border: 1px solid &amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{{border-color|}}}|{{{border-color}}}|}};}}&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
         --&amp;gt;&amp;lt;span {{#if:{{{color|}}}|style=&amp;quot;color: {{{color}}};&amp;quot;|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{{infobox|}}}|style=&amp;quot;color: steelblue;&amp;quot;}}}}&amp;gt;&amp;lt;!--&lt;br /&gt;
         ... number cell content ...&lt;br /&gt;
         --&amp;gt;{{#if:{{{nonumber|}}}||&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{#if:{{{label|}}}|&amp;lt;!--&lt;br /&gt;
               --&amp;gt;{{#if:{{{number|}}}|&amp;lt;!--&lt;br /&gt;
                  --&amp;gt;{{EquationRef&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|{{{label}}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|{{#var:leqno}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|nopar={{{nopar|}}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|spar={{{spar|}}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|wpar={{{wpar|}}}&amp;lt;!--&lt;br /&gt;
                  --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
               --&amp;gt;|&amp;lt;!--&lt;br /&gt;
                  --&amp;gt;{{EquationRef&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|{{{label}}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|{{#var:leqno}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|nopar={{{nopar|}}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|spar={{{spar|}}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|wpar={{{wpar|}}}&amp;lt;!--&lt;br /&gt;
                  --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
               --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
           --&amp;gt;|&amp;lt;!--&lt;br /&gt;
              --&amp;gt;{{#if:{{{number|}}}|&amp;lt;!--&lt;br /&gt;
                 --&amp;gt;{{EquationRef&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;|{{#var:leqno}}&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;|nopar={{{nopar|}}}&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;|spar={{{spar|}}}&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;|wpar={{{wpar|}}}&amp;lt;!--&lt;br /&gt;
                 --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
              --&amp;gt;|&amp;lt;!--&lt;br /&gt;
                 --&amp;gt;{{#if:{{{3|}}}|&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;{{EquationRef&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;|{{{2}}}&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;|{{#var:leqno}}&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;|nopar={{{nopar|}}}&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;|spar={{{spar|}}}&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;|wpar={{{wpar|}}}&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
                 --&amp;gt;|&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;{{#if:{{{2|}}}|&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;{{EquationRef&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|{{{2}}}&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|{{#var:leqno}}&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|nopar={{{nopar|}}}&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|spar={{{spar|}}}&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|wpar={{{wpar|}}}&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;|&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;{{EquationRef&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|{{#var:leqno}}&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|nopar={{{nopar|}}}&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|spar={{{spar|}}}&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|wpar={{{wpar|}}}&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
                   --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
                --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
             --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
          --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
   --&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/table&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/includeonly&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- old versions in Template:NumEqnOld --&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Template:QuoteBox&amp;diff=579</id>
		<title>Template:QuoteBox</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Template:QuoteBox&amp;diff=579"/>
		<updated>2026-04-02T06:52:43Z</updated>

		<summary type="html">&lt;p&gt;Nian: Created page with &amp;quot;&amp;lt;!-- --&amp;gt;&amp;lt;table style=&amp;quot;width: 100%; &amp;lt;!--    --&amp;gt;{{#if:{{{border|}}}|border: solid 1px;}} &amp;lt;!--    --&amp;gt;border-collapse: collapse;&amp;quot;&amp;gt;&amp;lt;!--    --&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;!--       --&amp;gt;&amp;lt;td style=&amp;quot;width: 5em;&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--       --&amp;gt;&amp;lt;td style=&amp;quot;text-align: {{#if:{{{align|}}}|{{{align}}}|center}}; &amp;lt;!--           --&amp;gt;background-color: {{#if:{{{background-color|}}}|&amp;lt;!--           --&amp;gt;{{{background-color}}}|whitesmoke}}; &amp;lt;!--           --&amp;gt;padding: {{#if:{{{padding|}}}|{{{padding}}}|2em}};&amp;quot;&amp;gt;&amp;lt;!--           --&amp;gt;&amp;lt;i&amp;gt;&amp;quot;...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;table style=&amp;quot;width: 100%; &amp;lt;!--&lt;br /&gt;
   --&amp;gt;{{#if:{{{border|}}}|border: solid 1px;}} &amp;lt;!--&lt;br /&gt;
   --&amp;gt;border-collapse: collapse;&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
   --&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td style=&amp;quot;width: 5em;&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td style=&amp;quot;text-align: {{#if:{{{align|}}}|{{{align}}}|center}}; &amp;lt;!--&lt;br /&gt;
          --&amp;gt;background-color: {{#if:{{{background-color|}}}|&amp;lt;!--&lt;br /&gt;
          --&amp;gt;{{{background-color}}}|whitesmoke}}; &amp;lt;!--&lt;br /&gt;
          --&amp;gt;padding: {{#if:{{{padding|}}}|{{{padding}}}|2em}};&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
          --&amp;gt;&amp;lt;i&amp;gt;&amp;quot;{{{1}}}&amp;quot;&amp;lt;/i&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td style=&amp;quot;width: 5em;&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
   --&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#if:{{{2|}}}|&amp;lt;!--&lt;br /&gt;
   --&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td style=&amp;quot;text-align: right; &amp;lt;!--&lt;br /&gt;
         --&amp;gt;background-color: {{#if:{{{background-color|}}}|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{{background-color}}}|whitesmoke}}; &amp;lt;!--&lt;br /&gt;
         --&amp;gt;padding-right: 1em;&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{{2}}}&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
   --&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/table&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Template:Eqn&amp;diff=578</id>
		<title>Template:Eqn</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Template:Eqn&amp;diff=578"/>
		<updated>2026-04-01T19:32:40Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{NumEqn&amp;lt;!--&lt;br /&gt;
--&amp;gt;|1={{{1|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|2={{{2|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|3={{{3|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|label={{{label|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|border={{{border|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|noborder={{{noborder|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|border-color={{{border-color|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|color={{{color|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|infobox={{{infobox|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|background-color={{{background-color|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|inner-border={{{inner-border|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|description={{{description|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|padding={{{padding|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|align={{{align|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|numw={{{numw|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|nonumber=1&amp;lt;!--&lt;br /&gt;
--&amp;gt;}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Template:InfoBox&amp;diff=577</id>
		<title>Template:InfoBox</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Template:InfoBox&amp;diff=577"/>
		<updated>2026-04-01T19:25:21Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{NumEqn&amp;lt;!--&lt;br /&gt;
--&amp;gt;|1={{{1|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|2={{{2|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|3={{{3|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|label={{{label|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|nonumber=1&amp;lt;!--&lt;br /&gt;
--&amp;gt;|numw={{#if:{{{numw|}}}|{{{numw}}}|2em}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|infobox=1&amp;lt;!--&lt;br /&gt;
--&amp;gt;|description={{{description|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|noborder={{{noborder|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|innerborder={{{innerborder|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|border={{{border|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|border-color={{{border-color|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|color={{{color|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|background-color={{{background-color|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|padding={{{padding|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|align={{{align|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Template:OpenInfoBox&amp;diff=576</id>
		<title>Template:OpenInfoBox</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Template:OpenInfoBox&amp;diff=576"/>
		<updated>2026-04-01T19:24:53Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{InfoBox&amp;lt;!--&lt;br /&gt;
--&amp;gt;|1={{{1|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|2={{{2|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|3={{{3|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|label={{{label|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|description={{{description|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|noborder=1&amp;lt;!--&lt;br /&gt;
--&amp;gt;|numw={{#if:{{{numw|}}}|{{{numw}}}|6em}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|innerborder={{{innerborder|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|border-color={{{border-color|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|color={{{color|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|background-color={{{background-color|}}}&amp;lt;!---&lt;br /&gt;
--&amp;gt;|padding={{{padding|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|align={{{align|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Template:InfoBox&amp;diff=575</id>
		<title>Template:InfoBox</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Template:InfoBox&amp;diff=575"/>
		<updated>2026-04-01T19:23:30Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{NumEqn&amp;lt;!--&lt;br /&gt;
--&amp;gt;|1={{{1|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|2={{{2|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|3={{{3|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|label={{{label|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|nonumber=1&amp;lt;!--&lt;br /&gt;
--&amp;gt;|numw={{#if:{{{numw|}}}|{{{numw}}}|2em}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|infobox=1&amp;lt;!--&lt;br /&gt;
--&amp;gt;|description={{{description|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|noborder={{{noborder|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|innerborder={{{innerborder|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|border={{{border|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|border-color={{{border-color|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|color={{{color|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|background-color={{{background-color|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|inner-border={{{inner-border|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|padding={{{padding|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|align={{{align|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Template:Eqn&amp;diff=574</id>
		<title>Template:Eqn</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Template:Eqn&amp;diff=574"/>
		<updated>2026-04-01T19:05:43Z</updated>

		<summary type="html">&lt;p&gt;Nian: Created page with &amp;quot;&amp;lt;!-- --&amp;gt;{{NumEqn&amp;lt;!-- --&amp;gt;|1={{{1|}}}&amp;lt;!-- --&amp;gt;|1={{{2|}}}&amp;lt;!-- --&amp;gt;|1={{{3|}}}&amp;lt;!-- --&amp;gt;|1={{{label|}}}&amp;lt;!-- --&amp;gt;|border={{{border|}}}&amp;lt;!-- --&amp;gt;|noborder={{{noborder|}}}&amp;lt;!-- --&amp;gt;|border-color={{{border-color|}}}&amp;lt;!-- --&amp;gt;|color={{{color|}}}&amp;lt;!-- --&amp;gt;|infobox={{{infobox|}}}&amp;lt;!-- --&amp;gt;|background-color={{{background-color|}}}&amp;lt;!-- --&amp;gt;|inner-border={{{inner-border|}}}&amp;lt;!-- --&amp;gt;|description={{{description|}}}&amp;lt;!-- --&amp;gt;|padding={{{padding|}}}&amp;lt;!-- --&amp;gt;|align={{{align|}}}&amp;lt;!-- --&amp;gt;|numw={{{numw|}}}&amp;lt;!-- -...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{NumEqn&amp;lt;!--&lt;br /&gt;
--&amp;gt;|1={{{1|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|1={{{2|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|1={{{3|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|1={{{label|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|border={{{border|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|noborder={{{noborder|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|border-color={{{border-color|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|color={{{color|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|infobox={{{infobox|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|background-color={{{background-color|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|inner-border={{{inner-border|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|description={{{description|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|padding={{{padding|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|align={{{align|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|numw={{{numw|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|nonumber=1&amp;lt;!--&lt;br /&gt;
--&amp;gt;}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=The_Q1D_equations&amp;diff=573</id>
		<title>The Q1D equations</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=The_Q1D_equations&amp;diff=573"/>
		<updated>2026-04-01T18:53:07Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Compressible flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Quasi-one-dimensional flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Inviscid flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Compressible flow:Topic]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;nomobile&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;__TOC__&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/nomobile&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#vardefine:secno|5}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#vardefine:eqno|0}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
=== Governing Equations ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
\begin{figure}[ht!]&lt;br /&gt;
\begin{center}&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter06/pdf/control-volume.pdf}&lt;br /&gt;
\caption{Quasi-one-dimensional flow - control volume}&lt;br /&gt;
\label{fig:cv}&lt;br /&gt;
\end{center}&lt;br /&gt;
\end{figure}&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following quasi-one-dimensional flow will be assumed. That means that the cross-section is allowed to vary smoothly but flow quantities varies in one direction only. The equations that are derived will thus describe one-dimensional flow in axisymmetric tubes. Let&#039;s assume flow in the &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;-direction, which means that all flow quantities and the cross-section area will vary with the axial coordinate &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
A=A(x),\ \rho=\rho(x),\ u=u(x),\ p=p(x),\ ...&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
We will further assume steady-state flow, which means that unsteady terms will be zero.&lt;br /&gt;
&lt;br /&gt;
The equations are derived with the starting point in the governing flow equations on integral form&lt;br /&gt;
&lt;br /&gt;
==== Continuity Equation ====&lt;br /&gt;
&lt;br /&gt;
Applying the integral form of the continuity equation on the quasi-one-dimensional flow control volume (Fig. \ref{fig:cv}) gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\underbrace{\frac{d}{dt}\iiint_{\Omega}\rho d{V}}_{=0}+\iint_{\partial \Omega}\rho {\mathbf{v}}\cdot {\mathbf{n}}dS=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iint_{\partial \Omega}\rho {\mathbf{v}}\cdot {\mathbf{n}}dS=-\rho_1 u_1 A_1+\rho_2 u_2 A_2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho_1 u_1 A_1=\rho_2 u_2 A_2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
==== Momentum Equation ====&lt;br /&gt;
&lt;br /&gt;
Applying the integral form of the momentum equation on the quasi-one-dimensional flow control volume (Fig. \ref{fig:cv}) gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\underbrace{\frac{d}{dt}\iiint_{\Omega}\rho{\mathbf{v}} d{V}}_{=0}+\iint_{\partial \Omega}\left[\rho ({\mathbf{v}}\cdot {\mathbf{n}}){\mathbf{v}}+p{\mathbf{n}}\right]dS=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iint_{\partial \Omega} \rho ({\mathbf{v}}\cdot {\mathbf{n}}){\mathbf{v}}dS=-\rho_1u_1^2A_1+\rho_2u_2^2A_2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iint_{\partial \Omega} p{\mathbf{n}}dS=-p_1A_1+p_2A_2-\int_{A_1}^{A_2}pdA&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
collecting terms&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\left(\rho_1u_1^2+p_1\right)A_1+\int_{A_1}^{A_2}pdA=\left(\rho_2u_2^2+p_2\right)A_2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
==== Energy Equation ====&lt;br /&gt;
&lt;br /&gt;
Applying the integral form of the energy equation on the quasi-one-dimensional flow control volume (Fig. \ref{fig:cv}) gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\underbrace{\frac{d}{dt}\iiint_{\Omega}\rho e_o d{V}}_{=0}+\iint_{\partial \Omega}\left[\rho h_o ({\mathbf{v}}\cdot{\mathbf{n}})\right]dS=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iint_{\partial \Omega}\left[\rho h_o ({\mathbf{v}}\cdot{\mathbf{n}})\right]dS=-\rho_1u_1h_{o_1}A_1+\rho_2u_2h_{o_2}A_2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho_1u_1h_{o_1}A_1=\rho_2u_2h_{o_2}A_2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Now, using the continuity equation &amp;lt;math&amp;gt;\rho_1u_1A_1=\rho_2u_2A_2&amp;lt;/math&amp;gt; gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
h_{o_1}=h_{o_2}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
==== Differential Form ====&lt;br /&gt;
&lt;br /&gt;
The integral term appearing the momentum equation is undesired and therefore the governing equations are converted to differential form.&lt;br /&gt;
&lt;br /&gt;
The continuity equation (Eqn. \ref{eq:governing:cont:b}) is rewritten in differential form as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho_1u_1A_1=\rho_2u_2A_2=const&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
d(\rho uA)=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
The momentum equation (Eqn. \ref{eq:governing:mom:b}) is rewritten in differential form as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\left(\rho_1u_1^2+p_1\right)A_1+\int_{A_1}^{A_2}pdA=\left(\rho_2u_2^2+p_2\right)A_2\Rightarrow d\left[(\rho u^2+p)A\right]=pdA&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
d(\rho u^2A)+d(pA)=pdA&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
ud(\rho uA)+\rho uAdu+Adp+\cancel{pdA}=\cancel{pdA}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
From the continuity equation we have &amp;lt;math&amp;gt;d(\rho uA)&amp;lt;/math&amp;gt; and thus&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho u\cancel{A}du+\cancel{A}dp=0\Rightarrow&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
dp=-\rho udu&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
which is the momentum equation on differential form. Also referred to as Euler&#039;s equation. Finally, the energy equation (Eqn. \ref{eq:governing:cont:b}) is rewritten in differential form as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
h_{o_1}=h_{o_2}=const\Rightarrow dh_o=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
h_o=h+\frac{1}{2}u^2\Rightarrow dh+\frac{1}{2}d(u^2)=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
dh+udu=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
==== Summary ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid;&amp;quot;&amp;gt;&lt;br /&gt;
{{OpenInfoBox|&amp;lt;math&amp;gt;&lt;br /&gt;
d(\rho uA)=0&lt;br /&gt;
&amp;lt;/math&amp;gt;|description=Continuity:}}&lt;br /&gt;
&lt;br /&gt;
{{OpenInfoBox|&amp;lt;math&amp;gt;&lt;br /&gt;
dp=-\rho udu&lt;br /&gt;
&amp;lt;/math&amp;gt;|description=Momentum:}}&lt;br /&gt;
&lt;br /&gt;
{{OpenInfoBox|&amp;lt;math&amp;gt;&lt;br /&gt;
dh+udu=0&lt;br /&gt;
&amp;lt;/math&amp;gt;|description=Energy:}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The equations are valid for:&lt;br /&gt;
&lt;br /&gt;
* quasi-one-dimensional flow&lt;br /&gt;
* steady state&lt;br /&gt;
* all gas models (no gas model assumptions made)&lt;br /&gt;
* inviscid flow&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It should be noted that equations are exact but they are applied to a physical model that is approximate, i.e., the approximation that flow quantities varies in one dimension with a varying cross-section area. In reality, a variation of cross-section area would imply flow in three dimensions.&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Template:OpenInfoBox&amp;diff=572</id>
		<title>Template:OpenInfoBox</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Template:OpenInfoBox&amp;diff=572"/>
		<updated>2026-04-01T18:52:47Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{InfoBox&amp;lt;!--&lt;br /&gt;
--&amp;gt;|1={{{1|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|2={{{2|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|3={{{3|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|label={{{label|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|description={{{description|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|innerborder={{{innerborder|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|noborder=1&amp;lt;!--&lt;br /&gt;
--&amp;gt;|numw=6em&amp;lt;!--&lt;br /&gt;
--&amp;gt;}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Template:OpenInfoBox&amp;diff=571</id>
		<title>Template:OpenInfoBox</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Template:OpenInfoBox&amp;diff=571"/>
		<updated>2026-04-01T18:52:05Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{InfoBox&amp;lt;!--&lt;br /&gt;
--&amp;gt;|1={{{1|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|2={{{2|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|3={{{3|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|label={{{label|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|description={{{description|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|noborder=1&amp;lt;!--&lt;br /&gt;
--&amp;gt;|numw=6em&amp;lt;!--&lt;br /&gt;
--&amp;gt;}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Template:InfoBox&amp;diff=570</id>
		<title>Template:InfoBox</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Template:InfoBox&amp;diff=570"/>
		<updated>2026-04-01T18:51:52Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{NumEqn&amp;lt;!--&lt;br /&gt;
--&amp;gt;|1={{{1|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|2={{{2|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|3={{{3|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|label={{{label|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|nonumber=1&amp;lt;!--&lt;br /&gt;
--&amp;gt;|numw={{#if:{{{numw|}}}|{{{numw}}}|2em}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|infobox=1&amp;lt;!--&lt;br /&gt;
--&amp;gt;|description={{{description|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|noborder={{{noborder|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|innerborder={{{innerborder|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Template:OpenInfoBox&amp;diff=569</id>
		<title>Template:OpenInfoBox</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Template:OpenInfoBox&amp;diff=569"/>
		<updated>2026-04-01T18:50:14Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{InfoBox&amp;lt;!--&lt;br /&gt;
--&amp;gt;|1={{{1|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|2={{{2|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|3={{{3|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|label={{{label|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|description={{{description|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|noborder=0&amp;lt;!--&lt;br /&gt;
--&amp;gt;|numw=6em&amp;lt;!--&lt;br /&gt;
--&amp;gt;}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Template:InfoBox&amp;diff=568</id>
		<title>Template:InfoBox</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Template:InfoBox&amp;diff=568"/>
		<updated>2026-04-01T18:49:41Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{NumEqn&amp;lt;!--&lt;br /&gt;
--&amp;gt;|1={{{1|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|2={{{2|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|3={{{3|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|label={{{label|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|nonumber=1&amp;lt;!--&lt;br /&gt;
--&amp;gt;|numw={{#if:{{{numw|}}}|{{{numw}}}|2em}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|infobox=1&amp;lt;!--&lt;br /&gt;
--&amp;gt;|description={{{description|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|noborder={{{noborder|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|inner-border=1&amp;lt;!--&lt;br /&gt;
--&amp;gt;}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Template:OpenInfoBox&amp;diff=567</id>
		<title>Template:OpenInfoBox</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Template:OpenInfoBox&amp;diff=567"/>
		<updated>2026-04-01T18:48:41Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{InfoBox&amp;lt;!--&lt;br /&gt;
--&amp;gt;|1={{{1|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|2={{{2|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|3={{{3|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|label={{{label|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|description={{{description|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|noborder=0&amp;lt;!--&lt;br /&gt;
--&amp;gt;|numw=5em&amp;lt;!--&lt;br /&gt;
--&amp;gt;}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=The_Q1D_equations&amp;diff=566</id>
		<title>The Q1D equations</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=The_Q1D_equations&amp;diff=566"/>
		<updated>2026-04-01T18:46:02Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Compressible flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Quasi-one-dimensional flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Inviscid flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Compressible flow:Topic]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;nomobile&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;__TOC__&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/nomobile&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#vardefine:secno|5}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#vardefine:eqno|0}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
=== Governing Equations ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
\begin{figure}[ht!]&lt;br /&gt;
\begin{center}&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter06/pdf/control-volume.pdf}&lt;br /&gt;
\caption{Quasi-one-dimensional flow - control volume}&lt;br /&gt;
\label{fig:cv}&lt;br /&gt;
\end{center}&lt;br /&gt;
\end{figure}&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following quasi-one-dimensional flow will be assumed. That means that the cross-section is allowed to vary smoothly but flow quantities varies in one direction only. The equations that are derived will thus describe one-dimensional flow in axisymmetric tubes. Let&#039;s assume flow in the &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;-direction, which means that all flow quantities and the cross-section area will vary with the axial coordinate &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
A=A(x),\ \rho=\rho(x),\ u=u(x),\ p=p(x),\ ...&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
We will further assume steady-state flow, which means that unsteady terms will be zero.&lt;br /&gt;
&lt;br /&gt;
The equations are derived with the starting point in the governing flow equations on integral form&lt;br /&gt;
&lt;br /&gt;
==== Continuity Equation ====&lt;br /&gt;
&lt;br /&gt;
Applying the integral form of the continuity equation on the quasi-one-dimensional flow control volume (Fig. \ref{fig:cv}) gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\underbrace{\frac{d}{dt}\iiint_{\Omega}\rho d{V}}_{=0}+\iint_{\partial \Omega}\rho {\mathbf{v}}\cdot {\mathbf{n}}dS=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iint_{\partial \Omega}\rho {\mathbf{v}}\cdot {\mathbf{n}}dS=-\rho_1 u_1 A_1+\rho_2 u_2 A_2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho_1 u_1 A_1=\rho_2 u_2 A_2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
==== Momentum Equation ====&lt;br /&gt;
&lt;br /&gt;
Applying the integral form of the momentum equation on the quasi-one-dimensional flow control volume (Fig. \ref{fig:cv}) gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\underbrace{\frac{d}{dt}\iiint_{\Omega}\rho{\mathbf{v}} d{V}}_{=0}+\iint_{\partial \Omega}\left[\rho ({\mathbf{v}}\cdot {\mathbf{n}}){\mathbf{v}}+p{\mathbf{n}}\right]dS=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iint_{\partial \Omega} \rho ({\mathbf{v}}\cdot {\mathbf{n}}){\mathbf{v}}dS=-\rho_1u_1^2A_1+\rho_2u_2^2A_2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iint_{\partial \Omega} p{\mathbf{n}}dS=-p_1A_1+p_2A_2-\int_{A_1}^{A_2}pdA&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
collecting terms&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\left(\rho_1u_1^2+p_1\right)A_1+\int_{A_1}^{A_2}pdA=\left(\rho_2u_2^2+p_2\right)A_2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
==== Energy Equation ====&lt;br /&gt;
&lt;br /&gt;
Applying the integral form of the energy equation on the quasi-one-dimensional flow control volume (Fig. \ref{fig:cv}) gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\underbrace{\frac{d}{dt}\iiint_{\Omega}\rho e_o d{V}}_{=0}+\iint_{\partial \Omega}\left[\rho h_o ({\mathbf{v}}\cdot{\mathbf{n}})\right]dS=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iint_{\partial \Omega}\left[\rho h_o ({\mathbf{v}}\cdot{\mathbf{n}})\right]dS=-\rho_1u_1h_{o_1}A_1+\rho_2u_2h_{o_2}A_2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho_1u_1h_{o_1}A_1=\rho_2u_2h_{o_2}A_2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Now, using the continuity equation &amp;lt;math&amp;gt;\rho_1u_1A_1=\rho_2u_2A_2&amp;lt;/math&amp;gt; gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
h_{o_1}=h_{o_2}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
==== Differential Form ====&lt;br /&gt;
&lt;br /&gt;
The integral term appearing the momentum equation is undesired and therefore the governing equations are converted to differential form.&lt;br /&gt;
&lt;br /&gt;
The continuity equation (Eqn. \ref{eq:governing:cont:b}) is rewritten in differential form as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho_1u_1A_1=\rho_2u_2A_2=const&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
d(\rho uA)=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
The momentum equation (Eqn. \ref{eq:governing:mom:b}) is rewritten in differential form as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\left(\rho_1u_1^2+p_1\right)A_1+\int_{A_1}^{A_2}pdA=\left(\rho_2u_2^2+p_2\right)A_2\Rightarrow d\left[(\rho u^2+p)A\right]=pdA&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
d(\rho u^2A)+d(pA)=pdA&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
ud(\rho uA)+\rho uAdu+Adp+\cancel{pdA}=\cancel{pdA}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
From the continuity equation we have &amp;lt;math&amp;gt;d(\rho uA)&amp;lt;/math&amp;gt; and thus&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho u\cancel{A}du+\cancel{A}dp=0\Rightarrow&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
dp=-\rho udu&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
which is the momentum equation on differential form. Also referred to as Euler&#039;s equation. Finally, the energy equation (Eqn. \ref{eq:governing:cont:b}) is rewritten in differential form as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
h_{o_1}=h_{o_2}=const\Rightarrow dh_o=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
h_o=h+\frac{1}{2}u^2\Rightarrow dh+\frac{1}{2}d(u^2)=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
dh+udu=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
==== Summary ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid;&amp;quot;&amp;gt;&lt;br /&gt;
{{InfoBox|&amp;lt;math&amp;gt;&lt;br /&gt;
d(\rho uA)=0&lt;br /&gt;
&amp;lt;/math&amp;gt;|description=Continuity:}}&lt;br /&gt;
&lt;br /&gt;
{{OpenInfoBox|&amp;lt;math&amp;gt;&lt;br /&gt;
dp=-\rho udu&lt;br /&gt;
&amp;lt;/math&amp;gt;|description=Momentum:}}&lt;br /&gt;
&lt;br /&gt;
{{InfoBox|&amp;lt;math&amp;gt;&lt;br /&gt;
dh+udu=0&lt;br /&gt;
&amp;lt;/math&amp;gt;|description=Energy:}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The equations are valid for:&lt;br /&gt;
&lt;br /&gt;
* quasi-one-dimensional flow&lt;br /&gt;
* steady state&lt;br /&gt;
* all gas models (no gas model assumptions made)&lt;br /&gt;
* inviscid flow&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It should be noted that equations are exact but they are applied to a physical model that is approximate, i.e., the approximation that flow quantities varies in one dimension with a varying cross-section area. In reality, a variation of cross-section area would imply flow in three dimensions.&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Template:OpenInfoBox&amp;diff=565</id>
		<title>Template:OpenInfoBox</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Template:OpenInfoBox&amp;diff=565"/>
		<updated>2026-04-01T18:45:05Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{InfoBox&amp;lt;!--&lt;br /&gt;
--&amp;gt;|1={{{1|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|2={{{2|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|3={{{3|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|label={{{label|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|description={{{description|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|noborder=0&amp;lt;!--&lt;br /&gt;
--&amp;gt;|numw=3em&amp;lt;!--&lt;br /&gt;
--&amp;gt;}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Template:OpenInfoBox&amp;diff=564</id>
		<title>Template:OpenInfoBox</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Template:OpenInfoBox&amp;diff=564"/>
		<updated>2026-04-01T18:44:22Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{InfoBox&amp;lt;!--&lt;br /&gt;
--&amp;gt;|1={{{1|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|2={{{2|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|3={{{3|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|label={{{label|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|description={{{description|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|noborder=0&amp;lt;!--&lt;br /&gt;
--&amp;gt;|numw=4em&amp;lt;!--&lt;br /&gt;
--&amp;gt;}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Template:InfoBox&amp;diff=563</id>
		<title>Template:InfoBox</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Template:InfoBox&amp;diff=563"/>
		<updated>2026-04-01T18:43:24Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{NumEqn&amp;lt;!--&lt;br /&gt;
--&amp;gt;|1={{{1|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|2={{{2|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|3={{{3|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|label={{{label|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|nonumber=1&amp;lt;!--&lt;br /&gt;
--&amp;gt;|numw={{#if:{{{numw|}}}|{{{numb}}}|2em}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|infobox=1&amp;lt;!--&lt;br /&gt;
--&amp;gt;|description={{{description|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|noborder={{{noborder|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|inner-border=1&amp;lt;!--&lt;br /&gt;
--&amp;gt;}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Template:OpenInfoBox&amp;diff=562</id>
		<title>Template:OpenInfoBox</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Template:OpenInfoBox&amp;diff=562"/>
		<updated>2026-04-01T18:41:20Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{InfoBox&amp;lt;!--&lt;br /&gt;
--&amp;gt;|1={{{1|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|2={{{2|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|3={{{3|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|label={{{label|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|description={{{description|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|noborder=1&amp;lt;!--&lt;br /&gt;
--&amp;gt;|numw=2em&amp;lt;!--&lt;br /&gt;
--&amp;gt;}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Template:OpenInfoBox&amp;diff=561</id>
		<title>Template:OpenInfoBox</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Template:OpenInfoBox&amp;diff=561"/>
		<updated>2026-04-01T18:32:59Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{InfoBox&amp;lt;!--&lt;br /&gt;
--&amp;gt;|1={{{1|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|2={{{2|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|3={{{3|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|label={{{label|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|description={{{description|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|noborder=1&amp;lt;!--&lt;br /&gt;
--&amp;gt;|numw=3em&amp;lt;!--&lt;br /&gt;
--&amp;gt;}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Template:InfoBox&amp;diff=560</id>
		<title>Template:InfoBox</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Template:InfoBox&amp;diff=560"/>
		<updated>2026-04-01T18:32:32Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{NumEqn&amp;lt;!--&lt;br /&gt;
--&amp;gt;|1={{{1|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|2={{{2|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|3={{{3|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|label={{{label|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|nonumber=1&amp;lt;!--&lt;br /&gt;
--&amp;gt;|numw={{#if:{{{numw|}}}|{{{numb}}}|2em}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|infobox=1&amp;lt;!--&lt;br /&gt;
--&amp;gt;|description={{{description|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|noborder={{{noborder|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=The_Q1D_equations&amp;diff=559</id>
		<title>The Q1D equations</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=The_Q1D_equations&amp;diff=559"/>
		<updated>2026-04-01T18:30:33Z</updated>

		<summary type="html">&lt;p&gt;Nian: /* Summary */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Compressible flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Quasi-one-dimensional flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Inviscid flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Compressible flow:Topic]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;nomobile&amp;gt;&amp;lt;!--&lt;br /&gt;
__TOC__&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/nomobile&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#vardefine:secno|5}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#vardefine:eqno|0}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
=== Governing Equations ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
\begin{figure}[ht!]&lt;br /&gt;
\begin{center}&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter06/pdf/control-volume.pdf}&lt;br /&gt;
\caption{Quasi-one-dimensional flow - control volume}&lt;br /&gt;
\label{fig:cv}&lt;br /&gt;
\end{center}&lt;br /&gt;
\end{figure}&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following quasi-one-dimensional flow will be assumed. That means that the cross-section is allowed to vary smoothly but flow quantities varies in one direction only. The equations that are derived will thus describe one-dimensional flow in axisymmetric tubes. Let&#039;s assume flow in the &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;-direction, which means that all flow quantities and the cross-section area will vary with the axial coordinate &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
A=A(x),\ \rho=\rho(x),\ u=u(x),\ p=p(x),\ ...&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
We will further assume steady-state flow, which means that unsteady terms will be zero.&lt;br /&gt;
&lt;br /&gt;
The equations are derived with the starting point in the governing flow equations on integral form&lt;br /&gt;
&lt;br /&gt;
==== Continuity Equation ====&lt;br /&gt;
&lt;br /&gt;
Applying the integral form of the continuity equation on the quasi-one-dimensional flow control volume (Fig. \ref{fig:cv}) gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\underbrace{\frac{d}{dt}\iiint_{\Omega}\rho d{V}}_{=0}+\iint_{\partial \Omega}\rho {\mathbf{v}}\cdot {\mathbf{n}}dS=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iint_{\partial \Omega}\rho {\mathbf{v}}\cdot {\mathbf{n}}dS=-\rho_1 u_1 A_1+\rho_2 u_2 A_2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho_1 u_1 A_1=\rho_2 u_2 A_2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
==== Momentum Equation ====&lt;br /&gt;
&lt;br /&gt;
Applying the integral form of the momentum equation on the quasi-one-dimensional flow control volume (Fig. \ref{fig:cv}) gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\underbrace{\frac{d}{dt}\iiint_{\Omega}\rho{\mathbf{v}} d{V}}_{=0}+\iint_{\partial \Omega}\left[\rho ({\mathbf{v}}\cdot {\mathbf{n}}){\mathbf{v}}+p{\mathbf{n}}\right]dS=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iint_{\partial \Omega} \rho ({\mathbf{v}}\cdot {\mathbf{n}}){\mathbf{v}}dS=-\rho_1u_1^2A_1+\rho_2u_2^2A_2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iint_{\partial \Omega} p{\mathbf{n}}dS=-p_1A_1+p_2A_2-\int_{A_1}^{A_2}pdA&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
collecting terms&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\left(\rho_1u_1^2+p_1\right)A_1+\int_{A_1}^{A_2}pdA=\left(\rho_2u_2^2+p_2\right)A_2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
==== Energy Equation ====&lt;br /&gt;
&lt;br /&gt;
Applying the integral form of the energy equation on the quasi-one-dimensional flow control volume (Fig. \ref{fig:cv}) gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\underbrace{\frac{d}{dt}\iiint_{\Omega}\rho e_o d{V}}_{=0}+\iint_{\partial \Omega}\left[\rho h_o ({\mathbf{v}}\cdot{\mathbf{n}})\right]dS=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iint_{\partial \Omega}\left[\rho h_o ({\mathbf{v}}\cdot{\mathbf{n}})\right]dS=-\rho_1u_1h_{o_1}A_1+\rho_2u_2h_{o_2}A_2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho_1u_1h_{o_1}A_1=\rho_2u_2h_{o_2}A_2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Now, using the continuity equation &amp;lt;math&amp;gt;\rho_1u_1A_1=\rho_2u_2A_2&amp;lt;/math&amp;gt; gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
h_{o_1}=h_{o_2}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
==== Differential Form ====&lt;br /&gt;
&lt;br /&gt;
The integral term appearing the momentum equation is undesired and therefore the governing equations are converted to differential form.&lt;br /&gt;
&lt;br /&gt;
The continuity equation (Eqn. \ref{eq:governing:cont:b}) is rewritten in differential form as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho_1u_1A_1=\rho_2u_2A_2=const&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
d(\rho uA)=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
The momentum equation (Eqn. \ref{eq:governing:mom:b}) is rewritten in differential form as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\left(\rho_1u_1^2+p_1\right)A_1+\int_{A_1}^{A_2}pdA=\left(\rho_2u_2^2+p_2\right)A_2\Rightarrow d\left[(\rho u^2+p)A\right]=pdA&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
d(\rho u^2A)+d(pA)=pdA&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
ud(\rho uA)+\rho uAdu+Adp+\cancel{pdA}=\cancel{pdA}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
From the continuity equation we have &amp;lt;math&amp;gt;d(\rho uA)&amp;lt;/math&amp;gt; and thus&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho u\cancel{A}du+\cancel{A}dp=0\Rightarrow&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
dp=-\rho udu&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
which is the momentum equation on differential form. Also referred to as Euler&#039;s equation. Finally, the energy equation (Eqn. \ref{eq:governing:cont:b}) is rewritten in differential form as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
h_{o_1}=h_{o_2}=const\Rightarrow dh_o=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
h_o=h+\frac{1}{2}u^2\Rightarrow dh+\frac{1}{2}d(u^2)=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
dh+udu=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
==== Summary ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid;&amp;quot;&amp;gt;&lt;br /&gt;
{{OpenInfoBox|&amp;lt;math&amp;gt;&lt;br /&gt;
d(\rho uA)=0&lt;br /&gt;
&amp;lt;/math&amp;gt;|description=Continuity:}}&lt;br /&gt;
&lt;br /&gt;
{{OpenInfoBox|&amp;lt;math&amp;gt;&lt;br /&gt;
dp=-\rho udu&lt;br /&gt;
&amp;lt;/math&amp;gt;|description=Momentum:}}&lt;br /&gt;
&lt;br /&gt;
{{OpenInfoBox|&amp;lt;math&amp;gt;&lt;br /&gt;
dh+udu=0&lt;br /&gt;
&amp;lt;/math&amp;gt;|description=Energy:}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The equations are valid for:&lt;br /&gt;
&lt;br /&gt;
* quasi-one-dimensional flow&lt;br /&gt;
* steady state&lt;br /&gt;
* all gas models (no gas model assumptions made)&lt;br /&gt;
* inviscid flow&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It should be noted that equations are exact but they are applied to a physical model that is approximate, i.e., the approximation that flow quantities varies in one dimension with a varying cross-section area. In reality, a variation of cross-section area would imply flow in three dimensions.&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Governing_equations_on_integral_form&amp;diff=558</id>
		<title>Governing equations on integral form</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Governing_equations_on_integral_form&amp;diff=558"/>
		<updated>2026-04-01T18:28:01Z</updated>

		<summary type="html">&lt;p&gt;Nian: /* Summary */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Compressible flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Governing equations]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Compressible flow:Topic]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;nomobile&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;__TOC__&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/nomobile&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#vardefine:secno|2}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#vardefine:eqno|0}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
\begin{figure}[ht!]&lt;br /&gt;
\begin{center}&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter02/pdf/control-volume.pdf}&lt;br /&gt;
\caption{Generic control volume}&lt;br /&gt;
\label{fig:generic:cv}&lt;br /&gt;
\end{center}&lt;br /&gt;
\end{figure}&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The governing equations stems from mass conservation, conservation of momentum and conservation of energy&lt;br /&gt;
&lt;br /&gt;
==== The Continuity Equation ====&lt;br /&gt;
&lt;br /&gt;
{{quote|Mass can be neither created nor destroyed, which implies that mass is conserved}}&lt;br /&gt;
&lt;br /&gt;
The net massflow into the control volume &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; in Fig. \ref{fig:generic:cv} is obtained by integrating mass flux over the control volume surface &amp;lt;math&amp;gt;\partial \Omega&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
-\iint_{\partial \Omega}\rho \mathbf{v}\cdot \mathbf{n} dS&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Now, let&#039;s consider a small infinitesimal volume &amp;lt;math&amp;gt;dV&amp;lt;/math&amp;gt; inside &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt;. The mass of &amp;lt;math&amp;gt;dV&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;\rho dV&amp;lt;/math&amp;gt;. Thus, the mass enclosed within &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; can be calculated as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iiint_{\Omega} \rho dV&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
The rate of change of mass within &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; is obtained as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dt}\iiint_{\Omega} \rho dV&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Mass is conserved, which means that the rate of change of mass within &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; must equal the net flux over the control volume surface.&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dt}\iiint_{\Omega} \rho dV=-\iint_{\partial \Omega}\rho \mathbf{v}\cdot \mathbf{n} dS&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dt}\iiint_{\Omega} \rho dV+\iint_{\partial \Omega}\rho \mathbf{v}\cdot \mathbf{n} dS=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
which is the integral form of the continuity equation.&lt;br /&gt;
&lt;br /&gt;
==== The Momentum Equation ====&lt;br /&gt;
&lt;br /&gt;
{{quote|The time rate of change of momentum of a body equals the net force exerted on it}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dt}(m\mathbf{v})=\mathbf{F}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
What type of forces do we have?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Body forces acting on the fluid inside &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt;&lt;br /&gt;
** gravitation&lt;br /&gt;
** electromagnetic forces&lt;br /&gt;
** Coriolis forces&lt;br /&gt;
* Surface forces: pressure forces and shear forces&lt;br /&gt;
&lt;br /&gt;
Body forces inside &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iiint_{\Omega}\rho \mathbf{f}dV&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Surface force on &amp;lt;math&amp;gt;\partial \Omega&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
-\iint_{\partial \Omega} p\mathbf{n}dS&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Since we are considering inviscid flow, there are no shear forces and thus we have the net force as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\mathbf{F}=\iiint_{\Omega}\rho \mathbf{f}dV-\iint_{\partial \Omega} p\mathbf{n}dS&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
The fluid flowing through &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; will carry momentum and the net flow of momentum out from &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; is calculated as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iint_{\partial \Omega} (\rho\mathbf{v}\cdot\mathbf{n}dS)\mathbf{v}=\iint_{\partial \Omega} (\rho\mathbf{v}\cdot\mathbf{n})\mathbf{v}dS&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Integrated momentum inside &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iiint_{\Omega} \rho \mathbf{v} dV&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Rate of change of momentum due to unsteady effects inside &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dt}\iiint_{\Omega} \rho \mathbf{v} dV&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Combining the rate of change of momentum, the net momentum flux and the net forces we get&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dt}\iiint_{\Omega} \rho \mathbf{v} dV+\iint_{\partial \Omega} (\rho\mathbf{v}\cdot\mathbf{n})\mathbf{v}dS=\iiint_{\Omega}\rho \mathbf{f}dV-\iint_{\partial \Omega} p\mathbf{n}dS&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
combining the surface integrals, we get&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dt}\iiint_{\Omega} \rho \mathbf{v} dV+\iint_{\partial \Omega} \left[(\rho\mathbf{v}\cdot\mathbf{n})\mathbf{v}+p\mathbf{n}\right]dS=\iiint_{\Omega}\rho \mathbf{f}dV&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
which is the momentum equation on integral form.&lt;br /&gt;
&lt;br /&gt;
==== The Energy Equation ====&lt;br /&gt;
&lt;br /&gt;
{{quote|Energy can be neither created nor destroyed; it can only change in form}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
E_1+E_2=E_3&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;math&amp;gt;E_1&amp;lt;/math&amp;gt; Rate of heat added to the fluid in &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; from the surroundings&lt;br /&gt;
: heat transfer&lt;br /&gt;
: radiation&lt;br /&gt;
;&amp;lt;math&amp;gt;E_2&amp;lt;/math&amp;gt; Rate of work done on the fluid in &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt;&lt;br /&gt;
;&amp;lt;math&amp;gt;E_3&amp;lt;/math&amp;gt; Rate of change of energy of the fluid as it flows through &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
E_1=\iiint_{\Omega} \dot{q}\rho dV&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\dot{q}&amp;lt;/math&amp;gt; is the rate of heat added per unit mass&lt;br /&gt;
&lt;br /&gt;
The rate of work done on the fluid in &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; due to pressure forces is obtained from the pressure force term in the momentum equation.&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
E_{2_{pressure}}=-\iint_{\partial \Omega}(p\mathbf{n}dS)\cdot\mathbf{v}=-\iint_{\partial \Omega} p\mathbf{v}\cdot\mathbf{n}dS&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
The rate of work done on the fluid in $\Omega$ due to body forces is&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
E_{2_{body\ forces}}=\iiint_{\Omega}(\rho\mathbf{f}dV)\cdot\mathbf{v}=\iiint_{\Omega}\rho\mathbf{f}\cdot\mathbf{v}dV&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
E_2=E_{2_{pressure}}+E_{2_{body\ forces}}=-\iint_{\partial \Omega} p\mathbf{v}\cdot\mathbf{n}dS+\iiint_{\Omega}\rho\mathbf{f}\cdot\mathbf{v}dV&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
The energy of the fluid per unit mass is the sum of internal energy &amp;lt;math&amp;gt;e&amp;lt;/math&amp;gt; (molecular energy) and the kinetic energy &amp;lt;math&amp;gt;V^2/2&amp;lt;/math&amp;gt; and the net energy flux over the control volume surface is calculated by the following integral&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iint_{\partial \Omega}(\rho \mathbf{v}\cdot\mathbf{n}dS)\left(e+\frac{V^2}{2}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Analogous to mass and momentum, the total amount of energy of the fluid in &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; is calculated as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iiint_{\Omega}\rho\left(e+\frac{V^2}{2}\right)dV&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
The time rate of change of the energy of the fluid in &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; is obtained as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dt}\iiint_{\Omega}\rho\left(e+\frac{V^2}{2}\right)dV&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Now, &amp;lt;math&amp;gt;E_3&amp;lt;/math&amp;gt; is obtained as the sum of the time rate of change of energy of the fluid in &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; and the net flux of energy carried by fluid passing the control volume surface.&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
E_3=\frac{d}{dt}\iiint_{\Omega}\rho\left(e+\frac{V^2}{2}\right)dV+\iint_{\partial \Omega}(\rho \mathbf{v}\cdot\mathbf{n}dS)\left(e+\frac{V^2}{2}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
With all elements of the energy equation defined, we are now ready to finally compile the full equation&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\dfrac{d}{dt}\iiint_{\Omega}\rho\left(e+\dfrac{V^2}{2}\right)dV+\iint_{\partial \Omega}\left[\rho\left(e+\dfrac{V^2}{2}\right)(\mathbf{v}\cdot\mathbf{n}) + p\mathbf{v}\cdot\mathbf{n}\right]dS=&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\iiint_{\Omega}\rho\mathbf{f}\cdot\mathbf{v}dV+\iiint_{\Omega} \dot{q}\rho dV&lt;br /&gt;
&amp;lt;/math&amp;gt;|align=center}}&lt;br /&gt;
&lt;br /&gt;
The surface integral in the energy equation may be rewritten as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iint_{\partial \Omega}\left[\rho\left(e+\frac{V^2}{2}\right)(\mathbf{v}\cdot\mathbf{n}) + p\mathbf{v}\cdot\mathbf{n}\right]dS=&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;math&amp;gt;\iint_{\partial \Omega}\rho\left[e+\frac{p}{\rho}+\frac{V^2}{2}\right](\mathbf{v}\cdot\mathbf{n})dS&lt;br /&gt;
&amp;lt;/math&amp;gt;|align=center}}&lt;br /&gt;
&lt;br /&gt;
and with the definition of enthalpy &amp;lt;math&amp;gt;h=e+p/\rho&amp;lt;/math&amp;gt;, we get&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iint_{\partial \Omega}\rho\left[h+\frac{V^2}{2}\right](\mathbf{v}\cdot\mathbf{n})dS&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Furthermore, introducing total internal energy &amp;lt;math&amp;gt;e_o&amp;lt;/math&amp;gt; and total enthalpy &amp;lt;math&amp;gt;h_o&amp;lt;/math&amp;gt; defined as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
e_o=e+\frac{1}{2}V^2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
h_o=h+\frac{1}{2}V^2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
the energy equation is written as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dt}\iiint_{\Omega}\rho e_o dV+\iint_{\partial \Omega}\rho h_o(\mathbf{v}\cdot\mathbf{n})dS=&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;math&amp;gt;\iiint_{\Omega}\rho\mathbf{f}\cdot\mathbf{v}dV+\iiint_{\Omega} \dot{q}\rho dV&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
==== Summary ====&lt;br /&gt;
&lt;br /&gt;
The integral form of the governing equations for inviscid compressible flow has been derived&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: solid 1px;&amp;quot;&amp;gt;&lt;br /&gt;
{{OpenInfoBox|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dt}\iiint_{\Omega} \rho dV+\iint_{\partial \Omega}\rho \mathbf{v}\cdot \mathbf{n} dS=0&lt;br /&gt;
&amp;lt;/math&amp;gt;|description=Continuity:}}&lt;br /&gt;
&lt;br /&gt;
{{OpenInfoBox|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dt}\iiint_{\Omega} \rho \mathbf{v} dV+\iint_{\partial \Omega} \left[(\rho\mathbf{v}\cdot\mathbf{n})\mathbf{v}+p\mathbf{n}\right]dS=\iiint_{\Omega}\rho \mathbf{f}dV&lt;br /&gt;
&amp;lt;/math&amp;gt;|description=Momentum:}}&lt;br /&gt;
&lt;br /&gt;
{{OpenInfoBox|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dt}\iiint_{\Omega}\rho e_o dV+\iint_{\partial \Omega}\rho h_o(\mathbf{v}\cdot\mathbf{n})dS=&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;math&amp;gt;\iiint_{\Omega}\rho\mathbf{f}\cdot\mathbf{v}dV+\iiint_{\Omega} \dot{q}\rho dV&lt;br /&gt;
&amp;lt;/math&amp;gt;|description=Energy:}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=One-dimensional_flow_with_friction&amp;diff=557</id>
		<title>One-dimensional flow with friction</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=One-dimensional_flow_with_friction&amp;diff=557"/>
		<updated>2026-04-01T18:26:20Z</updated>

		<summary type="html">&lt;p&gt;Nian: /* Friction Choking */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Compressible flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:One-dimensional flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Inviscid flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Continuous solution]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Compressible flow:Topic]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;nomobile&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;__TOC__&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/nomobile&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#vardefine:secno|3}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#vardefine:eqno|125}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
==== Flow-station data ====&lt;br /&gt;
&lt;br /&gt;
The starting point is the governing equations for one-dimensional steady-state flow&lt;br /&gt;
&lt;br /&gt;
===== Continuity =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\rho_1 u_1=\rho_2 u_2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Momentum =====&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho_1 u_1^2+p_1-\bar{\tau}_w\frac{bL}{A}=\rho_2 u_2^2+p_2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\bar{\tau}_w&amp;lt;/math&amp;gt; is the average wall-shear stress&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\bar{\tau}_w=\frac{1}{L}\int_0^L\tau_w dx&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt; is the tube perimeter, and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is the tube length. For circular cross sections&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{bL}{A}=\left\{A=\frac{\pi D^2}{4}, b=\pi D\right\}=\frac{4L}{D}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
and thus&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho_1 u_1^2+p_1-\frac{4}{D}\int_0^L\tau_w dx=\rho_2 u_2^2+p_2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
===== Energy =====&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
h_1 + \frac{1}{2}u_1^2=h_2 + \frac{1}{2}u_2^2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
==== Differential Form ====&lt;br /&gt;
&lt;br /&gt;
In order to remove the integral term in the momentum equation, the governing equations are written in differential form&lt;br /&gt;
&lt;br /&gt;
===== Continuity =====&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho_1 u_1=\rho_2 u_2=const\Rightarrow&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dx}(\rho u)=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
===== Momentum =====&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
(\rho_2 u_2^2+p_2-\rho_1 u_1^2+p_1)=-\frac{4}{D}\int_0^L\tau_w dx\Rightarrow&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dx}(\rho u^2+p)=-\frac{4}{D}\tau_w&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dx}(\rho u^2+p)=\rho u\frac{du}{dx}+u\frac{d}{dx}(\rho u)+\frac{dp}{dx}=\left\{\frac{d}{dx}(\rho u)=0\right\}=\rho u\frac{du}{dx}+\frac{dp}{dx}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho u\frac{du}{dx}+\frac{dp}{dx}=-\frac{4}{D}\tau_w&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
The wall shear stress is often approximated using a shear-stress factor, &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt;, according to&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\tau_w=f\frac{1}{2}\rho u^2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
and thus&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho u\frac{du}{dx}+\frac{dp}{dx}=-\frac{2}{D}f\rho u^2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
===== Energy =====&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
h_1 + \frac{1}{2}u_1^2=h_2 + \frac{1}{2}u_2^2=const&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
h_{o_1}=h_{o_2}=const&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dx}h_o=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
==== Summary ====&lt;br /&gt;
&lt;br /&gt;
continuity:&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dx}(\rho u)=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
momentum:&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho u\frac{du}{dx}+\frac{dp}{dx}=-\frac{2}{D}f\rho u^2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
energy:&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dx}h_o=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
From chapter 3.9 we have the following expression for the momentum equation for one-dimensional flow with friction (equation (3.95))&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
dp+\rho u du=-\frac{1}{2}\rho u^2 \frac{4 f dx}{D}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
For cases dealing with calorically perfect gas, (3.95) can be recast completely in terms of Mach number using the following relations&lt;br /&gt;
&lt;br /&gt;
* speed of sound: &amp;lt;math&amp;gt;a^2=\gamma p/\rho&amp;lt;/math&amp;gt;&lt;br /&gt;
* the definition of Mach number: &amp;lt;math&amp;gt;M^2=u^2/a^2&amp;lt;/math&amp;gt;&lt;br /&gt;
* the ideal gas law for thermally perfect gas: &amp;lt;math&amp;gt;p=\rho R T&amp;lt;/math&amp;gt;&lt;br /&gt;
* the continuity equation: &amp;lt;math&amp;gt;\rho u=const&amp;lt;/math&amp;gt;&lt;br /&gt;
* the energy equation: &amp;lt;math&amp;gt;C_p T+u^2/2=const&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Continuity equation ====&lt;br /&gt;
&lt;br /&gt;
We start with the continuity equation which for one-dimensional steady flows reads&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho u=const&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Differentiating (\ref{eqn:cont:a}) gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
d(\rho u)=0. \Leftrightarrow \rho du + ud\rho=0.&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;u\neq 0.&amp;lt;/math&amp;gt; we can divide by &amp;lt;math&amp;gt;\rho u&amp;lt;/math&amp;gt; which gives us&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{du}{u}+\frac{d\rho}{\rho}=0.&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Now, if we divide and multiply the first term in (\ref{eqn:cont:b}) by &amp;lt;math&amp;gt;2u&amp;lt;/math&amp;gt; and use the chain rule for derivatives we get&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d(u^2)}{2u^2}+\frac{d\rho}{\rho}=0.&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
==== Energy equation ====&lt;br /&gt;
&lt;br /&gt;
For an adiabatic one-dimensional flow we have that&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
C_p T+\frac{u^2}{2}=const&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
If we differentiate (\ref{eqn:ttot:a}) we get&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
C_p dT+\frac{1}{2}d(u^2)=0.&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
We replace &amp;lt;math&amp;gt;C_p&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;\gamma R/(\gamma-1)&amp;lt;/math&amp;gt; and multiply and divide the first term with &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; which gives us&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\gamma RT}{(\gamma-1)}\frac{dT}{T}+\frac{1}{2}d(u^2)=0.&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Now, divide by &amp;lt;math&amp;gt;\gamma RT/(\gamma-1)&amp;lt;/math&amp;gt; and multiply and divide the second term by &amp;lt;math&amp;gt;u^2&amp;lt;/math&amp;gt; gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{dT}{T}+\frac{(\gamma-1)}{2}M^2\frac{d(u^2)}{u^2}=0.&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
We want to remove the &amp;lt;math&amp;gt;dT/T&amp;lt;/math&amp;gt;-term in (\ref{eqn:ttot}). From the definition of Mach number we have that&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
a^2M^2=u^2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
which we can rewrite using the expression for speed of sound &amp;lt;math&amp;gt;(a^2=\gamma RT)&amp;lt;/math&amp;gt; according to&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\gamma RTM^2=u^2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Differentiating (\ref{eqn:Mach:b}) gives us&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\gamma RM^2 dT+\gamma RT d(M^2)=d(u^2)&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Now, if we divide (\ref{eqn:Mach:c}) by &amp;lt;math&amp;gt;\gamma RT M^2&amp;lt;/math&amp;gt; and use &amp;lt;math&amp;gt;a^2=\gamma RT&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;a^2M^2=u^2&amp;lt;/math&amp;gt; we get&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{dT}{T}+\frac{d(M^2)}{M^2}=\frac{d(u^2)}{u^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Equation (\ref{eqn:Mach}) may now be used to replace the &amp;lt;math&amp;gt;dT/T&amp;lt;/math&amp;gt;-term in equation (\ref{eqn:ttot})&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
-\frac{d(M^2)}{M^2}+\frac{d(u^2)}{u^2}+\frac{(\gamma-1)}{2}M^2\frac{d(u^2)}{u^2}=0.&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
which can be rewritten according to&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d(u^2)}{u^2}=\left[1+\frac{(\gamma-1)}{2}M^2\right]^{-1}\frac{d(M^2)}{M^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Using the chain rule for derivatives, the last term may be rewritten according to&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d(M^2)}{M^2}=2M\frac{dM}{M^2}=2\frac{dM}{M}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
which gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d(u^2)}{u^2}=2\left[1+\frac{(\gamma-1)}{2}M^2\right]^{-1}\frac{dM}{M}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
==== The ideal gas law ====&lt;br /&gt;
&lt;br /&gt;
For a perfect gas the ideal gas law reads&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
p=\rho R T&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Differentiating (\ref{eqn:gaslaw:a}) gives:&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
dp=\rho R dT+RT d\rho&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;p\neq0.&amp;lt;/math&amp;gt;, we can divide (\ref{eqn:gaslaw:b}) by &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; which gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{dp}{p}=\frac{dT}{T}+\frac{d\rho}{\rho}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
which can be rearranged according to&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\left[\frac{dp}{p}-\frac{d\rho}{\rho}\right]=\frac{dT}{T}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Now, inserting &amp;lt;math&amp;gt;dT/T&amp;lt;/math&amp;gt; from equation (\ref{eqn:ttot}) gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\left[\frac{dp}{p}-\frac{d\rho}{\rho}\right]+\frac{(\gamma-1)}{2}M^2\frac{d(u^2)}{u^2}=0.&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;d\rho/\rho&amp;lt;/math&amp;gt;-term can be replaced using equation (\ref{eqn:cont})&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{dp}{p}+\frac{d(u^2)}{2u^2}+\frac{(\gamma-1)}{2}M^2\frac{d(u^2)}{u^2}=0.&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Collect terms and rewrite gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{dp}{p}+\left[\frac{1+(\gamma-1)M^2}{2}\right]\frac{d(u^2)}{u^2}=0.&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
==== Momentum equation ====&lt;br /&gt;
&lt;br /&gt;
By combining the above derived relations and the momentum equation on the form given by (3.95), we can get an expression where the friction force is a function of Mach number only&lt;br /&gt;
&lt;br /&gt;
For convenience equation (3.95) is written again here&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
dp+\rho u du=-\frac{1}{2}\rho u^2 \frac{4 f dx}{D}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
if &amp;lt;math&amp;gt;u\neq 0.&amp;lt;/math&amp;gt;, we can divide by &amp;lt;math&amp;gt;0.5\rho u^2&amp;lt;/math&amp;gt; which gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
2\frac{dp}{\rho u^2}+2\frac{\rho u du}{\rho u^2}=-\frac{4 f dx}{D}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
using &amp;lt;math&amp;gt;M^2=u^2/a^2&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;a^2=\gamma p/\rho&amp;lt;/math&amp;gt; and the chain rule in (\ref{eqn:mom:a}) gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{2}{\gamma M^2}\frac{dp}{p}+\frac{d(u^2)}{u^2}=-\frac{4 f dx}{D}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
From equation (\ref{eqn:gaslaw}) we can get a relation that expresses the pressure derivative term, &amp;lt;math&amp;gt;dp/p&amp;lt;/math&amp;gt;, in terms of Mach  number and &amp;lt;math&amp;gt;d(u^2)/u^2&amp;lt;/math&amp;gt;. Inserting this in (\ref{eqn:mom:b}) gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{2}{\gamma M^2}\left\{-\left[\frac{1+(\gamma-1)M^2}{2}\right]\frac{d(u^2)}{u^2}\right\}+\frac{d(u^2)}{u^2}=-\frac{4 f dx}{D}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
collecting terms and rearranging gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{M^2-1}{\gamma M^2}\frac{d(u^2)}{u^2}=\frac{4 f dx}{D}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
if we now use equation (\ref{eqn:ttot:Mach}) to get rid of the &amp;lt;math&amp;gt;d(u^2)/u^2&amp;lt;/math&amp;gt;-term we end up with the following expression&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{4  f dx}{D}=\frac{2}{\gamma M^2}(1-M^2)\left[1+\frac{(\gamma-1)}{2}M^2\right]^{-1}\frac{dM}{M}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
==== Differential Relations ====&lt;br /&gt;
&lt;br /&gt;
In analogy with the heat addition process discussed in the previous section, one-dimensional flow with heat addition is a continuous process. We will derive the differential relations for one-dimensional flow with friction, which will lead to trends for supersonic and supersonic flow with friction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
\begin{figure}[ht!]&lt;br /&gt;
\begin{center}&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter04/pdf/incremental-friction-addition.pdf}&lt;br /&gt;
\end{center}&lt;br /&gt;
\caption{Change in flow quantities due to the addition of an infinitesimal pipe segment with the length $dx$}&lt;br /&gt;
\label{fig:fanno:dx}&lt;br /&gt;
\end{figure}&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The continuity equation gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
d(\rho u)=ud\rho+\rho du \Rightarrow&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\dfrac{d\rho}{\rho}=-\dfrac{du}{u}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
The addition of friction does not affect total temperature and thus the total temperature is constant &lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
T_o=T+\dfrac{u^2}{2C_p}=const&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
differentiating gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
dT_o=dT+\dfrac{1}{Cp}udu=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
with &amp;lt;math&amp;gt;u=M\sqrt{\gamma RT}&amp;lt;/math&amp;gt;, we get&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\dfrac{dT}{T}=-(\gamma-1)M^2\dfrac{du}{u}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
A differential relation for pressure can be obtained from the ideal gas relation&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
p=\rho RT\Rightarrow dp=R(Td\rho+\rho dT)\Rightarrow&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\dfrac{dp}{p}=-\left(1+(\gamma-1)M^2\right)\dfrac{du}{u}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
The entropy increase can be obtained from&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
ds=C_v \dfrac{dp}{p}-C_p\dfrac{d\rho}{\rho}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
and thus&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
ds=-R(1-M^2)\dfrac{du}{u}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Finally, a relation describing the change in Mach number can be obtained from&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
M=\dfrac{u}{\sqrt{\gamma RT}}\Rightarrow dM=M\dfrac{du}{u}-\dfrac{M}{2}\dfrac{dT}{T}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
which can be rewritten as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\dfrac{dM}{M}=\left(1+(\gamma-1)M^2\right)\dfrac{du}{u}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Eqns.~\ref{eq:fanno:drho} - \ref{eq:fanno:dM} are expressed as functions of &amp;lt;math&amp;gt;du&amp;lt;/math&amp;gt; and in order to get a direct relation to the addition of friction caused by the increase in pipe length &amp;lt;math&amp;gt;dx&amp;lt;/math&amp;gt;, the equations are rewritten so that all variable changes are functions of the entropy increase &amp;lt;math&amp;gt;ds&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\dfrac{d\rho}{\rho}=-\dfrac{1}{R(1-M^2)}ds&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\dfrac{dT}{T}=-(\gamma-1)M^2\dfrac{1}{R(1-M^2)}ds&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\dfrac{dp}{p}=-\left(1+(\gamma-1)M^2\right)\dfrac{1}{R(1-M^2)}ds&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\dfrac{dM}{M}=\left(1+\dfrac{(\gamma-1)}{2}M^2\right)\dfrac{1}{R(1-M^2)}ds&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\dfrac{du}{u}=\dfrac{1}{R(1-M^2)}ds&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
A relation for the change in total pressure can be obtained from &lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
ds=C_p\dfrac{dT_o}{T_o}-R\dfrac{dp_o}{p_o}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Since total temperature is constant the relation above gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\dfrac{dp_o}{p_o}=-\dfrac{ds}{R}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Using the differential relations above, we can get a good picture of the development of flow variables as friction is continuously added to the flow (see Figure~\ref{fig:fanno:trends}).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
\begin{figure}[ht!]&lt;br /&gt;
\begin{subfigure}[b]{0.5\textwidth}&lt;br /&gt;
\centering&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter04/pdf/fanno-subsonic-trends.pdf}&lt;br /&gt;
\caption{trends (subsonic flow)}&lt;br /&gt;
\end{subfigure}&lt;br /&gt;
\begin{subfigure}[b]{0.5\textwidth}&lt;br /&gt;
\centering&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter04/pdf/fanno-supersonic-trends.pdf}&lt;br /&gt;
\caption{trends (supersonic flow)}&lt;br /&gt;
\end{subfigure}&lt;br /&gt;
\caption{Change in flow variables as friction is continuously added to a subsonic flow (left) and supersonic flow (right).}&lt;br /&gt;
\label{fig:fanno:trends}&lt;br /&gt;
\end{figure}&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Friction Choking ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
\begin{figure}[ht!]&lt;br /&gt;
\centering&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter04/pdf/fanno-Ts.pdf}&lt;br /&gt;
\caption{The Fanno flow process illustrated in a $Ts$-diagram. The dashed line shows the critical temperature, $T^\ast$, the blue line is the Fanno flow process, subsonic above $T^\ast$ and supersonic below $T^\ast$. The gray lines are isobars.}&lt;br /&gt;
\label{fig:friction:Ts}&lt;br /&gt;
\end{figure}&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure~\ref{fig:friction:Ts} shows the Fanno flow process in a &amp;lt;math&amp;gt;Ts&amp;lt;/math&amp;gt;-diagram. The dashed line represents the sonic temperature, which means that the flow states along the process line above the dashed line are subsonic flow states and the part of the line below the dashed line represents supersonic flow states. In both subsonic and supersonic flow addition of friction leads to a change in temperature in the direction towards the sonic temperature, i.e. the flow approaches sonic conditions (&amp;lt;math&amp;gt;M=1&amp;lt;/math&amp;gt;). When the length of the pipe through which the fluid flows is equal to the length at which the flow is sonic, the flow is choked (friction choking) and further pipe length cannot be added without a change in the flow conditions. For an initially subsonic flow, a pipe longer than &amp;lt;math&amp;gt;L^\ast&amp;lt;/math&amp;gt;, the change in flow conditions is analogous to the what happens for addition of heat to a subsonic flow that has reached sonic state discussed in the previous section. The inlet conditions will change such that the massflow is reduced without changing the inlet total conditions such as the pipe length is equal to &amp;lt;math&amp;gt;L^\ast&amp;lt;/math&amp;gt; for the new inlet conditions.&lt;br /&gt;
&lt;br /&gt;
{{InfoBox|&amp;lt;math&amp;gt;&lt;br /&gt;
M_{1^\prime} = f(L^\ast)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
T_{1^\prime} = f(T_o,\ M_{1^\prime})&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
p_{1^\prime} = f(p_o,\ M_{1^\prime})&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\rho_{1^\prime} = f(p_{1^\prime},\ T_{1^\prime})&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
a_{1^\prime} = f(T_{1^\prime})&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u_{1^\prime} = M_{1^\prime}a_{1^\prime}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
\begin{figure}[ht!]&lt;br /&gt;
\begin{subfigure}[b]{0.5\textwidth}&lt;br /&gt;
\centering&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter04/pdf/fanno-Ts-subsonic-choked-mod.pdf}&lt;br /&gt;
\caption{$Ts$-diagram}&lt;br /&gt;
\end{subfigure}&lt;br /&gt;
\begin{subfigure}[b]{0.5\textwidth}&lt;br /&gt;
\centering&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter04/pdf/fanno-Ts-subsonic-choked-mod-close-up.pdf}&lt;br /&gt;
\caption{$Ts$-diagram (close up)}&lt;br /&gt;
\end{subfigure}&lt;br /&gt;
\caption{For friction-choked subsonic flow, further increase of the length of the pipe/duct will lead to an update of the inlet static conditions such that the massflow per unit area is changed and the length corresponding to friction choking $L^\ast$ is increased.}&lt;br /&gt;
\label{fig:friction:choking:sub}&lt;br /&gt;
\end{figure}&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
\begin{figure}[ht!]&lt;br /&gt;
\centering&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter04/pdf/fanno-Ts-supersonic-choked.pdf}&lt;br /&gt;
\caption{For friction-choked supersonic flow, further increase of the length of the pipe/duct may lead to the generation of a shock inside of the pipe. The location of the shock will be such that $L^\ast$ downstream of the shock equals the remaining length of the pipe at the shock location.}&lt;br /&gt;
\label{fig:friction:choking:sup}&lt;br /&gt;
\end{figure}&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For a choked supersonic flow, addition of more friction (increasing the length of the pipe such that &amp;lt;math&amp;gt;L&amp;gt;L^\ast&amp;lt;/math&amp;gt;) may lead to the generation of a shock inside the pipe. In contrast to the one-dimensional flow with heat addition where a shock does not change &amp;lt;math&amp;gt;q^\ast&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;L^\ast&amp;lt;/math&amp;gt; is increased over a shock. The internal shock will be generated in an axial location such that &amp;lt;math&amp;gt;L^\ast&amp;lt;/math&amp;gt; downstream of the shock equals the remaining pipe length at the shock location (see Figure~\ref{fig:friction:choking:sup}). As more length is added to the pipe, the shock will move further and further upstream in the pipe until it stands at the pipe entrance. If the pipe is longer than &amp;lt;math&amp;gt;L^\ast&amp;lt;/math&amp;gt; after o shock standing at the inlet, the shock will move to the upstream system and the pipe flow will be subsonic and the massflow will be adjusted such that &amp;lt;math&amp;gt;L=L^\ast&amp;lt;/math&amp;gt; according to the process described for subsonic choking above. &lt;br /&gt;
&lt;br /&gt;
From prvevious derivations, we know that &amp;lt;math&amp;gt;L^\ast&amp;lt;/math&amp;gt; is a function of mach number according to&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\dfrac{4\bar{f}L^\ast}{D}=\dfrac{1-M^2}{\gamma M^2}+\left(\dfrac{\gamma+1}{2\gamma}\right)\ln\left(\dfrac{(\gamma+1)M^2}{2+(\gamma-1)M^2}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
by dividing both the numerator and denominator in the fractions by &amp;lt;math&amp;gt;M^2&amp;lt;/math&amp;gt; it is easy to see that the choking length (Figure~\ref{fig:friction:factor}) approaches a finite length for great Mach numbers and thus the upper limit for the choking length &amp;lt;math&amp;gt;L^\ast_1&amp;lt;/math&amp;gt; is given by&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\left.\dfrac{4\bar{f}L_1^\ast}{D}(M_1)\right|_{M_1\rightarrow \infty}=-\dfrac{1}{\gamma}+\left(\dfrac{\gamma+1}{2\gamma}\right)\ln\left(\dfrac{\gamma+1}{\gamma-1}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
\begin{figure}[ht!]&lt;br /&gt;
\centering&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter04/pdf/fanno-friction-factor.pdf}&lt;br /&gt;
\caption{$L^\ast$ as a function of Mach number. For high supersonic Mach numbers, the choking length approaches a finite value.}&lt;br /&gt;
\label{fig:friction:factor}&lt;br /&gt;
\end{figure}&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From the normal shock relations we know that the downstream Mach number approaches the finite value &amp;lt;math&amp;gt;\sqrt{(\gamma-1)/2\gamma}&amp;lt;/math&amp;gt; large Mach numbers and thus the choking length downstream the shock is limited to&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\left.\dfrac{4\bar{f}L_2^\ast}{D}(M_2)\right|_{M_1\rightarrow \infty}=\left(\dfrac{\gamma+1}{\gamma(\gamma-1)}\right)+\left(\dfrac{\gamma+1}{2\gamma}\right)\ln\left(\dfrac{(\gamma+1)(\gamma-1)}{4\gamma+(\gamma-1)^2}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
From the relations above we get&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\left.\left(\dfrac{4\bar{f}L_2^\ast}{D}(M_2)-\dfrac{4\bar{f}L_1^\ast}{D}(M_1)\right)\right|_{M_1\rightarrow \infty}=\left(\dfrac{2}{\gamma-1}\right)+\left(\dfrac{\gamma+1}{2\gamma}\right)\ln\left[\left(\dfrac{(\gamma+1)(\gamma-1)}{4\gamma+(\gamma-1)^2}\right)\left(\dfrac{\gamma-1}{\gamma+1}\right)\right]&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Figure~\ref{fig:friction:factor:shock} shows the development of choking length &amp;lt;math&amp;gt;L_1^\ast&amp;lt;/math&amp;gt; in a supersonic flow as a function of Mach number in relation to the corresponding choking length &amp;lt;math&amp;gt;L_2^\ast&amp;lt;/math&amp;gt; downstream of a normal shock generated at the same Mach number. As can be seen from the figure, a normal shock will always increase the choking length.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
\begin{figure}[ht!]&lt;br /&gt;
\centering&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter04/pdf/fanno-friction-factor-shock.pdf}&lt;br /&gt;
\caption{$L^\ast$ as a function of $M_1$ (Mach number in station 1) for initially supersonic flow. $L_1^\ast$ is the choking length corresponding to $M_1$ and $L_2^\ast$ the choking length downstream of a normal shock at station 1. A normal shock will always increase the choking length.}&lt;br /&gt;
\label{fig:friction:factor:shock}&lt;br /&gt;
\end{figure}&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=One-dimensional_flow_with_heat_addition&amp;diff=556</id>
		<title>One-dimensional flow with heat addition</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=One-dimensional_flow_with_heat_addition&amp;diff=556"/>
		<updated>2026-04-01T18:25:07Z</updated>

		<summary type="html">&lt;p&gt;Nian: /* Thermal Choking */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Compressible flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:One-dimensional flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Inviscid flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Continuous solution]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Compressible flow:Topic]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;nomobile&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;__TOC__&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/nomobile&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#vardefine:secno|3}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#vardefine:eqno|70}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
==== Flow-station relations ====&lt;br /&gt;
&lt;br /&gt;
The aim is to derive relations for pressure ratio and temperature ratio as a function of Mach numbers. We will do that starting from the momentum equation.&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
p_2-p_1=\rho_1 u_1^2 - \rho_2 u_2^2 &lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Assuming calorically perfect gas&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho u^2=\rho a^2 M^2=\rho \frac{\gamma p}{\rho} M^2=\gamma p M^2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
which inserted in Eqn. \ref{eq:governing:mom} gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
p_2-p_1=\gamma p_1 M_1^2 - \gamma p_2 M_2^2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
p_2(1+\gamma M_2^2)=p_1(1+\gamma M_1^2)&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
and thus&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{p_2}{p_1}=\frac{1+\gamma M_1^2}{1+\gamma M_2^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
From the equation of state &amp;lt;math&amp;gt;p=\rho RT&amp;lt;/math&amp;gt;, we get&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{T_2}{T_1}=\frac{p_2}{\rho_2 R}\frac{\rho_1 R}{p_1}=\frac{p_2}{p_1}\frac{\rho_1}{\rho_2}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Using the continuity equation, we can get &amp;lt;math&amp;gt;\rho_1/\rho_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho_1 u_1=\rho_2 u_2 \Rightarrow \frac{\rho_1}{\rho_2}=\frac{u_2}{u_1}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Inserted in Eqn. \ref{eq:tr:a} gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{T_2}{T_1}=\frac{p_2}{p_1}\frac{u_2}{u_1}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{u_2}{u_1}=\frac{M_2a_2}{M_1a_1}=\frac{M_2}{M_1}\frac{\sqrt{\gamma RT_2}}{\sqrt{\gamma RT_1}}=\frac{M_2}{M_1}\sqrt{\frac{T_2}{T_1}}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Eqn. \ref{eq:tr:c} in Eqn. \ref{eq:tr:b} gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\sqrt{\frac{T_2}{T_1}}=\frac{p_2}{p_1}\frac{M_2}{M_1}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
With &amp;lt;math&amp;gt;p_2/p_1&amp;lt;/math&amp;gt; from Eqn. \ref{eq:governing:mom:b}, Eqn \ref{eq:tr:d} becomes&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{T_2}{T_1}=\left(\frac{1+\gamma M_1^2}{1+\gamma M_2^2}\right)^2\left(\frac{M_2}{M_1}\right)^2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
==== Differential Relations ====&lt;br /&gt;
&lt;br /&gt;
The equations presented in the previous section gives us the flow state after heat addition but since the heat addition, unlike the normal shock, is a continuous process, it is of interest to study the the heat addition from start to end. In order to do so we will now derive differential relations starting from the governing equations on differential form. We will start with converting the integral equation for conservation of mass for one-dimensional flows to differential form.&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho_1 u_1 = \rho_2 u_2 = const \Rightarrow d(\rho u)=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
d(\rho u)=\rho du+ud\rho=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Divide by &amp;lt;math&amp;gt;\rho u&amp;lt;/math&amp;gt; gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\dfrac{d\rho}{\rho}=\dfrac{du}{u}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
The integral form of the conservation of momentum equation for one-dimensional flows is converted to differential form as follows.&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
p_1+\rho_1u_1^2=p_2+\rho_2u_2^2=const \Rightarrow d(p+\rho u^2)=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
dp+\rho udu+u\underbrace{d(\rho u)}_{=0}=0\Rightarrow dp=-\rho udu&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
with &amp;lt;math&amp;gt;\rho=\dfrac{p}{RT}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;u^2=M^2a^2=M^2\gamma RT&amp;lt;/math&amp;gt; in Eqn.~\ref{eq:governing:mom:diff:b}, we get&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
dp=-\dfrac{p}{RT}u^2\dfrac{du}{u}=-\dfrac{p}{RT}M^2\gamma RT\dfrac{du}{u}\Rightarrow&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\dfrac{dp}{p}=-\gamma M^2\dfrac{du}{u}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
which gives the relative change in pressure, &amp;lt;math&amp;gt;dp/p&amp;lt;/math&amp;gt;, as a function of the relative change in flow velocity, &amp;lt;math&amp;gt;du/u&amp;lt;/math&amp;gt;. The next equation to derive is an equation that describes the relative change in temperature, &amp;lt;math&amp;gt;dT/T&amp;lt;/math&amp;gt;, as a function of the relative change in flow velocity, &amp;lt;math&amp;gt;du/u&amp;lt;/math&amp;gt;. The starting point is the equation of state (the gas law).&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
p=\rho RT\Rightarrow dp = R(\rho dT+ Td\rho)\Rightarrow dT=\dfrac{1}{R\rho}dp-\dfrac{T}{\rho}d\rho&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Divide by &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\dfrac{dT}{T}=\dfrac{1}{\rho RT}dp-\dfrac{1}{\rho}d\rho&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
substitute &amp;lt;math&amp;gt;dp&amp;lt;/math&amp;gt; from Eqn.~\ref{eq:governing:mom:diff:c} and &amp;lt;math&amp;gt;d\rho&amp;lt;/math&amp;gt; from Eqn.~\ref{eq:governing:cont:diff:b} gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\dfrac{dT}{T}=(1-\gamma M^2)\dfrac{du}{u}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
The entropy equation reads&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
ds=C_v\dfrac{dp}{p}-C_p\dfrac{d\rho}{\rho}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
which after substituting &amp;lt;math&amp;gt;dp&amp;lt;/math&amp;gt; from Eqn.~\ref{eq:governing:mom:diff:c} and &amp;lt;math&amp;gt;d\rho&amp;lt;/math&amp;gt; from Eqn.~\ref{eq:governing:cont:diff:b} becomes&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
ds=C_v\gamma(1-M^2)\dfrac{du}{u}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
From the definition of total temperature &amp;lt;math&amp;gt;T_o&amp;lt;/math&amp;gt; we get&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
T_o=T+\dfrac{u^2}{2C_p}\Rightarrow dT_o=dT+\dfrac{1}{C_p}udu=dT+\dfrac{\gamma-1}{\gamma RT}T u^2\dfrac{du}{u}\Rightarrow&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
dT_o=dT+(\gamma-1)M^2 T\dfrac{du}{u}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Inserting &amp;lt;math&amp;gt;dT&amp;lt;/math&amp;gt; from Eqn~\ref{eq:governing:temp:diff:c} in Eqn~\ref{eq:governing:To:diff:a} we get&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
dT_o=(1-\gamma M^2)T\dfrac{du}{u}+(\gamma-1)M^2 T\dfrac{du}{u}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
dT_o=(1-M^2)T\dfrac{du}{u}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Dividing Eqn.~\ref{eq:governing:To:diff:b} by &amp;lt;math&amp;gt;T_o&amp;lt;/math&amp;gt; and using&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
T_o=T\left(1+\dfrac{\gamma-1}{2}M^2\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
we get&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\dfrac{dT_o}{T_o}=\dfrac{1-M^2}{1+\dfrac{\gamma-1}{2}M^2}\dfrac{du}{u}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Finally, we will derive a differential relation that describes the change in Mach number.&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
M=\dfrac{u}{\sqrt{\gamma RT}}\Rightarrow dM=\dfrac{1}{\sqrt{\gamma R}}(T^{1/2}du+ud(T^{-1/2}))=\dfrac{du}{\sqrt{\gamma RT}}-\dfrac{u}{2\sqrt{\gamma R}}T^{-3/2}dT\Rightarrow&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
dM=\dfrac{1}{\sqrt{\gamma RT}}\dfrac{du}{u}-\dfrac{1}{2}\dfrac{u}{\sqrt{\gamma RT}}\dfrac{dT}{T}=M\dfrac{du}{u}-\dfrac{M}{2}\dfrac{dT}{T}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Inserting &amp;lt;math&amp;gt;dT/T&amp;lt;/math&amp;gt; from Eqn.~\ref{eq:governing:temp:diff:c}, we get&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\dfrac{dM}{M}=\dfrac{1+\gamma M^2}{2}\dfrac{du}{u}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
All the derived differential relations are expressed as functions of &amp;lt;math&amp;lt;du/u&amp;lt;/math&amp;gt; but it would be more convenient to relate the changes in flow properties to the added heat or the change in total temperature, which can be related to the added heat through the energy equation.&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
dT_o=\dfrac{\delta q}{C_p}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
From Eqn.~\ref{eq:governing:To:diff:c}, we get&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\dfrac{du}{u}=\left(\dfrac{1+\dfrac{\gamma-1}{2}M^2}{1-M^2}\right)\dfrac{dT_o}{T_o}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Now, we can substitute $du/u$ in all the above relations using Eqn.~\ref{eq:governing:du:diff:final}, we get the following relations&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\dfrac{d\rho}{\rho}=-\left(\dfrac{1+\dfrac{\gamma-1}{2}M^2}{1-M^2}\right)\dfrac{dT_o}{T_o}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\dfrac{dp}{p}=\gamma M^2\left(\dfrac{1+\dfrac{\gamma-1}{2}M^2}{1-M^2}\right)\dfrac{dT_o}{T_o}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\dfrac{dT}{T}=(1-\gamma M^2)\left(\dfrac{1+\dfrac{\gamma-1}{2}M^2}{1-M^2}\right)\dfrac{dT_o}{T_o}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\dfrac{dT}{T}=\left(\dfrac{1+\gamma M^2}{2}\right)\left(\dfrac{1+\dfrac{\gamma-1}{2}M^2}{1-M^2}\right)\dfrac{dT_o}{T_o}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\dfrac{dT}{T}=C_v\gamma \left(1+\dfrac{\gamma-1}{2}M^2\right)\dfrac{dT_o}{T_o}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
==== Heat Addition Process ====&lt;br /&gt;
&lt;br /&gt;
With the differential relations in place, we can now study the continuous change in flow quantities from the initial flow state to the flow state after the heat addition process by dividing the total amount of heat added to the flow, &amp;lt;math&amp;gt;q&amp;lt;/math&amp;gt;, into small portions, &amp;lt;math&amp;gt;\delta q&amp;lt;/math&amp;gt;, and calculate the change in flow properties for each of these heat additions, see Figure~\ref{fig:dq}.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
\begin{figure}[ht!]&lt;br /&gt;
\begin{center}&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter04/pdf/incremental-heat-addition.pdf}&lt;br /&gt;
\end{center}&lt;br /&gt;
\caption{Change in flow quantities due to the addition of an infinitesimal amount of heat $\delta q$}&lt;br /&gt;
\label{fig:dq}&lt;br /&gt;
\end{figure}&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let&#039;s first examine the temperature change by rewriting Eqn.~\ref{eq:governing:dT:diff:final} as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
dT=\dfrac{1-\gamma M^2}{1-M^2}dT_o\Leftrightarrow \dfrac{dT}{dT_o}=\dfrac{1-\gamma M^2}{1-M^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
which is equivalent to&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\dfrac{dh}{\delta q}=\dfrac{1-\gamma M^2}{1-M^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Form Eqn.~\ref{eq:governing:dT:diff:mod:a} we can make the following observation&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\dfrac{dT}{dT_o}=0\Rightarrow \gamma M^2=1\Rightarrow M=\sqrt{1/\gamma}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
which means that the maximum temperature will be reached when the Mach number is &amp;lt;math&amp;gt;\sqrt{1/\gamma}&amp;lt;/math&amp;gt;. Since &amp;lt;math&amp;gt;\gamma&amp;lt;/math&amp;gt; is a number greater than one for all gases, this implies that the maximum temperature can only be reached if the flow is subsonic. For air, this the maximum temperature will be reached at &amp;lt;math&amp;gt;M=0.845&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If we evaluate Eqn.~\ref{eq:governing:dT:diff:mod:a} for sonic flow (&amp;lt;math&amp;gt;M=1&amp;lt;/math&amp;gt;), we see that the derivative becomes infinite.&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
|M|\rightarrow 1.0 \Rightarrow \dfrac{dT}{dT_o}\rightarrow \pm \infty&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Now, by specifying an initial subsonic flow state and dividing the heat addition corresponding to choked flow, &amp;lt;math&amp;gt;q^\ast&amp;lt;/math&amp;gt;, into small portions &amp;lt;math&amp;gt;\delta q&amp;lt;/math&amp;gt;, one can perform integration as indicated in Figure~\ref{fig:dq}. The result is presented in the in Figure~\ref{fig:TS:closeup}. The subsonic process corresponds to the upper line. As heat is added the Mach number is increased and at &amp;lt;math&amp;gt;M=\gamma^{-1/2}&amp;lt;/math&amp;gt; the maximum temperature is reached. Adding more heat will reduce the temperature and increase the Mach number until sonic conditions are reached (&amp;lt;math&amp;gt;M=1.0&amp;lt;/math&amp;gt;). As can be seen in Figure~\ref{fig:TS:closeup}, the lean of the subsonic branch of the Rayleigh line is lower than the isobars (gray lines), which means the increasing heat will reduce pressure. The lower part of the blue line in Figure~\ref{fig:TS:closeup} is the supersonic branch of the Rayleigh line, which is obtained in the same way starting from a supersonic flow condition. A flow state resulting in the same sonic conditions as for the subsonic case is calculated and used as a starting state. The corresponding $q^\ast$ is calculated and the same calculation of consecutive flow states in a step-wise manner is performed. As can be seen in Figure~\ref{fig:TS:closeup}, the lean of the supersonic part of the Rayleigh curve is steeper than the isobars (gray lines), which means that pressure increases as heat is added to the flow. As we saw from Eqn.~\ref{eq:governing:dT:diff:mod:b}, &amp;lt;math&amp;gt;dT/dT_o&amp;lt;/math&amp;gt; becomes infinite when the flow approaches the sonic the sonic state. After the sonic state is reached, further heat addition is impossible without changing the upstream flow conditions. This will be made clearer in the next section.&lt;br /&gt;
&lt;br /&gt;
Using the differential relations above, we can get a good picture of the development of flow variables as heat is continuously added to the flow (see Figure~\ref{fig:rayleigh:trends}).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
\begin{figure}[ht!]&lt;br /&gt;
\begin{subfigure}[b]{0.5\textwidth}&lt;br /&gt;
\centering&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter04/pdf/rayleigh-subsonic-trends.pdf}&lt;br /&gt;
\caption{trends (subsonic flow)}&lt;br /&gt;
\end{subfigure}&lt;br /&gt;
\begin{subfigure}[b]{0.5\textwidth}&lt;br /&gt;
\centering&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter04/pdf/rayleigh-supersonic-trends.pdf}&lt;br /&gt;
\caption{trends (supersonic flow)}&lt;br /&gt;
\end{subfigure}&lt;br /&gt;
\caption{Change in flow variables as heat is continuously added to a subsonic flow (left) and supersonic flow (right).}&lt;br /&gt;
\label{fig:rayleigh:trends}&lt;br /&gt;
\end{figure}&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
\begin{figure}[ht!]&lt;br /&gt;
\centering&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter04/pdf/rayleigh-Ts-close-up.pdf}&lt;br /&gt;
\caption{The Rayleigh line (the blue line) in a Ts-diagram. Gray lines are constant-pressure lines (isobars).}&lt;br /&gt;
\label{fig:TS:closeup}&lt;br /&gt;
\end{figure}&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Rayleigh Line ====&lt;br /&gt;
&lt;br /&gt;
The continuity equation for steady-state, one-dimensional flow reads&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho_1 u_1 = \rho_2 u_2 = C&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is the massflow per square meter (massflow divided by area). Inserted in the momentum equation we get&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
p_1+\dfrac{C^2}{\rho_1}=p_2+\dfrac{C^2}{\rho_2} \Leftrightarrow p_1+\nu_1 C^2=p_2+\nu_2 C^2\Rightarrow \dfrac{p_2-p_1}{\nu_2-\nu_1}=-C^2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Eqn.~\ref{eq:governing:mom:b} tells us that any solution to the governing flow equations must lie along a line (a so-called Rayleigh line) in a &amp;lt;math&amp;gt;p\nu&amp;lt;/math&amp;gt;-diagram. In Figure~\ref{fig:PV}, 1 corresponds to the flow state before heat addition and states 2 and 3 corresponds to the flow state after heat is added. If the flow in state 1 is subsonic, adding heat will change the flow state following the Rayleigh line to the right, i.e. towards flow state 2. If the initial flow state instead is supersonic, heat addition will move the flow state towards state 3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
\begin{figure}[ht!]&lt;br /&gt;
\centering&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter04/pdf/rayleigh-pv.pdf}&lt;br /&gt;
\caption{The Rayleigh line in a $p\nu$-diagram. The heat addition process will follow the Rayleigh line, i.e. all solutions to the equations will be on the line. The lean of the line depends on the massflow. }&lt;br /&gt;
\label{fig:PV}&lt;br /&gt;
\end{figure}&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we know in which direction we will move along the Rayleigh curve when heat is added but in order to find the flow state after heat addition we need to add the energy equation to the problem. If we draw a curve corresponding to the energy equation including the heat addition in the same &amp;lt;math&amp;gt;p\nu&amp;lt;/math&amp;gt;-diagram, the intersection of this curve and the Rayleigh line corresponds to the downstream flow state (the flow state that fulfils the continuity, momentum, and energy equations). To be able to do this we will rewrite the energy equation such that it can be represented by a line in the &amp;lt;math&amp;gt;p\nu&amp;lt;/math&amp;gt;-diagram.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The energy equation for one-dimensional flow with heat addition reads&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
h_1+\dfrac{1}{2}u_1^2+q=h_2+\dfrac{1}{2}u_2^2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Inserting the constant &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; from above (the massflow per &amp;lt;math&amp;gt;m^2&amp;lt;/math&amp;gt;) and and and &amp;lt;math&amp;gt;h=C_pT&amp;lt;/math&amp;gt;, we get&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\dfrac{\gamma R}{\gamma - 1}T_1+\dfrac{1}{2}C^2\nu_1^2+q=\dfrac{\gamma R}{\gamma-1}+\dfrac{1}{2}C^2\nu_2^2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
which may be rewritten as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\dfrac{p_2}{p_1}=\left(\dfrac{\nu_2}{\nu_1}-\dfrac{\gamma+1}{\gamma-1}-\dfrac{2q}{RT_1}\right)\left(1-\dfrac{\gamma+1}{\gamma-1}\dfrac{\nu_2}{\nu_1}\right)^{-1}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
\begin{figure}[ht!]&lt;br /&gt;
\begin{subfigure}[b]{0.5\textwidth}&lt;br /&gt;
\centering&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter04/pdf/rayleigh-pv-subsonic-1.pdf}&lt;br /&gt;
\caption{$p\nu$-diagram}&lt;br /&gt;
\end{subfigure}&lt;br /&gt;
\begin{subfigure}[b]{0.5\textwidth}&lt;br /&gt;
\centering&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter04/pdf/rayleigh-Ts-subsonic-1.pdf}&lt;br /&gt;
\caption{$Ts$-diagram}&lt;br /&gt;
\end{subfigure}&lt;br /&gt;
\caption{Subsonic heat addition. The filled blue circle denotes the start condition ($M_1=0.2$) and the filled orange circle denotes the flow state after heat addition ($M_2=0.6$). Blue and orange circles denote the corresponding total pressure (left) and total temperature (right), respectively. Dashed lines are isentropes (lines with constant entropy). Gray lines are isotherms (left) and isobars (right), respectively. In the left figure, the solid black line is the Rayleigh line, the solid blue line corresponds to the energy equation before heat addition and the solid orange line represents the energy equation after heat addition.}&lt;br /&gt;
\label{fig:TSPV:a}&lt;br /&gt;
\end{figure}&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
\begin{figure}[ht!]&lt;br /&gt;
\begin{subfigure}[b]{0.5\textwidth}&lt;br /&gt;
\centering&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter04/pdf/rayleigh-pv-subsonic-2.pdf}&lt;br /&gt;
\caption{$p\nu$-diagram}&lt;br /&gt;
\end{subfigure}&lt;br /&gt;
\begin{subfigure}[b]{0.5\textwidth}&lt;br /&gt;
\centering&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter04/pdf/rayleigh-Ts-subsonic-2.pdf}&lt;br /&gt;
\caption{$Ts$-diagram}&lt;br /&gt;
\end{subfigure}&lt;br /&gt;
\caption{Subsonic heat addition. The filled blue circle denotes the start condition ($M_1=0.2$) and the filled orange circle denotes the flow state after heat addition ($M_2=1.0$). Blue and orange circles denote the corresponding total pressure (left) and total temperature (right), respectively. Dashed lines are isentropes (lines with constant entropy). Gray lines are isotherms (left) and isobars (right), respectively. In the left figure, the solid black line is the Rayleigh line, the solid blue line corresponds to the energy equation before heat addition and the solid orange line represents the energy equation after heat addition.}&lt;br /&gt;
\label{fig:TSPV:b}&lt;br /&gt;
\end{figure}&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
\begin{figure}[ht!]&lt;br /&gt;
\begin{subfigure}[b]{0.5\textwidth}&lt;br /&gt;
\centering&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter04/pdf/rayleigh-pv-supersonic-1.pdf}&lt;br /&gt;
\caption{$p\nu$-diagram}&lt;br /&gt;
\end{subfigure}&lt;br /&gt;
\begin{subfigure}[b]{0.5\textwidth}&lt;br /&gt;
\centering&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter04/pdf/rayleigh-Ts-supersonic-1.pdf}&lt;br /&gt;
\caption{$Ts$-diagram}&lt;br /&gt;
\end{subfigure}&lt;br /&gt;
\caption{Supersonic heat addition. The filled blue circle denotes the start condition ($M_1=1.8$) and the filled orange circle denotes the flow state after heat addition ($M_2=1.4$). Blue and orange circles denote the corresponding total pressure (left) and total temperature (right), respectively. Dashed lines are isentropes (lines with constant entropy). Gray lines are isotherms (left) and isobars (right), respectively. In the left figure, the solid black line is the Rayleigh line, the solid blue line corresponds to the energy equation before heat addition and the solid orange line represents the energy equation after heat addition.}&lt;br /&gt;
\label{fig:TSPV:c}&lt;br /&gt;
\end{figure}&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
\begin{figure}[ht!]&lt;br /&gt;
\begin{subfigure}[b]{0.5\textwidth}&lt;br /&gt;
\centering&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter04/pdf/rayleigh-pv-supersonic-2.pdf}&lt;br /&gt;
\caption{$p\nu$-diagram}&lt;br /&gt;
\end{subfigure}&lt;br /&gt;
\begin{subfigure}[b]{0.5\textwidth}&lt;br /&gt;
\centering&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter04/pdf/rayleigh-Ts-supersonic-2.pdf}&lt;br /&gt;
\caption{$Ts$-diagram}&lt;br /&gt;
\end{subfigure}&lt;br /&gt;
\caption{Supersonic heat addition. The filled blue circle denotes the start condition ($M_1=1.8$) and the filled orange circle denotes the flow state after heat addition ($M_2=1.0$). Blue and orange circles denote the corresponding total pressure (left) and total temperature (right), respectively. Dashed lines are isentropes (lines with constant entropy). Gray lines are isotherms (left) and isobars (right), respectively. In the left figure, the solid black line is the Rayleigh line, the solid blue line corresponds to the energy equation before heat addition and the solid orange line represents the energy equation after heat addition.}&lt;br /&gt;
\label{fig:TSPV:d}&lt;br /&gt;
\end{figure}&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As you can see in the examples above (Figures~\ref{fig:TSPV:b} and \ref{fig:TSPV:d}), sonic conditions are reached when the Rayleigh line is tangent to the curve representing the energy equation in the &amp;lt;math&amp;gt;p\nu&amp;lt;/math&amp;gt;-diagram. Adding more heat would move the energy equation line upwards and thus there can not be any solution after reaching this state unless the upstream conditions are changed such that the energy line intersects the Rayleigh line after further heat addition. Let&#039;s have a second look at the equations and see if it is possible to verify that the case where the Rayleigh line is a tangent to the energy-equation curve is in fact the sonic state.&lt;br /&gt;
&lt;br /&gt;
Starting from Eqn.~\ref{eq:governing:energy:b}, it is easy to see that for any point along the energy equation curve the flow state may be expressed as a function of the initial flow state and the added heat &amp;lt;math&amp;gt;q&amp;lt;/math&amp;gt; as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\dfrac{\gamma}{\gamma-1}p\nu+\dfrac{1}{2}C^2\nu^2=\dfrac{\gamma}{\gamma-1}p_1\nu_1+\dfrac{1}{2}C^2\nu_1^2+q=D&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;D&amp;lt;/math&amp;gt; is a constant.&lt;br /&gt;
&lt;br /&gt;
Now, let&#039;s different the Eqn.\ref{eq:governing:energy:d} with respect to &amp;lt;math&amp;gt;\nu&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\dfrac{\gamma}{\gamma-1}\left(\nu\dfrac{dp}{d\nu}+p\right)+C^2\nu=0\Rightarrow \dfrac{dp}{d\nu}=-\dfrac{\gamma}{\gamma-1}C^2-\dfrac{p}{\nu}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
The Rayleigh line is a tangent to the energy equation curve when &amp;lt;math&amp;gt;dp/d\nu=-C^2&amp;lt;/math&amp;gt; and thus&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\dfrac{C^2}{\gamma}=\dfrac{p}{\nu}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
By definition &amp;lt;math&amp;gt;C=\rho u&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\nu=1/\rho&amp;lt;/math&amp;gt;, which inserted in Eqn.~\ref{eq:governing:energy:f} gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
u=\sqrt{\dfrac{\gamma p}{\rho}}=a&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
==== Thermal Choking ====&lt;br /&gt;
&lt;br /&gt;
When the heat addition reaches $q^\ast$ the flow becomes sonic and the flow is said to thermally choked. Thermal choking is illustrated in Figure~\ref{fig:TSPV:d}, where the curve representing the energy equation (the blue line in the &amp;lt;math&amp;gt;p\nu&amp;lt;/math&amp;gt;-diagram) is tangent to the Rayleigh line and if more heat is added the blue line will move to the right of the Rayleigh line and thus there are no solutions for &amp;lt;math&amp;gt;q&amp;gt;q^\ast&amp;lt;/math&amp;gt;. So what happens if more heat is added to the flow after thermal choking is reached. The answer is different if the flow is subsonic or supersonic. For a subsonic flow, the upstream flow will be adjusted such that the slope of the Rayleigh line changes and the energy equation curve becomes tangent to the Rayleigh line. This means that the massflow per unit area (&amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt;) is reduced and &amp;lt;math&amp;gt;q^\ast&amp;lt;/math&amp;gt; is increased such that &amp;lt;math&amp;gt;q^\ast&amp;lt;/math&amp;gt; equals the heat added to the flow. Note that the upstream total conditions will not be changed in this process (see Figure~\ref{fig:thermal:choking:sub}).&lt;br /&gt;
&lt;br /&gt;
{{InfoBox|&amp;lt;math&amp;gt;&lt;br /&gt;
M_{1^\prime} = f(q^\ast)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
T_{1^\prime} = f(T_o,\ M_{1^\prime})&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
p_{1^\prime} = f(p_o,\ M_{1^\prime})&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\rho_{1^\prime} = f(p_{1^\prime},\ T_{1^\prime})&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
a_{1^\prime} = f(T_{1^\prime})&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u_{1^\prime} = M_{1^\prime}a_{1^\prime}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
\begin{figure}[ht!]&lt;br /&gt;
\begin{subfigure}[b]{0.5\textwidth}&lt;br /&gt;
\centering&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter04/pdf/rayleigh-Ts-subsonic-choked-mod.pdf}&lt;br /&gt;
\caption{$Ts$-diagram}&lt;br /&gt;
\end{subfigure}&lt;br /&gt;
\begin{subfigure}[b]{0.5\textwidth}&lt;br /&gt;
\centering&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter04/pdf/rayleigh-Ts-subsonic-choked-mod-close-up.pdf}&lt;br /&gt;
\caption{$Ts$-diagram (close up)}&lt;br /&gt;
\end{subfigure}&lt;br /&gt;
\caption{For thermally choked subsonic flow, further heat addition will lead to an updated of the inlet static conditions such that the massflow per unit area is changed and the heat corresponding to thermal choking $q^\ast$ is increased.}&lt;br /&gt;
\label{fig:thermal:choking:sub}&lt;br /&gt;
\end{figure}&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In a choked supersonic flow, there is no possibility for pressure waves to travel upstream in the flow and thus the upstream flow conditions can not be changed as in the subsonic case. Moreover, since a normal shock is an adiabatic process (a jump between two points on the same Rayleigh line), the total temperature is not changed over a chock. From before we have&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\dfrac{T_o}{T_o^\ast}=\dfrac{(\gamma+1)M_1^2}{(1+\gamma M_1^2)^2}(2+(\gamma-1)M_1^2)&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Inserting the normal shock relation&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
M_2^2=\dfrac{2+(\gamma-1)M_1^2}{2\gamma M_1^2-(\gamma-1)}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
one can show that &lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\dfrac{T_o}{T_o^\ast}=\dfrac{(\gamma+1)M_2^2}{(1+\gamma M_2^2)^2}(2+(\gamma-1)M_2^2)&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
and thus &amp;lt;math&amp;gt;T_o^\ast&amp;lt;/math&amp;gt; is not changed by the normal shock and consequently &amp;lt;math&amp;gt;q^\ast&amp;lt;/math&amp;gt; is unchanged if there is a normal shock between station 1 and 2. So, it is not possible to change the upstream static flow conditions and a normal shock will not make it possible to add more heat. The only possible solution is a normal shock upstream of station 1 and thus subsonic flow through the heat addition process.&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Governing_equations_on_differential_form&amp;diff=555</id>
		<title>Governing equations on differential form</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Governing_equations_on_differential_form&amp;diff=555"/>
		<updated>2026-04-01T18:23:47Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Compressible flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Governing equations]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Compressible flow:Topic]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;nomobile&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;__TOC__&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/nomobile&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#vardefine:secno|2}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#vardefine:eqno|28}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
=== The Differential Equations on Conservation Form ===&lt;br /&gt;
&lt;br /&gt;
==== Conservation of Mass ====&lt;br /&gt;
&lt;br /&gt;
The continuity equation on integral form reads&lt;br /&gt;
&lt;br /&gt;
{{InfoBox|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dt}\iiint_{\Omega} \rho dV+\iint_{\partial \Omega}\rho \mathbf{v}\cdot \mathbf{n} dS=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Apply Gauss&#039;s divergence theorem on the surface integral gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iint_{\partial \Omega}\rho \mathbf{v}\cdot \mathbf{n} dS=\iiint_{\Omega}\nabla\cdot(\rho\mathbf{v})dV&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Also, if &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; is a fixed control volume&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dt}\iiint_{\Omega} \rho dV=\iiint_{\Omega} \frac{\partial \rho}{\partial t} dV&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
The continuity equation can now be written as a single volume integral.&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iiint_{\Omega} \left[\frac{\partial \rho}{\partial t} + \nabla\cdot(\rho\mathbf{v})\right]dV=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; is an arbitrary control volume and thus&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\partial \rho}{\partial t} + \nabla\cdot(\rho\mathbf{v})=0&lt;br /&gt;
&amp;lt;/math&amp;gt;|label=eq-cont-pde}}&lt;br /&gt;
&lt;br /&gt;
which is the continuity equation on partial differential form.&lt;br /&gt;
&lt;br /&gt;
==== Conservation of Momentum ====&lt;br /&gt;
&lt;br /&gt;
The momentum equation on integral form reads&lt;br /&gt;
&lt;br /&gt;
{{InfoBox|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dt}\iiint_{\Omega} \rho \mathbf{v} dV+\iint_{\partial \Omega} \left[(\rho\mathbf{v}\cdot\mathbf{n})\mathbf{v}+p\mathbf{n}\right]dS=\iiint_{\Omega}\rho \mathbf{f}dV&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
As for the continuity equation, the surface integral terms are rewritten as volume integrals using Gauss&#039;s divergence theorem.&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iint_{\partial \Omega} (\rho\mathbf{v}\cdot\mathbf{n})\mathbf{v}dS=\iiint_{\Omega} \nabla\cdot(\rho \mathbf{v}\mathbf{v})dV&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iint_{\partial \Omega} p\mathbf{n}dS=\iiint_{\Omega} \nabla pdV&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Also, if &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; is a fixed control volume&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dt}\iiint_{\Omega} \rho \mathbf{v} dV=\iiint_{\Omega}  \frac{\partial}{\partial t}(\rho \mathbf{v}) dV&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
The momentum equation can now be written as one single volume integral&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iiint_{\Omega}\left[\frac{\partial}{\partial t}(\rho \mathbf{v}) + \nabla\cdot(\rho \mathbf{v}\mathbf{v}) + \nabla p - \rho \mathbf{f}\right]dV=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; is an arbitrary control volume and thus&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\partial}{\partial t}(\rho \mathbf{v}) + \nabla\cdot(\rho \mathbf{v}\mathbf{v}) + \nabla p = \rho \mathbf{f} &lt;br /&gt;
&amp;lt;/math&amp;gt;|label=eq-mom-pde}}&lt;br /&gt;
&lt;br /&gt;
which is the momentum equation on partial differential form&lt;br /&gt;
&lt;br /&gt;
==== Conservation of Energy ====&lt;br /&gt;
&lt;br /&gt;
The energy equation on integral form reads&lt;br /&gt;
&lt;br /&gt;
{{InfoBox|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dt}\iiint_{\Omega}\rho e_o dV+\iint_{\partial \Omega}\rho h_o(\mathbf{v}\cdot\mathbf{n})dS=&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;math&amp;gt;\iiint_{\Omega}\rho\mathbf{f}\cdot\mathbf{v}dV+\iiint_{\Omega} \dot{q}\rho dV&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Gauss&#039;s divergence theorem applied to the surface integral term in the energy equation gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iint_{\partial \Omega}\rho h_o(\mathbf{v}\cdot\mathbf{n})dS=\iiint_{\Omega}\nabla\cdot(\rho h_o\mathbf{v})dV&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Fixed control volume&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dt}\iiint_{\Omega}\rho e_o dV=\iiint_{\Omega}\frac{\partial}{\partial t}(\rho e_o) dV&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
The energy equation can now be written as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iiint_{\Omega}\left[\frac{\partial}{\partial t}(\rho e_o) + \nabla\cdot(\rho h_o\mathbf{v}) - \rho\mathbf{f}\cdot\mathbf{v} - \dot{q}\rho \right]dV=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; is an arbitrary control volume and thus&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\partial}{\partial t}(\rho e_o) + \nabla\cdot(\rho h_o\mathbf{v}) = \rho\mathbf{f}\cdot\mathbf{v} + \dot{q}\rho&lt;br /&gt;
&amp;lt;/math&amp;gt;|label=eq-energy-pde}}&lt;br /&gt;
&lt;br /&gt;
which is the energy equation on partial differential form&lt;br /&gt;
&lt;br /&gt;
==== Summary ====&lt;br /&gt;
&lt;br /&gt;
The governing equations for compressible inviscid flow on partial differential form:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: solid 1px;&amp;quot;&amp;gt;&lt;br /&gt;
{{OpenInfoBox|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\partial \rho}{\partial t} + \nabla\cdot(\rho\mathbf{v})=0&lt;br /&gt;
&amp;lt;/math&amp;gt;|description=Continuity:}}&lt;br /&gt;
&lt;br /&gt;
{{OpenInfoBox|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\partial}{\partial t}(\rho \mathbf{v}) + \nabla\cdot(\rho \mathbf{v}\mathbf{v}) + \nabla p = \rho \mathbf{f}&lt;br /&gt;
&amp;lt;/math&amp;gt;|description=Momentum:}}&lt;br /&gt;
&lt;br /&gt;
{{OpenInfoBox|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\partial}{\partial t}(\rho e_o) + \nabla\cdot(\rho h_o\mathbf{v}) = \rho\mathbf{f}\cdot\mathbf{v} + \dot{q}\rho&lt;br /&gt;
&amp;lt;/math&amp;gt;|description=Energy:}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== The Differential Equations on Non-Conservation Form ===&lt;br /&gt;
&lt;br /&gt;
==== The Substantial Derivative ====&lt;br /&gt;
&lt;br /&gt;
The substantial derivative operator is defined as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{D}{Dt}=\frac{\partial}{\partial t}+\mathbf{v}\cdot\nabla&lt;br /&gt;
&amp;lt;/math&amp;gt;|label=eq-cont-pde-non-cons}}&lt;br /&gt;
&lt;br /&gt;
where the first term of the right hand side is the local derivative and the second term is the convective derivative.&lt;br /&gt;
&lt;br /&gt;
==== Conservation of Mass ====&lt;br /&gt;
&lt;br /&gt;
If we apply the substantial derivative operator to density we get&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{D\rho}{Dt}=\frac{\partial \rho}{\partial t}+\mathbf{v}\cdot\nabla\rho&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
From before we have the continuity equation on differential form as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\partial \rho}{\partial t} + \nabla\cdot(\rho\mathbf{v})=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
which can be rewritten as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\partial \rho}{\partial t} + \rho(\nabla\cdot\mathbf{v}) + \mathbf{v}\cdot\nabla\rho=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
and thus&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{D\rho}{Dt}+\rho(\nabla\cdot\mathbf{v})=0&lt;br /&gt;
&amp;lt;/math&amp;gt;|label=eq-pde-noncons-cont}}&lt;br /&gt;
&lt;br /&gt;
{{EquationNote|label=eq-pde-noncons-cont|nopar=1}} says that the mass of a fluid element with a fixed set of fluid particles is constant as the element moves in space.&lt;br /&gt;
&lt;br /&gt;
==== Conservation of Momentum ====&lt;br /&gt;
&lt;br /&gt;
We start from the momentum equation on differential form derived above&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\partial}{\partial t}(\rho \mathbf{v}) + \nabla\cdot(\rho \mathbf{v}\mathbf{v}) + \nabla p = \rho \mathbf{f}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Expanding the first and the second terms gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho\frac{\partial \mathbf{v}}{\partial t} + \mathbf{v}\frac{\partial \rho}{\partial t} + \rho\mathbf{v}\cdot\nabla\mathbf{v} + \mathbf{v}(\nabla\cdot\rho\mathbf{v}) + \nabla p = \rho \mathbf{f}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Collecting terms, we can identify the substantial derivative operator applied to the velocity vector and the continuity equation.&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho\underbrace{\left[\frac{\partial \mathbf{v}}{\partial t}+\mathbf{v}\cdot\nabla\mathbf{v}\right]}_{=\frac{D\mathbf{v}}{Dt}}+\mathbf{v}\underbrace{\left[\frac{\partial \rho}{\partial t}+\nabla\cdot\rho\mathbf{v}\right]}_{=0}+ \nabla p = \rho \mathbf{f}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
which gives us the non-conservation form of the momentum equation&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{D\mathbf{v}}{Dt}+\frac{1}{\rho}\nabla p = \mathbf{f}&lt;br /&gt;
&amp;lt;/math&amp;gt;|label=eq-mom-pde-non-cons}}&lt;br /&gt;
&lt;br /&gt;
==== Conservation of Energy ====&lt;br /&gt;
&lt;br /&gt;
The last equation on non-conservation differential form is the energy equation. We start by rewriting the energy equation on differential form {{EquationNote|label=eq-energy-pde}}, repeated here for convenience&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\partial}{\partial t}(\rho e_o) + \nabla\cdot(\rho h_o\mathbf{v}) = \rho\mathbf{f}\cdot\mathbf{v} + \dot{q}\rho&lt;br /&gt;
&amp;lt;/math&amp;gt;|nonumber=1}}&lt;br /&gt;
&lt;br /&gt;
Total enthalpy, &amp;lt;math&amp;gt;h_o&amp;lt;/math&amp;gt;, is replaced with total energy, &amp;lt;math&amp;gt;e_o&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
h_o=e_o+\frac{p}{\rho}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
which gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\partial}{\partial t}(\rho e_o) + \nabla\cdot(\rho e_o\mathbf{v}) + \nabla\cdot(p\mathbf{v})= \rho\mathbf{f}\cdot\mathbf{v} + \dot{q}\rho&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Expanding the two first terms as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho\frac{\partial e_o}{\partial t} + e_o\frac{\partial \rho}{\partial t} + \rho\mathbf{v}\cdot\nabla e_o + e_o\nabla\cdot(\rho \mathbf{v}) + \nabla\cdot(p\mathbf{v})=&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;math&amp;gt;= \rho\mathbf{f}\cdot\mathbf{v} + \dot{q}\rho&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Collecting terms, we can identify the substantial derivative operator applied on total energy, &amp;lt;math&amp;gt;De_o/Dt&amp;lt;/math&amp;gt; and the continuity equation&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho\underbrace{\left[ \frac{\partial e_o}{\partial t} + \mathbf{v}\cdot\nabla e_o \right]}_{=\frac{De_o}{Dt}}  + e_o\underbrace{\left[\frac{\partial \rho}{\partial t} + \nabla\cdot(\rho \mathbf{v}) \right]}_{=0} + \nabla\cdot(p\mathbf{v})= \rho\mathbf{f}\cdot\mathbf{v} + \dot{q}\rho&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
and thus we end up with the energy equation on non-conservation differential form&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho\frac{De_o}{Dt} + \nabla\cdot(p\mathbf{v}) = \rho\mathbf{f}\cdot\mathbf{v} + \dot{q}\rho&lt;br /&gt;
&amp;lt;/math&amp;gt;|label=eq-energy-pde-non-cons}}&lt;br /&gt;
&lt;br /&gt;
==== Summary ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: solid 1px;&amp;quot;&amp;gt;&lt;br /&gt;
{{OpenInfoBox|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{D\rho}{Dt}+\rho(\nabla\cdot\mathbf{v})=0&lt;br /&gt;
&amp;lt;/math&amp;gt;|description=Continuity:}}&lt;br /&gt;
&lt;br /&gt;
{{OpenInfoBox|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{D\mathbf{v}}{Dt}+\frac{1}{\rho}\nabla p = \mathbf{f}&lt;br /&gt;
&amp;lt;/math&amp;gt;|description=Momentum:}}&lt;br /&gt;
&lt;br /&gt;
{{OpenInfoBox|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho\frac{De_o}{Dt} + \nabla\cdot(p\mathbf{v}) = \rho\mathbf{f}\cdot\mathbf{v} + \dot{q}\rho&lt;br /&gt;
&amp;lt;/math&amp;gt;|description=Energy:}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Alternative Forms of the Energy Equation ===&lt;br /&gt;
&lt;br /&gt;
==== Internal Energy Formulation ====&lt;br /&gt;
&lt;br /&gt;
Total internal energy is defined as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
e_o=e+\frac{1}{2}\mathbf{v}\cdot\mathbf{v}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Inserted in {{EquationNote|label=eq-energy-pde-non-cons|nopar=1}}, this gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho\frac{De}{Dt} + \rho\mathbf{v}\cdot\frac{D \mathbf{v}}{Dt} + \nabla\cdot(p\mathbf{v}) = \rho\mathbf{f}\cdot\mathbf{v} + \dot{q}\rho&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Now, let&#039;s replace the substantial derivative &amp;lt;math&amp;gt;D\mathbf{v}/Dt&amp;lt;/math&amp;gt; using the momentum equation on non-conservation form {{EquationNote|label=eq-mom-pde-non-cons}}.&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho\frac{De}{Dt} -\mathbf{v}\cdot\nabla p + \cancel{\rho\mathbf{f}\cdot\mathbf{v}} + \nabla\cdot(p\mathbf{v}) = \cancel{\rho\mathbf{f}\cdot\mathbf{v}} + \dot{q}\rho&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Now, expand the term &amp;lt;math&amp;gt;\nabla\cdot(p\mathbf{v})&amp;lt;/math&amp;gt; gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho\frac{De}{Dt} \cancel{-\mathbf{v}\cdot\nabla p} + \cancel{\mathbf{v}\cdot\nabla p} +  p(\nabla\cdot\mathbf{v}) = \dot{q}\rho\Rightarrow&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;math&amp;gt;\Rightarrow\rho\frac{De}{Dt} + p(\nabla\cdot\mathbf{v}) = \dot{q}\rho&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Divide by &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{De}{Dt} + \frac{p}{\rho}(\nabla\cdot\mathbf{v}) = \dot{q}&lt;br /&gt;
&amp;lt;/math&amp;gt;|label=eq-energy-pde-non-cons-b}}&lt;br /&gt;
&lt;br /&gt;
Conservation of mass gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{D\rho}{Dt}+\rho(\nabla\cdot\mathbf{v})=0\Rightarrow \nabla\cdot\mathbf{v} = -\frac{1}{\rho}\frac{D\rho}{Dt}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Insert in {{EquationNote|label=eq-energy-pde-non-cons-b|nopar=1}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{De}{Dt} - \frac{p}{\rho^2}\frac{D\rho}{Dt} = \dot{q}\Rightarrow \frac{De}{Dt} + p\frac{D}{Dt} \left(\frac{1}{\rho}\right)= \dot{q}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{De}{Dt} + p\frac{D\nu}{Dt} = \dot{q}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Compare with the first law of thermodynamics: &amp;lt;math&amp;gt;de=\delta q-\delta w&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Enthalpy Formulation ====&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
h=e+\frac{p}{\rho}\Rightarrow \frac{Dh}{Dt}=\frac{De}{Dt}+\frac{1}{\rho}\frac{Dp}{Dt}+p\frac{D}{Dt}\left(\frac{1}{\rho}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
with &amp;lt;math&amp;gt;De/Dt&amp;lt;/math&amp;gt; from {{EquationNote|label=eq-energy-pde-non-cons-b|nopar=1}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{Dh}{Dt}=\dot{q} - \cancel{p\frac{D}{Dt}\left(\frac{1}{\rho}\right)} +\frac{1}{\rho}\frac{Dp}{Dt}+\cancel{p\frac{D}{Dt}\left(\frac{1}{\rho}\right)}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{Dh}{Dt}=\dot{q} + \frac{1}{\rho}\frac{Dp}{Dt}&lt;br /&gt;
&amp;lt;/math&amp;gt;|label=eq-energy-pde-non-cons-c}}&lt;br /&gt;
&lt;br /&gt;
==== Total Enthalpy Formulation ====&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
h_o=h+\frac{1}{2}\mathbf{v}\mathbf{v}\Rightarrow\frac{Dh_o}{Dt}=\frac{Dh}{Dt}+\mathbf{v}\cdot\frac{D\mathbf{v}}{Dt}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
From the momentum equation {{EquationNote|label=eq-mom-pde-non-cons}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{D\mathbf{v}}{Dt}=\mathbf{f}-\frac{1}{\rho}\nabla p&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
which gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{Dh_o}{Dt}=\frac{Dh}{Dt}+\mathbf{v}\cdot\mathbf{f} -\frac{1}{\rho}\mathbf{v}\cdot\nabla p&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Inserting &amp;lt;math&amp;gt;Dh/Dt&amp;lt;/math&amp;gt; from {{EquationNote|label=eq-energy-pde-non-cons-c|nopar=1}} gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{Dh_o}{Dt}=\dot{q} + \frac{1}{\rho}\frac{Dp}{Dt}+\mathbf{v}\cdot\mathbf{f} -\frac{1}{\rho}\mathbf{v}\cdot\nabla p =&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;math&amp;gt;=\frac{1}{\rho}\left[\frac{Dp}{Dt}-\mathbf{v}\cdot\nabla p\right] + \dot{q} + \mathbf{v}\cdot\mathbf{f}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
The substantial derivative operator applied to pressure&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{Dp}{Dt}=\frac{\partial p}{\partial t}+\mathbf{v}\cdot\nabla p&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
and thus&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{Dp}{Dt}-\mathbf{v}\cdot\nabla p=\frac{\partial p}{\partial t}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
which gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{Dh_o}{Dt}=\frac{1}{\rho}\frac{\partial p}{\partial t} + \dot{q} + \mathbf{v}\cdot\mathbf{f}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
If we assume adiabatic flow without body forces&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{Dh_o}{Dt}=\frac{1}{\rho}\frac{\partial p}{\partial t}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
If we further assume the flow to be steady state we get&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{Dh_o}{Dt}=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
This means that in a steady-state adiabatic flow without body forces, total enthalpy is constant along a streamline.&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Template:OpenInfoBox&amp;diff=554</id>
		<title>Template:OpenInfoBox</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Template:OpenInfoBox&amp;diff=554"/>
		<updated>2026-04-01T18:20:56Z</updated>

		<summary type="html">&lt;p&gt;Nian: Created page with &amp;quot;&amp;lt;!-- --&amp;gt;{{InfoBox&amp;lt;!-- --&amp;gt;|1={{{1|}}}&amp;lt;!-- --&amp;gt;|2={{{2|}}}&amp;lt;!-- --&amp;gt;|3={{{3|}}}&amp;lt;!-- --&amp;gt;|label={{{label|}}}&amp;lt;!-- --&amp;gt;|description={{{description|}}}&amp;lt;!-- --&amp;gt;|noborder=1&amp;lt;!-- --&amp;gt;}}&amp;lt;!-- --&amp;gt;&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{InfoBox&amp;lt;!--&lt;br /&gt;
--&amp;gt;|1={{{1|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|2={{{2|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|3={{{3|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|label={{{label|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|description={{{description|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|noborder=1&amp;lt;!--&lt;br /&gt;
--&amp;gt;}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Template:InfoBox&amp;diff=553</id>
		<title>Template:InfoBox</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Template:InfoBox&amp;diff=553"/>
		<updated>2026-04-01T18:20:18Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{NumEqn&amp;lt;!--&lt;br /&gt;
--&amp;gt;|1={{{1|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|2={{{2|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|3={{{3|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|label={{{label|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|nonumber=1&amp;lt;!--&lt;br /&gt;
--&amp;gt;|numw=2em&amp;lt;!--&lt;br /&gt;
--&amp;gt;|infobox=1&amp;lt;!--&lt;br /&gt;
--&amp;gt;|description={{{description|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|noborder={{{noborder|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Template:InfoBox&amp;diff=552</id>
		<title>Template:InfoBox</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Template:InfoBox&amp;diff=552"/>
		<updated>2026-04-01T17:41:01Z</updated>

		<summary type="html">&lt;p&gt;Nian: Created page with &amp;quot;&amp;lt;!-- --&amp;gt;{{NumEqn&amp;lt;!-- --&amp;gt;|1={{{1|}}}&amp;lt;!-- --&amp;gt;|2={{{2|}}}&amp;lt;!-- --&amp;gt;|3={{{3|}}}&amp;lt;!-- --&amp;gt;|label={{{label|}}}&amp;lt;!-- --&amp;gt;|nonumber=1&amp;lt;!-- --&amp;gt;|numw=2em&amp;lt;!-- --&amp;gt;|infobox=1&amp;lt;!-- --&amp;gt;|description={{{description|}}}&amp;lt;!-- --&amp;gt;}}&amp;lt;!-- --&amp;gt;&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{NumEqn&amp;lt;!--&lt;br /&gt;
--&amp;gt;|1={{{1|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|2={{{2|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|3={{{3|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|label={{{label|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;|nonumber=1&amp;lt;!--&lt;br /&gt;
--&amp;gt;|numw=2em&amp;lt;!--&lt;br /&gt;
--&amp;gt;|infobox=1&amp;lt;!--&lt;br /&gt;
--&amp;gt;|description={{{description|}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Template:NumEqn&amp;diff=551</id>
		<title>Template:NumEqn</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Template:NumEqn&amp;diff=551"/>
		<updated>2026-04-01T16:01:05Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;includeonly&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;{{#if:{{{nonumber|}}}||&amp;lt;!--&lt;br /&gt;
   --&amp;gt;{{#if:{{{number|}}}|&amp;lt;!--&lt;br /&gt;
      --&amp;gt;{{#vardefine:leqno|{{{number}}}}}|&amp;lt;!--&lt;br /&gt;
   --&amp;gt;{{#if:{{{3|}}}|&amp;lt;!--&lt;br /&gt;
      --&amp;gt;{{#vardefine:leqno|{{{3}}}}}|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{#var:eqno}}|&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{#vardefine:eqno|&amp;lt;!--&lt;br /&gt;
               --&amp;gt;{{#expr:{{#var:eqno}}+1}}&amp;lt;!--&lt;br /&gt;
            --&amp;gt;}}|&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{#vardefine:eqno|1}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{#var:secno}}|&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{#vardefine:leqno|&amp;lt;!--&lt;br /&gt;
               --&amp;gt;{{#var:secno}}.{{#var:eqno}}&amp;lt;!--&lt;br /&gt;
            --&amp;gt;}}|&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{#vardefine:leqno|&amp;lt;!--&lt;br /&gt;
               --&amp;gt;{{#var:eqno}}&amp;lt;!--&lt;br /&gt;
            --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
      --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
   --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
   --&amp;gt;{{#if:{{{noprefix|}}}||&amp;lt;!--&lt;br /&gt;
      --&amp;gt;{{#if:{{{prefix|}}}|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#vardefine:leqno|&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{{prefix}}} {{#var:leqno}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
      --&amp;gt;|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{#var:eqprefix}}|&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{#vardefine:leqno|&amp;lt;!--&lt;br /&gt;
               --&amp;gt;{{#var:eqprefix}} {{#var:leqno}}&amp;lt;!--&lt;br /&gt;
            --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;|&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{#vardefine:leqno|&amp;lt;!--&lt;br /&gt;
               --&amp;gt;Eq. {{#var:leqno}}&amp;lt;!--&lt;br /&gt;
            --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
      --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
   --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;}}&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
{{{infobox}}}=1&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;table style=&amp;quot;width: 100%;{{#if:{{{noborder|}}}||&amp;lt;!--&lt;br /&gt;
   --&amp;gt;{{#if:{{{border|}}}|&amp;lt;!--&lt;br /&gt;
   --&amp;gt;border: 1px solid {{#if:{{{border-color|}}}|&amp;lt;!--&lt;br /&gt;
   --&amp;gt;{{{border-color}}}|}};|{{#if:{{{infobox|}}}|&amp;lt;!--&lt;br /&gt;
   --&amp;gt;border: 1px solid {{#if:{{{border-color|}}}|&amp;lt;!--&lt;br /&gt;
   --&amp;gt;{{{border-color}}}|}};}}}}}}border-collapse: collapse;&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
   --&amp;gt;&amp;lt;tr {{#if:{{{background-color|}}}|&amp;lt;!--&lt;br /&gt;
      --&amp;gt;style=&amp;quot;background-color: {{{background-color}}};&amp;quot;|&amp;lt;!--&lt;br /&gt;
      --&amp;gt;{{#if:{{{infobox|}}}|style=&amp;quot;background-color: whitesmoke;&amp;quot;}}}}&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td &amp;lt;!--&lt;br /&gt;
         ... left cell css ...&lt;br /&gt;
         --&amp;gt;style=&amp;quot;width: {{#if:{{{numw|}}}|{{{numw}}}|5em}}; &amp;lt;!--&lt;br /&gt;
         --&amp;gt;padding-left: 0.5em; &amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{{inner-border|}}}|border: 1px solid &amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{{border-color|}}}|{{{border-color}}}|}};}}&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
         --&amp;gt;&amp;lt;span {{#if:{{{color|}}}|style=&amp;quot;color: {{{color}}};&amp;quot;|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{{infobox|}}}|style=&amp;quot;color: steelblue;&amp;quot;}}}}&amp;gt;&amp;lt;!--&lt;br /&gt;
         ... left cell content (if applicable) ...&lt;br /&gt;
         --&amp;gt;{{#if:{{{description|}}}|{{{description}}}}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td &amp;lt;!-- &lt;br /&gt;
         ... equation cell css ...&lt;br /&gt;
         --&amp;gt;style=&amp;quot;padding: {{#if:{{{padding|}}}|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{{padding}}};|{{#if:{{{infobox|}}}|2.0em;|0.5em;}}}} &amp;lt;!--&lt;br /&gt;
         --&amp;gt;text-align: {{#if:{{{align|}}}|{{{align}}}|center}};&amp;lt;!--      &lt;br /&gt;
         --&amp;gt;{{#if:{{{inner-border|}}}|border: 1px solid &amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{{border-color|}}}|{{{border-color}}}|}};&amp;quot;}}&amp;gt;&amp;lt;!--&lt;br /&gt;
         --&amp;gt;&amp;lt;span {{#if:{{{color|}}}|style=&amp;quot;color: {{{color}}};&amp;quot;|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{{infobox|}}}|style=&amp;quot;color: steelblue;&amp;quot;}}}}&amp;gt;&amp;lt;!--&lt;br /&gt;
         ... equation cell content ...&lt;br /&gt;
         --&amp;gt;{{{1}}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td &amp;lt;!-- &lt;br /&gt;
         ... number cell css ...&lt;br /&gt;
         --&amp;gt;style=&amp;quot;width: {{#if:{{{numw|}}}|{{{numw}}}|5em}}; &amp;lt;!--&lt;br /&gt;
         --&amp;gt;padding-right: 0.5em; &amp;lt;!--&lt;br /&gt;
         --&amp;gt;text-align: right; vertical-align: middle; &amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{{inner-border|}}}|border: 1px solid &amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{{border-color|}}}|{{{border-color}}}|}};}}&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
         --&amp;gt;&amp;lt;span {{#if:{{{color|}}}|style=&amp;quot;color: {{{color}}};&amp;quot;|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{{infobox|}}}|style=&amp;quot;color: steelblue;&amp;quot;}}}}&amp;gt;&amp;lt;!--&lt;br /&gt;
         ... number cell content ...&lt;br /&gt;
         --&amp;gt;{{#if:{{{nonumber|}}}||&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{#if:{{{label|}}}|&amp;lt;!--&lt;br /&gt;
               --&amp;gt;{{#if:{{{number|}}}|&amp;lt;!--&lt;br /&gt;
                  --&amp;gt;{{EquationRef&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|{{{label}}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|{{#var:leqno}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|nopar={{{nopar|}}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|spar={{{spar|}}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|wpar={{{wpar|}}}&amp;lt;!--&lt;br /&gt;
                  --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
               --&amp;gt;|&amp;lt;!--&lt;br /&gt;
                  --&amp;gt;{{EquationRef&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|{{{label}}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|{{#var:leqno}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|nopar={{{nopar|}}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|spar={{{spar|}}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|wpar={{{wpar|}}}&amp;lt;!--&lt;br /&gt;
                  --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
               --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
           --&amp;gt;|&amp;lt;!--&lt;br /&gt;
              --&amp;gt;{{#if:{{{number|}}}|&amp;lt;!--&lt;br /&gt;
                 --&amp;gt;{{EquationRef&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;|{{#var:leqno}}&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;|nopar={{{nopar|}}}&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;|spar={{{spar|}}}&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;|wpar={{{wpar|}}}&amp;lt;!--&lt;br /&gt;
                 --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
              --&amp;gt;|&amp;lt;!--&lt;br /&gt;
                 --&amp;gt;{{#if:{{{3|}}}|&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;{{EquationRef&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;|{{{2}}}&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;|{{#var:leqno}}&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;|nopar={{{nopar|}}}&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;|spar={{{spar|}}}&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;|wpar={{{wpar|}}}&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
                 --&amp;gt;|&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;{{#if:{{{2|}}}|&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;{{EquationRef&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|{{{2}}}&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|{{#var:leqno}}&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|nopar={{{nopar|}}}&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|spar={{{spar|}}}&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|wpar={{{wpar|}}}&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;|&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;{{EquationRef&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|{{#var:leqno}}&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|nopar={{{nopar|}}}&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|spar={{{spar|}}}&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|wpar={{{wpar|}}}&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
                   --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
                --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
             --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
          --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
   --&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/table&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/includeonly&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- old versions in Template:NumEqnOld --&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Governing_equations_on_differential_form&amp;diff=550</id>
		<title>Governing equations on differential form</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Governing_equations_on_differential_form&amp;diff=550"/>
		<updated>2026-04-01T15:31:45Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Compressible flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Governing equations]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Compressible flow:Topic]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;nomobile&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;__TOC__&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/nomobile&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#vardefine:secno|2}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#vardefine:eqno|28}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
=== The Differential Equations on Conservation Form ===&lt;br /&gt;
&lt;br /&gt;
==== Conservation of Mass ====&lt;br /&gt;
&lt;br /&gt;
The continuity equation on integral form reads&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dt}\iiint_{\Omega} \rho dV+\iint_{\partial \Omega}\rho \mathbf{v}\cdot \mathbf{n} dS=0&lt;br /&gt;
&amp;lt;/math&amp;gt;|nonumber=1|infobox=1|numw=2em}}&lt;br /&gt;
&lt;br /&gt;
Apply Gauss&#039;s divergence theorem on the surface integral gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iint_{\partial \Omega}\rho \mathbf{v}\cdot \mathbf{n} dS=\iiint_{\Omega}\nabla\cdot(\rho\mathbf{v})dV&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Also, if &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; is a fixed control volume&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dt}\iiint_{\Omega} \rho dV=\iiint_{\Omega} \frac{\partial \rho}{\partial t} dV&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
The continuity equation can now be written as a single volume integral.&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iiint_{\Omega} \left[\frac{\partial \rho}{\partial t} + \nabla\cdot(\rho\mathbf{v})\right]dV=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; is an arbitrary control volume and thus&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\partial \rho}{\partial t} + \nabla\cdot(\rho\mathbf{v})=0&lt;br /&gt;
&amp;lt;/math&amp;gt;|label=eq-cont-pde}}&lt;br /&gt;
&lt;br /&gt;
which is the continuity equation on partial differential form.&lt;br /&gt;
&lt;br /&gt;
==== Conservation of Momentum ====&lt;br /&gt;
&lt;br /&gt;
The momentum equation on integral form reads&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dt}\iiint_{\Omega} \rho \mathbf{v} dV+\iint_{\partial \Omega} \left[(\rho\mathbf{v}\cdot\mathbf{n})\mathbf{v}+p\mathbf{n}\right]dS=\iiint_{\Omega}\rho \mathbf{f}dV&lt;br /&gt;
&amp;lt;/math&amp;gt;|nonumber=1|infobox=1|numw=2em}}&lt;br /&gt;
&lt;br /&gt;
As for the continuity equation, the surface integral terms are rewritten as volume integrals using Gauss&#039;s divergence theorem.&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iint_{\partial \Omega} (\rho\mathbf{v}\cdot\mathbf{n})\mathbf{v}dS=\iiint_{\Omega} \nabla\cdot(\rho \mathbf{v}\mathbf{v})dV&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iint_{\partial \Omega} p\mathbf{n}dS=\iiint_{\Omega} \nabla pdV&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Also, if &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; is a fixed control volume&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dt}\iiint_{\Omega} \rho \mathbf{v} dV=\iiint_{\Omega}  \frac{\partial}{\partial t}(\rho \mathbf{v}) dV&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
The momentum equation can now be written as one single volume integral&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iiint_{\Omega}\left[\frac{\partial}{\partial t}(\rho \mathbf{v}) + \nabla\cdot(\rho \mathbf{v}\mathbf{v}) + \nabla p - \rho \mathbf{f}\right]dV=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; is an arbitrary control volume and thus&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\partial}{\partial t}(\rho \mathbf{v}) + \nabla\cdot(\rho \mathbf{v}\mathbf{v}) + \nabla p = \rho \mathbf{f} &lt;br /&gt;
&amp;lt;/math&amp;gt;|label=eq-mom-pde}}&lt;br /&gt;
&lt;br /&gt;
which is the momentum equation on partial differential form&lt;br /&gt;
&lt;br /&gt;
==== Conservation of Energy ====&lt;br /&gt;
&lt;br /&gt;
The energy equation on integral form reads&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dt}\iiint_{\Omega}\rho e_o dV+\iint_{\partial \Omega}\rho h_o(\mathbf{v}\cdot\mathbf{n})dS=&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;math&amp;gt;\iiint_{\Omega}\rho\mathbf{f}\cdot\mathbf{v}dV+\iiint_{\Omega} \dot{q}\rho dV&lt;br /&gt;
&amp;lt;/math&amp;gt;|nonumber=1|infobox=1|numw=2em}}&lt;br /&gt;
&lt;br /&gt;
Gauss&#039;s divergence theorem applied to the surface integral term in the energy equation gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iint_{\partial \Omega}\rho h_o(\mathbf{v}\cdot\mathbf{n})dS=\iiint_{\Omega}\nabla\cdot(\rho h_o\mathbf{v})dV&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Fixed control volume&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d}{dt}\iiint_{\Omega}\rho e_o dV=\iiint_{\Omega}\frac{\partial}{\partial t}(\rho e_o) dV&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
The energy equation can now be written as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iiint_{\Omega}\left[\frac{\partial}{\partial t}(\rho e_o) + \nabla\cdot(\rho h_o\mathbf{v}) - \rho\mathbf{f}\cdot\mathbf{v} - \dot{q}\rho \right]dV=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; is an arbitrary control volume and thus&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\partial}{\partial t}(\rho e_o) + \nabla\cdot(\rho h_o\mathbf{v}) = \rho\mathbf{f}\cdot\mathbf{v} + \dot{q}\rho&lt;br /&gt;
&amp;lt;/math&amp;gt;|label=eq-energy-pde}}&lt;br /&gt;
&lt;br /&gt;
which is the energy equation on partial differential form&lt;br /&gt;
&lt;br /&gt;
==== Summary ====&lt;br /&gt;
&lt;br /&gt;
The governing equations for compressible inviscid flow on partial differential form:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: solid 1px;&amp;quot;&amp;gt;&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\partial \rho}{\partial t} + \nabla\cdot(\rho\mathbf{v})=0&lt;br /&gt;
&amp;lt;/math&amp;gt;|infobox=1|description=Continuity:|nonumber=1|noborder=1}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\partial}{\partial t}(\rho \mathbf{v}) + \nabla\cdot(\rho \mathbf{v}\mathbf{v}) + \nabla p = \rho \mathbf{f}&lt;br /&gt;
&amp;lt;/math&amp;gt;|infobox=1|description=Momentum:|nonumber=1|noborder=1}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\partial}{\partial t}(\rho e_o) + \nabla\cdot(\rho h_o\mathbf{v}) = \rho\mathbf{f}\cdot\mathbf{v} + \dot{q}\rho&lt;br /&gt;
&amp;lt;/math&amp;gt;|infobox=1|description=Energy:|nonumber=1|noborder=1}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== The Differential Equations on Non-Conservation Form ===&lt;br /&gt;
&lt;br /&gt;
==== The Substantial Derivative ====&lt;br /&gt;
&lt;br /&gt;
The substantial derivative operator is defined as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{D}{Dt}=\frac{\partial}{\partial t}+\mathbf{v}\cdot\nabla&lt;br /&gt;
&amp;lt;/math&amp;gt;|label=eq-cont-pde-non-cons}}&lt;br /&gt;
&lt;br /&gt;
where the first term of the right hand side is the local derivative and the second term is the convective derivative.&lt;br /&gt;
&lt;br /&gt;
==== Conservation of Mass ====&lt;br /&gt;
&lt;br /&gt;
If we apply the substantial derivative operator to density we get&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{D\rho}{Dt}=\frac{\partial \rho}{\partial t}+\mathbf{v}\cdot\nabla\rho&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
From before we have the continuity equation on differential form as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\partial \rho}{\partial t} + \nabla\cdot(\rho\mathbf{v})=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
which can be rewritten as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\partial \rho}{\partial t} + \rho(\nabla\cdot\mathbf{v}) + \mathbf{v}\cdot\nabla\rho=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
and thus&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{D\rho}{Dt}+\rho(\nabla\cdot\mathbf{v})=0&lt;br /&gt;
&amp;lt;/math&amp;gt;|label=eq-pde-noncons-cont}}&lt;br /&gt;
&lt;br /&gt;
{{EquationNote|label=eq-pde-noncons-cont|nopar=1}} says that the mass of a fluid element with a fixed set of fluid particles is constant as the element moves in space.&lt;br /&gt;
&lt;br /&gt;
==== Conservation of Momentum ====&lt;br /&gt;
&lt;br /&gt;
We start from the momentum equation on differential form derived above&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\partial}{\partial t}(\rho \mathbf{v}) + \nabla\cdot(\rho \mathbf{v}\mathbf{v}) + \nabla p = \rho \mathbf{f}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Expanding the first and the second terms gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho\frac{\partial \mathbf{v}}{\partial t} + \mathbf{v}\frac{\partial \rho}{\partial t} + \rho\mathbf{v}\cdot\nabla\mathbf{v} + \mathbf{v}(\nabla\cdot\rho\mathbf{v}) + \nabla p = \rho \mathbf{f}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Collecting terms, we can identify the substantial derivative operator applied to the velocity vector and the continuity equation.&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho\underbrace{\left[\frac{\partial \mathbf{v}}{\partial t}+\mathbf{v}\cdot\nabla\mathbf{v}\right]}_{=\frac{D\mathbf{v}}{Dt}}+\mathbf{v}\underbrace{\left[\frac{\partial \rho}{\partial t}+\nabla\cdot\rho\mathbf{v}\right]}_{=0}+ \nabla p = \rho \mathbf{f}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
which gives us the non-conservation form of the momentum equation&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{D\mathbf{v}}{Dt}+\frac{1}{\rho}\nabla p = \mathbf{f}&lt;br /&gt;
&amp;lt;/math&amp;gt;|label=eq-mom-pde-non-cons}}&lt;br /&gt;
&lt;br /&gt;
==== Conservation of Energy ====&lt;br /&gt;
&lt;br /&gt;
The last equation on non-conservation differential form is the energy equation. We start by rewriting the energy equation on differential form {{EquationNote|label=eq-energy-pde}}, repeated here for convenience&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\partial}{\partial t}(\rho e_o) + \nabla\cdot(\rho h_o\mathbf{v}) = \rho\mathbf{f}\cdot\mathbf{v} + \dot{q}\rho&lt;br /&gt;
&amp;lt;/math&amp;gt;|nonumber=1}}&lt;br /&gt;
&lt;br /&gt;
Total enthalpy, &amp;lt;math&amp;gt;h_o&amp;lt;/math&amp;gt;, is replaced with total energy, &amp;lt;math&amp;gt;e_o&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
h_o=e_o+\frac{p}{\rho}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
which gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\partial}{\partial t}(\rho e_o) + \nabla\cdot(\rho e_o\mathbf{v}) + \nabla\cdot(p\mathbf{v})= \rho\mathbf{f}\cdot\mathbf{v} + \dot{q}\rho&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Expanding the two first terms as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho\frac{\partial e_o}{\partial t} + e_o\frac{\partial \rho}{\partial t} + \rho\mathbf{v}\cdot\nabla e_o + e_o\nabla\cdot(\rho \mathbf{v}) + \nabla\cdot(p\mathbf{v})=&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;math&amp;gt;= \rho\mathbf{f}\cdot\mathbf{v} + \dot{q}\rho&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Collecting terms, we can identify the substantial derivative operator applied on total energy, &amp;lt;math&amp;gt;De_o/Dt&amp;lt;/math&amp;gt; and the continuity equation&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho\underbrace{\left[ \frac{\partial e_o}{\partial t} + \mathbf{v}\cdot\nabla e_o \right]}_{=\frac{De_o}{Dt}}  + e_o\underbrace{\left[\frac{\partial \rho}{\partial t} + \nabla\cdot(\rho \mathbf{v}) \right]}_{=0} + \nabla\cdot(p\mathbf{v})= \rho\mathbf{f}\cdot\mathbf{v} + \dot{q}\rho&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
and thus we end up with the energy equation on non-conservation differential form&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho\frac{De_o}{Dt} + \nabla\cdot(p\mathbf{v}) = \rho\mathbf{f}\cdot\mathbf{v} + \dot{q}\rho&lt;br /&gt;
&amp;lt;/math&amp;gt;|label=eq-energy-pde-non-cons}}&lt;br /&gt;
&lt;br /&gt;
==== Summary ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: solid 1px;&amp;quot;&amp;gt;&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{D\rho}{Dt}+\rho(\nabla\cdot\mathbf{v})=0&lt;br /&gt;
&amp;lt;/math&amp;gt;|infobox=1|description=Continuity:|nonumber=1|noborder=1}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{D\mathbf{v}}{Dt}+\frac{1}{\rho}\nabla p = \mathbf{f}&lt;br /&gt;
&amp;lt;/math&amp;gt;|infobox=1|description=Momentum:|nonumber=1|noborder=1}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho\frac{De_o}{Dt} + \nabla\cdot(p\mathbf{v}) = \rho\mathbf{f}\cdot\mathbf{v} + \dot{q}\rho&lt;br /&gt;
&amp;lt;/math&amp;gt;|infobox=1|description=Energy:|nonumber=1|noborder=1}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Alternative Forms of the Energy Equation ===&lt;br /&gt;
&lt;br /&gt;
==== Internal Energy Formulation ====&lt;br /&gt;
&lt;br /&gt;
Total internal energy is defined as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
e_o=e+\frac{1}{2}\mathbf{v}\cdot\mathbf{v}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Inserted in {{EquationNote|label=eq-energy-pde-non-cons|nopar=1}}, this gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho\frac{De}{Dt} + \rho\mathbf{v}\cdot\frac{D \mathbf{v}}{Dt} + \nabla\cdot(p\mathbf{v}) = \rho\mathbf{f}\cdot\mathbf{v} + \dot{q}\rho&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Now, let&#039;s replace the substantial derivative &amp;lt;math&amp;gt;D\mathbf{v}/Dt&amp;lt;/math&amp;gt; using the momentum equation on non-conservation form {{EquationNote|label=eq-mom-pde-non-cons}}.&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho\frac{De}{Dt} -\mathbf{v}\cdot\nabla p + \cancel{\rho\mathbf{f}\cdot\mathbf{v}} + \nabla\cdot(p\mathbf{v}) = \cancel{\rho\mathbf{f}\cdot\mathbf{v}} + \dot{q}\rho&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Now, expand the term &amp;lt;math&amp;gt;\nabla\cdot(p\mathbf{v})&amp;lt;/math&amp;gt; gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho\frac{De}{Dt} \cancel{-\mathbf{v}\cdot\nabla p} + \cancel{\mathbf{v}\cdot\nabla p} +  p(\nabla\cdot\mathbf{v}) = \dot{q}\rho\Rightarrow&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;math&amp;gt;\Rightarrow\rho\frac{De}{Dt} + p(\nabla\cdot\mathbf{v}) = \dot{q}\rho&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Divide by &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{De}{Dt} + \frac{p}{\rho}(\nabla\cdot\mathbf{v}) = \dot{q}&lt;br /&gt;
&amp;lt;/math&amp;gt;|label=eq-energy-pde-non-cons-b}}&lt;br /&gt;
&lt;br /&gt;
Conservation of mass gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{D\rho}{Dt}+\rho(\nabla\cdot\mathbf{v})=0\Rightarrow \nabla\cdot\mathbf{v} = -\frac{1}{\rho}\frac{D\rho}{Dt}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Insert in {{EquationNote|label=eq-energy-pde-non-cons-b|nopar=1}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{De}{Dt} - \frac{p}{\rho^2}\frac{D\rho}{Dt} = \dot{q}\Rightarrow \frac{De}{Dt} + p\frac{D}{Dt} \left(\frac{1}{\rho}\right)= \dot{q}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{De}{Dt} + p\frac{D\nu}{Dt} = \dot{q}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Compare with the first law of thermodynamics: &amp;lt;math&amp;gt;de=\delta q-\delta w&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Enthalpy Formulation ====&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
h=e+\frac{p}{\rho}\Rightarrow \frac{Dh}{Dt}=\frac{De}{Dt}+\frac{1}{\rho}\frac{Dp}{Dt}+p\frac{D}{Dt}\left(\frac{1}{\rho}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
with &amp;lt;math&amp;gt;De/Dt&amp;lt;/math&amp;gt; from {{EquationNote|label=eq-energy-pde-non-cons-b|nopar=1}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{Dh}{Dt}=\dot{q} - \cancel{p\frac{D}{Dt}\left(\frac{1}{\rho}\right)} +\frac{1}{\rho}\frac{Dp}{Dt}+\cancel{p\frac{D}{Dt}\left(\frac{1}{\rho}\right)}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{Dh}{Dt}=\dot{q} + \frac{1}{\rho}\frac{Dp}{Dt}&lt;br /&gt;
&amp;lt;/math&amp;gt;|label=eq-energy-pde-non-cons-c}}&lt;br /&gt;
&lt;br /&gt;
==== Total Enthalpy Formulation ====&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
h_o=h+\frac{1}{2}\mathbf{v}\mathbf{v}\Rightarrow\frac{Dh_o}{Dt}=\frac{Dh}{Dt}+\mathbf{v}\cdot\frac{D\mathbf{v}}{Dt}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
From the momentum equation {{EquationNote|label=eq-mom-pde-non-cons}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{D\mathbf{v}}{Dt}=\mathbf{f}-\frac{1}{\rho}\nabla p&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
which gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{Dh_o}{Dt}=\frac{Dh}{Dt}+\mathbf{v}\cdot\mathbf{f} -\frac{1}{\rho}\mathbf{v}\cdot\nabla p&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Inserting &amp;lt;math&amp;gt;Dh/Dt&amp;lt;/math&amp;gt; from {{EquationNote|label=eq-energy-pde-non-cons-c|nopar=1}} gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{Dh_o}{Dt}=\dot{q} + \frac{1}{\rho}\frac{Dp}{Dt}+\mathbf{v}\cdot\mathbf{f} -\frac{1}{\rho}\mathbf{v}\cdot\nabla p =&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;math&amp;gt;=\frac{1}{\rho}\left[\frac{Dp}{Dt}-\mathbf{v}\cdot\nabla p\right] + \dot{q} + \mathbf{v}\cdot\mathbf{f}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
The substantial derivative operator applied to pressure&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{Dp}{Dt}=\frac{\partial p}{\partial t}+\mathbf{v}\cdot\nabla p&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
and thus&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{Dp}{Dt}-\mathbf{v}\cdot\nabla p=\frac{\partial p}{\partial t}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
which gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{Dh_o}{Dt}=\frac{1}{\rho}\frac{\partial p}{\partial t} + \dot{q} + \mathbf{v}\cdot\mathbf{f}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
If we assume adiabatic flow without body forces&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{Dh_o}{Dt}=\frac{1}{\rho}\frac{\partial p}{\partial t}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
If we further assume the flow to be steady state we get&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{Dh_o}{Dt}=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
This means that in a steady-state adiabatic flow without body forces, total enthalpy is constant along a streamline.&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=The_Q1D_equations&amp;diff=549</id>
		<title>The Q1D equations</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=The_Q1D_equations&amp;diff=549"/>
		<updated>2026-04-01T15:22:04Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Compressible flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Quasi-one-dimensional flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Inviscid flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Compressible flow:Topic]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;nomobile&amp;gt;&amp;lt;!--&lt;br /&gt;
__TOC__&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/nomobile&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#vardefine:secno|5}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#vardefine:eqno|0}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
=== Governing Equations ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
\begin{figure}[ht!]&lt;br /&gt;
\begin{center}&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter06/pdf/control-volume.pdf}&lt;br /&gt;
\caption{Quasi-one-dimensional flow - control volume}&lt;br /&gt;
\label{fig:cv}&lt;br /&gt;
\end{center}&lt;br /&gt;
\end{figure}&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following quasi-one-dimensional flow will be assumed. That means that the cross-section is allowed to vary smoothly but flow quantities varies in one direction only. The equations that are derived will thus describe one-dimensional flow in axisymmetric tubes. Let&#039;s assume flow in the &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;-direction, which means that all flow quantities and the cross-section area will vary with the axial coordinate &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
A=A(x),\ \rho=\rho(x),\ u=u(x),\ p=p(x),\ ...&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
We will further assume steady-state flow, which means that unsteady terms will be zero.&lt;br /&gt;
&lt;br /&gt;
The equations are derived with the starting point in the governing flow equations on integral form&lt;br /&gt;
&lt;br /&gt;
==== Continuity Equation ====&lt;br /&gt;
&lt;br /&gt;
Applying the integral form of the continuity equation on the quasi-one-dimensional flow control volume (Fig. \ref{fig:cv}) gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\underbrace{\frac{d}{dt}\iiint_{\Omega}\rho d{V}}_{=0}+\iint_{\partial \Omega}\rho {\mathbf{v}}\cdot {\mathbf{n}}dS=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iint_{\partial \Omega}\rho {\mathbf{v}}\cdot {\mathbf{n}}dS=-\rho_1 u_1 A_1+\rho_2 u_2 A_2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho_1 u_1 A_1=\rho_2 u_2 A_2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
==== Momentum Equation ====&lt;br /&gt;
&lt;br /&gt;
Applying the integral form of the momentum equation on the quasi-one-dimensional flow control volume (Fig. \ref{fig:cv}) gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\underbrace{\frac{d}{dt}\iiint_{\Omega}\rho{\mathbf{v}} d{V}}_{=0}+\iint_{\partial \Omega}\left[\rho ({\mathbf{v}}\cdot {\mathbf{n}}){\mathbf{v}}+p{\mathbf{n}}\right]dS=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iint_{\partial \Omega} \rho ({\mathbf{v}}\cdot {\mathbf{n}}){\mathbf{v}}dS=-\rho_1u_1^2A_1+\rho_2u_2^2A_2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iint_{\partial \Omega} p{\mathbf{n}}dS=-p_1A_1+p_2A_2-\int_{A_1}^{A_2}pdA&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
collecting terms&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\left(\rho_1u_1^2+p_1\right)A_1+\int_{A_1}^{A_2}pdA=\left(\rho_2u_2^2+p_2\right)A_2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
==== Energy Equation ====&lt;br /&gt;
&lt;br /&gt;
Applying the integral form of the energy equation on the quasi-one-dimensional flow control volume (Fig. \ref{fig:cv}) gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\underbrace{\frac{d}{dt}\iiint_{\Omega}\rho e_o d{V}}_{=0}+\iint_{\partial \Omega}\left[\rho h_o ({\mathbf{v}}\cdot{\mathbf{n}})\right]dS=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iint_{\partial \Omega}\left[\rho h_o ({\mathbf{v}}\cdot{\mathbf{n}})\right]dS=-\rho_1u_1h_{o_1}A_1+\rho_2u_2h_{o_2}A_2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho_1u_1h_{o_1}A_1=\rho_2u_2h_{o_2}A_2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Now, using the continuity equation &amp;lt;math&amp;gt;\rho_1u_1A_1=\rho_2u_2A_2&amp;lt;/math&amp;gt; gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
h_{o_1}=h_{o_2}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
==== Differential Form ====&lt;br /&gt;
&lt;br /&gt;
The integral term appearing the momentum equation is undesired and therefore the governing equations are converted to differential form.&lt;br /&gt;
&lt;br /&gt;
The continuity equation (Eqn. \ref{eq:governing:cont:b}) is rewritten in differential form as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho_1u_1A_1=\rho_2u_2A_2=const&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
d(\rho uA)=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
The momentum equation (Eqn. \ref{eq:governing:mom:b}) is rewritten in differential form as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\left(\rho_1u_1^2+p_1\right)A_1+\int_{A_1}^{A_2}pdA=\left(\rho_2u_2^2+p_2\right)A_2\Rightarrow d\left[(\rho u^2+p)A\right]=pdA&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
d(\rho u^2A)+d(pA)=pdA&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
ud(\rho uA)+\rho uAdu+Adp+\cancel{pdA}=\cancel{pdA}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
From the continuity equation we have &amp;lt;math&amp;gt;d(\rho uA)&amp;lt;/math&amp;gt; and thus&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho u\cancel{A}du+\cancel{A}dp=0\Rightarrow&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
dp=-\rho udu&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
which is the momentum equation on differential form. Also referred to as Euler&#039;s equation. Finally, the energy equation (Eqn. \ref{eq:governing:cont:b}) is rewritten in differential form as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
h_{o_1}=h_{o_2}=const\Rightarrow dh_o=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
h_o=h+\frac{1}{2}u^2\Rightarrow dh+\frac{1}{2}d(u^2)=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
dh+udu=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
==== Summary ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid;&amp;quot;&amp;gt;&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
d(\rho uA)=0&lt;br /&gt;
&amp;lt;/math&amp;gt;|nonumber=1|infobox=1|description=Continuity:|noborder=1}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
dp=-\rho udu&lt;br /&gt;
&amp;lt;/math&amp;gt;|nonumber=1|infobox=1|description=Momentum:|noborder=1}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
dh+udu=0&lt;br /&gt;
&amp;lt;/math&amp;gt;|nonumber=1|infobox=1|description=Energy:|noborder=1}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The equations are valid for:&lt;br /&gt;
&lt;br /&gt;
* quasi-one-dimensional flow&lt;br /&gt;
* steady state&lt;br /&gt;
* all gas models (no gas model assumptions made)&lt;br /&gt;
* inviscid flow&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It should be noted that equations are exact but they are applied to a physical model that is approximate, i.e., the approximation that flow quantities varies in one dimension with a varying cross-section area. In reality, a variation of cross-section area would imply flow in three dimensions.&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Template:NumEqn&amp;diff=548</id>
		<title>Template:NumEqn</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Template:NumEqn&amp;diff=548"/>
		<updated>2026-04-01T15:20:56Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;includeonly&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;{{#if:{{{nonumber|}}}||&amp;lt;!--&lt;br /&gt;
   --&amp;gt;{{#if:{{{number|}}}|&amp;lt;!--&lt;br /&gt;
      --&amp;gt;{{#vardefine:leqno|{{{number}}}}}|&amp;lt;!--&lt;br /&gt;
   --&amp;gt;{{#if:{{{3|}}}|&amp;lt;!--&lt;br /&gt;
      --&amp;gt;{{#vardefine:leqno|{{{3}}}}}|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{#var:eqno}}|&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{#vardefine:eqno|&amp;lt;!--&lt;br /&gt;
               --&amp;gt;{{#expr:{{#var:eqno}}+1}}&amp;lt;!--&lt;br /&gt;
            --&amp;gt;}}|&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{#vardefine:eqno|1}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{#var:secno}}|&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{#vardefine:leqno|&amp;lt;!--&lt;br /&gt;
               --&amp;gt;{{#var:secno}}.{{#var:eqno}}&amp;lt;!--&lt;br /&gt;
            --&amp;gt;}}|&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{#vardefine:leqno|&amp;lt;!--&lt;br /&gt;
               --&amp;gt;{{#var:eqno}}&amp;lt;!--&lt;br /&gt;
            --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
      --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
   --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
   --&amp;gt;{{#if:{{{noprefix|}}}||&amp;lt;!--&lt;br /&gt;
      --&amp;gt;{{#if:{{{prefix|}}}|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#vardefine:leqno|&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{{prefix}}} {{#var:leqno}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
      --&amp;gt;|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{#var:eqprefix}}|&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{#vardefine:leqno|&amp;lt;!--&lt;br /&gt;
               --&amp;gt;{{#var:eqprefix}} {{#var:leqno}}&amp;lt;!--&lt;br /&gt;
            --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;|&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{#vardefine:leqno|&amp;lt;!--&lt;br /&gt;
               --&amp;gt;Eq. {{#var:leqno}}&amp;lt;!--&lt;br /&gt;
            --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
      --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
   --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;}}&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;table style=&amp;quot;width: 100%;{{#if:{{{noborder|}}}||&amp;lt;!--&lt;br /&gt;
   --&amp;gt;{{#if:{{{border|}}}|&amp;lt;!--&lt;br /&gt;
   --&amp;gt;border: 1px solid {{#if:{{{border-color|}}}|&amp;lt;!--&lt;br /&gt;
   --&amp;gt;{{{border-color}}}|}};|{{#if:{{{infobox|}}}|&amp;lt;!--&lt;br /&gt;
   --&amp;gt;border: 1px solid {{#if:{{{border-color|}}}|&amp;lt;!--&lt;br /&gt;
   --&amp;gt;{{{border-color}}}|}};}}}}}}border-collapse: collapse;&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
   --&amp;gt;&amp;lt;tr {{#if:{{{background-color|}}}|&amp;lt;!--&lt;br /&gt;
      --&amp;gt;style=&amp;quot;background-color: {{{background-color}}};&amp;quot;|&amp;lt;!--&lt;br /&gt;
      --&amp;gt;{{#if:{{{infobox|}}}|style=&amp;quot;background-color: whitesmoke;&amp;quot;}}}}&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td &amp;lt;!--&lt;br /&gt;
         ... left cell css ...&lt;br /&gt;
         --&amp;gt;style=&amp;quot;width: {{#if:{{{numw|}}}|{{{numw}}}|5em}}; &amp;lt;!--&lt;br /&gt;
         --&amp;gt;padding-left: 0.5em; &amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{{inner-border|}}}|border: 1px solid &amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{{border-color|}}}|{{{border-color}}}|}};}}&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
         --&amp;gt;&amp;lt;span {{#if:{{{color|}}}|style=&amp;quot;color: {{{color}}};&amp;quot;|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{{infobox|}}}|style=&amp;quot;color: steelblue;&amp;quot;}}}}&amp;gt;&amp;lt;!--&lt;br /&gt;
         ... left cell content (if applicable) ...&lt;br /&gt;
         --&amp;gt;{{#if:{{{description|}}}|{{{description}}}}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td &amp;lt;!-- &lt;br /&gt;
         ... equation cell css ...&lt;br /&gt;
         --&amp;gt;style=&amp;quot;padding: {{#if:{{{padding|}}}|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{{padding}}};|{{#if:{{{infobox|}}}|2.0em;|0.5em;}}}} &amp;lt;!--&lt;br /&gt;
         --&amp;gt;text-align: {{#if:{{{align|}}}|{{{align}}}|center}};&amp;lt;!--      &lt;br /&gt;
         --&amp;gt;{{#if:{{{inner-border|}}}|border: 1px solid &amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{{border-color|}}}|{{{border-color}}}|}};&amp;quot;}}&amp;gt;&amp;lt;!--&lt;br /&gt;
         --&amp;gt;&amp;lt;span {{#if:{{{color|}}}|style=&amp;quot;color: {{{color}}};&amp;quot;|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{{infobox|}}}|style=&amp;quot;color: steelblue;&amp;quot;}}}}&amp;gt;&amp;lt;!--&lt;br /&gt;
         ... equation cell content ...&lt;br /&gt;
         --&amp;gt;{{{1}}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td &amp;lt;!-- &lt;br /&gt;
         ... number cell css ...&lt;br /&gt;
         --&amp;gt;style=&amp;quot;width: {{#if:{{{numw|}}}|{{{numw}}}|5em}}; &amp;lt;!--&lt;br /&gt;
         --&amp;gt;padding-right: 0.5em; &amp;lt;!--&lt;br /&gt;
         --&amp;gt;text-align: right; vertical-align: middle; &amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{{inner-border|}}}|border: 1px solid &amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{{border-color|}}}|{{{border-color}}}|}};}}&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
         --&amp;gt;&amp;lt;span {{#if:{{{color|}}}|style=&amp;quot;color: {{{color}}};&amp;quot;|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{{infobox|}}}|style=&amp;quot;color: steelblue;&amp;quot;}}}}&amp;gt;&amp;lt;!--&lt;br /&gt;
         ... number cell content ...&lt;br /&gt;
         --&amp;gt;{{#if:{{{nonumber|}}}||&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{#if:{{{label|}}}|&amp;lt;!--&lt;br /&gt;
               --&amp;gt;{{#if:{{{number|}}}|&amp;lt;!--&lt;br /&gt;
                  --&amp;gt;{{EquationRef&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|{{{label}}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|{{#var:leqno}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|nopar={{{nopar|}}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|spar={{{spar|}}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|wpar={{{wpar|}}}&amp;lt;!--&lt;br /&gt;
                  --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
               --&amp;gt;|&amp;lt;!--&lt;br /&gt;
                  --&amp;gt;{{EquationRef&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|{{{label}}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|{{#var:leqno}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|nopar={{{nopar|}}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|spar={{{spar|}}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|wpar={{{wpar|}}}&amp;lt;!--&lt;br /&gt;
                  --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
               --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
           --&amp;gt;|&amp;lt;!--&lt;br /&gt;
              --&amp;gt;{{#if:{{{number|}}}|&amp;lt;!--&lt;br /&gt;
                 --&amp;gt;{{EquationRef&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;|{{#var:leqno}}&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;|nopar={{{nopar|}}}&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;|spar={{{spar|}}}&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;|wpar={{{wpar|}}}&amp;lt;!--&lt;br /&gt;
                 --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
              --&amp;gt;|&amp;lt;!--&lt;br /&gt;
                 --&amp;gt;{{#if:{{{3|}}}|&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;{{EquationRef&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;|{{{2}}}&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;|{{#var:leqno}}&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;|nopar={{{nopar|}}}&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;|spar={{{spar|}}}&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;|wpar={{{wpar|}}}&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
                 --&amp;gt;|&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;{{#if:{{{2|}}}|&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;{{EquationRef&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|{{{2}}}&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|{{#var:leqno}}&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|nopar={{{nopar|}}}&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|spar={{{spar|}}}&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|wpar={{{wpar|}}}&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;|&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;{{EquationRef&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|{{#var:leqno}}&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|nopar={{{nopar|}}}&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|spar={{{spar|}}}&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|wpar={{{wpar|}}}&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
                   --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
                --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
             --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
          --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
   --&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/table&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/includeonly&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- old versions in Template:NumEqnOld --&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Template:NumEqn&amp;diff=547</id>
		<title>Template:NumEqn</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Template:NumEqn&amp;diff=547"/>
		<updated>2026-04-01T15:18:35Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;includeonly&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;{{#if:{{{nonumber|}}}||&amp;lt;!--&lt;br /&gt;
   --&amp;gt;{{#if:{{{number|}}}|&amp;lt;!--&lt;br /&gt;
      --&amp;gt;{{#vardefine:leqno|{{{number}}}}}|&amp;lt;!--&lt;br /&gt;
   --&amp;gt;{{#if:{{{3|}}}|&amp;lt;!--&lt;br /&gt;
      --&amp;gt;{{#vardefine:leqno|{{{3}}}}}|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{#var:eqno}}|&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{#vardefine:eqno|&amp;lt;!--&lt;br /&gt;
               --&amp;gt;{{#expr:{{#var:eqno}}+1}}&amp;lt;!--&lt;br /&gt;
            --&amp;gt;}}|&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{#vardefine:eqno|1}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{#var:secno}}|&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{#vardefine:leqno|&amp;lt;!--&lt;br /&gt;
               --&amp;gt;{{#var:secno}}.{{#var:eqno}}&amp;lt;!--&lt;br /&gt;
            --&amp;gt;}}|&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{#vardefine:leqno|&amp;lt;!--&lt;br /&gt;
               --&amp;gt;{{#var:eqno}}&amp;lt;!--&lt;br /&gt;
            --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
      --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
   --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
   --&amp;gt;{{#if:{{{noprefix|}}}||&amp;lt;!--&lt;br /&gt;
      --&amp;gt;{{#if:{{{prefix|}}}|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#vardefine:leqno|&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{{prefix}}} {{#var:leqno}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
      --&amp;gt;|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{#var:eqprefix}}|&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{#vardefine:leqno|&amp;lt;!--&lt;br /&gt;
               --&amp;gt;{{#var:eqprefix}} {{#var:leqno}}&amp;lt;!--&lt;br /&gt;
            --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;}}|&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{#vardefine:leqno|&amp;lt;!--&lt;br /&gt;
               --&amp;gt;Eq. {{#var:leqno}}&amp;lt;!--&lt;br /&gt;
            --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
      --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
   --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;}}&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;table style=&amp;quot;width: 100%;{{#if:{{{noborder|}}}||&amp;lt;!--&lt;br /&gt;
   --&amp;gt;{{#if:{{{border|}}}|&amp;lt;!--&lt;br /&gt;
   --&amp;gt;border: 1px solid {{#if:{{{border-color|}}}|&amp;lt;!--&lt;br /&gt;
   --&amp;gt;{{{border-color}}}|}};|{{#if:{{{infobox|}}}|&amp;lt;!--&lt;br /&gt;
   --&amp;gt;border: 1px solid {{#if:{{{border-color|}}}|&amp;lt;!--&lt;br /&gt;
   --&amp;gt;{{{border-color}}}|}};}}}}}}border-collapse: collapse;&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
   --&amp;gt;&amp;lt;tr {{#if:{{{background-color|}}}|&amp;lt;!--&lt;br /&gt;
      --&amp;gt;style=&amp;quot;background-color: {{{background-color}}};&amp;quot;|&amp;lt;!--&lt;br /&gt;
      --&amp;gt;{{#if:{{{infobox|}}}|style=&amp;quot;background-color: whitesmoke;&amp;quot;}}}}&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td &amp;lt;!--&lt;br /&gt;
         ... left cell css ...&lt;br /&gt;
         --&amp;gt;style=&amp;quot;width: {{#if:{{{numw|}}}|{{{numw}}}|5em}}; &amp;lt;!--&lt;br /&gt;
         --&amp;gt;padding-left: 0.5em; &amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{{inner-border|}}}|border: 1px solid &amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{{border-color|}}}|{{{border-color}}}|}};}}&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
         --&amp;gt;&amp;lt;span {{#if:{{{color|}}}|style=&amp;quot;color: {{{color}}};&amp;quot;|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{{infobox|}}}|style=&amp;quot;color: steelblue;&amp;quot;}}}}&amp;gt;&amp;lt;!--&lt;br /&gt;
         ... left cell content (if applicable) ...&lt;br /&gt;
         --&amp;gt;{{#if:{{{description|}}}|{{{description}}}}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td &amp;lt;!-- &lt;br /&gt;
         ... equation cell css ...&lt;br /&gt;
         --&amp;gt;style=&amp;quot;padding: {{#if:{{{padding|}}}|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{{padding}}};|{{#if:{{{infobox|}}}|2.0em;|0.5em;}}}} &amp;lt;!--&lt;br /&gt;
         --&amp;gt;text-align: {{#if:{{{align|}}}|{{{align}}}|center}};&amp;lt;!--      &lt;br /&gt;
         --&amp;gt;{{#if:{{{inner-border|}}}|border: 1px solid &amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{{border-color|}}}|{{{border-color}}}|}};&amp;quot;}}&amp;gt;&amp;lt;!--&lt;br /&gt;
         --&amp;gt;&amp;lt;span {{#if:{{{color|}}}|style=&amp;quot;color: {{{color}}};&amp;quot;|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{{infobox|}}}|style=&amp;quot;color: steelblue;&amp;quot;}}}}&amp;gt;&amp;lt;!--&lt;br /&gt;
         ... equation cell content ...&lt;br /&gt;
         --&amp;gt;{{{1}}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td &amp;lt;!-- &lt;br /&gt;
         ... number cell css ...&lt;br /&gt;
         --&amp;gt;style=&amp;quot;width: {{#if:{{{numw|}}}|{{{numw}}}|5em}}; &amp;lt;!--&lt;br /&gt;
         --&amp;gt;padding-right: 0.5em; &amp;lt;!--&lt;br /&gt;
         --&amp;gt;text-align: right; vertical-align: middle; &amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{{inner-border|}}}|border: 1px solid &amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{{border-color|}}}|{{{border-color}}}|}};}}&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
         --&amp;gt;&amp;lt;span {{#if:{{{color|}}}|style=&amp;quot;color: {{{color}}};&amp;quot;|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{{infobox|}}}|style=&amp;quot;color: steelblue;&amp;quot;}}}}&amp;gt;&amp;lt;!--&lt;br /&gt;
         ... number cell content ...&lt;br /&gt;
         --&amp;gt;{{#if:{{{nonumber|}}}||&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{#if:{{{label|}}}|&amp;lt;!--&lt;br /&gt;
               --&amp;gt;{{#if:{{{number|}}}|&amp;lt;!--&lt;br /&gt;
                  --&amp;gt;{{EquationRef&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|{{{label}}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|{{#var:leqno}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|nopar={{{nopar|}}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|spar={{{spar|}}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|wpar={{{wpar|}}}&amp;lt;!--&lt;br /&gt;
                  --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
               --&amp;gt;|&amp;lt;!--&lt;br /&gt;
                  --&amp;gt;{{EquationRef&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|{{{label}}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|{{#var:leqno}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|nopar={{{nopar|}}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|spar={{{spar|}}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|wpar={{{wpar|}}}&amp;lt;!--&lt;br /&gt;
                  --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
               --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
           --&amp;gt;|&amp;lt;!--&lt;br /&gt;
              --&amp;gt;{{#if:{{{number|}}}|&amp;lt;!--&lt;br /&gt;
                 --&amp;gt;{{EquationRef&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;|{{#var:leqno}}&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;|nopar={{{nopar|}}}&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;|spar={{{spar|}}}&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;|wpar={{{wpar|}}}&amp;lt;!--&lt;br /&gt;
                 --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
              --&amp;gt;|&amp;lt;!--&lt;br /&gt;
                 --&amp;gt;{{#if:{{{3|}}}|&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;{{EquationRef&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;|{{{2}}}&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;|{{#var:leqno}}&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;|nopar={{{nopar|}}}&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;|spar={{{spar|}}}&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;|wpar={{{wpar|}}}&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
                 --&amp;gt;|&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;{{#if:{{{2|}}}|&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;{{EquationRef&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|{{{2}}}&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|{{#var:leqno}}&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|nopar={{{nopar|}}}&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|spar={{{spar|}}}&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|wpar={{{wpar|}}}&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;|&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;{{EquationRef&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|{{#var:leqno}}&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|nopar={{{nopar|}}}&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|spar={{{spar|}}}&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|wpar={{{wpar|}}}&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
                   --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
                --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
             --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
          --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
   --&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/table&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/includeonly&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- old versions in Template:NumEqnOld --&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Template:NumEqn&amp;diff=546</id>
		<title>Template:NumEqn</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Template:NumEqn&amp;diff=546"/>
		<updated>2026-04-01T15:13:46Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;includeonly&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;{{#if:{{{nonumber|}}}||&amp;lt;!--&lt;br /&gt;
   --&amp;gt;{{#if:{{{number|}}}|&amp;lt;!--&lt;br /&gt;
      --&amp;gt;{{#vardefine:leqno|{{{number}}}}}|&amp;lt;!--&lt;br /&gt;
   --&amp;gt;{{#if:{{{3|}}}|&amp;lt;!--&lt;br /&gt;
      --&amp;gt;{{#vardefine:leqno|{{{3}}}}}|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{#var:eqno}}|&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{#vardefine:eqno|&amp;lt;!--&lt;br /&gt;
               --&amp;gt;{{#expr:{{#var:eqno}}+1}}&amp;lt;!--&lt;br /&gt;
            --&amp;gt;}}|&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{#vardefine:eqno|1}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{#var:secno}}|&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{#vardefine:leqno|&amp;lt;!--&lt;br /&gt;
               --&amp;gt;{{#var:secno}}.{{#var:eqno}}&amp;lt;!--&lt;br /&gt;
            --&amp;gt;}}|&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{#vardefine:leqno|&amp;lt;!--&lt;br /&gt;
               --&amp;gt;{{#var:eqno}}&amp;lt;!--&lt;br /&gt;
            --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
      --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
   --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
   --&amp;gt;{{#if:{{{noprefix|}}}||&amp;lt;!--&lt;br /&gt;
      --&amp;gt;{{#if:{{{prefix|}}}|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#vardefine:leqno|&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{{prefix}}} {{#var:leqno}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
      --&amp;gt;|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{#var:eqprefix}}|&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{#vardefine:leqno|&amp;lt;!--&lt;br /&gt;
               --&amp;gt;{{#var:eqprefix}} {{#var:leqno}}&amp;lt;!--&lt;br /&gt;
            --&amp;gt;}}|&amp;lt;!--&lt;br /&gt;
               --&amp;gt;{{#vardefine:leqno|&amp;lt;!--&lt;br /&gt;
                  --&amp;gt;Eq. {{#var:leqno}}&amp;lt;!--&lt;br /&gt;
               --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
            --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
      --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
   --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;}}&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;table style=&amp;quot;width: 100%;{{#if:{{{noborder|}}}||&amp;lt;!--&lt;br /&gt;
   --&amp;gt;{{#if:{{{border|}}}|&amp;lt;!--&lt;br /&gt;
   --&amp;gt;border: 1px solid {{#if:{{{border-color|}}}|&amp;lt;!--&lt;br /&gt;
   --&amp;gt;{{{border-color}}}|}};|{{#if:{{{infobox|}}}|&amp;lt;!--&lt;br /&gt;
   --&amp;gt;border: 1px solid {{#if:{{{border-color|}}}|&amp;lt;!--&lt;br /&gt;
   --&amp;gt;{{{border-color}}}|}};}}}}}}border-collapse: collapse;&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
   --&amp;gt;&amp;lt;tr {{#if:{{{background-color|}}}|&amp;lt;!--&lt;br /&gt;
      --&amp;gt;style=&amp;quot;background-color: {{{background-color}}};&amp;quot;|&amp;lt;!--&lt;br /&gt;
      --&amp;gt;{{#if:{{{infobox|}}}|style=&amp;quot;background-color: whitesmoke;&amp;quot;}}}}&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td &amp;lt;!--&lt;br /&gt;
         ... left cell css ...&lt;br /&gt;
         --&amp;gt;style=&amp;quot;width: {{#if:{{{numw|}}}|{{{numw}}}|5em}}; &amp;lt;!--&lt;br /&gt;
         --&amp;gt;padding-left: 0.5em; &amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{{inner-border|}}}|border: 1px solid &amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{{border-color|}}}|{{{border-color}}}|}};}}&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
         --&amp;gt;&amp;lt;span {{#if:{{{color|}}}|style=&amp;quot;color: {{{color}}};&amp;quot;|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{{infobox|}}}|style=&amp;quot;color: steelblue;&amp;quot;}}}}&amp;gt;&amp;lt;!--&lt;br /&gt;
         ... left cell content (if applicable) ...&lt;br /&gt;
         --&amp;gt;{{#if:{{{description|}}}|{{{description}}}}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td &amp;lt;!-- &lt;br /&gt;
         ... equation cell css ...&lt;br /&gt;
         --&amp;gt;style=&amp;quot;padding: {{#if:{{{padding|}}}|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{{padding}}};|{{#if:{{{infobox|}}}|2.0em;|0.5em;}}}} &amp;lt;!--&lt;br /&gt;
         --&amp;gt;text-align: {{#if:{{{align|}}}|{{{align}}}|center}};&amp;lt;!--      &lt;br /&gt;
         --&amp;gt;{{#if:{{{inner-border|}}}|border: 1px solid &amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{{border-color|}}}|{{{border-color}}}|}};&amp;quot;}}&amp;gt;&amp;lt;!--&lt;br /&gt;
         --&amp;gt;&amp;lt;span {{#if:{{{color|}}}|style=&amp;quot;color: {{{color}}};&amp;quot;|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{{infobox|}}}|style=&amp;quot;color: steelblue;&amp;quot;}}}}&amp;gt;&amp;lt;!--&lt;br /&gt;
         ... equation cell content ...&lt;br /&gt;
         --&amp;gt;{{{1}}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;td &amp;lt;!-- &lt;br /&gt;
         ... number cell css ...&lt;br /&gt;
         --&amp;gt;style=&amp;quot;width: {{#if:{{{numw|}}}|{{{numw}}}|5em}}; &amp;lt;!--&lt;br /&gt;
         --&amp;gt;padding-right: 0.5em; &amp;lt;!--&lt;br /&gt;
         --&amp;gt;text-align: right; vertical-align: middle; &amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{{inner-border|}}}|border: 1px solid &amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{{border-color|}}}|{{{border-color}}}|}};}}&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
         --&amp;gt;&amp;lt;span {{#if:{{{color|}}}|style=&amp;quot;color: {{{color}}};&amp;quot;|&amp;lt;!--&lt;br /&gt;
         --&amp;gt;{{#if:{{{infobox|}}}|style=&amp;quot;color: steelblue;&amp;quot;}}}}&amp;gt;&amp;lt;!--&lt;br /&gt;
         ... number cell content ...&lt;br /&gt;
         --&amp;gt;{{#if:{{{nonumber|}}}||&amp;lt;!--&lt;br /&gt;
            --&amp;gt;{{#if:{{{label|}}}|&amp;lt;!--&lt;br /&gt;
               --&amp;gt;{{#if:{{{number|}}}|&amp;lt;!--&lt;br /&gt;
                  --&amp;gt;{{EquationRef&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|{{{label}}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|{{#var:leqno}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|nopar={{{nopar|}}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|spar={{{spar|}}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|wpar={{{wpar|}}}&amp;lt;!--&lt;br /&gt;
                  --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
               --&amp;gt;|&amp;lt;!--&lt;br /&gt;
                  --&amp;gt;{{EquationRef&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|{{{label}}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|{{#var:leqno}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|nopar={{{nopar|}}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|spar={{{spar|}}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;|wpar={{{wpar|}}}&amp;lt;!--&lt;br /&gt;
                  --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
               --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
           --&amp;gt;|&amp;lt;!--&lt;br /&gt;
              --&amp;gt;{{#if:{{{number|}}}|&amp;lt;!--&lt;br /&gt;
                 --&amp;gt;{{EquationRef&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;|{{#var:leqno}}&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;|nopar={{{nopar|}}}&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;|spar={{{spar|}}}&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;|wpar={{{wpar|}}}&amp;lt;!--&lt;br /&gt;
                 --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
              --&amp;gt;|&amp;lt;!--&lt;br /&gt;
                 --&amp;gt;{{#if:{{{3|}}}|&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;{{EquationRef&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;|{{{2}}}&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;|{{#var:leqno}}&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;|nopar={{{nopar|}}}&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;|spar={{{spar|}}}&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;|wpar={{{wpar|}}}&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
                 --&amp;gt;|&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;{{#if:{{{2|}}}|&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;{{EquationRef&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|{{{2}}}&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|{{#var:leqno}}&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|nopar={{{nopar|}}}&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|spar={{{spar|}}}&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|wpar={{{wpar|}}}&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
                    --&amp;gt;|&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;{{EquationRef&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|{{#var:leqno}}&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|nopar={{{nopar|}}}&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|spar={{{spar|}}}&amp;lt;!--&lt;br /&gt;
                          --&amp;gt;|wpar={{{wpar|}}}&amp;lt;!--&lt;br /&gt;
                       --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
                     --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
                   --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
                --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
             --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
          --&amp;gt;}}&amp;lt;!--&lt;br /&gt;
         --&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;!--&lt;br /&gt;
      --&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;!--&lt;br /&gt;
   --&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/table&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/includeonly&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- old versions in Template:NumEqnOld --&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Quasi-one-dimensional_flow&amp;diff=545</id>
		<title>Quasi-one-dimensional flow</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Quasi-one-dimensional_flow&amp;diff=545"/>
		<updated>2026-04-01T13:39:58Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Collection]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Compressible flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Quasi-one-dimensional flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:inviscid flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Compressible flow:Section]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;nomobile&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;__TOC__&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/nomobile&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#vardefine:secno|5}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#vardefine:eqno|0}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
== The Q1D equations ==&lt;br /&gt;
{{:The Q1D equations}}&lt;br /&gt;
&lt;br /&gt;
== Area-velocity relation ==&lt;br /&gt;
{{:Area-velocity relation}}&lt;br /&gt;
&lt;br /&gt;
== Area-Mach relation ==&lt;br /&gt;
{{:Area-Mach relation}}&lt;br /&gt;
&lt;br /&gt;
== Choked flow ==&lt;br /&gt;
{{:Choked flow}}&lt;br /&gt;
&lt;br /&gt;
== Nozzle flow ==&lt;br /&gt;
{{:Nozzle flow}}&lt;br /&gt;
&lt;br /&gt;
== Diffusers ==&lt;br /&gt;
{{:Diffusers}}&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Nozzle_flow&amp;diff=544</id>
		<title>Nozzle flow</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Nozzle_flow&amp;diff=544"/>
		<updated>2026-04-01T13:39:32Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Compressible flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Quasi-one-dimensional flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Inviscid flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Compressible flow:Topic]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;nomobile&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;__TOC__&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/nomobile&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#vardefine:secno|5}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#vardefine:eqno|55}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
== Nozzle flow ==&lt;br /&gt;
&lt;br /&gt;
add description of nozzle flows here...&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Choked_flow&amp;diff=543</id>
		<title>Choked flow</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Choked_flow&amp;diff=543"/>
		<updated>2026-04-01T13:39:13Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Compressible flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Quasi-one-dimensional flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Inviscid flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Compressible flow:Topic]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;nomobile&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;__TOC__&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/nomobile&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#vardefine:secno|5}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#vardefine:eqno|48}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
=== Geometric Choking ===&lt;br /&gt;
&lt;br /&gt;
For steady-state nozzle flow, the massflow is obtained as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\dot{m}=\rho uA=const&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Eqn. \ref{eq:massflow:a} can be evaluated at any location inside the nozzle and if evaluated at sonic conditions we get&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\dot{m}=\rho^* u^* A^*&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
By definition &amp;lt;math&amp;gt;u^*=a^*&amp;lt;/math&amp;gt; and thus&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\dot{m}=\rho^* a^* A^*&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\rho^*&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;a^*&amp;lt;/math&amp;gt; can be obtained using the ratios &amp;lt;math&amp;gt;\rho^*/\rho_o&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;a^*/a_o&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho^*=\left(\frac{\rho^*}{\rho_o}\right)\rho_o=\frac{p_o}{RT_o}\left(\frac{2}{\gamma+1}\right)^{1/(\gamma-1)}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
a^*=\left(\frac{a^*}{a_o}\right)a_o=a_o\left(\frac{2}{\gamma+1}\right)^{1/2}=\sqrt{\gamma RT_o}\left(\frac{2}{\gamma+1}\right)^{1/2}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Eqns. \ref{eq:as} and \ref{eq:rhos} in Eqn. \ref{eq:massflow:b} gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\dot{m}=\frac{p_o}{RT_o}\left(\frac{2}{\gamma+1}\right)^{1/(\gamma-1)} &lt;br /&gt;
\sqrt{\gamma RT_o}\left(\frac{2}{\gamma+1}\right)^{1/2}&lt;br /&gt;
A^*&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
which can be rewritten as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\dot{m}=\frac{p_o A^*}{\sqrt{T_o}}\sqrt{\frac{\gamma}{R}\left(\frac{2}{\gamma+1}\right)^{(\gamma+1)/(\gamma-1)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Eqn. \ref{eq:massflow:c} valid for:&lt;br /&gt;
&lt;br /&gt;
* quasi-one-dimensional flow&lt;br /&gt;
* steady state&lt;br /&gt;
* inviscid flow&lt;br /&gt;
* calorically perfect gas&lt;br /&gt;
&lt;br /&gt;
It should be noted that the choked massflow can be calculated using Eqn. \ref{eq:massflow:c} even for cases with shocks downstream of the throat.&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=The_Q1D_equations&amp;diff=542</id>
		<title>The Q1D equations</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=The_Q1D_equations&amp;diff=542"/>
		<updated>2026-04-01T13:38:57Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Compressible flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Quasi-one-dimensional flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Inviscid flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Compressible flow:Topic]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;nomobile&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;__TOC__&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/nomobile&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#vardefine:secno|5}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#vardefine:eqno|0}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
=== Governing Equations ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
\begin{figure}[ht!]&lt;br /&gt;
\begin{center}&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter06/pdf/control-volume.pdf}&lt;br /&gt;
\caption{Quasi-one-dimensional flow - control volume}&lt;br /&gt;
\label{fig:cv}&lt;br /&gt;
\end{center}&lt;br /&gt;
\end{figure}&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following quasi-one-dimensional flow will be assumed. That means that the cross-section is allowed to vary smoothly but flow quantities varies in one direction only. The equations that are derived will thus describe one-dimensional flow in axisymmetric tubes. Let&#039;s assume flow in the &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;-direction, which means that all flow quantities and the cross-section area will vary with the axial coordinate &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
A=A(x),\ \rho=\rho(x),\ u=u(x),\ p=p(x),\ ...&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
We will further assume steady-state flow, which means that unsteady terms will be zero.&lt;br /&gt;
&lt;br /&gt;
The equations are derived with the starting point in the governing flow equations on integral form&lt;br /&gt;
&lt;br /&gt;
==== Continuity Equation ====&lt;br /&gt;
&lt;br /&gt;
Applying the integral form of the continuity equation on the quasi-one-dimensional flow control volume (Fig. \ref{fig:cv}) gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\underbrace{\frac{d}{dt}\iiint_{\Omega}\rho d{V}}_{=0}+\iint_{\partial \Omega}\rho {\mathbf{v}}\cdot {\mathbf{n}}dS=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iint_{\partial \Omega}\rho {\mathbf{v}}\cdot {\mathbf{n}}dS=-\rho_1 u_1 A_1+\rho_2 u_2 A_2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho_1 u_1 A_1=\rho_2 u_2 A_2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
==== Momentum Equation ====&lt;br /&gt;
&lt;br /&gt;
Applying the integral form of the momentum equation on the quasi-one-dimensional flow control volume (Fig. \ref{fig:cv}) gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\underbrace{\frac{d}{dt}\iiint_{\Omega}\rho{\mathbf{v}} d{V}}_{=0}+\iint_{\partial \Omega}\left[\rho ({\mathbf{v}}\cdot {\mathbf{n}}){\mathbf{v}}+p{\mathbf{n}}\right]dS=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iint_{\partial \Omega} \rho ({\mathbf{v}}\cdot {\mathbf{n}}){\mathbf{v}}dS=-\rho_1u_1^2A_1+\rho_2u_2^2A_2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iint_{\partial \Omega} p{\mathbf{n}}dS=-p_1A_1+p_2A_2-\int_{A_1}^{A_2}pdA&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
collecting terms&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\left(\rho_1u_1^2+p_1\right)A_1+\int_{A_1}^{A_2}pdA=\left(\rho_2u_2^2+p_2\right)A_2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
==== Energy Equation ====&lt;br /&gt;
&lt;br /&gt;
Applying the integral form of the energy equation on the quasi-one-dimensional flow control volume (Fig. \ref{fig:cv}) gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\underbrace{\frac{d}{dt}\iiint_{\Omega}\rho e_o d{V}}_{=0}+\iint_{\partial \Omega}\left[\rho h_o ({\mathbf{v}}\cdot{\mathbf{n}})\right]dS=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\iint_{\partial \Omega}\left[\rho h_o ({\mathbf{v}}\cdot{\mathbf{n}})\right]dS=-\rho_1u_1h_{o_1}A_1+\rho_2u_2h_{o_2}A_2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho_1u_1h_{o_1}A_1=\rho_2u_2h_{o_2}A_2&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Now, using the continuity equation &amp;lt;math&amp;gt;\rho_1u_1A_1=\rho_2u_2A_2&amp;lt;/math&amp;gt; gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
h_{o_1}=h_{o_2}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
==== Differential Form ====&lt;br /&gt;
&lt;br /&gt;
The integral term appearing the momentum equation is undesired and therefore the governing equations are converted to differential form.&lt;br /&gt;
&lt;br /&gt;
The continuity equation (Eqn. \ref{eq:governing:cont:b}) is rewritten in differential form as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho_1u_1A_1=\rho_2u_2A_2=const&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
d(\rho uA)=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
The momentum equation (Eqn. \ref{eq:governing:mom:b}) is rewritten in differential form as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\left(\rho_1u_1^2+p_1\right)A_1+\int_{A_1}^{A_2}pdA=\left(\rho_2u_2^2+p_2\right)A_2\Rightarrow d\left[(\rho u^2+p)A\right]=pdA&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
d(\rho u^2A)+d(pA)=pdA&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
ud(\rho uA)+\rho uAdu+Adp+\cancel{pdA}=\cancel{pdA}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
From the continuity equation we have &amp;lt;math&amp;gt;d(\rho uA)&amp;lt;/math&amp;gt; and thus&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho u\cancel{A}du+\cancel{A}dp=0\Rightarrow&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
dp=-\rho udu&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
which is the momentum equation on differential form. Also referred to as Euler&#039;s equation. Finally, the energy equation (Eqn. \ref{eq:governing:cont:b}) is rewritten in differential form as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
h_{o_1}=h_{o_2}=const\Rightarrow dh_o=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
h_o=h+\frac{1}{2}u^2\Rightarrow dh+\frac{1}{2}d(u^2)=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
dh+udu=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
==== Summary ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid;&amp;quot;&amp;gt;&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
d(\rho uA)=0&lt;br /&gt;
&amp;lt;/math&amp;gt;|nonumber=1|infobox=1|description=Continuity:|noborder=1}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
dp=-\rho udu&lt;br /&gt;
&amp;lt;/math&amp;gt;|nonumber=1|infobox=1|description=Momentum:|noborder=1}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
dh+udu=0&lt;br /&gt;
&amp;lt;/math&amp;gt;|nonumber=1|infobox=1|description=Energy:|noborder=1}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The equations are valid for:&lt;br /&gt;
&lt;br /&gt;
* quasi-one-dimensional flow&lt;br /&gt;
* steady state&lt;br /&gt;
* all gas models (no gas model assumptions made)&lt;br /&gt;
* inviscid flow&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It should be noted that equations are exact but they are applied to a physical model that is approximate, i.e., the approximation that flow quantities varies in one dimension with a varying cross-section area. In reality, a variation of cross-section area would imply flow in three dimensions.&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Diffusers&amp;diff=541</id>
		<title>Diffusers</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Diffusers&amp;diff=541"/>
		<updated>2026-04-01T13:38:31Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Compressible flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Quasi-one-dimensional flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Inviscid flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Compressible flow:Topic]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;nomobile&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;__TOC__&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/nomobile&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#vardefine:secno|5}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#vardefine:eqno|55}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
== Diffusers ==&lt;br /&gt;
&lt;br /&gt;
Add description and examples here...&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Area-velocity_relation&amp;diff=540</id>
		<title>Area-velocity relation</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Area-velocity_relation&amp;diff=540"/>
		<updated>2026-04-01T13:38:21Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Compressible flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Quasi-one-dimensional flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Inviscid flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Compressible flow:Topic]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;nomobile&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;__TOC__&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/nomobile&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#vardefine:secno|5}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#vardefine:eqno|22}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
=== The Area-Velocity Relation ===&lt;br /&gt;
&lt;br /&gt;
Starting point - the continuity equation (Eqn. \ref{eq:governing:cont}):&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
d(\rho uA)=0 \Rightarrow \rho u dA+\rho Adu +uAd\rho=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
divide by &amp;lt;math&amp;gt;\rho uA&amp;lt;/math&amp;gt; gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d\rho}{\rho}+\frac{du}{u}+\frac{dA}{A}=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
As the name suggests, the area-velocity relation is a relation including the area and the flow velocity. Therefore, the next step is to replace the density terms.&lt;br /&gt;
&lt;br /&gt;
This can be achieved using the momentum equation (Eqn. \ref{eq:governing:mom})&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
dp=-\rho udu\Leftrightarrow \frac{dp}{\rho}=-udu&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{dp}{\rho}=\frac{dp}{d\rho}\frac{d\rho}{\rho}=-udu&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
If we assume adiabatic and reversible flow processes, i.e., isentropic flow&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{dp}{d\rho}=\left(\frac{dp}{d\rho}\right)_s=a^2\Rightarrow a^2\frac{d\rho}{\rho}=-udu&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
a^2\frac{d\rho}{\rho}=-udu=-u^2\frac{du}{u}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{d\rho}{\rho}=-M^2\frac{du}{u}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Eqn. \ref{eq:governing:mom:b} inserted in Eqn. \ref{eq:governing:cont:b} gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
-M^2\frac{du}{u}+\frac{du}{u}+\frac{dA}{A}=0&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{dA}{A}=(M^2-1)\frac{du}{u}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
which is the area-velocity relation.&lt;br /&gt;
&lt;br /&gt;
From the area-velocity relation (Eqn. \ref{eq:governing:av}), we can learn that in a subsonic flow, the flow will accelerate if the cross-section area is decreased and decelerate if the cross-section area is increased. It can also be seen that for supersonic flow, the relation between flow velocity and cross-section area will be the opposite of that for subsonic flows, see Fig. \ref{fig:areavelocity}. For sonic flow, &amp;lt;math&amp;gt;M=1&amp;lt;/math&amp;gt;, the relation shows that &amp;lt;math&amp;gt;dA=0&amp;lt;/math&amp;gt;, which means that sonic flow can only occur at a cross-section area maximum or minimum. From the subsonic versus supersonic flow discussion, it can be understood that sonic flow at the minimum cross section area is the only valid option (see Fig. \ref{fig:sonic}).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
\begin{figure}[ht!]&lt;br /&gt;
\begin{center}&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter06/pdf/area-velocity.pdf}&lt;br /&gt;
\caption{Area-velocity relation - subsonic flow vs. supersonic flow}&lt;br /&gt;
\label{fig:areavelocity}&lt;br /&gt;
\end{center}&lt;br /&gt;
\end{figure}&lt;br /&gt;
&lt;br /&gt;
\begin{figure}[ht!]&lt;br /&gt;
\begin{center}&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter06/pdf/area-velocity-sonic-flow.pdf}&lt;br /&gt;
\caption{Area-velocity relation - sonic flow}&lt;br /&gt;
\label{fig:sonic}&lt;br /&gt;
\end{center}&lt;br /&gt;
\end{figure}&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
	<entry>
		<id>https://wiki.g3dflow.com/index.php?title=Area-Mach_relation&amp;diff=539</id>
		<title>Area-Mach relation</title>
		<link rel="alternate" type="text/html" href="https://wiki.g3dflow.com/index.php?title=Area-Mach_relation&amp;diff=539"/>
		<updated>2026-04-01T13:37:54Z</updated>

		<summary type="html">&lt;p&gt;Nian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Compressible flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Quasi-one-dimensional flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Inviscid flow]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;[[Category:Compressible flow:Topic]]&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;nomobile&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;__TOC__&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/nomobile&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#vardefine:secno|5}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#vardefine:eqno|31}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
=== The Area-Mach-Number Relation ===&lt;br /&gt;
&lt;br /&gt;
Starting point - the continuity equation (Eqn. \ref{eq:governing:cont}):&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
d(\rho uA)=0 \Rightarrow \rho u A=const&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
This applies everywhere in the nozzle and therefore the sonic conditions can be used as a reference&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\rho uA=\rho^*u^*A^*=\left\{u^*=a^*\right\}=\rho^*a^*A^*&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
divide by &amp;lt;math&amp;gt;\rho uA^*&amp;lt;/math&amp;gt; gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\rho^*}{\rho}\frac{a^*}{u}=\frac{A}{A^*}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;a^*/u=1/M^*&amp;lt;/math&amp;gt; but &amp;lt;math&amp;gt;\rho^*/\rho&amp;lt;/math&amp;gt; is unknown&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\rho^*}{\rho}=\frac{\rho^*}{\rho_o}\frac{\rho_o}{\rho}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
and thus&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\rho^*}{\rho_o}\frac{\rho_o}{\rho}\frac{1}{M^*}=\frac{A}{A^*}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Using the isentropic relations, we get&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\rho^*}{\rho_o}=\frac{1}{\left[\dfrac{1}{2}(\gamma-1)\right]^{1/(\gamma-1)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\rho_o}{\rho}=\left[1+\frac{1}{2}(\gamma+1)M^2\right]^{1/(\gamma-1)}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Eqns. \ref{eq:rho:a} and \ref{eq:rho:b} in Eqn. \ref{eq:areamach:a} gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{A}{A^*}=\frac{1}{M^*}\left[\frac{2+(\gamma-1)M^2}{\gamma+1}\right]^{1/(\gamma-1)}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
What remains now is to replace &amp;lt;math&amp;gt;M^*&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
{M^*}^2=\frac{u^2}{{a^*}^2}=\frac{u^2}{a^2}\frac{a^2}{{a^*}^2}=\frac{u^2}{a^2}\frac{a^2}{a_o^2}\frac{a_o^2}{{a^*}^2}=M^2\frac{a^2}{a_o^2}\frac{a_o^2}{{a^*}^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
For a calorically perfect gas &amp;lt;math&amp;gt;a=\sqrt{\gamma R T}&amp;lt;/math&amp;gt;, which gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{a^2}{a_o^2}=\frac{T}{T_o}=\left[1+\frac{1}{2}(\gamma-1)M^2\right]^{-1}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{a_o^2}{{a^*}^2}=\frac{T_o}{T^*}=\frac{1}{2}(\gamma+1)&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Eqns. \ref{eq:a:a} and \ref{eq:a:b} in Eqn. \ref{eq:mstar:a} gives&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
{M^*}^2=\frac{(\gamma+1)M^2}{2+(\gamma-1)M^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Now, rewrite Eqn. \ref{eq:areamach:b} as&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\left(\frac{A}{A^*}\right)^2=\frac{1}{{M^*}^2}\left[\frac{2+(\gamma-1)M^2}{\gamma+1}\right]^{2/(\gamma-1)}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
and insert &amp;lt;math&amp;gt;{M^*}^2&amp;lt;/math&amp;gt; from Eqn. \ref{eq:mstar:b}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\left(\frac{A}{A^*}\right)^2=\frac{2+(\gamma-1)M^2}{(\gamma+1)M^2}\left[\frac{2+(\gamma-1)M^2}{\gamma+1}\right]^{2/(\gamma-1)} \Rightarrow&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\left(\frac{A}{A^*}\right)^2=\frac{1}{M^2}\left[\frac{2+(\gamma-1)M^2}{\gamma+1}\right]^{1+2/(\gamma-1)} \Rightarrow&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
\left(\frac{A}{A^*}\right)^2=\frac{1}{M^2}\left[\frac{2+(\gamma-1)M^2}{\gamma+1}\right]^{(\gamma+1)/(\gamma-1)}&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
which is the area-Mach-number relation.&lt;br /&gt;
&lt;br /&gt;
For a nozzle flow, the area-Mach-number relation gives the Mach number, &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt;, at any location inside the nozzle as a function of the ratio between the local cross-section area, &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt;, and the throat area at choked conditions, &amp;lt;math&amp;gt;A^*&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{{NumEqn|&amp;lt;math&amp;gt;&lt;br /&gt;
M=f\left(\frac{A}{A^*}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
\begin{figure}[ht!]&lt;br /&gt;
\begin{center}&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter06/pdf/area-Mach-subsonic.pdf}&lt;br /&gt;
\caption{Area-Mach-number relation - subsonic nozzle flow}&lt;br /&gt;
\label{fig:subsonic}&lt;br /&gt;
\end{center}&lt;br /&gt;
\end{figure}&lt;br /&gt;
&lt;br /&gt;
\begin{figure}[ht!]&lt;br /&gt;
\begin{center}&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter06/pdf/area-Mach-supersonic.pdf}&lt;br /&gt;
\caption{Area-Mach-number relation - supersonic nozzle flow}&lt;br /&gt;
\label{fig:supersonic}&lt;br /&gt;
\end{center}&lt;br /&gt;
\end{figure}&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Due to the assumptions made in the derivation, the area-Mach-number relation is only valid for isentropic flows of calorically perfect gases. This means that it cannot be used throughout the divergent part of a convergent-divergent nozzle in case there is a shock within the nozzle. It can, however, be used both upstream and downstream of the shock. Note that &amp;lt;math&amp;gt;A^*&amp;lt;/math&amp;gt; will change over the shock.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
\begin{figure}[ht!]&lt;br /&gt;
\begin{subfigure}[b]{0.5\textwidth}&lt;br /&gt;
\centering&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter06/pdf/area-Mach-trends_M.pdf}&lt;br /&gt;
\caption{Mach number}&lt;br /&gt;
\end{subfigure}&lt;br /&gt;
\begin{subfigure}[b]{0.5\textwidth}&lt;br /&gt;
\centering&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter06/pdf/area-Mach-trends_U.pdf}&lt;br /&gt;
\caption{flow velocity}&lt;br /&gt;
\end{subfigure}&lt;br /&gt;
\begin{subfigure}[b]{0.5\textwidth}&lt;br /&gt;
\centering&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter06/pdf/area-Mach-trends_tau.pdf}&lt;br /&gt;
\caption{compressibility}&lt;br /&gt;
\end{subfigure}&lt;br /&gt;
\begin{subfigure}[b]{0.5\textwidth}&lt;br /&gt;
\centering&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter06/pdf/area-Mach-trends_T.pdf}&lt;br /&gt;
\caption{temperature}&lt;br /&gt;
\end{subfigure}&lt;br /&gt;
\begin{subfigure}[b]{0.5\textwidth}&lt;br /&gt;
\centering&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter06/pdf/area-Mach-trends_P.pdf}&lt;br /&gt;
\caption{pressure}&lt;br /&gt;
\end{subfigure}&lt;br /&gt;
\begin{subfigure}[b]{0.5\textwidth}&lt;br /&gt;
\centering&lt;br /&gt;
\includegraphics[]{figures/standalone-figures/Chapter06/pdf/area-Mach-trends_R.pdf}&lt;br /&gt;
\caption{density}&lt;br /&gt;
\end{subfigure}&lt;br /&gt;
\caption{Change in flow variables as a consequence of changes in cross-section area. Blue lines represent subsonic solutions and the orange lines represent supersonic solutions.}&lt;br /&gt;
\label{fig:areaMach:trends}&lt;br /&gt;
\end{figure}&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nian</name></author>
	</entry>
</feed>