Maximal entropy dissipation numerical scheme for conservation law systems
Abstract.
This paper presents a numerical finite volume method for conservation law systems that are adapted to the principle of maximal dissipation. The general assumptions are an existence of a strictly convex entropy functional and a finite propagation speed property of a given system. The procedure is based on a numerical flux construction obtained by the minimization of the entropy functional in each time step. The scheme satisfies assumptions of the Lax-Wendroff theorem. A limiting solution obtained by this scheme is compared with the classical weak solutions obtained by the Glimm or the Wave Front Tracking algorithm for one-dimensional systems, respectively.
1. Introduction
The principle of maximal entropy dissipation was introduced in [5] as a tool for extracting physically relevant weak solutions to conservation law system. We are using more recent versions from [7] and [10]. The paper [14] contains an early comparison between the Lax entropy principle and proves several important differences. Suppose that we have a fixed mathematical entropy functional, together with the conservation law system. Using this principle one can extract a weak solution that maximally dissipates the mathematical entropy in an arbitrary short time period. The verification of this could be quite demanding for weak solutions. Naturally, the term “arbitrarily small time step” associates us to some a numerical procedure. Following that intuitive thought, we will make a numerical scheme that satisfies principle at each time step. A natural choice for the scheme is Finite Volume Method (FVM). It is a link between the weak solution concept with test functions and the integral form, which is the primary tool for deriving equations of fluid dynamics, see the classical monographs [1] or [17].
The main properties and assumptions of this procedure are as follows:
– The finite propagation property speed (FPPS) is crucial, and we localize the problem by adding ghost cells for a given finite time interval, where a solution exists. A lot of technical details are standard procedures from the books [12] and [16]. For simplicity, we are looking for solutions constant out of a compact set until the time variable reaches a fixed . That can be relaxed by adding boundary data and an adequate choice of values in the ghost cells, like in the books cited above. However, this makes the estimation of entropy dissipation more difficult.
– The scheme is made to be conservative and consistent and one may use the Lax-Wendroff theorem.
– We choose a numerical flux function adapted to the strictly convex entropy. This provides a unique numerical solution at each time step.
– Any affine constraint, like non-negativity of the fluid physical density and energy can be easily added in the algorithm without losing the uniqueness at each time step.
– The definition and procedure for deriving a solution in each time step are dimension-independent. The numerical flux depends on values in each neighborhood cell and a vector with components bounded between 0 and 1 with dimension equals the number of all cell-to-cell surface. That makes the optimization problem quite challenging despite one knows that there is a unique solution due to the strict convexity of the entropy functional and affine constraints. A naíve, direct approach works reasonably fast only in one spatial dimension. For multidimensional problems, one has to use some more sophisticated numerical optimization technique. Recent development in high-performance computing gives a chance for this procedure to be useful.
– Due to the well-developed theory in one space dimension, we are able to compare a limiting solution obtained by the procedure with a weak solution obtained by the Glimm or the Wave Front Tracking algorithm (WFT), which we shall call ”classical” in the sequel. Two main reasons are a bounded variation property of these solutions and the fact that singularities lie in a set with zero Lebesgue measure. One can look in [9] (Glimm scheme) and [2], [13] (WFT) for the construction and properties of these solutions.
– A direct comparison in a multi-dimensional case was impossible by the methods used in this paper because of the lack of the above classical solutions properties. If a bounded multi-dimensional solution has a zero measure singularity set and has bounded variation in each direction for a fixed time variable, then the comparison could be possible by extending a one-dimensional proof. Some of the interesting problems are described in [8] and [3].
Consider an -dimensional system of hyperbolic conservation laws
| (1.1) |
where the initial data is constant out of some compact set in . Denote by a closed subset of , for some , containing the range of . This will be referred to as the domain in the sequel. Assume and that there exists at least one mathematical entropy strictly convex function . The crucial assumption is that we can choose such that the FPSP holds. A typical case is when is bounded because the existence of convex implies the FPSP. The ideal situation is when represents some physical quantity related to the system like the physical entropy with a reversed sign, or energy, for example. We fix the function together with the system (1.1) in the rest of the paper, together with the Courant–Friedrichs–Lewy constant
Then we are sure that is a constant out of the set
A vector valued function is said to be a weak solution to the system (1.1) if for every function we have
| (1.2) |
The main goal of this paper is to find a numerical procedure for finding a weak solution to (1.1) that minimizes an infinitesimal increase of the functional
in the sense of Dafermos ([5]). More precisely, we use a slightly different condition from [10].
Definition 1.1.
A weak solution to system (1.1) satisfies the energy admissibility condition if for any other weak solution such that for some we have , and there exists a sequence , , , as such that
2. Approximate solution
In this section, we shall define the specific FVM algorithm and use the Lax-Wendorff theorem. The notation and assertions used here are from [15]. Consider the following partition of :
where is a finite set of indices. The procedure goes as follows. Define , . Put for the initial data, and let is a piecewise constant approximation of the solution. The values for are updated according to
| (2.1) |
where denotes the set of cell indices with adjacent to , is the volume of cell , is the surface between cells and , is the outward unit normal to along , and .
Remark 2.1.
The simplest choice is equidistant rectangular mesh , with the condition , and being constant along the side . Thus,
That should suffice for regular enough domains. One can always use a unstructued FVM mesh with some more calculations for .
Let be a fixed strictly convex entropy function for (1.1), regular enough in , and let be bounded region such that is constant out of it for a finite as discussed above. We are looking for a piecewise constant approximation of a weak solution assuming that is big enough for physically relevant solutions with the given initial data. This requires adding ghost cells in numerical calculations, see [12] or [16].
Definition 2.1.
For a given initial data we construct approximate (i.e. numerically obtained) solution in by (2.1) where
| (2.2) |
where
For each , , is -dimensional vector with values in , denotes the -dimensional vector with each component equals , and “” is the usual scalar product. The functions and are used component-wise.
The elements are chosen such that
is minimal for each time step .
Remark 2.2.
is the affine function of (rearranged to be a vector), so
is convex with respect to . For every , we have a unique minimum, but may be obtained by multiple vectors . However, the restriction of a strictly convex function to an affine subspace is still strictly convex. A strictly convex function can have at most one minimizer in its domain. Therefore, if a minimum is attained, the vector that achieves it is unique, although infinitely many may map to it. Thus, scheme (2.1) is well defined providing that belongs to and satisfies the affine constraints.
If we have some affine constraints on the variables, like non-negativity of a solution component, this also creates affine constraints on in the optimization algorithm. Therefore, uniqueness is preserved.
Remark 2.3.
The scheme is chosen such that for each lying componentwisely between and () for every , for some . We will use this fact to compare the solution from Theorem 2.1 bellow with the classical solutions in the one-dimensional case obtained by the Glimm or WFT scheme.
Note that the opposite is not true: it is not always possible to find described above for each choice of .
If one wants to have that option, one possibility is to define
But then would not be convex with respect to . Then a minimum is maybe non-unique and a numerical procedure for finding the global minimum does not exist in general.
If , then can by anything, that is, . (Then, .)
Taking all that into account, one can see that the proposed scheme, called MES scheme in the sequel, is consistent and conservative. In addition, is globally Lipschitz in both and in the domain. All that means that the assumptions of the Lax-Wendorff Theorem are satisfied, so we have
Theorem 2.1.
Let , assume is bounded and . If boundedly almost everywhere on as , then the limit function is a weak solution of (1.1).
The relation means with . Let us call the limiting function from Theorem 2.1 the Minimal Entropy Solution (MES solution). Note that the boundedness of implies that there exists a subsequence of converging in the space of signed Radon measures . However, this limit may not satisfy (1.2) in the usual sense.
2.1. Equivalence of weak solution and integral representation definitions
In 1D case, is a weak solution (sometimes called “distributional”) if for every test function , (1.2) holds true. This is equivalent to the following relation (see [4] or [6]):
The integral form in 1D case says that
| (2.3) |
for every rectangle . In the multi-dimensional case
has to be true for every and being any -dim rectangle or some other volume element with a sufficiently regular boundary.
One can look at the first chapter of the book [6] for much more detailed analysis of the mathematical foundations of balance laws.
3. MES in 1D
Let us fix such that . Suppose is a bounded classical weak solution to (1.1) for of finite bounded variation for each (obtained by the Glimm or WFT scheme as we have written above), , . For both of them, .
The scheme from Definition 2.1 can be written in the simpler form for 1D case with ,
| (3.1) |
All minimums, maximums, and relation are taken componentwisely, while denotes an -dimensional interval.
In the following assertion, we will show how to approximate a classical solution using the MES scheme.
Lemma 3.1.
Let be the piecewise constant approximation of the classical weak solution defined on the equidistant mesh , , using (2.3):
where
| (3.2) |
Then for every there exists a fine enough mesh and a FVM approximate solution defined at the same mesh and satisfying (3.1) such that
| (3.3) |
is arbitrary small.
Proof.
The piecewise constant function converge to the solution in distributional sense (in also) since is bounded by the definition of classical solutions.
For every , a bounded variation function is differentiable almost everywhere (see [18], for example). Thus, the function has countably many discontinuities for each line . Also it has at most countably many discontinuity lines as one can see in [9] for the Glimm and [2] for the WFT scheme. That is, the union of discontinuity lines may be covered by a subset of rectangles in the union , where each rectangle has arbitrary small volume . Denote by a set of indices such that if contains a discontinuity. Since a set of discontinuities is at most countable, its Lebesgue measure equals zero, and there is a fine enough mesh such that , for every .
In the strip the function is continuously differentiable out of the cells with indices in and .
Finally, let us denote by a set of indices such that some component of reaches a maximum or minimum in the cell at , i.e. each component of is monotone for . Again, this set of cells with extreme points of for each is at most countable due to the BV property of the solution in one space dimension. Thus, one can refine the above mesh such that .
We shall construct a new approximate solution for and for all the cells. The non-negligible cells are the ones with indices in where all the components on the solution are smooth and monotone. We have to estimate the difference in the entropy integral between values in and new ones only in these cells.
Since is smooth in each , , and one can find value such that
Put , such that (3.1) is satisfied: We have seen in Remark 2.3, that there exists a vector such that
The notation from (3.1) means that
Each component of is continuous and monotone in , , and
Using the integral representation (2.3) and (3.2), we have
for each . Put
Then,
where . Substituting the above values for and , we have
Assuming that ,
Thus, for small enough. The sum (3.3) stays since is regular enough and . Finally, note that does not depend on , due to the assumption that the flux, entropy functions are regular enough, and solutions take their values in an appropriate set . ∎
Remark 3.1.
With the above assumptions and notation, we prove the following additional property: For every and a fixed , there exists such that for we have
| (3.4) |
The above relation means that the approximation of a weak solution by excluding all “irregular” cells does not change t significantly. Therefore, the MES satisfies the Dafermos condition (1.1), as shown in the following theorem.
Remark 3.2.
The numerical flux property from Remark 2.3 is crucial for this proof. It is used to define in the above proof. Note that the simplest choice , , which gives
for (3.1) in the 1D case does not possesses that property. The simple example with where denotes a component of the flux is sufficient to show that. Take , . Then , , and . We have being a proper subset of . But, , , and .
Theorem 3.1.
Proof.
Suppose that is an MES solution to (1.1), that is a weak solution obtained as the limit of the approximations that exist because of Theorem 2.1. Suppose is a classical solution to the system (1.1) that violates the conditions of the Definition 1.1 after a time . That is, and for every sequence converging to , ,
Like in Lemma 3.1, using the integral form (2.3), we approximate by taking
| (3.5) |
Choose such that , One can make the approximation arbitrary fine, so we may take small enough such that
when , which determines the solution . By (3.4), for small enough, we may change the definition of , , for the cells with indices belonging to and obtain the approximation so that the flux function in (3.5) satisfies the condition (2.2). That is, is obtained by the scheme from Definition 2.1 for some choice of , , . So, for the same data at , , where we have used the notation for a piecewise constant approximation , , of the function .
At the same time, using the differentiability of , boundedness od , and (3.4), we have the following inequality
for , where .
That contradicts the fact that if in . ∎
Remark 3.3.
Let us note that Theorem 3.1 holds only for one-dimensional conservation law systems. Moreover, there is no general answer about singularities, even for 1D systems, to the best of our knowledge. Therefore, we compare the MES solutions with the ones obtained by the most efficient algorithms for conservation law systems and the results from [2] and [9]. The situation is even more complicated in the multidimensional case. There are no general efficient algorithms for solving these systems up to our knowledge. In addition, nonuniqueness is a significant problem. One can look in [3], [8], [10] or [11] to get some impression of problems with Dafermos’ condition in multidimensional conservation law systems. It seems that each system has its peculiarities, and one has to look for the most physically reasonable admissibility conditions for the weak solutions. Theorem 2.1 guarantees an existence of MES regardless on the dimension. However, Theorem 3.1 is not directly applicable, but it can be adapted to special cases: If a solution has singularities contained in a set of Lebesgue measure zero and has a bounded variation in each direction separately for fixed, then one can use multidimensional rectangles and redefine the scheme (3.1) adding ’s in each variable. Nevertheless, computational effort is much higher in that case and an efficient and precise numerical optimization scheme is needed.
4. A numerical example
Finding a minimum for a large number of variables is a very challenging computational issues. We present here a simple example computed using the Julia programming language using the standard optimization packages. They are based on the algorithm from [19], the Interior Point Newton method of second order. Let us remark that the first-order algorithms were less successful. The solution look almost the same, but with a lot of artificial oscillations due to not-so-precise optimization results in a single time step.
The results shown below are for the problem
with the Riemann initial data that produces a rarefaction wave followed by a shock. The numerical results agree with the theoretical ones (wave speeds, intermediate state between two waves). Calculations are made with 1000 cells for the space interval, and 100 time steps (see Figure 2).
Acknowledgment
The author is grateful to Nataša Krejić for useful discussions during the article preparation.
References
- [1] G. K. Batchelor, An Introduction to Fluid Dynamics, Cambridge University Press, 2000.
- [2] A. Bressan, Global solutions of systems of conservation laws by wave-front tracking, J. Math. Anal. Appl. 170,2 (1992), 414–432,
- [3] E. Chiodaroli, O. Kreml, On the Energy Dissipation Rate of Solutions to the compressible isentropic Euler system, Arch. Ration. Mech. Anal. 214 (2014), 1019–1049.
- [4] A. J. Chorin, J. E. Marsden, A Mathematical Introduction to Fluid Mechanics, Springer, 1993.
- [5] C. Dafermos, The entropy rate admissibility criterion for solutions of hyperbolic conservation laws, J. Differ. Equ. 14 (1973), 202–212.
- [6] C. Dafermos. Hyperbolic Conservation Laws in Continuum Physics, Vol. 325. Springer, 2005.
- [7] C. Dafermos, Maximal dissipation in equations of evolution, J. Differ. Equ. 252(1) (2012), 567–587.
- [8] De Lellis, C., Székelyhidi, L. Jr. On admissibility criteria for weak solutions of the Euler equations. Arch. Ration. Mech. Anal. 195(1), 225–260 (2010)
- [9] R. J. Diperna, Singularities of solutions of nonlinear hyperbolic systems of conservation laws, Arch. Ration. Mech. Anal. 60 (1975), 75–100.
- [10] E. Feireisl, Maximal dissipation and well-posedness for the compressible Euler system, J. Math. Fluid Mech. 16 (2014), 447–461.
- [11] E. Feireisl, P. Gwiazda, A. Świerczewska-Gwiazda, E. Wiedemann, Regularity and energy conservation for the compressible Euler equations, Arch. Ration. Mech. Anal. 223 (2017), 1375–1395.
- [12] E. Godlewski and P.-A. Raviart, Numerical approximation of hyperbolic systems of conservation laws, Applied Mathematical Sciences, 118, Springer, New York, 1996
- [13] Holden, H., Risebro, N.H., Front tracking for hyperbolic conservation laws. Second edition. Vol. 152. Springer, 2015.
- [14] L. Hsiao, The entropy rate admissibility criterion in gas dynamics, J. Differential Equations 38 (1980), 226–238.
- [15] I. Jegdić, Large Time Step and Overlapping Grids for Conservation Laws, PhD thesis, Houston University, 2014.
- [16] R. J. LeVeque, Finite Volume Methods for Hyperbolic Problems, Cambridge University Press, 2002.
- [17] A. J. Chorin, J. E. Marsden, A Mathematical Introduction to Fluid Mechanics, Springer New York, 1993.
- [18] H. L. Royden, P. M. Fitzpatrick, Real Analysis, 4th edition,
- [19] A. Wächter, L. T. Biegler, On the implementation of an interior-point filter line-search algorithm for large-scale nonlinear programming. Mathematical Programming 106,1 (2006), 25-57.