Governing equations on differential form: Difference between revisions

From Flowpedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[[Category:Compressible flow]]
[[Category:Compressible flow]]
[[Category:Governing equations]]
<noinclude>
[[Category:Compressible flow:Topic]]
[[Category:Compressible flow:Topic]]
[[Category:Governing equations]]
</noinclude>


__TOC__
__TOC__

Revision as of 19:30, 20 March 2026


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

We start from the momentum equation on differential form derived above

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

Expanding the first and the second terms gives

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

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

ρ[∂𝐯∂t+𝐯⋅∇𝐯]⏟=D𝐯Dt+𝐯[∂ρ∂t+∇⋅ρ𝐯]⏟=0+∇p=ρ𝐟

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

D𝐯Dt+1ρ∇p=𝐟

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

ρDeoDt+∇⋅(p𝐯)=ρ𝐟⋅𝐯+q˙ρ

Summary

Continuity:

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

Momentum:

D𝐯Dt+1ρ∇p=𝐟

Energy:

ρDeoDt+∇⋅(p𝐯)=ρ𝐟⋅𝐯+q˙ρ

Alternative Forms of the Energy Equation

Internal Energy Formulation

Total internal energy is defined as

eo=e+12𝐯⋅𝐯

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

ρDeDt+ρ𝐯⋅D𝐯Dt+∇⋅(p𝐯)=ρ𝐟⋅𝐯+q˙ρ

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

ρDeDt−𝐯⋅∇p+ρ𝐟⋅𝐯+∇⋅(p𝐯)=ρ𝐟⋅𝐯+q˙ρ

Now, expand the term ∇⋅(p𝐯) gives

ρDeDt−𝐯⋅∇p+𝐯⋅∇p+p(∇⋅𝐯)=q˙ρ⇒ρDeDt+p(∇⋅𝐯)=q˙ρ

Divide by ρ

DeDt+pρ(∇⋅𝐯)=q˙

Conservation of mass gives

DρDt+ρ(∇⋅𝐯)=0⇒∇⋅𝐯=−1ρDρDt

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

DeDt−pρ2DρDt=q˙⇒DeDt+pDDt(1ρ)=q˙

DeDt+pDνDt=q˙

Compare with the first law of thermodynamics: de=δq−δw

Enthalpy Formulation

h=e+pρ⇒DhDt=DeDt+1ρDpDt+pDDt(1ρ)

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

DhDt=q˙−pDDt(1ρ)+1ρDpDt+pDDt(1ρ)

DhDt=q˙+1ρDpDt

Total Enthalpy Formulation

ho=h+12𝐯𝐯⇒DhoDt=DhDt+𝐯⋅D𝐯Dt

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

D𝐯Dt=𝐟−1ρ∇p

which gives

DhoDt=DhDt+𝐯⋅𝐟−1ρ𝐯⋅∇p

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

DhoDt=q˙+1ρDpDt+𝐯⋅𝐟−1ρ𝐯⋅∇p=1ρ[DpDt−𝐯⋅∇p]+q˙+𝐯⋅𝐟

The substantial derivative operator applied to pressure

DpDt=∂p∂t+𝐯⋅∇p

and thus

DpDt−𝐯⋅∇p=∂p∂t

which gives

DhoDt=1ρ∂p∂t+q˙+𝐯⋅𝐟

If we assume adiabatic flow without body forces

DhoDt=1ρ∂p∂t

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

DhoDt=0

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