Governing equations on differential form

From Flowpedia
Revision as of 07:54, 31 March 2026 by Nian (talk | contribs)
Jump to navigation Jump to search

The Differential Equations on Conservation Form

Conservation of Mass

The continuity equation on integral form reads

ddt∭ΩρdV+∬∂Ωρ𝐯⋅𝐧dS=0

Apply Gauss's divergence theorem on the surface integral gives

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

Also, if Ω is a fixed control volume

ddt∭ΩρdV=∭Ω∂ρ∂tdV(Eq. 2.33)

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

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

Ω is an arbitrary control volume and thus

∂ρ∂t+∇⋅(ρ𝐯)=0(Eq. 2.35)

which is the continuity equation on partial differential form.

Conservation of Momentum

The momentum equation on integral form reads

ddt∭Ωρ𝐯dV+∬∂Ω[(ρ𝐯⋅𝐧)𝐯+p𝐧]dS=∭Ωρ𝐟dV

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

∬∂Ω(ρ𝐯⋅𝐧)𝐯dS=∭Ω∇⋅(ρ𝐯𝐯)dV(Eq. 2.36)
∬∂Ωp𝐧dS=∭Ω∇pdV(Eq. 2.37)

Also, if Ω is a fixed control volume

ddt∭Ωρ𝐯dV=∭Ω∂∂t(ρ𝐯)dV(Eq. 2.38)

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

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

Ω is an arbitrary control volume and thus

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

which is the momentum equation on partial differential form

Conservation of Energy

The energy equation on integral form reads

ddt∭ΩρeodV+∬∂Ωρho(𝐯⋅𝐧)dS=

∭Ωρ𝐟⋅𝐯dV+∭Ωq˙ρdV

Gauss's divergence theorem applied to the surface integral term in the energy equation gives

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

Fixed control volume

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

The energy equation can now be written as

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

Ω is an arbitrary control volume and thus

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

which is the energy equation on partial differential form

Summary

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

∂ρ∂t+∇⋅(ρ𝐯)=0(Eq. 2.45)
∂∂t(ρ𝐯)+∇⋅(ρ𝐯𝐯)+∇p=ρ𝐟(Eq. 2.46)
∂∂t(ρeo)+∇⋅(ρho𝐯)=ρ𝐟⋅𝐯+q˙ρ(Eq. 2.47)

The Differential Equations on Non-Conservation Form

The Substantial Derivative

The substantial derivative operator is defined as

DDt=∂∂t+𝐯⋅∇(Eq. 2.48)

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+𝐯⋅∇ρ(Eq. 2.49)

From before we have the continuity equation on differential form as

∂ρ∂t+∇⋅(ρ𝐯)=0(Eq. 2.50)

which can be rewritten as

∂ρ∂t+ρ(∇⋅𝐯)+𝐯⋅∇ρ=0(Eq. 2.51)

and thus

DρDt+ρ(∇⋅𝐯)=0(Eq. 2.52)

Eq. 2.52 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=ρ𝐟(Eq. 2.53)

Expanding the first and the second terms gives

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

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

ρ[∂𝐯∂t+𝐯⋅∇𝐯]⏟=D𝐯Dt+𝐯[∂ρ∂t+∇⋅ρ𝐯]⏟=0+∇p=ρ𝐟(Eq. 2.55)

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

D𝐯Dt+1ρ∇p=𝐟(Eq. 2.56)

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˙ρ(Eq. 2.57)

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

ho=eo+pρ(Eq. 2.58)

which gives

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

Expanding the two first terms as

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

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˙ρ(Eq. 2.61)

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

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

Summary

Continuity:

DρDt+ρ(∇⋅𝐯)=0(Eq. 2.63)

Momentum:

D𝐯Dt+1ρ∇p=𝐟(Eq. 2.64)

Energy:

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

Alternative Forms of the Energy Equation

Internal Energy Formulation

Total internal energy is defined as

eo=e+12𝐯⋅𝐯(Eq. 2.66)

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

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

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˙ρ(Eq. 2.68)

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

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

Divide by ρ

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

Conservation of mass gives

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

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

DeDt−pρ2DρDt=q˙⇒DeDt+pDDt(1ρ)=q˙(Eq. 2.72)
DeDt+pDνDt=q˙(Eq. 2.73)

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

Enthalpy Formulation

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

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

DhDt=q˙−pDDt(1ρ)+1ρDpDt+pDDt(1ρ)(Eq. 2.75)
DhDt=q˙+1ρDpDt(Eq. 2.76)

Total Enthalpy Formulation

ho=h+12𝐯𝐯⇒DhoDt=DhDt+𝐯⋅D𝐯Dt(Eq. 2.77)

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

D𝐯Dt=𝐟−1ρ∇p(Eq. 2.78)

which gives

DhoDt=DhDt+𝐯⋅𝐟−1ρ𝐯⋅∇p(Eq. 2.79)

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

DhoDt=q˙+1ρDpDt+𝐯⋅𝐟−1ρ𝐯⋅∇p=1ρ[DpDt−𝐯⋅∇p]+q˙+𝐯⋅𝐟(Eq. 2.80)

The substantial derivative operator applied to pressure

DpDt=∂p∂t+𝐯⋅∇p(Eq. 2.81)

and thus

DpDt−𝐯⋅∇p=∂p∂t(Eq. 2.82)

which gives

DhoDt=1ρ∂p∂t+q˙+𝐯⋅𝐟(Eq. 2.83)

If we assume adiabatic flow without body forces

DhoDt=1ρ∂p∂t(Eq. 2.84)

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

DhoDt=0(Eq. 2.85)

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