# Fluid Mechanics for MAP/Fluid Dynamics

## Introduction

Differential Approach: We seek solution at every point ${\displaystyle \displaystyle (x_{1},x_{2},x_{3})}$, i.e describe the detailed flow pattern at all points.

Integral Approach: We focus on a control volume (CV), which is a finite region. It determines gross flow effects such as force or torque on a body or the total energy exchange. For this purpose, balances of incoming and outgoing flux of mass, momentum and energy are made through this finite region. It gives very fast engineering answers, sometimes crude but useful.

Flow over an airfoil: Lagrangian vs Eulerian approach and differential vs integral approach.

## Lagrangian versus Eulerian Approach: Substantial Derivative

Path of a fluid element

Let ${\displaystyle \displaystyle \alpha }$ be any flow variable (pressure, velocity, etc.). Eulerian approach deals with the description of ${\displaystyle \displaystyle \alpha }$ at each location ${\displaystyle \displaystyle (x_{i})}$ and time (t). For example, measurement of pressure at all ${\displaystyle \displaystyle x_{i}}$ defines the pressure field: ${\displaystyle \displaystyle P(x_{1},x_{2},x_{3},t)}$. Other field variables of the flow are:

${\displaystyle \displaystyle U_{j}(x_{1},t),P(x_{1},t),\rho (x_{1},t),T(x_{1}),\tau _{jk}(x_{1},t)\Rightarrow \alpha (x_{i},t)}$

Lagrangian approach tracks a fluid particle and determines its properties as it moves.

${\displaystyle \displaystyle x_{i}|_{p}(t+\Delta t)=x_{i}|_{p}(t)+\int _{t}^{t+\Delta t}U_{i}|_{p}(t')dt'}$

Oceanographic measurements made with floating sensors delivering location, pressure and temperature data, is one example of this approach. X-ray opaque dyes, which are used to trace blood flow in arteries, is another example.

Let ${\displaystyle \displaystyle \alpha _{p}}$ be the variable of the particle (substance) P, this ${\displaystyle \displaystyle \alpha _{p}}$ is called "substantial variable".

For this variable:

${\displaystyle \displaystyle \alpha _{p}({\vec {x_{p}}},t)}$ and ${\displaystyle \displaystyle {\vec {x_{p}}}={\vec {x_{p}}}(t)\rightarrow \alpha _{p}({\vec {x_{p}}},t)=\alpha _{p}(t)}$

In other words, one observes the change of variable ${\displaystyle \displaystyle \alpha }$ for a selected amount of mass of fixed identity, such that for the fluid particle, every change is a function of time only.

In a fluid flow, due to excessive number of fluid particles, Lagrangian approach is not widely used.

Thus, for a particle P finding itself at point ${\displaystyle \displaystyle x_{i}}$ for a given time, we can write the equality with the field variable:

${\displaystyle \displaystyle \alpha _{p}(t)=\alpha \left[(x_{i})_{p},t\right]}$

Along the path of the particle:

${\displaystyle \displaystyle \alpha _{p}(t+\Delta t)=\alpha \left[(x_{i}+\Delta x_{i})_{p},t+\Delta t\right]}$

Hence,

${\displaystyle \displaystyle d\alpha _{p}=\alpha \left[((x_{i}+\Delta x_{i})_{p},t+\Delta t)-\alpha ((x_{i})_{p},t)\right]}$

${\displaystyle \displaystyle d\alpha _{p}={\frac {\partial \alpha }{\partial t}}dt+{\frac {\partial \alpha }{\partial x_{i}}}dx_{ip}}$

${\displaystyle \displaystyle {\frac {d\alpha _{p}}{dt}}={\frac {\partial \alpha }{\partial t}}+\left({\frac {\partial \alpha }{\partial x_{i}}}\right)\left({\frac {dx_{i}}{dt}}\right)_{p}=\underbrace {\frac {\partial \alpha }{\partial t}} _{Local\ change\ in\ time}+\underbrace {{\frac {\partial \alpha }{\partial x_{i}}}U_{i}} _{Change\ in\ space}}$

The local change in time is the local time derivative (unsteadiness of the flow) and the change in space is the change along the path of the particle by means of the convective derivative.

${\displaystyle \displaystyle {\frac {d\alpha _{p}}{dt}}={\frac {D\alpha }{Dt}}=\left({\frac {\partial }{\partial t}}+U_{i}{\frac {\partial }{\partial x_{i}}}\right)\alpha }$

The substantial derivative connects the Lagrangian and Eulerian variables.

## System versus Control volume

In mechanics, system is a collection of matter of fixed identity (always the same atoms or fluid particles) which may move, flow and interact with its surroundings.

Hence, the mass is constant for a system, although it may continually change size and shape. This approach is very useful in statics and dynamics, in which the system can be isolated from its surrounding and its interaction with the surrounding can be analysed by using a free-body diagram.

In fluid dynamics, it is very hard to identify and follow a specific quantity of the fluid. Imagine a river and you have to follow a specific mass of water along the river.

Mostly, we are rather interested in determining forces on surfaces, for example on the surfaces of airplanes and cars. Hence, instead of system approach, we identify a specific volume in space (associated with our geometry of interest) and analyse the flow within, through or around this volume. This specific volume is called "Control Volume". This control volume can be fixed, moving or even deforming.

The control volume is a specific geometric entity independent of the flowing fluid. The matter within a control volume may change with time, and the mass may not remain constant.

## Basic laws for a system

### Conservation of mass

The mass of a system do not change:

${\displaystyle \displaystyle \displaystyle {\frac {dM}{dt}}_{system}{\bigg |}=0}$

where, ${\displaystyle \displaystyle \displaystyle M=\int _{mass(system)}{dm}=\int _{V(system)}{\rho dV}}$

### Newton's second law

For a system moving relative to a inertial reference frame, the sum of all external forces acting on the system is equal to the time rate of change of linear momentum (${\displaystyle \displaystyle {\vec {P}}}$) of the system:

${\displaystyle \displaystyle F_{i}={\frac {dP_{i}}{dt}}{\bigg |}_{system}}$

${\displaystyle \displaystyle \displaystyle P_{i(system)}=\int _{mass(system)}{U_{i}dm}=\int _{V(system)}{U_{i}\rho dV}}$

### The first law of Thermodynamics

${\displaystyle \displaystyle \underbrace {dQ} _{heat\ added\ on\ system}+\underbrace {dW} _{work\ done\ on\ system}=dE}$

in the rate form:

${\displaystyle \displaystyle {\dot {Q}}+{\dot {W}}={\frac {dE}{dt}}{\bigg |}_{system}}$

where ${\displaystyle \displaystyle \displaystyle E_{system}=\int _{mass(system)}{edm}=\int _{V(system)}{e\rho dV}}$

and ${\displaystyle \displaystyle \displaystyle e=\underbrace {u} _{Intenral\ energy}+\underbrace {\frac {U_{i}U_{i}}{2}} _{Kinetic\ energy}+\underbrace {gz} _{Potential\ energy}}$

There are also other laws like the conservation of moment of momentum (angular momentum) and second law of thermodynamics, but they are not the subject of this course and will not be treated here.

Note that all basic laws are written for a system, i.e defined mass with fixed identity. We should rephrase these laws for a control volume.

## Relation of a system derivative to the control volume derivative

 Consider a fire extinguisher ${\displaystyle \displaystyle {\frac {dM}{dt}}{\bigg |}_{system}=0}$ whereas ${\displaystyle \displaystyle {\frac {dM}{dt}}{\bigg |}_{cv}<0}$ We would like to relate ${\displaystyle \displaystyle {\frac {dB}{dt}}{\bigg |}_{system}}$ to ${\displaystyle \displaystyle {\frac {dB}{dt}}{\bigg |}_{cv}}$ The variables appear in the physical laws (balance laws) of a system are: Mass (${\displaystyle \displaystyle M}$), Momentum (${\displaystyle \displaystyle P_{i}}$), Energy (${\displaystyle \displaystyle E}$), Moment of momentum (${\displaystyle \displaystyle H_{i}}$), Entropy (${\displaystyle \displaystyle S}$). They are called extensive properties. Let ${\displaystyle \displaystyle B}$ be any arbitrary extensive property. The corresponding intensive property ${\displaystyle \displaystyle b}$ is the extensive property per unit mass: ${\displaystyle \displaystyle B_{system}=\int _{mass(system)}{b\ dm}=\int _{V(system)}{b\rho dV}}$ Hence, ${\displaystyle \displaystyle B=M,\ b=1}$ ${\displaystyle \displaystyle B={\vec {P}},\ b={\vec {u}}}$ ${\displaystyle \displaystyle B=E,\ b=e}$ Control Volume versus System

## One dimensional Reynolds Transport Theorem

Flow through a nozzle used to derive the 1-D Reynolds transport theorem

Consider a flow through a nozzle.

If ${\displaystyle \displaystyle B}$ is an extensive variable of the system.

${\displaystyle \displaystyle B_{sys}(t)=B_{cv}(t)}$

${\displaystyle \displaystyle \displaystyle B_{sys}(t+\Delta t)=B_{cv}(t+\Delta t)-B_{I}(t+\Delta t)+B_{II}(t+\Delta t)}$

${\displaystyle \displaystyle {\frac {\Delta B_{sys}}{\Delta t}}={\frac {B_{sys}(t+\Delta t)-B_{sys}(t)}{\Delta t}}={\frac {B_{cv}(t+\Delta t)-B_{cv}(t)}{\Delta t}}\ -\ {\frac {B_{I}(t+\Delta t)}{\Delta t}}\ +\ {\frac {B_{II}(t+\Delta t)}{\Delta t}}}$

The first term for ${\displaystyle \displaystyle \Delta t\rightarrow 0}$

${\displaystyle \displaystyle \lim _{\Delta t\rightarrow 0}{\frac {B_{cv}(t+\Delta t)-B_{cv}(t)}{\Delta t}}={\frac {\partial B_{cv}}{\partial t}}}$

${\displaystyle \displaystyle B_{II}(t+\Delta t)}$ for ${\displaystyle \displaystyle \Delta t\rightarrow 0}$

${\displaystyle \displaystyle B_{II}(t+\Delta t)=\rho _{2}b_{2}\Delta V_{2}}$

${\displaystyle \displaystyle \displaystyle B_{II}(t+\Delta t)=\rho _{2}b_{2}A_{2}l_{2}=\rho _{2}b_{2}A_{2}U_{2}\Delta t}$

${\displaystyle \displaystyle \displaystyle B_{out}=\rho _{2}b_{2}A_{2}U_{2}\Delta t}$

Similarly

${\displaystyle \displaystyle \displaystyle B_{I}(t+\Delta t)=\rho _{1}b_{1}\Delta V_{1}=\rho _{1}b_{1}A_{1}U_{1}\Delta t=B_{in}}$

Thus, for ${\displaystyle \displaystyle \Delta t\rightarrow 0}$, the terms in the equality for the time derivative of the system are

${\displaystyle \displaystyle {\frac {\Delta B_{sys}}{\Delta t}}\rightarrow {\frac {dB_{sys}}{dt}}}$

${\displaystyle \displaystyle {\frac {B_{in}}{\Delta t}}={\dot {B}}_{in}}$

${\displaystyle \displaystyle {\frac {B_{out}}{\Delta t}}={\dot {B}}_{out}}$

so that,

${\displaystyle \displaystyle {\frac {dB_{sys}}{dt}}={\frac {\partial B_{cv}}{\partial t}}+{\dot {B}}_{out}-{\dot {B}}_{in}}$

This is the equation of 1 dimensional Reynolds transport theorem (RTT).

The three terms on the RHS of RTT are:

1. The rate of change of B within CV indicates the local unsteady effect.

2. The flux of B passing out of the CS.

3. The flux of B passing into the CS.

There can be more than one inlet and outlet.

## Three Dimensional Reynolds Transport Theorem

Hence, for a quite complex, unsteady, three dimensional situation, we need a more general form of RTT. Consider an arbitrary 3-D CV and the outward unit normal vector ${\displaystyle ({\vec {n}})}$ defined at each point on the CS. The outflow and inflow flux of ${\displaystyle B}$ across CS can be written as:

${\displaystyle \displaystyle {\dot {B}}_{out}=\int _{CSout}{dB_{out}}=\int _{CSout}{\rho b{\vec {U}}\cdot {\vec {n}}dA}}$

${\displaystyle \displaystyle {\dot {B}}_{in}=\int _{CSin}{dB_{in}}=-\int _{CSin}{\rho b{\vec {U}}\cdot {\vec {n}}dA}}$

${\displaystyle \displaystyle {\dot {B}}_{in}}$ and ${\displaystyle \displaystyle {\dot {B}}_{out}}$ are positive quantities. Therefore, the negative sign is introduced into ${\displaystyle \displaystyle {\dot {B}}_{in}}$, to compensate the negative value of ${\displaystyle \displaystyle {\vec {U}}\cdot {\vec {n}}}$.

${\displaystyle \displaystyle {\frac {dB_{sys}}{dt}}={\frac {\partial B_{cv}}{\partial t}}+\int _{CSout}{\rho b{\vec {U}}\cdot {\vec {n}}dA}+\int _{CSin}{\rho b{\vec {U}}\cdot {\vec {n}}dA}}$

${\displaystyle \displaystyle {\frac {dB_{sys}}{dt}}={\frac {\partial }{\partial t}}\int _{cv}{\rho bdV}+\int _{cs}{\rho b{\vec {U}}\cdot {\vec {n}}dA}}$

Since ${\displaystyle \displaystyle \rho {\vec {u}}\cdot {\vec {n}}dA=dm}$, RTT can be written as:

${\displaystyle \displaystyle {\frac {dB_{sys}}{dt}}={\frac {\partial B_{cv}}{\partial t}}+\underbrace {\int _{CS}{bdm}} _{net\ flux\ of\ B\ across\ CS}}$

It is possible that CV can move with constant velocity or arbitrary acceleration.

This form of RTT is valid if the CV has no acceleration with respect to a fixed (inertial) reference frame. RTT is then valid for a moving CV with constant velocity when:

1. All velocities are measured relative to the CV.

2. All time derivative measure relative to the CV.

Thus for a CV moving with ${\displaystyle \displaystyle {\vec {U}}_{s}}$

${\displaystyle \displaystyle {\vec {U}}_{r}={\vec {U}}-{\vec {U}}_{s}}$

${\displaystyle \displaystyle {\frac {dB_{sys}}{dt}}={\frac {d}{dt}}\left(\int _{cv}{b\rho dV}\right)+\int _{cs}{b\rho {\vec {U_{r}}}\cdot {\vec {n}}dA}}$

These issues will be covered again.

CV with multiple inlets and outlets
CV with arbitrary shape used to derive Reynolds transport theorem
Sign of the inflow and outflow fluxes to the CV
Relation between the absolute velocity vector with the velocity of the moving reference frame and the velocity w.r.t. to the moving reference frame

### Conservation of mass

${\displaystyle \displaystyle B=M,b=1}$

${\displaystyle \displaystyle {\frac {dM_{sys}}{dt}}={\frac {\partial }{\partial t}}\int _{cv}{b\rho dV}+\int _{cs}{b\rho {\vec {U}}\cdot {\vec {n}}dA}=0}$

i.e

${\displaystyle \displaystyle \underbrace {{\frac {\partial }{\partial t}}\int _{cv}{\rho dV}} _{rate\ of\ change\ of\ mass\ in\ CV}+\underbrace {\int _{cs}{\rho {\vec {U}}\cdot {\vec {n}}dA}} _{net\ rate\ of\ mass\ flux\ through\ the\ CS}=0}$

Assume ${\displaystyle \displaystyle \rho }$ = constant (incompressible)

${\displaystyle \displaystyle 0=\rho {\frac {\partial }{\partial t}}\int _{cv}{dV}+\rho \int _{cs}{{\vec {U}}\cdot {\vec {n}}dA}}$

As ${\displaystyle \displaystyle V}$ of CV is also constant, the time derivative drops out:

${\displaystyle \displaystyle 0=\rho \int _{cs}{{\vec {U}}\cdot {\vec {n}}dA}\rightarrow \underbrace {\int _{cs}{{\vec {U}}\cdot {\vec {n}}dA}} _{volume\ flow\ rate}=0}$

The net volume flow rate should be zero through the control surfaces.

Note that we did not assume a steady flow. This equation is valid for both steady and unsteady flows.

${\displaystyle \displaystyle 0=\int _{cs}{\rho {\vec {U}}\cdot {\vec {n}}dA}\rightarrow {\text{Net mass flow rate is equal to zero}}}$

there is no-mass accumulation or deficit in the control volume.

### Linear Momentum equation for inertial control volume

${\displaystyle \displaystyle B={\vec {P}}}$, ${\displaystyle \displaystyle b={\vec {U}}}$

${\displaystyle \displaystyle {\frac {d{\vec {P}}}{dt}}_{system}={\frac {\partial }{\partial t}}\int _{cv}{{\vec {U}}\rho dV}+\underbrace {\int _{cs}{{\vec {U}}\rho {\vec {U}}\cdot {\vec {n}}dA}} _{momentum\ flux}}$

${\displaystyle \displaystyle {\frac {d{\vec {P}}}{dt}}_{system}={\vec {F}}_{on\ system}}$

This equation states that the sum of all forces acting on a non-accelerating CV is equal to the sum of the net rate of change of momentum inside the CV and the net rate of momentum flux through the CS.

Force on the system is the sum of surface forces and body forces.

${\displaystyle \displaystyle {\vec {F}}_{on\ system}={\vec {F_{S}}}+{\vec {F_{B}}}}$

The surface forces are mainly due to pressure, which is normal to the surface, and viscous stresses, which can be both normal or tangential to the surfaces.

${\displaystyle \displaystyle {\vec {F}}_{pressure}=-\int _{A}{P{\vec {n}}dA}}$

${\displaystyle \displaystyle {\vec {F}}_{v.stresses}=\int _{A}{\tau dA}}$

The body forces can be due to gravity or magnetic field.

at the initial moment ${\displaystyle \displaystyle t}$

${\displaystyle \displaystyle {\vec {F}}_{on\ system}={\vec {F}}_{on\ CV}}$

i.e. in component form:

${\displaystyle \displaystyle F_{Si}+F_{Bi}={\frac {\partial }{\partial t}}\int _{cv}{U_{i}\rho dV}+\int _{cs}{U_{i}\rho U_{j}n_{j}dA}}$

### First law of Thermodynamics

${\displaystyle \displaystyle B=E,b=e}$

${\displaystyle \displaystyle {\frac {dE}{dt}}_{system}={\frac {\partial }{\partial t}}\int _{cv}{e\rho dV}+\int _{cs}{e\rho {\vec {U}}\cdot {\vec {n}}dA}}$

at the initial moment ${\displaystyle \displaystyle t}$, the following equality is valid:

${\displaystyle \displaystyle {\frac {dE}{dt}}_{system}=[{\dot {Q}}+{\dot {W}}]_{system}=[{\dot {Q}}+{\dot {W}}]_{cv}}$

thus, the integral form of energy equation is:

${\displaystyle \displaystyle [{\dot {Q}}+{\dot {W}}]_{cv}={\frac {\partial }{\partial t}}\int _{cv}{e\rho dV}+\int _{cs}{e\rho {\vec {U}}\cdot {\vec {n}}dA}}$

### Examples

#### Example 1

Consider the mass balance in a stream tube by using the integral form of the conservatin of mass equation.

Let ${\displaystyle \displaystyle A_{1}}$ and ${\displaystyle \displaystyle A_{2}}$ be too small such that the velocities ${\displaystyle \displaystyle {\vec {U}}}$ at position 1 and 2 are uniform across ${\displaystyle \displaystyle A_{1}}$ and ${\displaystyle \displaystyle A_{2}}$.

${\displaystyle \displaystyle {\frac {\partial }{\partial t}}\int _{cv}{\rho dV}+\int _{cs}{\rho {\vec {U}}\cdot {\vec {n}}dA}=0}$

The first term is zero and the second term can be analyzed by decomposing the integration area.

${\displaystyle \displaystyle \int _{CS_{I}}{\rho {\vec {U}}\cdot {\vec {n}}dA}+\int _{CS_{III}}{\rho {\vec {U}}\cdot {\vec {n}}}dA+\int _{CS_{II}}{\rho {\vec {U}}\cdot {\vec {n}}dA}=0}$

where the integration over ${\displaystyle \displaystyle CS_{III}}$ is zero, because there is no flow across the streamtube. Thus,

${\displaystyle \displaystyle \displaystyle -\rho U_{1}A_{1}+0+\rho U_{2}A_{2}=0}$

${\displaystyle \displaystyle \rho U_{1}A_{1}=\rho U_{2}A_{2}\rightarrow U_{2}={\frac {U_{1}A_{1}}{A_{2}}}}$

${\displaystyle \displaystyle {\dot {m}}_{1}={\dot {m}}_{2}}$
Mass balance for stream tube inside a laminar flow

#### Example 2

 Consider the steady flow of water through the device. The inlet and outlet areas are ${\displaystyle \displaystyle A_{1}}$, ${\displaystyle \displaystyle A_{2}}$ and ${\displaystyle \displaystyle A_{3}}$ = ${\displaystyle \displaystyle A_{4}}$. The following parameters are known: Mass flow out at 3 (${\displaystyle \displaystyle {\dot {m}}_{3}}$). Volume flow rate in through 4 (${\displaystyle \displaystyle {Q}_{4}}$). Velocity at 1 along ${\displaystyle \displaystyle x_{1}}$-direction ${\displaystyle \displaystyle {\vec {U}}_{11}}$, ${\displaystyle \displaystyle {\vec {U}}_{1i}=(U_{11},0,0)}$ so that ${\displaystyle \displaystyle U_{11}>0}$. Find the flow velocity at section 2?Assume that the properties are uniform across the sections. ${\displaystyle \displaystyle {\frac {\partial }{\partial t}}\int _{cv}{\rho dV}+\int _{cs}{\rho {\vec {U}}\cdot {\vec {n}}dA}=0}$ Where the first term is zero due to steady state conditions. At section 1: ${\displaystyle \displaystyle \int _{A_{1}}{\rho {\vec {U}}_{1}\cdot {\vec {n}}_{1}dA}=-\rho \left|U_{11}\right|A_{1}}$ At section 3: ${\displaystyle \displaystyle \int _{A_{3}}{\rho {\vec {U}}_{3}}\cdot {\vec {n}}_{3}dA=\rho \left|U_{3}\right|A_{3}={\dot {m}}_{3}}$ At section 4: ${\displaystyle \displaystyle \int _{A_{4}}{\rho {\vec {U}}_{4}\cdot {\vec {n}}_{4}dA}=-\rho \left|U_{4}\right|A_{4}=-\rho Q_{4}}$ ${\displaystyle \displaystyle \int _{A_{1}}{\rho {\vec {U}}_{1}\cdot {\vec {n}}_{1}dA}+\int _{A_{2}}{\rho {\vec {U}}_{2}\cdot {\vec {n}}_{2}}dA+\int _{A_{3}}{\rho {\vec {U}}_{3}\cdot {\vec {n}}_{3}dA}+\int _{A_{4}}{\rho {\vec {U}}_{4}\cdot {\vec {n}}_{4}dA}=0}$ mass balance for a connector device Hence, the velocity at section 2 can be calculated by ${\displaystyle \displaystyle \int _{A_{2}}{\rho {\vec {U}}_{2}\cdot {\vec {n}}_{2}dA}=-\left[-\rho \left|U_{1}\right|A_{1}+{\dot {m}}_{3}-\rho Q_{4}\right]}$ For ${\displaystyle \displaystyle {\vec {n}}_{2}=(0,-1)\rightarrow U_{21}=0}$ ${\displaystyle \displaystyle -\rho U_{22}A_{2}=\rho \left|U_{1}\right|A_{1}-{\vec {m}}_{3}+\rho Q_{4}}$ The term on the right side is positive if ${\displaystyle \displaystyle U_{2}}$ is negative (outflow) and it is negative if ${\displaystyle \displaystyle U_{2}}$ is positive (inflow).

#### Example 3

 Consider the steady flow through a stream tube. The velocity and density are uniform at the inlet and outlet of the fixed CV. Find an expression for the net force on the control volume. ${\displaystyle \displaystyle F_{i}=F_{Si}+F_{Bi}={\frac {\partial }{\partial t}}\int _{cv}{U_{i}\rho dV}+\int _{cs}{U_{i}\rho U_{j}n_{j}dA}}$ where the derivative with respect to time is zero due to steady state conditions. ${\displaystyle \displaystyle \displaystyle F_{i}=\int _{CS_{I}}{U_{1i}\rho U_{1j}n_{j}dA}+\int _{CS_{II}}{U_{2i}\rho U_{2j}n_{j}dA}}$ ${\displaystyle \displaystyle F_{i}=-U_{1i}\underbrace {\left|{\vec {U}}_{1}\right|A_{1}\rho } _{{\dot {m}}_{1}}\ +\ U_{2i}\underbrace {\left|{\vec {U}}_{2}\right|A_{2}\rho _{2}} _{{\dot {m}}_{2}}}$ ${\displaystyle \displaystyle {\dot {m}}_{1}={\dot {m}}_{2}={\dot {m}}}$ ${\displaystyle \displaystyle F_{i}={\dot {m}}(U_{2i}-U_{1i})}$ Force in a streamtube

#### Example 4

Experimental Setup for nozzle test

Water from a stationary nozzle strikes to a plate. Assume that the flow is normal to the plate and in the jet velocity is uniform. Determine the force on the plate in ${\displaystyle \displaystyle x_{1}}$ direction.

Independent from the selected CV.

${\displaystyle \displaystyle 0=\int _{cs}{\rho U_{i}n_{i}dA}\ (mass)}$

${\displaystyle \displaystyle F_{i}=F_{Si}+F_{Bi}=\int _{cs}{U_{i}\rho U_{j}n_{j}dA}\ (momentum)}$

No body force in ${\displaystyle \displaystyle x_{1}}$ direction.

${\displaystyle \displaystyle \displaystyle F_{1}=F_{S1}=\int _{cs}{U_{1}\rho U_{j}n_{j}dA}}$

${\displaystyle \displaystyle \displaystyle F_{S1}=p_{a}A-p_{a}A+R_{1}}$

${\displaystyle \displaystyle R_{1}=\int _{cs}{U_{1}\rho U_{j}n_{j}dA}=\int _{CS1}{U_{1}^{1}\rho U_{j}^{1}n_{j}dA}+\underbrace {\int _{CS2}{U_{1}^{2}\rho U_{j}^{2}n_{j}dA}} _{0}+\underbrace {\int _{CS3}{U_{1}^{3}\rho U_{j}^{3}n_{j}dA}} _{0}}$
Control volume I and II and Free body diagram of the plate

${\displaystyle \displaystyle U_{1}=0}$ at 2 and 3.

${\displaystyle \displaystyle R_{1}=-U_{1}\rho U_{1}A_{Jet}}$

The force which acts on the plate (action-reaction) is ${\displaystyle \displaystyle K_{1}=-R_{1}=U_{1}\rho U_{1}A_{Jet}}$

It is also possible to solve the problem with ${\displaystyle \displaystyle CV_{2}}$

${\displaystyle \displaystyle F_{S1}=p_{a}A+R_{1}=-U_{1}^{2}A_{jet}\rho }$

${\displaystyle \displaystyle R_{1}=-p_{a}A-U_{1}^{2}A_{Jet}\rho }$

Hence, the force exerted on the plate by the CV is

${\displaystyle \displaystyle K_{1}=-R_{1}}$
${\displaystyle \displaystyle \displaystyle F_{net}=-R_{1}-p_{a}A}$

${\displaystyle \displaystyle F_{net}=p_{a}A+U_{1}^{2}A\rho -p_{a}A}$

${\displaystyle \displaystyle F_{net}=U_{1}^{2}A\rho }$

#### Example 5

Velocity distribution of fluid over a plate

Consider the plate exposed to uniform velocity. The flow is steady and incompressible. A boundary layer builds up on the plate. Determine the Drag force on the plate. Note that ${\displaystyle \displaystyle U_{1}}$ can be approximated at L.

${\displaystyle \displaystyle U_{1}(L,x_{2})=U\left(2{\frac {x_{2}}{\delta }}-\left({\frac {x_{2}}{\delta }}\right)^{2}\right)}$

Apply conservation of mass

${\displaystyle \displaystyle \displaystyle \rho \int _{cs}{U_{i}n_{i}dA}=0}$

${\displaystyle \displaystyle \rho \int _{0}^{h}{-U_{0}\ w\ dx_{2}}+\rho \int _{0}^{\delta }{U\ w\ dx_{2}}=0}$

${\displaystyle \displaystyle U_{0}h=\int _{0}^{\delta }{Udx_{2}}}$

${\displaystyle \displaystyle F_{i}=\underbrace {{\frac {\partial }{\partial t}}\int {U_{i}\rho dV}} _{=0\ steady\ state}+\int _{cs}{U_{i}\rho U_{j}n_{j}dA}}$

${\displaystyle \displaystyle F_{1}=-D=\int _{0}^{h}{U_{1}\rho U_{j}n_{j}dA}+\underbrace {\int _{CS2}{U_{1}\rho U_{j}n_{j}dA}} _{=0\ streamline}+\int _{0}^{\delta }{U_{1}\rho U_{j}n_{j}dA}+\underbrace {\int {U_{1}\rho U_{j}n_{j}dA}} _{=0\ wall}}$

${\displaystyle \displaystyle -D=-U_{0}\rho U_{0}\ h\ w+\int {U_{1}\rho U_{1}\ w\ dx_{2}}}$

${\displaystyle \displaystyle D=U_{0}^{2}\rho \ h\ w-\rho \ w\int _{0}^{\delta }{U_{1}^{2}dx_{2}}=\rho U_{0}\int _{0}^{\delta }{U_{1}dx_{2}}-\rho \ w\int _{0}^{\delta }{U_{0}U_{1}dx_{2}}}$

Insert the mass conservation result into the momentum equation.

${\displaystyle \displaystyle D=\rho w\int _{0}^{\delta }{U_{1}(U_{0}-U_{1})dx_{2}}|_{x_{1}=L}}$

${\displaystyle \displaystyle U_{1}}$ is known.Here,using ${\displaystyle \displaystyle {\frac {x_{2}}{\delta }}=\eta }$

${\displaystyle \displaystyle D=\rho \ w\ U_{0}^{2}\delta \int _{0}^{1}{(2\eta -\eta ^{2})(1-2\eta +\eta ^{2})d\eta }={\frac {2}{15}}\rho U_{0}^{2}w\ \delta }$

#### Example 6

 Consider the jet and the vane. Determine the force to be applied such that vane moves with a constant speed ${\displaystyle \displaystyle {\vec {U}}_{v}}$ in ${\displaystyle \displaystyle x_{1}}$ direction. Assume: steady flow, properties are uniform at 1 and 2, nobody forces, incompressible flow. Note that for an inertial CV (static or moving with constant speed) RTT is valid, but velocities should be written with respect to the moving CV. ${\displaystyle \displaystyle F_{i}=F_{S_{i}}+\underbrace {F_{B_{i}}} _{=0}=\underbrace {{\frac {\partial }{\partial t}}\int _{cv}{U_{i}\rho dV}} _{=0{\textrm {(steady)}}}+\int _{cs}{U_{i}\rho U_{j}n_{j}dA}}$ ${\displaystyle \displaystyle F_{S_{i}}=R_{1}+p_{a}A-p_{a}A}$ ${\displaystyle \displaystyle \displaystyle R_{1}=\int _{cs}{U_{1}\rho U_{j}n_{j}dA}}$ ${\displaystyle \displaystyle \displaystyle R_{1}=-U_{1}^{1}\rho \left|{\vec {U}}^{1}\right|A_{1}+U_{1}^{2}\rho \left|{\vec {U}}^{2}\right|A_{2}}$ ${\displaystyle \displaystyle =(U_{1}^{2}-U_{1}){\dot {m}}((\left|{\overrightarrow {U}}_{jet}\right|)-\left|{\overrightarrow {U}}_{v}\right|(\cos \theta \ -1))}$ from continuity, ${\displaystyle \displaystyle 0=\int _{cs}{\rho U\cdot ndA}=-\left|{\vec {U}}^{1}\right|\rho A_{1}+\left|{\vec {U}}^{2}\right|\rho A_{2}}$ ${\displaystyle \displaystyle \rho \left|{\vec {U}}^{1}\right|A_{1}=\rho \left|{\vec {U}}^{2}\right|A_{2}\rightarrow {\dot {m}}}$ ${\displaystyle \displaystyle R_{1}=(U_{1}^{2}-U_{1})\rho \left|U^{1}\right|A_{1}}$ ${\displaystyle \displaystyle \left|U^{1}\right|=\left|{\vec {U}}_{jet}-{\vec {U}}_{v}\right|}$ ${\displaystyle \displaystyle U_{1}^{1}=\left|{\vec {U}}_{jet}\right|-\left|{\vec {U}}_{v}\right|}$ ${\displaystyle \displaystyle U_{1}^{2}=\left(\left|{\vec {U}}_{jet}\right|-\left|{\vec {U}}_{v}\right|\right)cos\theta }$ for ${\displaystyle A_{1}=A_{2}}$ ${\displaystyle \displaystyle R_{1}=\rho \left(\left|{\vec {U}}_{jet}\right|-\left|{\vec {U}}_{v}\right|\right)^{2}\left(cos\theta -1\right)A_{1}}$ ${\displaystyle \displaystyle =(U_{1}^{2}-U_{i}){\dot {m}}((\left|{\overrightarrow {U}}_{jet}\right|)-(\left|{\overrightarrow {U}}_{v}\right|))}$ ${\displaystyle \displaystyle \displaystyle R_{2}=\int _{cs}{U_{2}\rho U_{j}n_{j}dA}}$ ${\displaystyle \displaystyle R_{2}=\int _{A_{1}}{U_{2}^{1}\rho U_{j}^{2}n_{j}^{2}dA}+\int _{A_{2}}{U_{2}^{2}\rho U_{j}^{2}n_{j}^{2}dA}}$ at 1, ${\displaystyle \displaystyle U_{2}^{1}=0}$ and at 2, ${\displaystyle \displaystyle U_{2}^{2}=\left|{\vec {U}}^{2}\right|sin\theta }$. ${\displaystyle \displaystyle R_{2}=\int _{A_{2}}{U_{2}^{2}\rho U_{j}^{2}n_{j}^{2}dA}}$ ${\displaystyle \displaystyle R_{2}=U_{2}^{2}\rho \left|{\vec {U}}_{2}\right|A_{2}}$ ${\displaystyle \displaystyle R_{2}=\left|{\vec {U}}^{2}\right|^{2}\rho \ sin\theta A_{2}}$ ${\displaystyle \displaystyle \left|{\vec {U}}^{1}\right|=\left|{\vec {U}}^{2}\right|=\left|{\vec {U}}_{jet}-{\vec {U}}_{v}\right|}$ ${\displaystyle \displaystyle {\vec {U}}={\vec {U}}_{jet}-{\vec {U}}_{v}}$

## Momentum Equation for CV with rectilinear acceleration

For an inertial CV the following transport equation for momentum holds:

${\displaystyle \displaystyle {\vec {F}}={\frac {\partial }{\partial t}}\int _{cv}{{\vec {U}}\rho \ dV}+\int _{cs}{{\vec {U}}\rho {\vec {U}}\cdot {\vec {n}}dA}}$

However, not all CV are inertial: for example a rocket must accelerate if it is to get off the ground.

Denote an inertial reference frame with ${\displaystyle \displaystyle X_{1},X_{2},X_{3}}$ and another reference frame moving with the system ${\displaystyle \displaystyle x_{1},x_{2},x_{3}}$. Hence, ${\displaystyle \displaystyle x_{1},x_{2},x_{3}}$ becomes the non-inertial frame of reference. Let the system to move with a velocity and an acceleration ${\displaystyle \displaystyle {\vec {U}}_{rf}}$ and ${\displaystyle \displaystyle {\vec {a}}_{rf}}$ respectively. Here ${\displaystyle \displaystyle {\overrightarrow {U}}_{X}={\overrightarrow {U}}_{x}+{\overrightarrow {U}}_{rf}}$ and accordingly with time derivative dt,

${\displaystyle \displaystyle {\frac {d{\overrightarrow {U}}_{X}}{dt}}={\frac {d{\overrightarrow {U}}_{x}}{dt}}+{\frac {d{\overrightarrow {U}}_{rf}}{dt}}\Rightarrow {\frac {d{\overrightarrow {U}}_{X}}{dt}}\neq {\frac {d{\overrightarrow {U}}_{x}}{dt}}}$

or,

${\displaystyle \displaystyle {\vec {a}}_{X}={\vec {a}}_{x}+{\vec {a}}_{rf}\Rightarrow {\frac {d{\overrightarrow {P}}_{X}}{dt}}\neq {\frac {d{\overrightarrow {P}}_{x}}{dt}}}$

These above relationship implies that the velocity and the acceleration is not same when considered from inertial and moving reference frame. The Newton's second law states that:

${\displaystyle \displaystyle \left.{\vec {F}}\right|_{system}=\left.{\frac {d{\vec {P}}_{X}}{dt}}\right|_{system}}$

Thus the following relation holds for the fluid velocity in the system

${\displaystyle \displaystyle {\vec {U}}_{x}={\vec {U}}_{X}-{\vec {U}}_{rf}}$

Where ${\displaystyle \displaystyle {\vec {U}}_{x}}$ is the velocity of the fluid in the system with respect to a non-inertial reference frame, ${\displaystyle \displaystyle {\vec {U}}_{X}}$ is the velocity of the fluid in the system with respect to the inertial reference frame. Accordingly, the acceleration reads:

${\displaystyle \displaystyle {\frac {d{\vec {U}}_{x}}{dt}}={\frac {d{\vec {U}}_{X}}{dt}}-{\frac {d{\vec {U}}_{rf}}{dt}}(1)}$

${\displaystyle \displaystyle {\vec {a}}_{x}={\vec {a}}_{X}-{\vec {a}}_{rf}}$

For a control volume moving with ${\displaystyle \displaystyle {\vec {U}}_{rf}}$ and ${\displaystyle \displaystyle {\vec {a}}_{rf}}$

${\displaystyle \displaystyle {\frac {d{\vec {U}}_{CV}}{dt}}={\frac {d{\vec {U}}_{rf}}{dt}}}$

Thus for cases, where ${\displaystyle \displaystyle {\frac {dU_{cv}}{dt}}\neq 0}$, the time derivative of ${\displaystyle \displaystyle {\vec {P}}_{X}}$ and ${\displaystyle \displaystyle {\vec {P}}_{x}}$ are not equal for a system accelerating relative to an inertial reference frame, i.e. RTT is not valid for an accelerating control volume.

To develop momentum equation for an accelerating CV, it is necessary to relate ${\displaystyle \displaystyle {\vec {P}}_{X}}$ to ${\displaystyle \displaystyle {\vec {P}}_{x}}$.

Previously we have seen that in a non-inertial reference frame having rectilinear acceleration, i.e. (translational acceleration).

${\displaystyle \displaystyle {\vec {a}}_{X}={\vec {a}}_{x}+{\vec {a}}_{rf}}$

and also

${\displaystyle \displaystyle {\vec {F}}=\int _{mass\ (system)}{{\vec {a}}_{X}dm}}$

${\displaystyle \displaystyle =\int _{mass\ (system)}{({\vec {a}}_{x}+{\vec {a}}_{rf})dm}}$

${\displaystyle \displaystyle {\vec {F}}-\int _{mass\ (system)}{{\vec {a}}_{rf}dm}=\int _{mass\ (system)}{{\vec {a}}_{x}dm}}$

${\displaystyle \displaystyle {\vec {F}}-\int _{mass\ (system)}{{\vec {a}}_{rf}dm}=\int _{mass\ (system)}{{\frac {d{\vec {U}}_{x}}{dt}}dm}={\frac {d}{dt}}\int _{mass\ (system)}{{\vec {U}}_{x}dm}}$

${\displaystyle \displaystyle {\vec {F}}-\int _{V\ (system)}{{\vec {a}}_{rf}\rho \ dV}={\frac {d{\vec {P}}_{x}}{dt}}|_{system}}$

For a moving CV we know that

${\displaystyle \displaystyle {\frac {d{\vec {P}}_{x}}{dt}}|_{system}={\frac {\partial }{\partial t}}\int _{cv}{{\vec {U}}_{x}\rho \ dV}+\int _{cs}{{\vec {U}}_{x}\rho {\vec {U}}_{x}\cdot {\vec {n}}dA}}$

Let system and CV coincides at an instant ${\displaystyle \displaystyle t_{0}}$:

${\displaystyle \displaystyle {\vec {F}}_{on\ system}-\int _{V\ system}{{\vec {a}}_{rf}\rho dV}={\vec {F}}_{on\ cv}-\int _{cv}{{\vec {a}}_{rf}\rho dV}}$

${\displaystyle \displaystyle {\vec {F}}_{on\ cv}-\int _{cv}{{\vec {a}}_{rf}\rho dV}={\frac {\partial }{\partial t}}\int _{cv}{{\vec {U}}_{x}\rho \ dV}+\int _{cs}{{\vec {U}}_{x}\rho {\vec {U}}_{x}\cdot {\vec {n}}dA}}$

### Examples

#### Example 1

 A small rocket, with an inertial mass of ${\displaystyle \displaystyle M_{0}}$, is to be launched vertically. Assume a steady exhaust mass flow rate ${\displaystyle \displaystyle {\dot {m}}}$ and velocity ${\displaystyle \displaystyle U_{e}}$ relative to the rocket. Neglecting drag on the rocket, find the relation for the velocity of the rocket U(t). ${\displaystyle \displaystyle \underbrace {F_{2}} _{A}-\underbrace {\int _{cv}{{\vec {a}}_{rf2}\rho dV}} _{B}=\underbrace {{\frac {\partial }{\partial t}}\int _{cv}{{\vec {U}}_{2}\rho dV}} _{C}+\underbrace {\int _{cs}{U_{2}\rho {\vec {U}}_{x}\cdot {\vec {n}}dV}} _{D}}$ A: ${\displaystyle \displaystyle F_{2}=-g\int _{cv}{\rho dV}=-g\ M_{cv}}$ ${\displaystyle \displaystyle M_{cv}=M_{0}-{\dot {m}}t}$ ${\displaystyle \displaystyle F_{2}=-g(M_{0}-{\dot {m}}t)}$ B: Since ${\displaystyle \displaystyle {\vec {a}}_{rf}}$ is not a function of the coordinates: ${\displaystyle \displaystyle \displaystyle -\int _{cv}{a_{rf2}\rho dV}=-a_{rf2}\int _{cv}{\rho dV}}$ ${\displaystyle \displaystyle -\int _{cv}{a_{rf2}\rho dV}=-a_{rf2}(M_{0}-{\dot {m}}t)}$

 is the time rate of change at ${\displaystyle \displaystyle x_{2}}$-momentum of the fluid in CV. One can treat the rocket CV as if it is composed of two CV's, i.e. the solid propellant section (CVI) and nozzle section (CVII): ${\displaystyle \displaystyle {\frac {\partial }{\partial t}}\int _{cv}{U_{2}\rho dV}={\frac {\partial }{\partial t}}\int _{cvI}{U_{2}\rho dV}+{\frac {\partial }{\partial t}}\int _{cvII}{U_{2}\rho dV}}$ As solid propellant has no velocity in CVI, ${\displaystyle \displaystyle U_{2}=-U_{e}}$ does not change in time at the nozzle and the mass in CVII does not change in time, this term can be neglected completely: ${\displaystyle \displaystyle {\frac {\partial }{\partial t}}\left[\underbrace {\int _{CVI}{U_{2}\rho dV}} _{U_{2}=0\rightarrow =0}+\int _{CVII}{U_{2}\rho dV}\right]={\frac {\partial }{\partial t}}\int _{CVII}{U_{2}\rho dV}\approx 0}$ D: ${\displaystyle \displaystyle \int _{cs}{U_{2}\rho {\vec {U}}_{x}\cdot {\vec {n}}dA}=U_{2}\int _{cs}{\rho {\vec {U}}_{x}\cdot {\vec {n}}dA}=U_{2}{\dot {m}}=-U_{e}{\dot {m}}}$ Substitution of all the terms gives: ${\displaystyle \displaystyle -g(M_{0}-{\dot {m}}t)-a_{rf2}(M_{0}-{\dot {m}}t)=-U_{e}{\dot {m}}}$ ${\displaystyle \displaystyle a_{rf2}={\frac {U_{e}{\dot {m}}}{M_{0}-{\dot {m}}t}}-\ g}$ ${\displaystyle \displaystyle {\frac {dV_{cv}}{dt}}=a_{rf2}={\frac {U_{e}{\dot {m}}}{M_{0}-{\dot {m}}t}}-\ g}$ ${\displaystyle \displaystyle V_{cv}(t)=\int _{0}^{t}{\frac {U_{e}{\dot {m}}}{M_{0}-{\dot {m}}t}}dt-\int _{0}^{t}gdt}$ ${\displaystyle \displaystyle V_{cv}(t)=-U_{e}ln\left(1-{\frac {{\dot {m}}t}{M_{0}}}\right)-gt}$ The first term is always positive due to the ${\displaystyle \displaystyle ln}$ . To overcome gravity one should have enough exit velocity, i.e. momentum. Moreover, it can be seen from this equation that if the fuel mass burned is a large fraction of the initial mass, the final rocket velocity can exceed the exit velocity of the fluid. Control Volume I and II

## Extension of Energy equation for CV

${\displaystyle \displaystyle \left[{\dot {Q}}+{\dot {W}}\right]_{on\ system}=\left[{\dot {Q}}+{\dot {W}}\right]_{on\ cv}={\frac {\partial }{\partial t}}\int {e\rho \ dV}+\int _{cs}{e\rho {\vec {U}}\cdot {\vec {n}}dA}}$

where ${\displaystyle \displaystyle e=U+{\frac {\left|{\vec {U}}\right|^{2}}{2}}+g\ z}$

${\displaystyle \displaystyle {\dot {W}}_{on\ cv}={\dot {W}}_{body}+{\dot {W}}_{surface}}$

here ${\displaystyle \displaystyle z=x_{2}}$

${\displaystyle \displaystyle {\dot {W}}_{body}={\dot {W}}_{shaft}+{\dot {W}}_{elec}+{\dot {W}}_{other}}$

${\displaystyle \displaystyle {\dot {W}}_{surface}={\dot {W}}_{normal}+{\dot {W}}_{shear}}$

${\displaystyle \displaystyle {\vec {\tau }}_{s}}$ is the stress in the plane of dA.

 ${\displaystyle \displaystyle {\vec {\tau }}_{n}}$ is the normal stress normal to dA. In many cases ${\displaystyle \displaystyle {\vec {\tau }}_{n}=-p{\vec {n}}dA}$ since ${\displaystyle \displaystyle {\dot {W}}={\vec {F}}\cdot {\vec {U}}}$ ${\displaystyle \displaystyle d{\dot {W}}=d{\vec {F}}\cdot {\vec {U}}}$ ${\displaystyle \displaystyle d{\dot {W}}_{normal}={\vec {\tau }}_{n}dA\cdot {\vec {U}}\rightarrow {\dot {W}}_{normal}=\int _{cs}{{\vec {\tau }}_{n}\cdot {\vec {U}}dA}=-\int _{cs}{p{\vec {n}}\cdot {\vec {U}}dA}}$ ${\displaystyle \displaystyle d{\dot {W}}_{shear}={\vec {\tau }}dA\cdot {\vec {U}}\rightarrow {\dot {W}}_{shear}=\int _{cs}{{\vec {\tau }}\cdot {\vec {U}}dA}}$ Inserting those into the main energy equation: ${\displaystyle \displaystyle {\dot {Q}}\ +\ {\dot {W}}_{shaft}\ +\ {\dot {W}}_{shear}\ +\ {\dot {W}}_{other}={\frac {\partial }{\partial t}}\int {e\rho dV}+\int _{cs}{\left(\underbrace {u+{\frac {p}{\rho }}} _{h:\ enthalpy}+{\frac {\left|{\vec {U}}^{2}\right|}{2}}+gx_{2}\right)\rho {\vec {U}}\cdot {\vec {n}}dA}}$ Shear and Normal stress component on the surface element dA /

### Examples

#### Example 1

 Air enters compressor at inlet 1 with negligible velocity and leaves at outlet 2. The power input to the machine is ${\displaystyle \displaystyle P_{input}}$ and the volume flow rate is ${\displaystyle \displaystyle {\dot {V}}}$. Find a relation for the rate of heat transfer in terms of the power, temperature, pressure, etc. 1: ${\displaystyle \displaystyle {\dot {Q}}\ +\ {\dot {W}}_{shaft}+\underbrace {{\dot {W}}_{shear}} _{=\ 0\ =\tau \cdot {\vec {U}}}+\underbrace {{\dot {W}}_{other}} _{=\ 0}=\underbrace {{\frac {\partial }{\partial t}}\int {}e\rho dV} _{=\ 0\ steady\ state}+\int _{cs}{\left(u+{\frac {p}{\rho }}+{\frac {U^{2}}{2}}+gx_{2}\right)\rho {\vec {U}}\cdot {\vec {n}}dA}}$ ${\displaystyle \displaystyle 0=\underbrace {{\frac {\partial }{\partial t}}\int _{cv}{\rho dV}} _{=\ 0\ steady\ state}+\int _{cs}{\rho {\vec {U}}\cdot {\vec {n}}dA}\rightarrow \left|\rho _{1}U_{1}A_{1}\right|=\left|\rho _{2}U_{2}A_{2}\right|={\dot {m}}}$ 2: ${\displaystyle \displaystyle {\dot {Q}}=-{\dot {W}}_{shaft}+\int _{cs}{\left(u+{\frac {p}{\rho }}+{\frac {U^{2}}{2}}+gz\right)\rho {\vec {U}}\cdot {\vec {n}}dA}}$ For uniform properties at 1 and 2 and inserting the inserting the relation for the enthalpy ${\displaystyle \displaystyle h=u+{\frac {p}{\rho }}}$. ${\displaystyle \displaystyle {\dot {Q}}=-{\dot {W}}_{shaft}-\left(h_{1}+\underbrace {\frac {U_{1}^{2}}{2}} _{=\ 0}+gz_{1}\right)\left|\rho _{1}U_{1}A_{1}\right|+\left(h_{2}+{\frac {U_{2}^{2}}{2}}+gz_{2}\right)\left|\rho _{2}A_{2}U_{2}\right|}$ ${\displaystyle \displaystyle {\dot {Q}}=-{\dot {W}}_{shaft}+{\dot {m}}\left[h_{2}+{\frac {U_{2}^{2}}{2}}-h_{1}+\underbrace {g(z_{2}-z_{1})} _{=\ 0}\right]}$ Assuming that air behaves like an ideal gas with a constant ${\displaystyle \displaystyle c_{p}}$. ${\displaystyle \displaystyle \displaystyle h_{2}-h_{1}=c_{p}(T_{2}-T_{1})}$ ${\displaystyle \displaystyle {\dot {Q}}=-{\dot {W}}_{shaft}+{\dot {m}}\left[c_{p}(T_{2}-T_{1})+{\frac {U_{2}^{2}}{2}}\right]}$ Energy balance for a compressor

## Special form of the Energy equation

For a CV with one inlet 1, one outlet 2 and steady uniform flow through it.

${\displaystyle \displaystyle \underbrace {{\dot {Q}}+{\dot {W}}_{shaft}+{\dot {W}}_{shear}} _{K}=\int _{cs}{\left(u+{\frac {p}{\rho }}+{\frac {\left|{\vec {U}}^{2}\right|}{2}}+gz\right)\rho {\vec {U}}\cdot {\vec {n}}dA}}$

For uniform flow properties at the inlet and outlet.

${\displaystyle \displaystyle K=\left(u_{1}+{\frac {p_{1}}{\rho _{1}}}+{\frac {\left|{\vec {U}}_{1}^{2}\right|}{2}}+gz_{1}\right)\underbrace {\int _{1}{\rho _{1}{\vec {U}}_{1}}\cdot {\vec {n}}dA} _{-{\dot {m}}}+\left(u_{2}+{\frac {p_{2}}{\rho _{2}}}+{\frac {\left|{\vec {U}}_{2}^{2}\right|}{2}}+gz_{2}\right)\underbrace {\int _{2}{\rho _{2}{\vec {U}}_{2}}\cdot {\vec {n}}dA} _{\dot {m}}}$

${\displaystyle \displaystyle K={\dot {m}}\left[(u_{2}-u_{1})+\left({\frac {p_{2}}{\rho _{2}}}-{\frac {p_{1}}{\rho _{1}}}\right)+\left({\frac {{\vec {U}}_{2}^{2}}{2}}-{\frac {{\vec {U}}_{1}^{2}}{2}}\right)+g(z_{2}-z_{1})\right]}$

Reform:

${\displaystyle \displaystyle {\frac {p_{1}}{\rho _{1}}}+{\frac {\left|{\vec {U}}_{1}^{2}\right|}{2}}+gz_{1}={\frac {p_{2}}{\rho _{2}}}+{\frac {\left|{\vec {U}}_{2}^{2}\right|}{2}}+gz_{2}+(u_{2}-u_{1})-{\frac {\dot {Q}}{\dot {m}}}-{\frac {{\dot {W}}_{shaft}}{\dot {m}}}-{\frac {{\dot {W}}_{shear}}{\dot {m}}}}$

For ${\displaystyle \displaystyle {\dot {W}}_{shaft}=0}$, ${\displaystyle \displaystyle {\dot {W}}_{shear}=0}$ and incompressible flow:

${\displaystyle \displaystyle \underbrace {{\frac {p_{1}}{\rho }}+{\frac {\left|{\vec {U}}_{1}^{2}\right|}{2}}+gz_{1}} _{mechanical\ evergy\ per\ unit\ mass\ at\ flow\ cross\ section}={\frac {p_{2}}{\rho }}+{\frac {\left|{\vec {U}}_{2}^{2}\right|}{2}}+gz_{2}+(u_{2}-u_{1})-{\frac {\dot {Q}}{\dot {m}}}}$

${\displaystyle \displaystyle {\frac {p}{\rho }}+{\frac {U^{2}}{2}}+gz}$: Mechanical energy per unit mass.

${\displaystyle \displaystyle u_{2}-u_{1}-{\frac {\dot {Q}}{\dot {m}}}}$: Irreversible conversion of mechanical energy to unwanted thermal energy ${\displaystyle \displaystyle (u_{2}-u_{1})}$ and loss of energy via heat transfer ${\displaystyle \displaystyle \left(-{\frac {\dot {Q}}{\dot {m}}}\right)}$.

Thus with this equation I can calculate the loss of energy through a device.

${\displaystyle \displaystyle h_{loss}=\left[u_{2}-u_{1}-{\frac {\dot {Q}}{\dot {m}}}\right]{\frac {1}{g}}}$

i.e.

${\displaystyle \displaystyle {\frac {p_{1}}{\rho g}}+{\frac {U_{1}^{2}}{2g}}+z_{1}={\frac {p_{2}}{\rho g}}+{\frac {U_{2}^{2}}{2g}}+z_{2}+h_{loss}}$

One can add the work done by a pump or a turbine.

${\displaystyle \displaystyle {\frac {p_{1}}{\rho g}}+{\frac {U_{1}^{2}}{2g}}+z_{1}={\frac {p_{2}}{\rho g}}+{\frac {U_{2}^{2}}{2g}}+z_{2}+h_{loss}-h_{pump}+h_{turbine}}$

## Differential Control Volume Analysis:Bernoulli Equation

 Consider the steady, incompressible, frictionless flow through the differential CV for a stream tube. Continuity ${\displaystyle \displaystyle 0={\frac {\partial }{\partial t}}\underbrace {\int _{cv}{\rho dV}} _{=\ 0}+\int _{cs}{\rho {\vec {U}}\cdot {\vec {n}}dA}}$ ${\displaystyle \displaystyle 0=-{\dot {m}}_{in}+{\dot {m}}_{out}\ \leftrightarrow \ {\dot {m}}_{in}={\dot {m}}_{out}={\dot {m}}}$ Component of Momentum Equation ${\displaystyle \displaystyle F_{S_{s}}+F_{B_{s}}={\frac {\partial }{\partial t}}\underbrace {\int {U_{s}\rho dV}} _{=\ 0}+\int _{cs}{U_{s}\rho {\vec {U}}\cdot {\vec {n}}dA}}$ ${\displaystyle \displaystyle F_{S_{s}}=\underbrace {pA} _{inlet}-\underbrace {(p+dp)(A+dA)} _{outlet}+\underbrace {\left(p+{\frac {dp}{2}}\right)dA} _{...}}$ ${\displaystyle \displaystyle F_{S_{s}}=-Adp-{\frac {1}{2}}dpdA}$ Differential control volume for Bernoulli's Equation
 ${\displaystyle \displaystyle F_{B_{s}}=\rho g_{s}dV=\rho (-gsin\theta )\left(A+{\frac {dA}{2}}\right)ds}$ with: ${\displaystyle \displaystyle \displaystyle sin\theta ds=dz}$ Then, ${\displaystyle \displaystyle F_{B_{s}}=-\rho g\left(A+{\frac {dA}{2}}\right)dz}$ ${\displaystyle \displaystyle \int _{cs}{U_{s}\rho {\vec {U}}\cdot {\vec {n}}dA}=-U_{s}{\dot {m}}+(U_{s}+dU_{s}){\dot {m}}={\dot {m}}dU_{s}}$ ${\displaystyle \displaystyle -Adp-\underbrace {{\frac {1}{2}}dpdA} _{\approx \ 0}-\rho g\left(A+{\frac {dA}{2}}\right)dz={\dot {m}}dU_{s}}$ ${\displaystyle \displaystyle -Adp-\rho g\ A\ dz={\dot {m}}dU_{s}}$ where ${\displaystyle \displaystyle {\dot {m}}=\rho U_{s}A\ }$ ${\displaystyle \displaystyle -Adp-\rho g\ A\ dz=\rho U_{s}\ A\ dU_{s}}$ ${\displaystyle \displaystyle {\frac {dp}{\rho }}+U_{s}dU_{s}+gdz=0}$ with: ${\displaystyle \displaystyle U_{s}dU_{s}=d\left({\frac {U_{s}^{2}}{2}}\right)}$ Then, ${\displaystyle \displaystyle {\frac {dp}{\rho }}+d\left({\frac {U_{s}^{2}}{2}}\right)+gdz=0}$ Pressure Distribution on fluid element

Integrate between 1 and 2 along a streamline:

${\displaystyle \displaystyle {\frac {p_{1}}{\rho }}+{\frac {U_{1}^{2}}{2}}+gz_{1}={\frac {p_{2}}{\rho }}+{\frac {U_{2}^{2}}{2}}+gz_{2}=constant}$

Bernoulli equation is clearly related to the steady flow energy equation for a stream line. This form of the Bernoulli equation, when the following conditions are satisfied:

1. Steady flow. Note that theres is also an unsteady Bernoulli equation.

2. Incompressible flow. For example, in aerodynamics, flow can be accepted to be incompressible for Mach number ${\displaystyle \displaystyle (M={\frac {\text{speed of flow}}{\text{speed of sound}}})}$ less than 0.3.

3. Frictionless flow, e.g. in the absence of solid walls.

4. Flow along a single streamline. Different streamline has a different constant.

5. No shaft work between 1 and 2.

6. No heat transfer between 1 and 2.

Bernoulli's equation is inapplicable due to a) friction loss on the surface and the end for a flow around a car b) heat energy input in the heat engine c) addition of mechanical energy inside the flow of a ventilator

### Examples

#### Example 1

 Consider steady flow of water through a horizontal nozzle. Find ${\displaystyle \displaystyle P_{1}}$ as a function of flow rate ${\displaystyle \displaystyle {\dot {Q}}}$. Assumptions: steady, incompressible, frictionless, flow along a streamline, ${\displaystyle \displaystyle z_{2}=z_{1}}$, uniform flow. ${\displaystyle \displaystyle {\frac {p_{1}}{\rho }}+{\frac {U_{1}^{2}}{2}}={\frac {p_{2}}{\rho }}+{\frac {U_{2}^{2}}{2}}}$ ${\displaystyle \displaystyle p_{1}=p_{atm}+\rho \left({\frac {U_{2}^{2}}{2}}-{\frac {U_{1}^{2}}{2}}\right)=p_{atm}+\rho {\frac {U_{1}^{2}}{2}}\left({\frac {U_{2}^{2}}{U_{1}^{2}}}-1\right)}$ From continuity: ${\displaystyle \displaystyle -\left|\rho U_{1}A_{1}\right|+\left|\rho U_{2}A_{2}\right|=0}$ ${\displaystyle \displaystyle U_{1}={\frac {\dot {Q}}{A_{1}}}\ {\textrm {and}}\ U_{2}={\frac {\dot {Q}}{A_{2}}}}$ ${\displaystyle \displaystyle P_{1}=P_{atm}+\rho {\frac {U_{1}^{2}}{2}}\left(\left({\frac {A_{1}}{A_{2}}}\right)^{2}-1\right)}$ ${\displaystyle \displaystyle P_{1}=P_{atm}+\rho {\frac {{\dot {Q}}^{2}}{2A_{1}^{2}}}\left(\left({\frac {A_{1}}{A_{2}}}\right)^{2}-1\right)}$ ${\displaystyle \displaystyle P_{1}=P_{atm}+\rho {\frac {8\rho {\dot {Q}}^{2}}{\pi D_{1}^{4}}}\left(\left({\frac {D_{1}}{D_{2}}}\right)^{4}-1\right)}$

#### Example 2

 Find a relation between the nozzle discharge velocity and the tank free surface height. Assume steady frictionless flow and uniform flow at 2. ${\displaystyle \displaystyle {\frac {p_{1}}{\rho }}+{\frac {U_{1}^{2}}{2}}+gz_{1}={\frac {p_{2}}{\rho }}+{\frac {U_{2}^{2}}{2}}+gz_{2}}$ ${\displaystyle \displaystyle \displaystyle p_{1}=p_{2}=p_{atm}}$ ${\displaystyle \displaystyle \displaystyle U_{1}A_{1}=U_{2}A_{2}}$ ${\displaystyle \displaystyle U_{2}^{2}-U_{1}^{2}=2g(z_{2}-z_{1})}$ ${\displaystyle \displaystyle U_{2}^{2}\left[1-\left({\frac {A_{2}}{A_{1}}}\right)^{2}\right]=2gh}$ ${\displaystyle \displaystyle U_{2}^{2}={\frac {2gh}{\left[1-\left({\frac {A_{2}}{A_{1}}}\right)^{2}\right]}}}$ for steadiness ${\displaystyle \displaystyle A_{1}>>A_{2}}$, thus, ${\displaystyle \displaystyle U_{2}\cong {\sqrt {2gh}}}$ Nozzle discharge velocity at the bottom of the tank

#### Example 3

Find a relationship between the flow rate and the pressure difference inside a pipe which could be measured by venturimeter

 ${\displaystyle \displaystyle p_{1}+\rho {\frac {U_{1}^{2}}{2}}=p_{2}+\rho {\frac {U_{2}^{2}}{2}}}$ ${\displaystyle \displaystyle (U_{2}^{2}-U_{1}^{2})={\frac {2}{g}}(p_{1}-p_{2})}$ ${\displaystyle \displaystyle U_{1}A_{1}=U_{2}A_{2}={\dot {Q}}}$ ${\displaystyle \displaystyle U_{1}={\frac {\dot {Q}}{A_{1}}}\ {\textrm {and}}\ U_{2}={\frac {\dot {Q}}{A_{2}}}}$ ${\displaystyle \displaystyle \left({\frac {{\dot {Q}}^{2}}{A_{2}^{2}}}-{\frac {{\dot {Q}}^{2}}{A_{1}^{2}}}\right)={\frac {2}{\rho }}\Delta p}$ ${\displaystyle \displaystyle {\dot {Q}}^{2}\left({\frac {1}{A_{2}^{2}}}-{\frac {1}{A_{1}^{2}}}\right)={\frac {2}{\rho }}\Delta p}$ ${\displaystyle \displaystyle {\dot {Q}}^{2}{\frac {1}{A_{2}^{2}}}\left(1-{\frac {A_{2}^{2}}{A_{1}^{2}}}\right)={\frac {2}{\rho }}\Delta p}$ If ${\displaystyle \displaystyle \beta ={\frac {D_{2}}{D_{1}}}}$, then: ${\displaystyle \displaystyle {\dot {Q}}={\sqrt {\frac {A_{2}^{2}\ 2\underbrace {\Delta p} _{measured}}{\rho (1-\beta ^{4})}}}}$ That is the method for measuring flow rate. Application of Bernoulli Equation:Venturimeter