Fundamentals of Fluid Mechanics Assignment 6 — Energy Conservation I
 Instructions
Write your solutions in single column format, with one statement following another vertically. Write your solutions neatly so that they are easy to read and verify. Don't write one line with two equal signs. Highlight your answers using a box. Failure to do this will result in a lower score and fewer comments on my part.
 Question #1
 (a) Starting from the 1st law of thermo (with $\delta W=0$): $${\rm d}(mh)-V {\rm d}P=\delta Q$$ and the $x$ and $y$ momentum equations $$\rho \frac{\partial u}{\partial t} + \rho u \frac{\partial u}{\partial x} + \rho v \frac{\partial u}{\partial y}=-\frac{\partial P}{\partial x}$$ $$\rho \frac{\partial v}{\partial t} + \rho u \frac{\partial v}{\partial x} + \rho v \frac{\partial v}{\partial y}=-\frac{\partial P}{\partial y}$$ show that the total energy transport equation for a fluid corresponds to: $$\frac{\partial \rho E}{\partial t} + \frac{\partial \rho u H}{\partial x} + \frac{\partial \rho v H}{\partial y} = \dot{Q}$$ with the total energy $E\equiv e+\frac{1}{2}q^2$, the total enthalpy $H\equiv h +\frac{1}{2}q^2$, $q$ the speed of the flow. Outline all assumptions. (b) Starting from the conservation of energy in conservative form derived in (a), show that the energy conservation in control volume form corresponds to: $$\frac{{\rm d}}{{\rm d}t} \int_V \rho E{\rm d} V + \int_S \rho (\vec{v}\cdot\vec{n}) H{\rm d}S=\int_V \dot{Q} dV$$
Note: you can not assume that the density is constant.
 Question #2
Starting from the 1st law of thermo: $${\rm d}(mh)-V {\rm d}P=\delta Q - \delta W$$ and the $y$ momentum equation: $$\rho \frac{\partial v}{\partial t} + \rho v \frac{\partial v}{\partial y}=-\frac{\partial P}{\partial y} - \rho g$$ show that the total energy transport equation for a fluid corresponds to: $$\frac{\partial \rho E}{\partial t} + \frac{\partial \rho v H}{\partial y} = \dot{Q}$$ with the total energy $E\equiv e+\frac{1}{2}v^2 + g y$, the total enthalpy $H\equiv h +\frac{1}{2}v^2 + g y$ and $y$ the distance from the ground. Outline all assumptions. Note: you can not assume that $\delta W$ is zero or that the density is constant.
 09.18.19
 Question #3
A 4 m$^3$ storage tank (see schematic below) containing 2 m$^3$ of liquid is to be pressurized with air from a large, high-pressure reservoir through a valve at the top of the tank to permit rapid ejection of the liquid:
The air in the reservoir is maintained at 100 bar and 300 K. The gas space above the liquid contains initially air at 1 bar and 280 K. When the pressure in the tank reaches 5 bar, the liquid transfer valve is opened and the liquid is ejected at the rate of 0.2 m$^3$/min while the tank pressure is maintained at 5 bar. What is the air temperature when the pressure reaches 5 bar and when the liquid has been drained completely?
 $\pi$