28.7.3. Euler equations#
28.7.3.1. Thermodynamics and constitutive equations#
todo Reference to Physics: Thermodynamics bbook
Thermodynamics
Principles of thermodynamics and differential of the internal energy
The differential of the internal energy as a function of \(s, \rho\) as independent thermodynamic variables, \(e(\rho, s)\) reads
from the principles of thermodynamics, and the definition of the entropy \(s\) in classical thermodynamics. Following Gibbs’ mathematical foundation of classical thermodynamics, the partial derivatives of the internal energy can be related to temperature, pressure and density
Speed of sound, \(\ a(\rho, s)\).
As it should be clear from the study of Euler equations as an hyperbolic system the speed of sound \(a\) can be defined as
As an example, the definition of the speed of sound appears in two of the eigenvalues of the system, as shown in (28.16) using the convective form (28.15) of the equations using \((\rho, \vec{u}, s)\) as primary variables.
Speed of sound, and change of independent thermodynamic variables
All the relations in this box mainly exploit rule of derivatives of composite functions and basic thermodynamic relations.
As an example, if the pressure is defined as a function of \((\rho, e)\), and the relation \(e(\rho,s)\) is known, with pressure can be written as \(p(\rho, e) = p(\rho, e(\rho,s))\). With the derivation of the composite function, an alternative expression of the speed of sound follows
Conservative variables of Euler equations are \((\rho, \vec{m}, E^t) = \left( \rho, \rho \vec{u}, \rho \left( e + \frac{|\vec{u}^2}{2} \right) \right)\). Pressure as a function of conservative variable reads
Constitutive equations for an ideal Newtonian fluid
Stress tensor \(\mathbb{T} = - p \mathbb{I}\)
Stress vector \(\vec{t}_{\hat{n}} = \hat{n} \cdot \mathbb{T} = - p \hat{n}\)
Heat conduction flux \(\vec{q} = \vec{0}\)
28.7.3.2. Integral equations#
Conservative variables and flux are respectively
Integral equations for a control volume \(\ V \ \) at rest
Integral equation for a control volume at rest \(V\) immediately follows from the three principles of classial mechanics: conservation of mass, 2-nd principle of Newtonian dynamics, 1-st principle of thermodynamics
with the need for an equation of state with the expression of pressure \(p\) as a function of the dynamical variables \(p = \Pi(\rho, \vec{u}, e^t)\). Using conservative variables \((\rho, \vec{m}, E^t) = (\rho, \rho \vec{u}, \rho e^t)\)
having defined the total enthalpy per unit volume
Integral equations for an arbitrary domain \(\ v_t \ \)
Integral equation for an arbitrary domain \(v_t\), with Reynolds’ transport theorem
28.7.3.2.1. Jump conditions#
Jump conditions (28.1) for Euler equations read
28.7.3.3. Differential equations#
In regions where the fields are smooth, from integral to differential equations using theorems of differential calculus
28.7.3.3.1. Conservative form#
Conservative form of the differential equations immediately follows introducing the expressions (28.7) of the conservative variables and (28.8) of the flux in the general expression of the conservative form of hyperbolic problems (28.2)
28.7.3.3.2. Convective forms#
Convective form with conservative variables
Using Cartesian coordinates for a 2-dimensional domain,
and using the matrix formalism
Convective form with primary variables \(\ (\rho, \vec{u}, e)\).
or using Cartesian coordinates and matrix formalism
Convective form with primary variables \(\ (\rho, \vec{u}, s)\).
Using the thermodynamic relation \(de = T ds + \frac{p}{\rho^2} d \rho\) and combining mass and internal energy equations, the differential equation \(D_t s = 0\) follows for the entropy, having introduced the material derivative \(D_t \_ = \partial_t \_ + \vec{u} \cdot \nabla \_\). The convective form of the equations becomes
or using Cartesian coordinates and matrix formalism in a 2-dimensional domain
Using this expression of the equations, it’s pretty easy to find the eigenvalues of the system, evaluating the eigenvalues of the matrix
as the zeros of the following equation,
having used the definition of the spped of sound (28.5). Thus the eigenvalues of the system are
28.7.3.3.3. Spectral decomposition#
It may be convenient to evaluate the spectrum using physical variables \(\mathbf{v} = (\rho, \vec{u}, e)\) and then use the rules for the spectral decomposition after a change of variables to get the spectrum in terms of the conservative variables.
Transformation of variables. The tranformation between physical variables \(\mathbf{v} = (\rho, \vec{u}, e)\) and the conservative variables \(\mathbf{u} = ( \rho, \vec{m}, E^t )\) reads
Gradients of the transformations.
Spectral decomposition of \(\mathbf{A}_{\hat{n}}^{\mathbf{v}}\), using \(\mathbf{v}=(\rho, \vec{u}, e)\). The normal convective matrix using physical variables \(\mathbf{v}\) reads
Eigenvalues
In a 2-dimensional domain, the system of equations is 4-dimensional. As shown with the convective form (28.15) using \((\rho, \vec{u}, s)\) as primary variables, the eigenvalues of the system are
In a 3-dimensional domain, the system of equations is 5-dimensional, and its eigenvalues are
Right eigenvectors
In a 2-dimensional domain
Details for \( \ d\)-dimensional domain
Given the eigenvalues of the system in a \(d\)-dimensional (\(d = 2, 3\)), the right eigenvectors of the matrix \(\mathbf{A}^{\mathbf{v}}_{\hat{n}}\),
are evaluated. For \(s_{1,d+2} = u_n \mp a\), the singular system
has the non-trivial solution - it should be easy to prove it recalling the expression (28.6) of the speed of sound
For \(s_{2:d+1} = u_n\), the solution of singular system
is a linear combination of the basis of the kernel of the matrix. It shouldn’t be hard to prove that the kernel is spanned by the right eigenvectors
with \(\mathbf{t}_{i}\) \(d-1\) independent “tangent vectors”, orthogonal w.r.t. the unit “normal vector” \(\mathbf{n}\).
Left eigenvectors
In a 2-dimensional domain
Spectral decomposition of \(\mathbf{A}_{\hat{n}}^{\mathbf{u}}\), using \(\mathbf{u}=(\rho, \vec{m}, E^t)\).
Right eigenvectors
In a 2-dimensional domain
Left eigenvectors
In a 2-dimensional domain
Some algebra
Right eigenvectors w.r.t. conservative variables are
with \(h^t = e^t + \frac{|\mathbf{u}|^2}{2}\), and
Or using the derivatives of \(\Pi(\rho, \mathbf{m}, E^t)\),
Left eigenvectors w.r.t. conservative variables are
being
and the speed of sound
with \(P(\rho, e(\rho,s))\)
Eigenvalues, right and left eigenvectors
Characteristic lines/surfaces, and compatibility conditions
28.7.3.4. Riemann problem#
Useful in numerical schemes in finite volume methods, using Godunov flux
28.7.3.4.1. Linearization - Roe intermediate state#
Local linearization of the problem, to reduce the computational cost of solving non-linear Riemann problems at all the interfaces in a grid in FVM
28.7.3.5. Boundary conditions#
characteristic-based
wall
…