Abstract
The equation of state (EOS) embodies thermodynamic properties of compressible fluid materials and usually has very complicated forms in real engineering applications. The complexity of EOS in form gives rise to the difficulty in analyzing relevant wave patterns and in designing efficient numerical algorithms. In this paper, a strategy of local stiffened gas approximation is proposed for computing compressible fluid flows of real materials. The stiffened gas EOS is used to approximate general EOSs locally with certain thermodynamic compatibility at each interface of computational control volumes so that the exact Riemann solver can be significantly simplified and the computational cost of the resulting scheme is reduced up to two orders of magnitude. Then the generalized Riemann problem solver is further adopted not only to increase the accuracy and resolution but also to effectively reflect the thermodynamic effect through the inclusion of entropy variation into the numerical fluxes. The resulting scheme is demonstrated to be efficient and robust through typical numerical examples which display the excellent performance of such an approximation under extreme thermodynamics.
Similar content being viewed by others
Data availibility
The datasets generated during the current study are available from the corresponding author on reasonable request.
References
Bai, J., Zhang, Z., Li, P., Zhong, M.: Numerical method of the Riemann problem for two-dimensional multi-fluid flows with general equation of state. Chin. Phys. 15, 22–34 (2006)
Banks, J.W.: On exact conservation for the Euler equations with complex equations of state. Commun. Comput. Phys. 8, 995–1015 (2010)
Ben-Artzi, M., Falcovitz, J.: A second-order Godunov-type scheme for compressible fluid dynamics. J. Comput. Phys. 55, 1–32 (1984)
Ben-Artzi, M., Falcovitz, J.: Generalized Riemann problems in computational fluid dynamics. Cambridge University Press (2003)
Ben-Artzi, M., Li, J., Warnecke, G.: A direct Eulerian GRP scheme for compressible fluid flows. J. Comput. Phys. 218, 19–34 (2006)
Ben-Artzi, M., Li, J.: Hyperbolic balance laws: Riemann invariants and the generalized Riemann problem. Numer. Math. 106(3), 369–425 (2007)
Castro, C.E., Toro, E.F.: Roe-type Riemann solvers for general hyperbolic systems. Int. J. Numer. Meth. Fluids 75, 467–486 (2014)
Dumbser, M., Munz, C.D.: ADER discontinuous Galerkin schemes for aeroacoustics. Comptes Rendus Mécanique 333, 683–687 (2005)
Dumbser, M., Iben, U., Munz, C.D.: Efficient implementation of high order unstructured WENO schemes for cavitating flows. Comput. Fluids 86, 141–168 (2013)
Godunov, S.K.: A finite difference method for the numerical computation and disontinuous solutions of the equations of fluid dynamics. Mat. Sb. 47, 271–295 (1959)
Godunov, S.K., Zabrodine, A., Ivanov, M., Kraiko, A., Prokopov, G.: Résolution numérique des problèmes multidimensionnels de la dynamique des gaz. Editions Mir, Moscow (1979)
Gottlieb, J., Groth, C.: Assessment of Riemann solvers for unsteady one-dimensional inviscid flows of perfect gas. J. Comput. Phys. 78, 437–458 (1988)
Harten, A., Lax, P.D., van Leer, B.: On upstream differencing and Godunov-type schemes for hyperbolic conservation laws. SIAM Rev. 25(1), 35–61 (1983)
Hennessey, M., Kapila, A.K., Schwendeman, D.W.: An HLLC-type Riemann solver and high-resolution Godunov method for a two-phase model of reactive flow with general equations of state. J. Comput. Phys. 405, 109180 (2020)
Kamm, J. R.: An exact, compressible one-dimensional Riemann solver for general, convex equation of states, LA-UR-15-21616 (2015)
Lee, B.J., Toro, E.F., Castro, C.E., Nikiforakis, N.: Adaptive Osher-type scheme for the Euler equations with highly nonlinear equation of states. J. Comput. Phys. 246, 165–183 (2013)
Li, J., Wang, Y.: Thermodynamical effects and high resolution methods for compressible fluid flows. J. Comput. Phys. 343, 340–354 (2017)
Li, J., Zhang, T., Yang, S.: The two-dimensional Riemann problem in gas dynamics, Longman (1998)
Osher, S., Solomon, F.: Upwind difference schemes for hyperbolic systems of conservation laws. Math. Comp. 38, 339–374 (1982)
Menikoffad, R., Plohr, B.J.: The Riemann problem for fluid flow of real materials. Rev. Modern 61(1), 75–130 (1989)
Quartapelle, L., Castelletti, L., Guardone, A., Quaranta, G.: Solution of the Riemann problem of classical gasdynamics. J. Comput. Phys. 190(1), 118–140 (2003)
Saurel, R., Abgrall, R.: A multiphase godunov method for compressible multifluid and multiphase flows. J. Comput. Phys. 150, 425–467 (1999)
Schwartzkopff, T., Munz, C.D., Toro, E.F.: ADER: high-order approach for linear hyperbolic systems in 2D. J. Sci. Comput. 17, 231–240 (2002)
Shyue, K.-M.: A fluid-mixture type algorithm for compressible multicomponent flow with Mie-Grüneisen equation of state. J. Comput. Phys. 171, 678–707 (2001)
Tang, H.: On the sonic point glitch. J. Comput. Phys. 202(2), 507–532 (2005)
Tang, H.Z., Liu, T.G.: A note on the conservative schemes for the Euler equations. J. Comput. Phys. 218(1), 451–459 (2006)
Thompson, P. A.: Compressible-Fluid Dynamics. Hamilton Press (1988)
Titarev, V.A., Toro, E.F.: ADER: arbitrary high order godunov approach. J. Sci. Comput. 17, 609–618 (2002)
Titarev, V.A., Toro, E.F.: ADER schemes for three-dimensional hyperbolic systems. J. Comput. Phys. 204, 715–736 (2005)
Toro, E.F.: The weighted average flux method applied to the Euler equations. Philos. Trans. R. Soc. Lond. Ser. A Phys. Sci. Eng. A341, 499–530 (1992)
Toro, E.F., Spruce, M., Speares, W.: Restoration of the contact surface in the HLL-Riemann solver, Technical Report CoA-9204. Department of Aerospace Science, College of Aeronautics, Cranfield Institute of Technology, UK (1992)
Toro, E.F., Spruce, M., Speares, W.: Restoration of the contact surface in the HLL-Riemann solver. Shock Waves 4, 25–34 (1994)
Toro, E.F.: Riemann Solvers and Numerical Methods for Fluid Dynamics, A Practical Introduction. Springer, Berlin (1997)
Toro, E.F., Castro, C.E., Lee, B.J.: A novel numerical flux for the 3D Euler equations with general equation of state. J. Comput. Phys. 303, 80–94 (2015)
Toro, E.F.: The HLLC Riemann solver. Shock Waves 29, 1065–1082 (2019)
Acknowledgements
Jiequan Li is supported by National Natural Science Foundation of China (No. 12072042, 91852207), National Key Project(GJXM92579) and the Sino-German Research Group Project (No. GZ1465).
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Competing Interests
The authors have not disclosed any competing interests.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Appendices
The Details of the Stiffened Gas Approximate GRP Solver
In this appendix, we assume a typical configuration (Rarefaction-Contact-Shock) and extract the detailed formulation of the “two-material” stiffened gas GRP solver. As convention [3,4,5], the GRP solver consists four parts, consistent with the associated Riemann solver: (A) Resolution of rarefaction waves; (B) Tracking of shocks; (C) Bridge by contact discontinuity; and (D) The computation of the time derivative of density \(\rho \). More details can be found in [17].
(A) Resolution of rarefaction waves.
The key idea is to resolve the singularity at (0, 0). It consists of three steps:
-
(I)
Measurement of the expansion of the rarefaction wave. Characteristic coordinates are applied to characterize the expansion of such a rarefaction wave. Let \(\alpha (x,t)=C_1\) and \(\beta (x,t)=C_2\) be the integral curves, respectively, of
$$\begin{aligned} \displaystyle {\frac{dx}{dt}} =u+c, \ \ \ \displaystyle {\frac{dx}{dt}} =u-c. \end{aligned}$$Denote \(\Theta (\beta ):=\frac{\partial t}{\partial \alpha }(0,\beta )\). Then we have
$$\begin{aligned} \displaystyle {\frac{\Theta (\beta )}{\Theta (\beta _L)}} = \left( \displaystyle {\frac{c(0,\beta )}{c_L}}\right) ^{\frac{1}{2\mu _L^2}}, \ \ \ \mu _L^2=\mu ^2(\rho _L)=\frac{\gamma _L-1}{\gamma _L+1}, \end{aligned}$$where \(\beta _L=u_L-c_L\), \(c(0,\beta _*)=c_{*L}\) when \(\beta _*=u_*-c_{*L}\).
-
(II)
The rate of entropy variation across curved rarefaction waves. Across the curved rarefaction wave associated with \(u-c\), the entropy variation \(T\partial S/\partial x(0,\beta )\) in the neighborhood of the singularity point has the change rate,
$$\begin{aligned} \displaystyle {\frac{T \partial S/\partial x(0,\beta )}{T_LS_{L}'}} =\left( \frac{c(0,\beta )}{c_L}\right) ^{\frac{1}{\mu _L^2}+1}. \end{aligned}$$Given the initial state in (4.2), the initial variation of the entropy is known by the Gibbs relation (1.1),
$$\begin{aligned} T_L S_{L}' = e_{L}'-\displaystyle {\frac{p_L}{\rho _L^2}} \rho _{L}'. \end{aligned}$$ -
(III)
The interaction of kinematics and thermodynamics. The entropy variation strongly affects the dynamics of kinematic variables. Apply (3.6) and return to the (x, t)-frame, then we have
$$\begin{aligned} a_L\displaystyle {\frac{D u}{D t}}(0,\beta ) +b_L \displaystyle {\frac{D p}{Dt}}(0,\beta ) =d_L(0,\beta ), \end{aligned}$$where the total (material) derivative \(D/Dt =\partial /\partial t+u\partial /\partial x\), \(\theta (\beta )=c(0,\beta )/c_L\) and
$$\begin{aligned}&a_L = 1, \ \ \ b_L = \displaystyle {\frac{1}{\rho (0,\beta ) c(0,\beta )}},\ \ \ \psi '_L=u'_L+\frac{1}{\rho _L c_L}p'_L+\frac{1}{c_L}T_LS'_L,\\&d_L=\left[ \displaystyle {\frac{1+\mu _L^2}{1+2\mu _L^2}} \left( \theta (\beta )\right) ^{1/(2\mu _L^2)}+\displaystyle {\frac{\mu _L^2}{1+2\mu _L^2}} \left( \theta (\beta )\right) ^{(1+\mu _L^2)/\mu _L^2}\right] T_LS'_L-c_L\left( \theta (\beta )\right) ^{1/(2\mu _L^2)} \psi '_L. \end{aligned}$$
(B) Tracking of the shock.
The resolution of the right shock consists of the singularity tracking technique and the Lax-Wendroff strategy. Let \(x=x(t)\) be a shock with speed \(\sigma =x'(t)\) and separate two states \({\textbf{U}}_R(x,t)\) in the wave front and \({\textbf{U}}_*(x,t)\) in the wave back. For the time being, denote \({\textbf{U}}_*(t) = {\textbf{U}}_*(x(t),t)\) and \({\textbf{U}}_R ={\textbf{U}}_R(x(t),t)\). Using the Rankine-Hugoniot relations, the singularity is tracked by making differentiation along the shock trajectory \(x=x(t)\). Denote
We specify to the shock associated with \(u+c\). The tracking of the right shock can be divided into two steps.
-
(I)
The interaction of kinematics and thermodynamics. The Rankine-Hugoniot relations provide the relation between all thermodynamic variables
$$\begin{aligned} \rho _*=G(p_*;p_R,\rho _R)&=\rho _R\cdot \frac{p_*+\mu _R^2p_R+(1+\mu _R^2)p^R_{\infty }}{p_R+\mu _R^2p_*+(1+\mu _R^2)p^R_{\infty }}, \end{aligned}$$(A.1)and interaction of kinematics and thermodynamics
$$\begin{aligned}&u_*=u_R+\Phi (p_*;p_R,\rho _R)=u_R+(p_*-p_R)\Lambda ^{\frac{1}{2}}, \end{aligned}$$(A.2)where \(\Lambda =(1-\mu _R^2)\tau _R/(p_*+\mu _R^2p_R+(1+\mu _R^2)p_{\infty }^R)\) and \(\mu _R^2=\mu ^2(\rho _R)=\frac{\gamma _R-1}{\gamma _R+1}\).
-
(II)
Tracking the shock trajectory \(x=x(t)\). Take the differentiation along the shock trajectory \(x=x(t)\),
$$\begin{aligned} \displaystyle {\frac{D_\sigma u_*}{Dt}} = \displaystyle {\frac{D_\sigma u_R}{Dt}} + \displaystyle {\frac{\partial \Phi }{\partial p_*}} \displaystyle {\frac{D_\sigma p_*}{Dt}} + \displaystyle {\frac{\partial \Phi }{\partial \rho _R}} \displaystyle {\frac{D_\sigma \rho _R}{Dt}} + \displaystyle {\frac{\partial \Phi }{\partial p_R}} \displaystyle {\frac{D_\sigma p_R}{Dt}}, \end{aligned}$$and the limit along the shock trajectory \(x=x(t)\), we have
$$\begin{aligned} a_R\left( \displaystyle {\frac{D u}{Dt}}\right) _* +b_R\left( \displaystyle {\frac{D p}{Dt}}\right) _* =d_R, \end{aligned}$$where the coefficients \(a_R\), \(b_R\) and \(d_R\) are given in terms of the intermediate state \({\textbf{U}}_*\) and the initial data from the right,
$$\begin{aligned} \begin{array}{l} a_R=1+\rho _{*R}(\sigma -u_*)\displaystyle {\frac{\partial \Phi }{\partial p_*}}(p_*;p_R,\rho _R),\\ b_R=-\left[ \displaystyle {\frac{\sigma -u_*}{\rho _{*R}c_{*R}^2}}+\displaystyle {\frac{\partial \Phi }{\partial p_*}}(p_*;p_R,\rho _R)\right] ,\\ d_R=L_p^R \cdot p_R'+L_u^R \cdot u_R'+L_{\rho }^R \cdot \rho _R'. \\ \end{array} \end{aligned}$$Here
$$\begin{aligned} \begin{array}{l} L_p^R= -\displaystyle {\frac{1}{\rho _R}}+(\sigma -u_R)\displaystyle {\frac{\partial \Phi }{\partial p_R}}(p_*;p_R,\rho _R),\\ L_u^R= \sigma -u_R -\rho _R c_R^2\displaystyle {\frac{\partial \Phi }{\partial p_R}}(p_*;p_R,\rho _R)-\rho _R \displaystyle {\frac{\partial \Phi }{\partial \rho _R}}(p_*;p_R,\rho _R),\\ L_{\rho }^R= (\sigma -u_R)\displaystyle {\frac{\partial \Phi }{\partial \rho _R}}(p_*;p_R,\rho _R), \end{array} \end{aligned}$$and
$$\begin{aligned} \begin{array}{l} \displaystyle {\frac{\partial \Phi }{\partial p_*}}=\frac{\sqrt{\Lambda }}{2}\frac{p_*+(1+2\mu _{R}^2)p_R+2(1+\mu _R^2)p^R_{\infty }}{(p_*+\mu _R^2p_R+(1+\mu _R^2)p^R_{\infty })^2},\\ \displaystyle {\frac{\partial \Phi }{\partial p_R}}=-\frac{\sqrt{\Lambda }}{2}[\frac{(\mu _R^2+2)p_*+\mu _R^2p_R+2(1+\mu _R^2)p^R_{\infty }}{p_*+\mu _R^2p_R+(1+\mu _R^2)p^R_{\infty }}],\\ \displaystyle {\frac{\partial \Phi }{\partial \rho _R}}=-\frac{p_*-p_R}{2\rho _R}\sqrt{\Lambda }. \end{array} \end{aligned}$$
(C) Bridge by contact discontinuity.
Thanks to the continuity property of u and p across the contact discontinuity, their material derivatives keep continuous, respectively. It turns out that the contact discontinuity bridges two sub-regions between the shock and the rarefaction waves,
Solving this algebraic system provides \(\left( \displaystyle {\frac{D u}{Dt}}\right) _*\) and \(\left( \displaystyle {\frac{D p}{Dt}}\right) _*\), we obtain
where \((\rho _*,u_*,p_*)\) is the solution of the associated Riemann problem and \(c_*=c(\rho _*,p_*)\).
(D) The computation of the time derivative of density \(\rho \)
If \(u_*>0\), we return to the rarefaction wave by using \(S_t=-uS_x\) to derive
If \(u_*<0\), the limiting value \((\frac{\partial \rho }{\partial t})_*\) is derived by the Rankine-Hugoniot relation
where
The HLLC Solver for General EOS and Its Second Order Extension
The HLLC approximate Riemann solver [30,31,32] is an extension of the HLL Riemann solver in [13] in order to avoid the excessive numerical dissipation of HLL for intermediate characteristic fields. It has been widely applied for the shallow water equations, the Euler equations and the augmented equations for multicomponent flows etc. A detailed review of the HLLC solver can be find in [35] and its second order extension is inspired by [14] for a two-phase model of reactive flow with general equation of state. Below we recall the version of a single material.
1.1 Wave Speed Estimates
A 3-wave model is assumed for the HLLC solver and the contact wave is included in the structure. The“pressure-based” wave speed estimate is adopted,
The parameters \(\gamma \) and \(p_{\infty }\) are derived by
where \(\gamma _i\) and \(p_{\infty }^i\), \(i=L\) or R, are the stiffened gas approximation (1.8) of the general EOS.
1.2 The HLLC Numerical Fluxes
For a first order scheme, the discretization of (2.1) can be written as
The HLLC numerical flux is evaluated as
with
1.3 Runge-Kutta Time-Stepping for HLLC Solver
The two-stage Runge-Kutta method is applied for the second order HLLC scheme. The spatial reconstruction is done by
Then the conservative quantities are updated by
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Wang, Y., Li, J. Stiffened Gas Approximation and GRP Resolution for Compressible Fluid Flows of Real Materials. J Sci Comput 95, 22 (2023). https://doi.org/10.1007/s10915-023-02140-6
Received:
Revised:
Accepted:
Published:
DOI: https://doi.org/10.1007/s10915-023-02140-6
Keywords
- Compressible fluid flows
- Real materials
- Equation of state
- Riemann solver
- GRP solver
- Stiffened gas approximation