Fluid Dynamics - Differential Relations for Fluid Mechanics

Differential Relations for Fluid Mechanics

  • Objective: Obtain partial differential equations (PDEs) for conservation laws.

  • Solution: Properties at every point within the domain at any time, x=f(x,t)x = f(x, t).

Describing Properties

  • Property defined on an element (Lagrangian description).

  • Property can change with time.

  • Eulerian description: Property at a point x occupied by element X at time t.

  • Time derivative of properties needed for conservation laws.

    • Physical meaning: Time derivative of a property following an element.

    • Use substantial or material derivative relations:

      • DfDt=ft+fxdxdt\frac{Df}{Dt} = \frac{\partial f}{\partial t} + \frac{\partial f}{\partial x} \frac{dx}{dt}

      • DfDt=ft+vf\frac{Df}{Dt} = \frac{\partial f}{\partial t} + v \cdot \nabla f

Differential Relations &

  • Differential relation can be derived from integral forms using Reynolds transport theorem.

  • Steps:

    1. Use material volume (VM), a control volume enclosing the same fluid elements at all times.

      • Mass inside VM stays constant.

    2. Apply Reynolds transport theorem:

      • ddt<em>V(t)fdV=</em>V(t)ftdV+<em>A(t)fV</em>sndA\frac{d}{dt} \int<em>{V(t)} f dV = \int</em>{V(t)} \frac{\partial f}{\partial t} dV + \int<em>{A(t)} f V</em>s \cdot n dA

        • Where VsV_s is the velocity of the surface.

      • This theorem accounts for the time derivative of the integral, considering both the change in f with time and the change in volume with time.

    3. For material volume, the boundary moves with the same velocity as the element (Vs=vV_s = v).

    4. Convert area integral to volume integral using Gauss's theorem.

      • Requires the property ff to be a continuous function.

      • Gauss's Theorem: <em>AfdA=</em>VfdV\int<em>{A} f \cdot dA = \int</em>{V} \nabla \cdot f dV

      • Discontinuities (e.g., interfaces between different fluids, shock waves) invalidate this conversion if the volume encloses the discontinuity.

Conservation of Mass

  • Fix and observe a fluid element.

  • Mass inside the fluid element remains constant.

  • Elemental mass: dm=ρdV=constantdm = \rho dV = constant

    • \rho = density, dV = volume of the element

  • If volume increases, density must decrease, and vice versa.

  • Time rate of change of density is proportional to the negative of the time rate of change of volume.

  • dρdtdVdt\frac{d\rho}{dt} \propto -\frac{dV}{dt}

  • Time rate of change of volume per unit volume: 1VdVdt=v\frac{1}{V} \frac{dV}{dt} = \nabla \cdot v

  • dρdt=ρ(v)\frac{d\rho}{dt} = - \rho (\nabla \cdot v)

  • 1ρdρdt=(v)\frac{1}{\rho}\frac{d\rho}{dt} = -(\nabla \cdot v)

  • Bring everything to the left-hand side:

    • DρDt+ρ(v)=0\frac{D\rho}{Dt} + \rho (\nabla \cdot v) = 0

      • Lagrangian version of conservation of mass

  • Eulerian version, using substantial derivative:

    • ρt+vρ+ρ(v)=0\frac{\partial \rho}{\partial t} + v \cdot \nabla \rho + \rho (\nabla \cdot v) = 0

    • ρt+(ρv)=0\frac{\partial \rho}{\partial t} + \nabla \cdot (\rho v) = 0

      • Valid at any point at any time.

  • Physical meaning of terms:

    • (ρv)\nabla \cdot (\rho v) represents the flux of mass.

    • If the derivative is positive, more mass is leaving the point than entering, causing the density at that point to decrease.

  • One-dimensional example:

    • ρt=(ρvx)x\frac{\partial \rho}{\partial t} = - \frac{\partial (\rho v_x)}{\partial x}

  • The equation describes how the density change at a particular point equals the negative of the mass flux entering and leaving that point.

Conservation of Linear Momentum

  • Based on Newton's second law: F=maF = ma

  • Forces acting on the fluid element:

    • Pressure forces.

    • Viscous forces (stresses).

    • Gravitational force.

  • Consider the x component:

    • ρDv<em>xDt=F</em>x\rho \frac{Dv<em>x}{Dt} = \sum F</em>x

  • Pressure force in the x direction, where p is pressure:

    • p(p+pxdx)dydz=pxdxdydzp - (p + \frac{\partial p}{\partial x} dx) dy dz = - \frac{\partial p}{\partial x} dx dy dz

  • Viscous forces:

    • τ<em>xxdydz\tau<em>{xx} dy dz, τ</em>xx+τxxxdxdydz\tau</em>{xx} + \frac{\partial \tau_{xx}}{\partial x}dx dy dz

    • τ<em>yxdxdz\tau<em>{yx} dx dz, τ</em>yx+τyxydydxdz\tau</em>{yx} + \frac{\partial \tau_{yx}}{\partial y}dy dx dz

  • Newton's second law for the element:

    • ρdxdydzDvxDt=Pressure Forces+Viscous Forces+Gravitational Forces\rho dxdydz \frac{Dv_x}{Dt} = \text{Pressure Forces} + \text{Viscous Forces} + \text{Gravitational Forces}

    • ρdxdydzDv<em>xDt=pxdxdydz+(τ</em>xxx+τ<em>yxy+τ</em>zxz)dxdydz+ρgxdxdydz\rho dxdydz \frac{Dv<em>x}{Dt} = - \frac{\partial p}{\partial x} dxdydz + (\frac{\partial \tau</em>{xx}}{\partial x} + \frac{\partial \tau<em>{yx}}{\partial y} + \frac{\partial \tau</em>{zx}}{\partial z})dxdydz + \rho g_x dxdydz

  • Generalize to three dimensions:

    • Replace vxv_x with vv (velocity vector).

    • Replace px-\frac{\partial p}{\partial x} with p\nabla p (gradient of pressure).

    • Viscous force term becomes τ\nabla \cdot \tau (divergence of the stress tensor).

  • Conservation of linear momentum:

    • ρDvDt=p+τ+ρg\rho \frac{Dv}{Dt} = -\nabla p + \nabla \cdot \tau + \rho g

  • Mathematical manipulation to obtain the Eulerian form:

    • Using the substantial derivative:

      • DvDt=vt+(v)v\frac{Dv}{Dt} = \frac{\partial v}{\partial t} + (v \cdot \nabla)v

    • ρ(vt+(v)v)=p+τ+ρg\rho(\frac{\partial v}{\partial t} + (v \cdot \nabla)v) = -\nabla p + \nabla \cdot \tau + \rho g

  • Add zero using conservation of mass: (ρv)=0\nabla \cdot (\rho v) = 0

    • v(ρt+(ρv))=0v( \frac{\partial \rho}{\partial t} + \nabla \cdot (\rho v)) = 0

    • ρvt+ρ(v)v+v(ρt+(ρv))=(ρv)t+((ρvv))\rho \frac{\partial v}{\partial t} + \rho(v \cdot \nabla)v + v(\frac{\partial \rho}{\partial t} + \nabla \cdot (\rho v)) = \frac{\partial (\rho v)}{\partial t} + (\nabla \cdot (\rho vv))

    • (ρv)t+(ρvv)=p+τ+ρg\frac{\partial (\rho v)}{\partial t} + \nabla \cdot (\rho vv) = -\nabla p + \nabla \cdot \tau + \rho g

  • Understanding the physical meaning:

    • (ρvv)\nabla \cdot (\rho vv) is the momentum flux.

Conservation of Angular Momentum

  • Based on Newton's second law for rotation: dLdt=Net Moment\frac{dL}{dt} = \text{Net Moment}

  • Moments can come from pressure, viscous forces, and gravity.

  • Gravity does not produce a moment about the center of mass.

  • Shear stresses contribute to the moment.

  • Mathematical derivation:

    • τ<em>yx=τ</em>yx+τyxydy\tau<em>{yx} = \tau</em>{yx} + \frac{\partial \tau_{yx}}{\partial y}dy

    • τ<em>xy=τ</em>xy+τxyxdx\tau<em>{xy} = \tau</em>{xy} + \frac{\partial \tau_{xy}}{\partial x}dx

    • dLdt=Idαdt\frac{dL}{dt} = I \frac{d\alpha}{dt}

  • The conservation of angular momentum requires the stress tensor to be symmetric:

    • τ<em>xy=τ</em>yx\tau<em>{xy} = \tau</em>{yx}

    • τ<em>xz=τ</em>zx\tau<em>{xz} = \tau</em>{zx}

    • τ<em>yz=τ</em>zy\tau<em>{yz} = \tau</em>{zy}

  • Total stress (including pressure) is a symmetric tensor.

    • σ=pI+τ\sigma = -pI + \tau

Conservation of Energy

  • First law of thermodynamics for a closed system:

    • dEdt=W˙+Q˙\frac{dE}{dt} = \dot{W} + \dot{Q}

    • ddtVeρdV=W˙+Q˙\frac{d}{dt} \int_V e \rho dV = \dot{W} + \dot{Q}

    • ee is specific energy.

  • Energy of a moving fluid element:

    • Internal energy (u) + Kinetic energy (\frac{1}{2}v^2).

  • Power (W˙\dot{W}) is due to:

    • Pressure.

    • Viscous forces.

    • Gravity.

  • Heat transfer (Q˙\dot{Q}) is due to:

    • Radiation.

    • Conduction.

  • Pressure on x surface:

    • Force=pArea=pdydzForce = p \cdot Area = p dy dz

  • Radiative heat transfer is expressed as: q˙=ρq\dot{q} = \rho q ; q is heat transfer per unit volume.

  • Substitute into the conservation of energy:

    • ddtV(u+12v2)ρdV=W˙+Q˙\frac{d}{dt} \int_V (u + \frac{1}{2}v^2) \rho dV = \dot{W} + \dot{Q}

    • ρDDt(u+12v2)=q˙(pv)+(τv)+ρ(gv)\rho \frac{D}{Dt}(u + \frac{1}{2}v^2) = \dot{q} - \nabla \cdot (pv) + \nabla \cdot (\tau \cdot v) + \rho (g \cdot v)

  • Del operator application:

    • (τv)\nabla \cdot (\tau \cdot v): This term describes the work done by viscous forces. Expanding this term fully would lead to a complex expression containing several terms with velocity and stress components. The term can be rewritten as τ:(v)\tau : (\nabla v)

  • Subtract the kinetic energy (linear momentum) equation from the total energy equation to obtain the conservation of internal energy.

  • DDt(12v2)=vDvDt=v(pρ+τρ+g)\frac{D}{Dt}(\frac{1}{2} v^2) = v \cdot \frac{Dv}{Dt} = v \cdot(-\frac{\nabla p}{\rho} + \frac{\nabla \cdot \tau}{\rho} + g)

  • Conservation of internal energy:

    • ρDuDt=q˙p(v)+Φ\rho \frac{Du}{Dt} = \dot{q} - p(\nabla \cdot v) + \Phi

  • Φ=τ:v\Phi = \tau : \nabla v This expression represents viscous dissipation.

  • Physical interpretation:

    • Increasing internal energy:

      • Increase temperature through radiation and conduction.

      • Compress the fluid (decrease volume).

      • Viscous heating (viscous dissipation).

Alternative Forms of the Energy Equation

  • Express conservation of energy in terms of enthalpy and entropy.

Enthalpy forms
  • Enthalpy: h = u + pv, v = 1/p dh=du+pdv+vdpdh = du + pdv + vdp ρDhDt=ρDuDt+Pv+vDPDt\rho \frac{Dh}{Dt} = \rho \frac{Du}{Dt} + P\nabla*v + v \frac{DP}{Dt}

    • Replacing Du/Dt yields
      ρDhDt=q˙+<em>v+Φ+</em>v+vDPDt\rho \frac{Dh}{Dt} = \dot{q} + \nabla<em>v + \Phi+ \nabla</em>v + v \frac{DP}{Dt}

  • Final Form:
    ρDhDt=q˙+Φ+vDPDt\rho \frac{Dh}{Dt} = \dot{q} + \Phi+ v \frac{DP}{Dt}

Entropy forms
  • Start with:du=Tdspdvdu = Tds - pdv

    • Substituting for specific volume and multiplying by density yields
      duDt=ρTdsDtpρdvDt\frac{du}{Dt} = \rho T\frac{ds}{Dt} -p \rho \frac{dv}{Dt}

  • Final form:
    duDt=ρTdsDt+pv\frac{du}{Dt} = \rho T\frac{ds}{Dt} + p \nabla v

    • Combining with previous statements:
      ρTDsDt=q˙+Φ\rho T \frac{Ds}{Dt} = \dot{q} + \Phi

  • Useful form if Inviscid and Adiabatic (ds/dt=0):

    • Adiabatic: No heat transfer

    • Inviscid: No Viscosity

  • Constitutive relations will be discussed in the next video.

Differential Relations for Fluid Mechanics

Objective: Obtain partial differential equations (PDEs) for conservation laws.

Solution: Properties at every point within the domain at any time, x=f(x,t)x = f(x, t).

Describing Properties

Property defined on an element (Lagrangian description).

Property can change with time.

Eulerian description: Property at a point x occupied by element X at time t.

Time derivative of properties needed for conservation laws.

  • Physical meaning: Time derivative of a property following an element.

  • Use substantial or material derivative relations:-

    • DfDt=ft+fxdxdt\frac{Df}{Dt} = \frac{\partial f}{\partial t} + \frac{\partial f}{\partial x} \frac{dx}{dt}

    • DfDt=ft+vf\frac{Df}{Dt} = \frac{\partial f}{\partial t} + v \cdot \nabla f

Differential Relations &

Differential relation can be derived from integral forms using Reynolds transport theorem.

Steps:

  1. Use material volume (VM), a control volume enclosing the same fluid elements at all times.

    • Mass inside VM stays constant.

  2. Apply Reynolds transport theorem:-

    • ddt<em>V(t)fdV=</em>V(t)ftdV+<em>A(t)fV</em>sndA\frac{d}{dt} \int<em>{V(t)} f dV = \int</em>{V(t)} \frac{\partial f}{\partial t} dV + \int<em>{A(t)} f V</em>s \cdot n dA

    • Where VsV_s is the velocity of the surface.

    • This theorem accounts for the time derivative of the integral, considering both the change in f with time and the change in volume with time.

  3. For material volume, the boundary moves with the same velocity as the element (Vs=vV_s = v).

  4. Convert area integral to volume integral using Gauss's theorem.

    • Requires the property ff to be a continuous function.

    • Gauss's Theorem: <em>AfdA=</em>VfdV\int<em>{A} f \cdot dA = \int</em>{V} \nabla \cdot f dV

    • Discontinuities (e.g., interfaces between different fluids, shock waves) invalidate this conversion if the volume encloses the discontinuity.

Conservation of Mass

Fix and observe a fluid element.

Mass inside the fluid element remains constant.

Elemental mass: dm=ρdV=constantdm = \rho dV = constant

  • \rho = density, dV = volume of the element

If volume increases, density must decrease, and vice versa.

Time rate of change of density is proportional to the negative of the time rate of change of volume.

dρdtdVdt\frac{d\rho}{dt} \propto -\frac{dV}{dt}

Time rate of change of volume per unit volume: 1VdVdt=v\frac{1}{V} \frac{dV}{dt} = \nabla \cdot v

dρdt=ρ(v)\frac{d\rho}{dt} = - \rho (\nabla \cdot v)

1ρdρdt=(v)\frac{1}{\rho}\frac{d\rho}{dt} = -(\nabla \cdot v)

Bring everything to the left-hand side:-

DρDt+ρ(v)=0\frac{D\rho}{Dt} + \rho (\nabla \cdot v) = 0

  • Lagrangian version of conservation of mass

Eulerian version, using substantial derivative:-

  • ρt+vρ+ρ(v)=0\frac{\partial \rho}{\partial t} + v \cdot \nabla \rho + \rho (\nabla \cdot v) = 0

  • ρt+(ρv)=0\frac{\partial \rho}{\partial t} + \nabla \cdot (\rho v) = 0

    • Valid at any point at any time.

Physical meaning of terms:-

  • (ρv)\nabla \cdot (\rho v) represents the flux of mass.

  • If the derivative is positive, more mass is leaving the point than entering, causing the density at that point to decrease.

One-dimensional example:-

  • ρt=(ρvx)x\frac{\partial \rho}{\partial t} = - \frac{\partial (\rho v_x)}{\partial x}

The equation describes how the density change at a particular point equals the negative of the mass flux entering and leaving that point.

Conservation of Linear Momentum

Based on Newton's second law: F=maF = ma

Forces acting on the fluid element:

Pressure forces.

Viscous forces (stresses).

Gravitational force.

Consider the x component:-

  • ρDv<em>xDt=F</em>x\rho \frac{Dv<em>x}{Dt} = \sum F</em>x

Pressure force in the x direction, where p is pressure:-

  • p(p+pxdx)dydz=pxdxdydzp - (p + \frac{\partial p}{\partial x} dx) dy dz = - \frac{\partial p}{\partial x} dx dy dz

Viscous forces:-

  • τ<em>xxdydz\tau<em>{xx} dy dz, τ</em>xx+τxxxdxdydz\tau</em>{xx} + \frac{\partial \tau_{xx}}{\partial x}dx dy dz

  • τ<em>yxdxdz\tau<em>{yx} dx dz, τ</em>yx+τyxydydxdz\tau</em>{yx} + \frac{\partial \tau_{yx}}{\partial y}dy dx dz

Newton's second law for the element:-

  • ρdxdydzDvxDt=Pressure Forces+Viscous Forces+Gravitational Forces\rho dxdydz \frac{Dv_x}{Dt} = \text{Pressure Forces} + \text{Viscous Forces} + \text{Gravitational Forces}

  • ρdxdydzDv<em>xDt=pxdxdydz+(τ</em>xxx+τ<em>yxy+τ</em>zxz)dxdydz+ρgxdxdydz\rho dxdydz \frac{Dv<em>x}{Dt} = - \frac{\partial p}{\partial x} dxdydz + (\frac{\partial \tau</em>{xx}}{\partial x} + \frac{\partial \tau<em>{yx}}{\partial y} + \frac{\partial \tau</em>{zx}}{\partial z})dxdydz + \rho g_x dxdydz

Generalize to three dimensions:-

  • Replace vxv_x with vv (velocity vector).

  • Replace px-\frac{\partial p}{\partial x} with p\nabla p (gradient of pressure).

  • Viscous force term becomes τ\nabla \cdot \tau (divergence of the stress tensor).

Conservation of linear momentum:-

  • ρDvDt=p+τ+ρg\rho \frac{Dv}{Dt} = -\nabla p + \nabla \cdot \tau + \rho g

Mathematical manipulation to obtain the Eulerian form:-

  • Using the substantial derivative:-

    • DvDt=vt+(v)v\frac{Dv}{Dt} = \frac{\partial v}{\partial t} + (v \cdot \nabla)v

  • ρ(vt+(v)v)=p+τ+ρg\rho(\frac{\partial v}{\partial t} + (v \cdot \nabla)v) = -\nabla p + \nabla \cdot \tau + \rho g

Add zero using conservation of mass: (ρv)=0\nabla \cdot (\rho v) = 0

  • v(ρt+(ρv))=0v( \frac{\partial \rho}{\partial t} + \nabla \cdot (\rho v)) = 0

  • ρvt+ρ(v)v+v(ρt+(ρv))=(ρv)t+((ρvv))\rho \frac{\partial v}{\partial t} + \rho(v \cdot \nabla)v + v(\frac{\partial \rho}{\partial t} + \nabla \cdot (\rho v)) = \frac{\partial (\rho v)}{\partial t} + (\nabla \cdot (\rho vv))

  • (ρv)t+(ρvv)=p+τ+ρg\frac{\partial (\rho v)}{\partial t} + \nabla \cdot (\rho vv) = -\nabla p + \nabla \cdot \tau + \rho g

Understanding the physical meaning:-

  • (ρvv)\nabla \cdot (\rho vv) is the momentum flux.

Conservation of Angular Momentum

Based on Newton's second law for rotation: dLdt=Net Moment\frac{dL}{dt} = \text{Net Moment}

Moments can come from pressure, viscous forces, and gravity.

Gravity does not produce a moment about the center of mass.

Shear stresses contribute to the moment.

Mathematical derivation:-

  • τ<em>yx=τ</em>yx+τyxydy\tau<em>{yx} = \tau</em>{yx} + \frac{\partial \tau_{yx}}{\partial y}dy

  • τ<em>xy=τ</em>xy+τxyxdx\tau<em>{xy} = \tau</em>{xy} + \frac{\partial \tau_{xy}}{\partial x}dx

  • dLdt=Idαdt\frac{dL}{dt} = I \frac{d\alpha}{dt}

The conservation of angular momentum requires the stress tensor to be symmetric:-

  • τ<em>xy=τ</em>yx\tau<em>{xy} = \tau</em>{yx}

  • τ<em>xz=τ</em>zx\tau<em>{xz} = \tau</em>{zx}

  • τ<em>yz=τ</em>zy\tau<em>{yz} = \tau</em>{zy}

Total stress (including pressure) is a symmetric tensor.-

  • σ=pI+τ\sigma = -pI + \tau

Conservation of Energy

First law of thermodynamics for a closed system:-

  • dEdt=W˙+Q˙\frac{dE}{dt} = \dot{W} + \dot{Q}

  • ddtVeρdV=W˙+Q˙\frac{d}{dt} \int_V e \rho dV = \dot{W} + \dot{Q}

  • ee is specific energy.

Energy of a moving fluid element:-

  • Internal energy (u) + Kinetic energy (\frac{1}{2}v^2).

Power (W˙\dot{W}) is due to:-

Pressure.

Viscous forces.

Gravity.

Heat transfer (Q˙\dot{Q}) is due to:-

Radiation.

Conduction.

Pressure on x surface:-

  • Force=pArea=pdydzForce = p \cdot Area = p dy dz

Radiative heat transfer is expressed as: q˙=ρq\dot{q} = \rho q ; q is heat transfer per unit volume.

Substitute into the conservation of energy:-

  • ddtV(u+12v2)ρdV=W˙+Q˙\frac{d}{dt} \int_V (u + \frac{1}{2}v^2) \rho dV = \dot{W} + \dot{Q}

  • ρDDt(u+12v2)=q˙(pv)+(τv)+ρ(gv)\rho \frac{D}{Dt}(u + \frac{1}{2}v^2) = \dot{q} - \nabla \cdot (pv) + \nabla \cdot (\tau \cdot v) + \rho (g \cdot v)

Del operator application:-

  • (τv)\nabla \cdot (\tau \cdot v): This term describes the work done by viscous forces. Expanding this term fully would lead to a complex expression containing several terms with velocity and stress components. The term can be rewritten as τ:(v)\tau : (\nabla v)

Subtract the kinetic energy (linear momentum) equation from the total energy equation to obtain the conservation of internal energy.

DDt(12v2)=vDvDt=v(pρ+τρ+g)\frac{D}{Dt}(\frac{1}{2} v^2) = v \cdot \frac{Dv}{Dt} = v \cdot(-\frac{\nabla p}{\rho} + \frac{\nabla \cdot \tau}{\rho} + g)

Conservation of internal energy:-

  • ρDuDt=q˙p(v)+Φ\rho \frac{Du}{Dt} = \dot{q} - p(\nabla \cdot v) + \Phi

  • Φ=τ:v\Phi = \tau : \nabla v This expression represents viscous dissipation.

Physical interpretation:-

Increasing internal energy:-

  • Increase temperature through radiation and conduction.

  • Compress the fluid (decrease volume).

  • Viscous heating (viscous dissipation).

Alternative Forms of the Energy Equation

Express conservation of energy in terms of enthalpy and entropy.

Enthalpy forms

Enthalpy: h = u + pv, v = 1/p dh=du+pdv+vdpdh = du + pdv + vdp ρDhDt=ρDuDt+Pv+vDPDt\rho \frac{Dh}{Dt} = \rho \frac{Du}{Dt} + P\nabla v + v \frac{DP}{Dt}- Replacing Du/Dt yields

ρDhDt=q˙+v+Φ+v+vDPDt\rho \frac{Dh}{Dt} = \dot{q} + \nabla v + \Phi+ \nabla*v + v \frac{DP}{Dt}

Final Form:

ρDhDt=q˙+Φ+vDPDt\rho \frac{Dh}{Dt} = \dot{q} + \Phi+ v \frac{DP}{Dt}

Entropy forms

Start with:du=Tdspdvdu = Tds - pdv

  • Substituting for specific volume and multiplying by density yields

  • duDt=ρTdsDtpρdvDt\frac{du}{Dt} = \rho T\frac{ds}{Dt} -p \rho \frac{dv}{Dt}

Final form:

duDt=ρTdsDt+pv\frac{du}{Dt} = \rho T\frac{ds}{Dt} + p \nabla v

  • Combining with previous statements:

  • ρTDsDt=q˙+Φ\rho T \frac{Ds}{Dt} = \dot{q} + \Phi

Useful form if Inviscid and Adiabatic (