Governing equations on differential form

From Flowpedia
Jump to navigation Jump to search


The Differential Equations on Conservation Form

Conservation of Mass

Apply Gauss's divergence theorem on the surface integral in Eqn. \ref{eq:governing:cont:int} gives

∬∂Ωρ𝐯⋅𝐧dS=∭Ω∇⋅(ρ𝐯)dV

Also, if Ω is a fixed control volume

ddt∭ΩρdV=∭Ω∂ρ∂tdV

The continuity equation can now be written as a single volume integral.

∭Ω[∂ρ∂t+∇⋅(ρ𝐯)]dV=0

Ω is an arbitrary control volume and thus

∂ρ∂t+∇⋅(ρ𝐯)=0

which is the continuity equation on partial differential form.

Conservation of Momentum

As for the continuity equation, the surface integral terms are rewritten as volume integrals using Gauss's divergence theorem.

∬∂Ω(ρ𝐯⋅𝐧)𝐯dS=∭Ω∇⋅(ρ𝐯𝐯)dV

∬∂Ωp𝐧dS=∭Ω∇pdV

Also, if Ω is a fixed control volume

ddt∭Ωρ𝐯dV=∭Ω∂∂t(ρ𝐯)dV

The momentum equation can now be written as one single volume integral

∭Ω[∂∂t(ρ𝐯)+∇⋅(ρ𝐯𝐯)+∇p−ρ𝐟]dV=0

Ω is an arbitrary control volume and thus

∂∂t(ρ𝐯)+∇⋅(ρ𝐯𝐯)+∇p=ρ𝐟

which is the momentum equation on partial differential form

Conservation of Energy

Gauss's divergence theorem applied to the surface integral term in the energy equation (Eqn. \ref{eq:governing:energy:int}) gives

∬∂Ωρho(𝐯⋅𝐧)dS=∭Ω∇⋅(ρho𝐯)dV

Fixed control volume

ddt∭ΩρeodV=∭Ω∂∂t(ρeo)dV

The energy equation can now be written as

∭Ω[∂∂t(ρeo)+∇⋅(ρho𝐯)−ρ𝐟⋅𝐯−q˙ρ]dV=0

Ω is an arbitrary control volume and thus

∂∂t(ρeo)+∇⋅(ρho𝐯)=ρ𝐟⋅𝐯+q˙ρ

which is the energy equation on partial differential form

Summary

The governing equations for compressible inviscid flow on partial differential form:

∂ρ∂t+∇⋅(ρ𝐯)=0

∂∂t(ρ𝐯)+∇⋅(ρ𝐯𝐯)+∇p=ρ𝐟

∂∂t(ρeo)+∇⋅(ρho𝐯)=ρ𝐟⋅𝐯+q˙ρ

The Differential Equations on Non-Conservation Form

The Substantial Derivative

The substantial derivative operator is defined as

DDt=∂∂t+𝐯⋅∇

where the first term of the right hand side is the local derivative and the second term is the convective derivative.

Conservation of Mass

If we apply the substantial derivative operator to density we get

DρDt=∂ρ∂t+𝐯⋅∇ρ

From before we have the continuity equation on differential form as

∂ρ∂t+∇⋅(ρ𝐯)=0

which can be rewritten as

∂ρ∂t+ρ(∇⋅𝐯)+𝐯⋅∇ρ=0

and thus

DρDt+ρ(∇⋅𝐯)=0

Eqn. \ref{eq:governing:cont:non} says that the mass of a fluid element with a fixed set of fluid particles is constant as the element moves in space.

Conservation of Momentum

\noindent We start from the momentum equation on differential form derived above\\

\[\frac{\partial}{\partial t}(\rho \mathbf{v}) + \nabla\cdot(\rho \mathbf{v}\mathbf{v}) + \nabla p = \rho \mathbf{f}\]\\

\noindent Expanding the first and the second terms gives\\

\[\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}\]\\

\noindent Collecting terms, we can identify the substantial derivative operator applied to the velocity vector and the continuity equation.\\

\[\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}\]\\

\noindent which gives us the non-conservation form of the momentum equation\\

\begin{equation} \frac{D\mathbf{v}}{Dt}+\frac{1}{\rho}\nabla p = \mathbf{f} \label{eq:governing:mom:non} \end{equation}\\

Conservation of Energy

The last equation on non-conservation differential form is the energy equation. We start by rewriting the energy equation on differential form (Eqn. \ref{eq:governing:energy:pde}), repeated here for convenience

∂∂t(ρeo)+∇⋅(ρho𝐯)=ρ𝐟⋅𝐯+q˙ρ

Total enthalpy, ho, is replaced with total energy, eo

ho=eo+pρ

which gives

∂∂t(ρeo)+∇⋅(ρeo𝐯)+∇⋅(p𝐯)=ρ𝐟⋅𝐯+q˙ρ

Expanding the two first terms as

ρ∂eo∂t+eo∂ρ∂t+ρ𝐯⋅∇eo+eo∇⋅(ρ𝐯)+∇⋅(p𝐯)=ρ𝐟⋅𝐯+q˙ρ

Collecting terms, we can identify the substantial derivative operator applied on total energy, Deo/Dt and the continuity equation

ρ[∂eo∂t+𝐯⋅∇eo]⏟=DeoDt+eo[∂ρ∂t+∇⋅(ρ𝐯)]⏟=0+∇⋅(p𝐯)=ρ𝐟⋅𝐯+q˙ρ

and thus we end up with the energy equation on non-conservation differential form

\begin{equation} \rho\frac{De_o}{Dt} + \nabla\cdot(p\mathbf{v}) = \rho\mathbf{f}\cdot\mathbf{v} + \dot{q}\rho \label{eq:governing:energy:non} \end{equation}\\

%\section*{The Governing Equations on Differential Non-Conservation Form} % %\vspace*{1cm} % %\noindent Continuity: % %\begin{equation} %\frac{D\rho}{Dt}+\rho(\nabla\cdot\mathbf{v})=0 %\label{eq:governing:cont:non} %\end{equation}\\ % %\noindent Momentum: % %\begin{equation} %\frac{D\mathbf{v}}{Dt}+\frac{1}{\rho}\nabla p = \mathbf{f} %\label{eq:governing:mom:non} %\end{equation}\\ % %\noindent Energy: % %\begin{equation} %\rho\frac{De_o}{Dt} + \nabla\cdot(p\mathbf{v}) = \rho\mathbf{f}\cdot\mathbf{v} + \dot{q}\rho %\label{eq:governing:energy:non} %\end{equation}\\

Alternative Forms of the Energy Equation

Internal Energy Formulation

\noindent Total internal energy is defined as\\

\[e_o=e+\frac{1}{2}\mathbf{v}\cdot\mathbf{v}\]\\

\noindent Inserted in Eqn. \ref{eq:governing:energy:non}, this gives

\[\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\]\\

\noindent Now, let's replace the substantial derivative $D\mathbf{v}/Dt$ using the momentum equation on non-conservation form (Eqn. \ref{eq:governing:mom:non}).\\

\[\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\]\\

\noindent Now, expand the term $\nabla\cdot(p\mathbf{v})$ gives\\

\[\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 \rho\frac{De}{Dt} + p(\nabla\cdot\mathbf{v}) = \dot{q}\rho\]\\

\noindent Divide by $\rho$\\

\begin{equation} \frac{De}{Dt} + \frac{p}{\rho}(\nabla\cdot\mathbf{v}) = \dot{q} \label{eq:governing:energy:non:b} \end{equation}\\

\noindent Conservation of mass gives\\

\[\frac{D\rho}{Dt}+\rho(\nabla\cdot\mathbf{v})=0\Rightarrow \nabla\cdot\mathbf{v} = -\frac{1}{\rho}\frac{D\rho}{Dt}\]

\noindent Insert in Eqn. \ref{eq:governing:energy:non:b}\\

\[\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}\]\\

\begin{equation} \frac{De}{Dt} + p\frac{D\nu}{Dt} = \dot{q} \label{eq:governing:energy:non:b} \end{equation}\\

\noindent Compare with the first law of thermodynamics: $de=\delta q-\delta w$\\

Enthalpy Formulation

\[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)\]\\

\noindent with $De/Dt$ from Eqn. \ref{eq:governing:energy:non:b}\\

\[\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)}\]\\

\begin{equation} \frac{Dh}{Dt}=\dot{q} + \frac{1}{\rho}\frac{Dp}{Dt} \label{eq:governing:energy:non:c} \end{equation}\\

Total Enthalpy Formulation

\[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}\]\\

\noindent From the momentum equation (Eqn. \ref{eq:governing:mom:non})\\

\[\frac{D\mathbf{v}}{Dt}=\mathbf{f}-\frac{1}{\rho}\nabla p\]\\

\noindent which gives\\

\[\frac{Dh_o}{Dt}=\frac{Dh}{Dt}+\mathbf{v}\cdot\mathbf{f} -\frac{1}{\rho}\mathbf{v}\cdot\nabla p \]\\

\noindent Inserting $Dh/Dt$ from Eqn. \ref{eq:governing:energy:non:c} gives\\

\[\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 = \frac{1}{\rho}\left[\frac{Dp}{Dt}-\mathbf{v}\cdot\nabla p\right] + \dot{q} + \mathbf{v}\cdot\mathbf{f}\]\\

\noindent The substantial derivative operator applied to pressure\\

\[\frac{Dp}{Dt}=\frac{\partial p}{\partial t}+\mathbf{v}\cdot\nabla p\]\\

\noindent and thus\\

\[\frac{Dp}{Dt}-\mathbf{v}\cdot\nabla p=\frac{\partial p}{\partial t}\]\\

\noindent which gives\\

\[\frac{Dh_o}{Dt}=\frac{1}{\rho}\frac{\partial p}{\partial t} + \dot{q} + \mathbf{v}\cdot\mathbf{f}\]\\

\noindent If we assume adiabatic flow without body forces\\

\[\frac{Dh_o}{Dt}=\frac{1}{\rho}\frac{\partial p}{\partial t}\]\\

\noindent If we further assume the flow to be steady state we get\\

\[\frac{Dh_o}{Dt}=0\]\\

\noindent This means that in a steady-state adiabatic flow without body forces, total enthalpy is constant along a streamline.\\