Euler Equations
Contents
Euler Equations#
The Euler equations describe compressible flow in the absence of dissipative effects (like viscosity). In one-dimension, they appear as:
Here, \(E\) is the specific total energy which is related to the specific internal energy as:
and the system is closed by an equation of state:
A common equation of state is a gamma-law EOS:
where \(\gamma\) is a constant. For an ideal gas, \(\gamma\) is the ratio of specific heats, \(c_p / c_v\).
Conservative form#
As expressed above, the Euler equations are in conservative form. We can define the conservative state, \({\bf U}\) as:
and the flux, \({\bf F}({\bf U})\) as:
and then our system in conservative form is:
and we can do the same technique of discretizing the domain into cells and integrating over the volume of a cell to get the finite-volume conservative update for the system:
This means that we will be able to use the same basic solution methodology from advection and Burgers’ equation with the Euler equations, so long as we can find the fluxes. This primarily means that we need to understand the Riemann problem for the Euler equations.
Primitive variable form#
We can alternately express the Euler equations in terms of the primitive variables, \({\bf q}\):
and the evolution equations are:
where \(\Gamma_1 = d \log p/d \log \rho |_s\)
or compactly:
Another useful quantity is the speed of sound, defined as:
Characteristic form#
We call a system hyperbolic if the eigenvalues are real and finite. For our matrix \({\bf A}({\bf q})\) above, the eigenvalues are:
These are the speeds at which information propagates in our system.
We can also find the right and left eigenvectors:
giving:
and
These are normalized such that
The final form of the Euler equations we will need is the characteristic form. We can construct square matrices \({\bf R}\) and \({\bf L}\) by grouping together the eigenvectors:
These satisfy:
We then define the characteristic variables via:
Since we are nonlinear, we cannot simply integrate this. Using this definition, we can rewrite our system as:
where \({\bf \Lambda}\) is a diagonal matrix with the eigenvalues on the diagonal:
In this form, the 3 equations are decoupled and are just advection equations for each of the characteristic variables. If our system were linear, we’d be done – each characteristic variable would advect at its given wave speed without interacting with one-another.
Since we are nonlinear, our solution is more difficult, but the characteristic system still tells us a lot.
Consider an initial discontinuity in the primitive variables. Each of the 3 characteristic waves will carry a jump in their associated characteristic quantity away from the discontinuity at their characteristic speed.
The corresponding jump in the primitive variable is then just
Looking at the right eigenvectors, we see that all primitive variables jump across the left and right waves, but only density jumps across the middle wave.
The middle wave is called a contact discontinuity. Since the velocity does not jump across it, there can be no compression or expansion, so shocks and rarefactions are not allowed.
The left and right waves can be either a shock or a rarefaction.
Here’s an example of the solution of a Riemann problem for the Euler equations. The state on the left is initialized to:
and on the right:
The jumps we see are just as the right eigenvectors indicated. Only the density jumps across the middle wave. The left wave is a shock and the right wave is a rarefaction.