Computing Radially-Symmetric Solutions of the Ultra-Relativistic Euler Equations with Entropy-Stable Discontinuous Galerkin Methods
Ferdinand Thein, Hendrik Ranocha

TL;DR
This paper develops an entropy-stable discontinuous Galerkin method for solving ultra-relativistic Euler equations, enabling accurate simulation of shock waves and pressure blow-up in radially symmetric relativistic gases.
Contribution
It introduces an entropy-stable flux and corresponding variables for the ultra-relativistic Euler equations, advancing numerical stability and accuracy in relativistic fluid simulations.
Findings
Successful 2D and 3D simulations of shock formation
Stable solutions with pressure blow-up behavior
Validation against benchmark problems
Abstract
The ultra--relativistic Euler equations describe gases in the relativistic case when the thermal energy dominates. These equations for an ideal gas are given in terms of the pressure, the spatial part of the dimensionless four-velocity, and the particle density. Kunik et al.\ (2024, https://doi.org/10.1016/j.jcp.2024.113330) proposed genuine multi--dimensional benchmark problems for the ultra--relativistic Euler equations. In particular, they compared full two-dimensional discontinuous Galerkin simulations for radially symmetric problems with solutions computed using a specific one-dimensional scheme. Of particular interest in the solutions are the formation of shock waves and a pressure blow-up. In the present work we derive an entropy-stable flux for the ultra--relativistic Euler equations. Therefore, we derive the main field (or entropy variables) and the corresponding potentials. We…
| Ex. 1 | Ex. 2 | Ex. 3 | Ex. 4 | Ex. 5 | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| 11 | 10 | 14 | 13 | 13 | 9 | 13 | 10 | 14 | 9 | |
| Level | error | EOC | error | EOC | error | EOC |
|---|---|---|---|---|---|---|
| 2 | ||||||
| 3 | 3.95 | 3.95 | 3.69 | |||
| 4 | 3.89 | 3.89 | 3.67 | |||
| 5 | 4.09 | 4.09 | 4.28 | |||
| 6 | 3.99 | 3.99 | 3.90 |
| Level | error | EOC | error | EOC | error | EOC | error | EOC |
|---|---|---|---|---|---|---|---|---|
| 2 | ||||||||
| 3 | 3.87 | 3.87 | 3.87 | 3.56 | ||||
| 4 | 3.86 | 3.86 | 3.86 | 3.74 | ||||
| 5 | 4.21 | 4.21 | 4.21 | 4.20 | ||||
| 6 | 3.96 | 3.96 | 3.96 | 4.04 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNavier-Stokes equation solutions · Computational Fluid Dynamics and Aerodynamics · Gas Dynamics and Kinetic Theory
Computing Radially-Symmetric Solutions of the Ultra-Relativistic Euler Equations with Entropy-Stable Discontinuous Galerkin Methods
Ferdinand Thein ORCID: 0000-0002-0170-8284 Institute of Mathematics, Johannes Gutenberg University Mainz, Staudingerweg 9, 55128 Mainz, Germany
Hendrik Ranocha ORCID: 0000-0002-3456-2277 Institute of Mathematics, Johannes Gutenberg University Mainz, Staudingerweg 9, 55128 Mainz, Germany
(February 27, 2026)
Abstract
The ultra–relativistic Euler equations describe gases in the relativistic case when the thermal energy dominates. These equations for an ideal gas are given in terms of the pressure, the spatial part of the dimensionless four-velocity, and the particle density. Kunik et al. (2024, https://doi.org/10.1016/j.jcp.2024.113330) proposed genuine multi–dimensional benchmark problems for the ultra–relativistic Euler equations. In particular, they compared full two-dimensional discontinuous Galerkin simulations for radially symmetric problems with solutions computed using a specific one-dimensional scheme. Of particular interest in the solutions are the formation of shock waves and a pressure blow-up. In the present work we derive an entropy-stable flux for the ultra–relativistic Euler equations. Therefore, we derive the main field (or entropy variables) and the corresponding potentials. We then present the entropy-stable flux and conclude with simulation results for different test cases both in 2D and in 3D.
keywords:
discontinuous Galerkin methods, structure-preserving schemes, entropy-stable methods, flux differencing, adaptive mesh refinement
**AMS subject classification. 65M06, 65M20, 65M70 **
1 Introduction
Relativistic fluid dynamics is an area of ongoing study in recent research literature, covering various scales from ions to neutron stars [undefb]. The commonality is that the energy or velocity of the fluid in question is so significant that it surpasses the confines of classical Newtonian mechanics. For a recent review of relativistic fluid dynamics, we refer to [undefp]. In this work, we examine relativistic fluid dynamics in the context of hyperbolic partial differential equations (PDEs). The study of the structural properties of the governing equations, based on their symmetric structure, can be found in [undefaam, undefaal, undefaak, undefay]. For works exploring diverse aspects of the relativistic Euler equations, we refer to [undefaas, undefaar, undefj]. Additional recent results can be found in [undefz, undefaaq, undefar, undefu, undefv]. Here, we are particularly interested in the ultra-relativistic Euler equations, i.e., the scenario where thermal energy predominates. Results on this specific system can be located in the aforementioned literature. For a general introduction to the mathematical theory of hyperbolic conservation laws, see Smoller [undefaap] and Dafermos [undefm].
In this work, we focus on the numerical aspects of the relativistic flows under consideration. For a recent treatment of numerical methods for relativistic fluid dynamics, we refer to [undefaaab, undefw, undefr] and the references therein. Previous results on the numerical treatment of the ultra-relativistic Euler equations are presented by Abdelrahman et al. [undef], who propose a front tracking scheme; for kinetic schemes, we cite Kunik et al. [undefaq, undefap, undefao]. In Kunik et al. [undefan], the ultra-relativistic Euler equations are studied, and a one-dimensional radially symmetric solver that can provide non-trivial reference solutions for genuinely three-dimensional calculations is developed. Recently, in [undefam], this work continues, and multi–dimensional benchmark problems are introduced. These benchmarks are solved using full-dimensional simulations, and the results are compared to the specific solver provided in [undefan, undefam]. In this work, we extend the previous works by developing an entropy-stable method for the ultra-relativistic equations and applying it not only to two-dimensional but also to more challenging three-dimensional problems. The entropy-stable numerical methods developed in this paper are based on the framework pioneered by Tadmor [undefaaw, undefaav]. A key ingredient of the method is an entropy-conservative two-point flux, which we derive for the first time for the ultra-relativistic Euler equations. This flux is not based on integral averages like the first entropy-conservative numerical fluxes proposed by Tadmor, but rather on differential averages similar to the affordable numerical fluxes developed for the compressible Euler equations of an ideal gas in the non-relativistic setting [undefaf, undefi, undefaab]. The second-order method is extended to a higher-order scheme using flux differencing [undefat, undeft, undefaab, undefk] combined with summation-by-parts (SBP) operators [undefaau, undefs]. While many numerical schemes, including finite differences [undefak, undefaat], finite volumes [undefav, undefaw], continuous finite elements [undefad, undefac, undefa], flux reconstruction [undefae, undefaay, undefaag], active flux [undefd], and meshless methods [undefab] can be formulated using SBP operators, we focus specifically on discontinuous Galerkin (DG) methods [undefx, undefg, undefh]. Finally, we combine the entropy-stable baseline schemes with shock capturing using finite volume subcells [undefaa] and adaptive mesh refinement implemented in the open-source software Trixi.jl [undefaai, undefaan]. In particular, we provide all Julia source code and data needed to reproduce the numerical results presented in this paper in the accompanying reproducibility repository [undefaax].
The outline of this paper is as follows. In Section 2, the governing equations relevant to this study are provided. In Section 3, an entropy-conservative numerical flux is derived. Section 4 summarizes the numerical methods used. In Section 5, several numerical tests are provided, and the simulation results are presented. Concluding remarks are found in Section 6. Appendix A offers detailed and supplementary calculations for the readers’ convenience.
2 Conservative Formulations of the Equations
In this section we specify the governing equations precisely and provide necessary details on the conservative, primitive as well as entropy variables. Here we consider the flat Minkowski metric given by
[TABLE]
It is of further interest to study other space–times which then would result in curvi–linear coordinates, see for example [undefc, undefn]. A precise study of such cases is beyond the scope of this work and will be considered in the future. As mentioned before we study the ultra-relativistic equations for a perfect fluid in Minkowski space-time , , namely
[TABLE]
with and the energy-momentum tensor
[TABLE]
Here represents the pressure, is the spatial part of the four-velocity vector . Note that in this work we consider the dimensionless velocity and we have the following relation to the usual velocity
[TABLE]
where is the speed of light and we have the Lorentz factor
[TABLE]
Using the dimensionless velocity we hence have and we further scale to . For the ideal ultra-relativistic gas the thermal energy dominates and thus the local energy density at rest is linked to the pressure by
[TABLE]
Note that (2.4) is universal for an ideal gas in the ultra-relativistic regime. For the physical background we refer to Weinberg [undefaaaa, Part I, pp 47-52], further details can be found in Kunik [undefal, Chapter 3.9] and in the works by Ruggeri and co-authors [undefay, undefaal, undefaak].
The conservative multi–dimensional form of the ultra–relativistic Euler equations (2.2) is presented in the following. We consider either or space dimensions. Then the unknown quantities and satisfying (2.2) depend on time and position .
Putting in (2.2) gives the conservation of energy
[TABLE]
whereas for we obtain the conservation of momentum
[TABLE]
We want to rewrite the conserved variables , in terms of the primitive variables determined by the velocity and the pressure , i.e.,
[TABLE]
Reversely, the primitive variables can be rewritten in terms of the conserved variables as
[TABLE]
Concerning the entropy for this system we want to remark the following. First, it should be noted that the equation for the particle number density decouples from the system in the ultra–relativistic regime, cf. [undefaal, undefaaaa, undefal]. This provides the opportunity to find an entropy, additionally to the one from the full system, particularly for the system under consideration. According to [undefal] the system is equipped with a concave physical entropy given by
[TABLE]
and the corresponding flux reads
[TABLE]
To justify this entropy one can use arguments from [undefq] as well as from Weinberg [undefaaaa, Chap. 10, p. 51]. In order to be self–contained we provide the proof that the presented entropy is a mathematical entropy for this system in the Appendix A. In particular we show concavity for the physical entropy and the relation of the entropy and the entropy flux, i.e.,
[TABLE]
where denotes the Jacobian of the flux with respect to the conservative variables and denotes the flux of the system in direction for . The entropy variables which are also known as main field, see [undefaal], are given by
[TABLE]
The main field of the present system may be obtained from the main field of the relativistic Euler equations since the ultra–relativistic Euler equations are a subsystem of the latter. We refer the interested reader to [undefaak, undefaal] and to the recent survey [undefaaz]. To construct the entropy-stable numerical flux, cf. [undefaaw, undefk], we need to calculate the entropy - flux potential. The corresponding flux is given by
[TABLE]
3 Derivation of an entropy-conservative numerical flux
In this section we present the detailed derivation of the entropy-conservative numerical flux. Following the seminal works of Tadmor [undefaaw, undefaav], the condition for an entropy-conservative numerical flux reads
[TABLE]
where are the entropy variables given by (2.12), is the numerical flux in space direction , is the flux potential in direction defined in (2.13), and \left\llbracket a\right\rrbracket=a^{+}-a^{-} denotes the jump of a quantity . The numerical fluxes should be consistent approximations of the fluxes
[TABLE]
of the ultra-relativistic Euler equations (2.5) and (2.6) which form a conservative system
[TABLE]
We follow the algorithmic approach of [undefaab] to derive an entropy-conservative numerical flux for the ultra-relativistic Euler equations. Thus, we choose a set of variables and express all jumps in terms of these variables. We then solve the resulting system of equations in order to obtain entropy-conservative numerical fluxes which are “affordable” in the sense of [undefaf].
To express jumps of general expressions, we use mean values such as the arithmetic mean
[TABLE]
Applying straight-forward algebraic manipulations we obtain the analogues of well-known rules for differentiation, i.e.,
[TABLE]
and for positive we also have
[TABLE]
Moreover, we will use
[TABLE]
i.e.,
[TABLE]
Because of the structure of the entropy variables , we choose the variables and to express all jumps. Then, we get
[TABLE]
The jump of the entropy variable is given by
[TABLE]
where (3.6) has been used. Moreover, the ratio of the jumps of the pressure terms can be expressed using (3.8). For the jump of the flux potential we get
[TABLE]
Thus, the condition for the entropy-conservative numerical flux in the present situation reads
[TABLE]
This equation is satisfied if we choose the numerical flux so that each term in parentheses vanishes. First, we obtain the numerical energy flux
[TABLE]
This is clearly a consistent approximation of the energy flux . Inserting this numerical energy flux into the other term in parentheses, we get
[TABLE]
This term vanishes if we choose the numerical momentum fluxes
[TABLE]
This is a consistent approximation of the momentum flux of the ultra-relativistic Euler equations. Thus, we have proven
Theorem 3.1**.**
The numerical fluxes
[TABLE]
are symmetric, consistent, and entropy-conservative two-point fluxes for the ultra-relativistic Euler equations (2.6) and (2.5).
Remark 3.2**.**
The pressure in the momentum flux of (3.16) is approximated using an arithmetic mean. For the classical compressible Euler equations, this is required for the stronger version of kinetic energy preservation [undefag, undefi] discussed in [undefaac, undefaad], see also [undefaaf, undefaaa]. Even without provable entropic properties, kinetic energy-preserving split forms have been widely used for compressible computational fluid dynamics and turbulence simulations because of the increased robustness [undefy, undefaao, undefah].
4 Numerical Methods
We want to compare numerical results for radially symmetric solutions of the original multi–dimensional initial-value problem (IVP) for the ultra-relativistic Euler equations (2.5)–(2.6). To avoid confusion of the pressure in the multi–dimensional case and the pressure in the radially symmetric case we denote the pressure in the multi–dimensional case by from now on. For the IVP reads
[TABLE]
We require radially symmetric solutions of this system, i.e., for and the restrictions for pressure and velocity are given by
[TABLE]
For we obtain given initial data and
[TABLE]
and for we may also put and .
4.1 Multi–dimensional discontinuous Galerkin methods
We use the numerical simulation framework Trixi.jl [undefaai, undefaan] implemented in Julia [undefe] to solve the multi–dimensional IVP (4.1) using discontinuous Galerkin methods. We follow the standard approach to first partition the spatial domain into quadrilateral/hexahedral elements with disjoint interiors. In each element, the numerical solution is represented by its values at tensor product Gauss-Lobatto-Legendre nodes able to represent polynomials of degree three in each coordinate direction. The associated quadrature rule and differentiation matrices are used to compute integrals and derivatives, respectively, i.e., we use a collocation approach. Thus, the resulting scheme is a high-order accurate nodal discontinuous Galerkin spectral element method (DGSEM) [undefai].
DG schemes are often derived from a weak form of the equations. First, multiply the conservation law by a test function and integrate over an element to get
[TABLE]
Next, integrate the volume term by parts to get
[TABLE]
where is the -th component of the outward normal vector on the boundary of the element . We replace the flux in the surface integral by a numerical flux to get
[TABLE]
where and are the values of the solution on the interior and exterior of the element, respectively, and is the outward normal vector on the boundary of the element . Concretely, we use a local Lax-Friedrichs/Rusanov flux .
Flux differencing [undefat, undeft, undefaab, undefk] is more similar to the strong form DG scheme. Thus, we integrate the volume term once more by parts to get
[TABLE]
A classical strong-form DGSEM is obtained by replacing the volume flux by the polynomial approximation obtained by collocation at the Gauss-Lobatto-Legendre nodes, replacing integrals by the associated quadrature rule [undefai], and requiring the resulting equations to hold for all test functions in the same polynomial space. The resulting volume term can be written as
[TABLE]
where the indices and run over the Gauss-Lobatto-Legendre nodes in the element and is the discrete (polynomial) differentiation matrix in the -th coordinate direction.
Flux differencing methods [undefat, undeft, undefaab, undefk] replace the volume term above by
[TABLE]
where is a two-point numerical flux. An efficient implementation of such flux differencing volume terms is described in [undefaah]. We use the newly developed entropy-conservative two-point flux given in Theorem 3.1 for the volume term. Thus, the flux differencing theory [undefat, undeft, undefaab, undefk] guarantees that we obtain an entropy-stable high-order method.
To ensure robustness also in the presence of discontinuities, we use the finite volume subcell shock capturing approach of [undefaa]. There, the high-order flux differencing volume terms are interpreted as high-order subcell finite volume methods. For robustness, these high-order methods are blended with a first-order finite volume method using a local Lax-Friedrichs/Rusanov flux. The blending factor determining the convex combination of high- and low-order methods is based on a shock indicator which is applied to the variable . For efficiency, we use adaptive mesh refinement (AMR) based on p4est [undeff] and an adaptation of the indicator of [undefau] applied to the same indicator variable used for shock capturing.
The resulting system of ordinary differential equations is integrated in time using the third-order, four-stage explicit strong stability preserving Runge-Kutta method of [undefaj] with embedded method of [undefl] and adaptive step size controller of [undefaae] implemented in OrdinaryDiffEq.jl [undefaz]. Thus, the step size is adapted automatically to the maximal resolution of the mesh and the local wave speeds, see also [undefaaj] for further details on the error control and step size adaptation. For the self-similar expansion (Example 2 below), we also apply the positivity-preserving limiter of Zhang and Shu for the pressure [undefaaac].
All data and the Julia source code required to reproduce the numerical results presented in this paper are available online in our reproducibility repository [undefaax].
4.2 One-dimensional radially symmetric solver RadSymS
For a detailed presentation of the scheme RadSymS used to compute the solution to the quasi one-dimensional radially symmetric form of the ultra-relativistic Euler equations we refer to [undefam] and [undefan]. The solution of the radially symmetric quasi one-dimensional problem satisfies
[TABLE]
for and representing the radial direction and with the initial conditions
[TABLE]
Here or denotes the space dimension and the variables are linked to through a one-to-one transformation on the sets
[TABLE]
The mapping and its inverse are given by
[TABLE]
Using the transformation (4.6), its inverse (4.7) and the velocity
[TABLE]
we replace the state variables and by and , respectively. The variable is given by
[TABLE]
Observe, that the variables and correspond to the conservative quantities in radial direction, while .
We are looking for weak solutions , with , i.e.
[TABLE]
Here is a convex domain with piecewise smooth boundary with and the integral formulation is based on [undefax, undefal]. Note that the integrals along are line integrals over a 1-form written in their local coordinates, cf. [undefas, undefo].
Based on this reformulation of the problem the one-dimensional numerical scheme (RadSymS) for the initial value problem of the radially symmetric ultra-relativistic Euler equations in two and three space dimensions is developed. It further can be shown that this scheme preserves positive pressure, see [undefam, undefan]. The method of contour-integration for the formulation of the balance laws (4.10) is used to construct a function called “Euler”. This function enables us to obtain the time evolution of the numerical solution on a staggered grid. More precisely it allows us to construct the solution at the next time step from the solution in two neighboring grid points at the previous time step according to Figure 1. First we determine the computational domain and define some quantities which are needed for its discretization.
Given are in order to calculate a numerical solution of the initial value problem (4.10), with the initial conditions given in (4.4), in the time range and the spatial range . 2. 2)
We want to use a staggered grid scheme. Any given number with determines the time step size and the time steps are . 3. 3)
Put
[TABLE]
then the spatial mesh size is with the spatial grid points . Note that our scheme uses a trapezoidal computational domain defined below that includes the target domain . Thereby, we can use all initial data that influence the solution on the target domain. In this way we avoid using a numerical boundary condition at . 4. 4)
The number is used to satisfy the CFL-condition and to define the computational domain
[TABLE]
For the numerical discretization of the integral balance laws (4.10) we choose the triangular balance domain depicted in Figure 1. We assume that the midpoints , and of the cords of are numerical grid points for the computational domain . Let the numerical solution be given at the grid points . We have to require for the numerical solution in the actual time step with . The major task is to calculate the numerical solution for the next time step at its grid point , see Figure 1.
The spatial value is given. We have to determine a function
[TABLE]
for the calculation of . This leads to the structure of a staggered grid scheme. Note that at the boundary the balance region may have parts outside , e.g. points below the half-space . In the latter case we employ a simple reflection principle for the numerical solution in order to use the function Euler as well for the boundary points with .
Next we make use of the fact that the points with the numerical values and with the unknown value are the midpoints of the three boundary cords of the balance region .
Theorem 4.1** (Numerical solution for the balance region ).**
Given are real quantities and , . Assume that . We recall defined in terms of and and put in (4.9).
[TABLE]
Then we have in both cases.
Definition 4.2** (The function Euler).**
The state from Theorem 4.1 defines the function Euler in (4.11).
Now we formulate the numerical scheme for the solution of the initial-boundary value problem (4.10). We construct staggered grid points in the computational domain and compute the numerical solution at these grid points. Using the function Euler we obtain the evolution of the numerical solution in time, i.e., it allows us to construct the solution at time from the solution which is already calculated in the grid points at the former time step .
- (I)
The staggered grid points are for , and with
[TABLE]
We want to calculate the numerical solution at . 2. (II)
For we calculate the numerical solution at the grid point from the given initial data by
[TABLE]
This corresponds to taking the integral average of the initial data on and using the midpoint rule as quadrature. 3. (III)
Assume that for a fixed odd index we have already determined the numerical solution at the grid points , .
First we determine the solution at the boundary point according to Thm. 4.1. For this purpose we put , , , and have
[TABLE]
Next we put , and , for and determine the values , at time and position from
[TABLE] 4. (IV)
Assume that for a fixed even index we have already determined the numerical solution at the grid points , .
We put , and , for and determine the values , at time and position from
[TABLE]
The quasi one-dimensional problem (4.4) is approximately solved by the one-dimensional radially symmetric scheme with . We prescribe the initial pressure as well as the initial velocity . The variable is chosen, because the restriction leads to better color plots (the variable is unbounded). Note that for constant pressure and , we obtain a stationary solution. Such a steady part is contained in the solutions to the examples presented below.
5 Numerical Results
In the following we provide the results for the benchmarks proposed and studied in [undefam]. We computed numerical solutions in two and three space dimensions using the genuine multi–dimensional solver Trixi.jl and compare the obtained results with the one-dimensional radially symmetric scheme RadSymS presented in [undefan, undefam]. Note that all of the test cases are radially symmetric problems where two of them provide self-similar solutions, see Example 1 and 2.
In Figs. 2–19 for Examples 1–5, respectively, we present 2D and 3D results in the – plane and a line plot of the solution in radial direction at the final time . We compare the results by means of the pressure and the velocity (4.8). Additionally, for Examples 1 and 2 we compare the solutions also with the reference solution that can be determined for self-similar problems by solving the ODE (5.2) in the smooth part and using the jump conditions (5.4) to determine the stationary part in Example 1.
For all examples presented subsequently, we summarize the computational domain and the maximum refinement level in Table 1. The initial cell size at the coarsest refinement level is always the whole computational domain . Due to the dyadic grid hierarchy in Trixi.jl the cell size at refinement level is , for .
We want to remark that the refinement level in each 3D computation is less than the level used for the 2D computation of the same example, respectively. Nevertheless, the computational time increases dramatically with the space dimension. Therefore, the final results for the pressure in examples 3, 4, and 5 in 3D cannot match the excellent agreement of the corresponding 2D results due to the computational costs and complexity. Here we decided to provide results that can be obtained within hours of computational time on a standard workstation rather than using HPC resources.
Convergence test. To verify the implementation and demonstrate the high-order accoracy of the multi–dimensional solver Trixi.jl, we perform a convergence test for a smooth manufactured solution of the ultra-relativistic Euler equations. We choose the solution
[TABLE]
where and . The resulting source terms for the momentum equations are
[TABLE]
and no source term has to be added to the energy equation. We use a uniformly refined mesh with periodic boundaries and compute the solution until the final time . The time integration tolerance is set to and the time step is adapted automatically by the step size controller of [undefaae] to ensure that the temporal error is negligible compared to the spatial error. The resulting discrete errors and the corresponding experimental order of convergence (EOC) are presented in Tables 2 and 3 for the 2D and 3D version of Trixi.jl, respectively. As expected for polynomials of degree three, the EOC is close to four.
Example 1: Solutions including a shock and a stationary part. Following [undefar], self-similar solutions can be constructed solving an ODE system in radial direction . These solutions are in particular constant along rays or, equivalently, .
We consider constant initial data with pressure and radial velocity . Due to [undefar, Section 2.3] there is a solution and depending only on for , with a single straight line shock emanating from the zero point. Let be the unknown constant shock speed. Then we put and can find an unknown pressure with
[TABLE]
Due to the Rankine-Hugoniot shock conditions introduced in [undefal, Section 4.4] we obtain from [undefal, page 82] for a so called 3-shock after a lengthy calculation the algebraic shock conditions
[TABLE]
[TABLE]
Here are the values of pressure and velocity left to the 3-shock, and are the values of pressure and velocity right to the 3-shock. Due to Lai [undefar, Section 2.3] the solution , satisfies the IVP of ordinary differential equations
[TABLE]
Moreover, it is shown in the appendix of [undefam] that Lai’s results guarantee a unique solution for with a certain value and a unique value , see [undefam, (A.10)] such that
[TABLE]
After having determined we finally obtain
[TABLE]
For the numerical simulation we prescribe a constant initial pressure and a constant initial velocity . This corresponds to the following initial data for the original IVP (4.1)
[TABLE]
The radially symmetric solution of (4.1) is determined by the solution of the ODE system (5.2) which gives a shock wave moving at constant speed . We want to point out that these ODEs are written in terms of . Thus, the initial data and for (5.2) prescribe the solution for (4.1) at infinity given by and . The ODE system (5.2) is solved by applying the classical fourth-order RK scheme with step size . For the computation of the ODE solver is run until (5.3) is satisfied with a tolerance of . The solution values for the shock speed, the states ahead and behind of the shock, respectively, are presented in Table 4.
The results reported in Fig. 2 (2D) and Fig. 3 (3D) clearly show an excellent agreement of both numerical methods with the reference solution provided by an ODE solver for the final time in radial direction. Due to the self-similar structure of the solution we omit the presentation of results in the – plane.
In order to verify the entropy conservation property of the presented scheme we provide a numerical test for slightly modified initial data of the present example, i.e., we use a constant initial pressure and a constant initial velocity . This corresponds to the following initial data for the original IVP (4.1)
[TABLE]
To verify the entropy conservation property, we compute the entropy rate, i.e., the discrete version of
[TABLE]
where the integral is replaced by the quadrature associated to the DGSEM, and the time derivative is given by the entroy-conservative semidiscretization. The results for the entropy rate over time in 2D and 3D are given in Fig. 4. Clearly entropy is conserved up to machine precision. Checking discrete entropy conservation like this is a demanding test for the derivation of the entropy-conservative flux in Theorem 3.1 as well as for its implementation.
Example 2: Self-Similar Expansion. In this example we prescribe initial data leading to a smooth self-similar solution by applying Lai’s approach as in Example 1. Note that for the solution will expand into vacuum at the speed of light when the initial value for is close enough to one. We do not consider this case here and refer to [undefar] for more details. For the numerical simulation we consider a constant initial pressure and a constant initial velocity . This corresponds to the following initial data for the original IVP (4.1)
[TABLE]
The solution consists of a rarefaction wave that is determined by the ODE (5.2). In contrast to Example 1 there is no shock.
The results reported in Fig. 5 for 2D and Fig. 6 for 3D, respectively, clearly show an excellent agreement of both numerical methods with the reference solution provided by an ODE solver for the final time in radial direction. Due to the self-similar structure of the solution we omit the presentation of results in the – plane.
Example 3: Expansion of a Spherical Bubble. Next we consider the expansion of a spherical bubble with the following initial data
[TABLE]
These initial values correspond to the following initial values for the original IVP (4.1)
[TABLE]
Initially, the pressure inside the bubble is ten times larger than outside, which leads to a fast expansion of the bubble into the outer low pressure area. This in turn gives rise to the formation of another low pressure area. We observe the formation of a shock wave, running towards the new low pressure area and reaching the zero point around time for and for . The formation of this new shock wave is a peculiar nonlinear phenomenon. Shortly before the shock reaches the zero point the pressure takes very low values, but its reflection from the zero point depicted in Fig. 8 and Fig. 9 indicates a blow-up of the pressure in a very small time-space range near the boundary. This is similar to [undefan, Section 5, Example 4], but here the blow-up is weaker than in three space dimensions, and its illustration requires a higher numerical resolution. A similar behavior for the corresponding solution of the explosion problem with the classical Euler equations should be expected.
Before discussing the numerical results in details, we show the evolution of the total entropy (computed numerically via the quadrature rule associated to the method) over time for the present example in Fig. 7. In contrast to the entropy results shown earlier in Fig. 4, we use the the local Lax-Friedrichs/Rusanov flux and do not show the discrete entropy rate, but the total entropy itself. Since the entropy is concave, entropy stability means that the total entropy increases over time. Clearly, the numerical results shown in Fig. 7 confirm the entropy stability of the presented scheme, as expected based on the theory of flux differencing and our construction of the entropy-conservative flux in Theorem 3.1.
From the depicted solution at time we observe the reflected shock curve at radius around for and near for , respectively. The results in the – plane given in Fig. 8 and Fig. 9 show the expansion of the bubble and the formation of the new shock which focuses at the origin and then is reflected again. At the focus point the pressure rises drastically in a small vicinity of the origin and away from that the pressure values do not vary a lot. Therefore, we present a zoom plot of the pressure. We observe an excellent agreement of both numerical methods for the velocity in Figs. 8 and 9 (b). For the pressure it is visible in 2D that Trixi.jl is capable of resolving the solution close to the reflection point of the shock at the origin rather well, see Fig. 8 (a). However, in 3D the reflection point is not captured well, which is due to the computational efforts needed in 3D as stated before. Indeed, the maximum pressure value computed by Trixi.jl is versus for the case in 3D, see Fig. 9 (a). This is due to the lower resolution we for the 3D results compared to the 2D results, see Table 1. Matching the maximum pressure value also in 3D would require at least the same resolution as in 2D, which was not feasible for the workstation we could use for this project. Further note that this pressure peak occurs in the very vicinity of the origin and is very much localized in time. Thus we present zoom plot for the pressure to visualize it. For the velocity this is not needed since we have proper scaling properties due to .
Additionally, we compare both methods at final time where the solutions coincide very well, see Figs. 10 and 11.
Example 4: Collapse of a Spherical Bubble. Next we study the collapse of a spherical bubble with the following initial data
[TABLE]
These initial values correspond to the following initial values for the original IVP (4.1)
[TABLE]
The results in the – plane, see Figs. 13 and 14, show the collapse of the bubble with a focus point at the origin which then is reflected again. At the focus point the pressure rises drastically in a small vicinity of the origin and away from that the pressure values do not vary a lot. Thus, we again present a zoom plot of the pressure for this example. We observe for both, and , an excellent agreement of both numerical methods for the velocity in Figs. 13 and 14, respectively. For the pressure it is again visible that in 2D the results agree well whereas due to the computational complexity in three dimensions the pressure peak is not very well resolved. Indeed, the maximum pressure value computed by Trixi.jl is versus for the case in 3D, see Fig. 14 (a). This is again caused by the lower resolution we for the 3D results compared to the 2D results, see Table 1. Matching the maximum pressure value also in 3D would require at least the same resolution as in 2D, which was not feasible for the workstation we could use for this project.
Additionally, we compare both methods at time where the solutions coincide very well, see Figs. 12 and 15.
Example 5: Initially Sine–Shaped Radial Velocity. Finally, we study initial data with a velocity in radial direction described by a sine function, i.e.,
[TABLE]
These correspond to the following initial data for the multi–dimensional simulation
[TABLE]
The results in the – plane, see Figs. 16 and 17, show a complex wave structure for the velocity and a high pressure focus at around time for and for , respectively. Again, we present a zoom plot of the pressure for this example. As for the previous examples it is again visible near the reflection point that in 2D the results agree well whereas due to the computational complexity in three dimensions the pressure peak is not very well resolved. Indeed, the maximum pressure value computed by Trixi.jl is versus for the case in 3D, see Fig. 17 (a). This is again due to the lower resolution we for the 3D results compared to the 2D results, see Table 1. Matching the maximum pressure value also in 3D would require at least the same resolution as in 2D, which was not feasible for the workstation we could use for this project.
We observe an excellent agreement of both numerical methods for the velocity in Figs. 16 and 17 (b). Additionally, we compare both methods at final time where the solutions coincide very well, see Figs. 18 and 19.
6 Conclusion
We have investigated the system of the ultra–relativistic Euler equations in two and three space dimensions. For the first time an entropy-conservative flux has been derived and applied for numerical computations. We studied five different benchmarks in two and three dimensions, where the full-dimensional system is treated using Trixi.jl and the results are compared to numerical reference solutions. It should be emphasized that this is the first time that genuine three-dimensional results for these benchmarks have been obtained and presented. The obtained numerical results coincide well, although they emphasize the need to reduce the computational complexity for the three-dimensional case. Despite the interest in the particular system under consideration, these benchmarks may serve as challenging benchmarks for other multi–dimensional solvers. It will be interesting to investigate the extension of the present work to different space–times.
Acknowledgments
Funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) through SPP 2410 Hyperbolic Balance Laws in Fluid Mechanics: Complexity, Scales, Randomness (CoScaRa) within the Projects 525939417 (FT) and 526031774 (HR). HR additionally acknowledges the DFG individual research grants 513301895 and 528753982. FT thanks Matthias Kunik for introducing him to the interesting topic of relativistic Euler equations and fruitful discussions. HR thanks Joshua Lampert for reviewing HR’s contributions to Trixi.jl that improved the efficiency of radially symmetric output data.
Data Availability Statement
All Julia source code and data needed to reproduce the numerical results presented in this paper are available in the accompanying reproducibility repository [undefaax].
Appendix A Derivatives and Supplementary Calculations for the Entropy
In this section we want to provide further details on the derivatives. Furthermore, we show the concavity of the entropy and prove relation (2.11). For simplicity, we will express the derivatives in terms of the primitive variables, which is more convenient to work with.
Using (2.8b) and (2.7) we can calculate the derivatives of the pressure
[TABLE]
The derivatives of the velocity components can be obtained using (2.8a) and (2.7)
[TABLE]
We yield for the derivatives of the entropy with respect to the primitive variables
[TABLE]
Note that corresponding to the flux potential (2.13) we can also calculate the entropy potential. Sometimes it is also called generating potential; we refer to the recent survey [undefaaz] and the references therein. We obtain for the entropy potential
[TABLE]
Next, we provide the second order derivatives of with respect to the conservative variables, i.e.,
[TABLE]
For simplicity, we are going to show the convexity of and the Hessian can be written as follows
[TABLE]
with
[TABLE]
To prove convexity we now want to show that
[TABLE]
Therefore, we first note that all elements belong to and conversely all elements belong to as well as to . Clearly, for all . For we first consider the non–zero block matrix and verify that the rows are pairwise linearly dependent, since the -th row is written as . Thus, we have that for all . For we yield when multiplying with elements
[TABLE]
and thus for all . Altogether we hence have shown the convexity of .
We now want to verify relation (2.11). Therefore, we first calculate the derivatives of the entropy flux with respect to the primitive quantities. These are given by
[TABLE]
From these we calculate the derivatives with respect to the conservative variables
[TABLE]
We further need the Jacobians of the conservative fluxes in the normal directions w.r.t. . To this end we refer to [undefam] where the Jacobians are given for any normal direction, see [undefam, (B.5)]. Here the situation simplifies, since we only consider the normal directions . The flux Jacobian is determined by
[TABLE]
with
[TABLE]
If (2.11) is written component wise we yield
[TABLE]
Considering yield
[TABLE]
Now we deal with and obtain
[TABLE]
We now consider the final case and get
[TABLE]
Thus, (2.11) is verified.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[undef] Mahmoud A. E. Abdelrahman and Matthias Kunik “A new front tracking scheme for the ultra-relativistic Euler equations” In J. Comput. Phys. 275 , 2014, pp. 213–235 DOI: 10.1016/j.jcp.2014.06.051 · doi ↗
- 2[undefa] Rémi Abgrall, Jan Nordström, Philipp Öffner and Svetlana Tokareva “Analysis of the SBP-SAT Stabilization for Finite Element Methods Part I: Linear problems” In Journal of Scientific Computing 85.2 Springer, 2020, pp. 1–29 DOI: 10.1007/s 10915-020-01349-z · doi ↗
- 3[undefb] Nils Andersson and Gregory L. Comer “Relativistic fluid dynamics: physics for many different scales” In Living Reviews in Relativity 24.1 , 2021, pp. 3 DOI: 10.1007/s 41114-021-00031-6 · doi ↗
- 4[undefc] Francesc Banyuls et al. “Numerical 3 + 1 General Relativistic Hydrodynamics: A Local Characteristic Approach” In The Astrophysical Journal 476.1 , 1997, pp. 221 DOI: 10.1086/303604 · doi ↗
- 5[undefd] Wasilij Barsukow et al. “Stability of the Active Flux Method in the Framework of Summation-by-Parts Operators”, 2025 ar Xiv: 2507.11068 [math.NA]
- 6[undefe] Jeff Bezanson, Alan Edelman, Stefan Karpinski and Viral B Shah “Julia: A Fresh Approach to Numerical Computing” In SIAM Review 59.1 SIAM, 2017, pp. 65–98 DOI: 10.1137/141000671 · doi ↗
- 7[undeff] Carsten Burstedde, Lucas C Wilcox and Omar Ghattas “p 4est: Scalable algorithms for parallel adaptive mesh refinement on forests of octrees” In SIAM Journal on Scientific Computing 33.3 SIAM, 2011, pp. 1103–1133 DOI: 10.1137/100791634 · doi ↗
- 8[undefg] Mark H Carpenter, Travis C Fisher, Eric J Nielsen and Steven H Frankel “Entropy Stable Spectral Collocation Schemes for the Navier-Stokes Equations: Discontinuous Interfaces” In SIAM Journal on Scientific Computing 36.5 Society for Industrial Applied Mathematics, 2014, pp. B 835–B 867 DOI: 10.1137/130932193 · doi ↗
