In this post I am going to derive the compressible Euler equations:

(1)

(2)

(3)

These equations are essentially the conservation equations that we know from basic physics *conservation of mass (1), conservation of momentum (2), and conservation of energy (3). *

For a given system, these principles of conservation are summarized as:

- Conservation of Mass:
- Conservation of linear momentum:
- Conservation of energy:

The equations above refer to the net rate of change of conserved properties for the *system. *However it in fluid mechanics the analysis isn’t usually done on a system it is done on a control volume (See Figure). A control volume is a fixed volume within the system, surrounded by a *control surface.*

In order to relate the conservation equations for the system to the fixed control volume we must use *Reynolds Transport Theorem *(I will do a separate post deriving Reynold’s transport theorem):

Reynolds transport theorem for some property X is:

In the equation above, the lower case x refers to the amount of the conserved property per unit mass. So . Basically what Reynolds transport theorem says is that the total change of the property X is: The change in amount of X within the control volume with time **+ **the difference between the amount of X leaving and entering the control volume.

### Conservation of Mass

For conservation of mass, we know:

The rate of change of mass for the control volume comes from Reynolds transport theorm. Here, the conserved variable X in Reynolds transport is obviously the mass m. Therefore the mass per unit mass is m/m and so x=1.

So Reynolds transport theorem gives:

Thus the final conservation of mass equation:

### Conservation of Linear Momentum

For conservation of linear momentum we know:

For Reynolds transport theorem the conserved property is the linear momentum, mV. Therefore the linear momentum per unit mass is just the velocity, V. This gives the equation for conservation of linear momentum:

Recall that is the net force on the control volume. This can include body forces, pressure forces, and viscous forces. However, typically body forces are ignored. Additionally the Euler equations are used to analyze inviscid flows where shear forces are also ignored. Thus the force is just integral of the pressure around the control surface.

### Conservation of Energy

Conservation of energy gives:

In general, flows are assumed to contain only **internal energy (u)**, and kinetic and potential energies. Therefore energy per unit mass, e=E/m, is given by:

Along with Reynolds transport, these equations combine to give:

or

This is *almost* the final form of conservation of energy. However, it needs to be recognized that work is required to push the mass across the control volume boundaries. This is called flow work:

Flow work:

**Enthalpy** ($latex h=\frac{p}{\rho})** **is the combination of internal energy *and* flow work. Therefore the final form of the energy equation is:

### Differential Form of the Equations

We have now derived the conservation of mass, linear momentum, and energy for a control volume (in integral form). It is useful however to represent these equations in differential form as PDEs. To do this we use *divergence theorem.*

Divergence theorem states that:

(for a vector

and

(for a scalar

We can apply these identities to the integral relations we already derived. For example in conservation of mass, can become . This gives:

which then becomes the final **differential form of the conservation of mass equation**:

Similarly for **conservation of linear momentum:**

And (assuming no external work) for **conservation of energy:**

### Conclusion

Hopefully someone will find this useful! As usual if you find any mistakes (and there probably are some so beware) let me know!