We want to roughly model the fluid flow of a star; consider the following proposition:
In the absence of viscosity, and heat conduction, the Navier-Stokes Equations for a steady, spherically symmetric, radial flow of an ideal gas, in the presence of a gravitating point mass situated ate the origin are: \begin{equation}\frac{d}{dr}(\rho u r^2)=0 \label{nscm1}\tag{1}\end{equation} \begin{equation}\rho u \frac{du}{dr}=-\frac{dp}{dr}-\frac{GM\rho}{r^2}=0\label{nscqdm1}\tag{2}\end{equation} \begin{equation}\frac{d}{dr}\left(\frac{1}{2}u^2+\frac{\gamma}{\gamma-1}\frac{p}{\rho}-\frac{GM}{r}\right)=0\label{nsce1}\tag{3}\end{equation} Where:
- $\rho$ is the density
- $p$ is the pressure
- $\gamma$ is the ratio of the specific heats
- $G$ is the gravitational constant
- $M$ is the mass situated in the origin
- $r$ is the radial coordinate
Or at least that's what is stated in my lecture notes. Now: equation (1) is simply conservation of mass, the continuity equation, no problem. Equation (2) is conservation of momentum, or you can think of it as Newton's second law of dynamics, no problem there either; sure whe have the density $\rho$ instead of the mass but that's because we were integrating on the volume, and then the integral got elided, and we are left with the density. But I have a problem with equation (3): this equation should simply be the conservation of energy, but it seem strange to me for a couple of reason:
I sort of get that the first term on the left is the kinetic energy, and I also sort of get that the last term is gravitational potential energy, but what about the mid term? What kind of energy $\frac{\gamma}{\gamma-1}\frac{p}{\rho}$ represents? Also we are dealing with only an ideal gas here, and $\gamma$ is defined as a ratio between specific heats.. But a ratio between what specific heats exactly? I suspect this bit wants to represent some kind of thermal energy, but we are also in a situation where we assume absence of heat conduction.. I don't get what is going on.
I have a problem with all this third equation in general.. Why do we derive all the left side by $r$? How can we prove that, in this context, equation (3) is the right equation for energy conservation? I would like a complete mathematical proof.
I don't have a lot of experience with Navier-Stokes equations. I only know that they should represent conservation of mass, momentum and energy. Indeed I suspect that my confusion regarding equation (3) is motivated by my inexperience. For this reason I would like an answer that does not assume possession of an excessive amount of knowledge about fluid flow and Navier-Stokes equations from the beginning.