Skip to main content
Log in

The impact of the form of the Euler equations for radial flow in cylindrical and spherical coordinates on numerical conservation and accuracy

  • Original Article
  • Published:
Shock Waves Aims and scope Submit manuscript

Abstract

The radial one-dimensional Euler equations are often rewritten in what is known as the geometric source form. The differential operator is identical to the Cartesian case, but source terms result. Since the theory and numerical methods for the Cartesian case are well-developed, they are often applied without modification to cylindrical and spherical geometries. However, numerical conservation is lost. In this article, AUSM\(^+\)-up is applied to a numerically conservative (discrete) form of the Euler equations labeled the geometric form, a nearly conservative variation termed the geometric flux form, and the geometric source form. The resulting numerical methods are compared analytically and numerically through three types of test problems: subsonic, smooth, steady-state solutions, Sedov’s similarity solution for point or line-source explosions, and shock tube problems. Numerical conservation is analyzed for all three forms in both spherical and cylindrical coordinates. All three forms result in constant enthalpy for steady flows. The spatial truncation errors have essentially the same order of convergence, but the rate constants are superior for the geometric and geometric flux forms for the steady-state solutions. Only the geometric form produces the correct shock location for Sedov’s solution, and a direct connection between the errors in the shock locations and energy conservation is found. The shock tube problems are evaluated with respect to feature location using an approximation with a very fine discretization as the benchmark. Extensions to second order appropriate for cylindrical and spherical coordinates are also presented and analyzed numerically. Conclusions are drawn, and recommendations are made. A derivation of the steady-state solution is given in the Appendix.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15
Fig. 16
Fig. 17
Fig. 18
Fig. 19
Fig. 20

Similar content being viewed by others

References

  1. Tannehill, J., Anderson, D., Pletcher, R.: Computational Fluid Mechanics and Heat Transfer, 2nd edn. Taylor & Francis, Philadelphia (1984)

    MATH  Google Scholar 

  2. Falle, S.A.E.G.: Self-similar jets. Mon. Not. R. Astron. Soc. 250, 581–596 (1991). https://doi.org/10.1093/mnras/250.3.581

  3. Mönchmeyer, R., Müller, E.: A conservative second order difference scheme for curvilinear coordinates. Astron. Astrophys. 217, 351–367 (1989)

    MATH  Google Scholar 

  4. Li, S.: Weno Schemes for Cylindrical and Spherical Geometry. Los Alamos Report, vol. LA-UR-03-8922, pp. 1–14. Los Alamos National Laboratory, Los Alamos (2003)

  5. Sedov, L.I.: Similarity and Dimensional Methods in Mechanics, 10th edn. CRC Press, Boca Raton (1993)

    Google Scholar 

  6. Wang, S., Johnsen, E.: High-order schemes for the Euler equations in cylindrical/spherical coordinates, pp. 1–17 (2017). arXiv:1701.04834v1

  7. Toro, E.F.: Riemann Solvers and Numerical Methods for Fluid Dynamics, 3rd edn. Springer, Berlin (2009). https://doi.org/10.1007/b79761

  8. Guardone, A., De Santis, D., Geraci, G., Pasta, M.: On the relation between finite element and finite volume schemes for compressible flows with cylindrical and spherical symmetry. J. Comput. Phys. 230, 680–694 (2011). https://doi.org/10.1016/j.jcp.2010.10.012

  9. Guardone, A., Vigevano, L.: Finite element/volume solution to axisymmetric conservation laws. J. Comput. Phys. 224, 489–518 (2007). https://doi.org/10.1016/j.jcp.2006.08.018

  10. Liou, M.S.: A sequel to AUSM: AUSM\(^+\). J. Comput. Phys. 129, 364–382 (1996). https://doi.org/10.1006/jcph.1996.0256

  11. Liou, M.S.: A sequel to AUSM, Part II: AUSM\(^+\)-up for all speeds. J. Comput. Phys. 214, 137–370 (2006). https://doi.org/10.1016/j.jcp.2005.09.020

  12. van Leer, B.: Towards the ultimate conservative difference scheme. J. Comput. Phys. 32, 101–136 (1979). https://doi.org/10.1016/0021-9991(79)90145-1

  13. Clain, S., Rochette, D., Touzani, R.: A multislope muscle method on unstructured meshes applied to compressible euler equations for swirling flows. HAL Arch. 00340087, 1–30 (2008)

    MATH  Google Scholar 

  14. LeVeque, R.J.: Numerical Methods for Conservation Laws, 2nd edn. Birkhäuser, Basel (1992). https://doi.org/10.1007/978-3-0348-8629-1

  15. Sundqvist, H., Veronis, G.: A simple finite difference grid with non-constant intervals. Tellus 22, 26–31 (1970). https://doi.org/10.3402/tellusa.v22i1.10155

  16. Gottlieb, S., Shu, C.-W.: Total variation diminishing Runge–Kutta schemes. Math. Comput. 67, 73–85 (1998). https://doi.org/10.1090/S0025-5718-98-00913-2

  17. Kamm, J.R.: Evaluation of the Sedov–von Neumann–Taylor Blast Wave Solution. Los Alamos Report, vol. LA-UR-00-6055, pp. 1–42. Los Alamos National Laboratory, Los Alamos (2000)

  18. Kamm, J.R., Timmes, F.X.: On Efficient Generation of Numerically Robust Sedov Solutions. Los Alamos Report, vol. LA-UR-07-2849, pp. 1–60. Los Alamos National Laboratory, Los Alamos (2007)

  19. Landau, L.D., Lifshitz, E.M.: Fluid Mechanics, 2nd edn. Elsevier, Oxford (1987)

    MATH  Google Scholar 

  20. Advanpix LLC: Multiprecision Computing Toolbox for MATLAB 3.3.0.9998. Advanpix LLC, Yokohoma (2015)

  21. Reile, C., Gehren, T.: Numerical simulation of photospheric convection in solar-type stars. Astron. Astrophys. 242, 142–174 (1991)

    MATH  Google Scholar 

  22. Brode, H.L.: A Calculation of the Blast Wave from a Spherical Charge of TNT, vol. RM-1965, pp. 1–61. Rand Corporation, Santa Monica (1957)

  23. Brode, H.L.: Blast wave from a spherical charge. Phys. Fluids 2, 217–229 (1959). https://doi.org/10.1063/1.1705911

  24. Pagendarm, H.G., Seitz, B.: An algorithm for the detection and visualization of discontinuities in scientific data fields applied to flow data with shock waves. In: Palamidese, P. (ed.) Scientific Visualization: Advanced Software Techniques. Prentice Hall, Delhi (1993)

    Google Scholar 

Download references

Acknowledgements

This work was supported by the U.S. Department of Energy, National Nuclear Security Administration, Advanced Simulation and Computing Program, as a Cooperative Agreement under the Predictive Science Academic Alliance Program, under Contract No. DE-NA0002378 and Defense Threat Reduction Agency, Basic Research Award No. HDTRA1-14-1-0028 to University of Florida.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to P. E. Crittenden.

Additional information

Communicated by D. Frost and A. Higgins.

Appendix: Steady-state solutions

Appendix: Steady-state solutions

In this Appendix, the steady-state solution for radial flows is derived based only on the assumption that the density, pressure, and velocity exist at some point. Therefore, it is representative of all smooth steady-state solutions in radial coordinates. Clain et al. [13] derived a differential equation for pressure under essentially the same assumptions which they then solved numerically. Here, the full solution is obtained analytically. Plots of their solution are qualitatively similar to the results given here.

The steady Euler equations with an axis of symmetry may be written as

$$\begin{aligned}&\frac{\partial }{\partial r} \left( r^\alpha \rho u \right) = 0, \end{aligned}$$
(80)
$$\begin{aligned}&\frac{\partial }{\partial r} \left( r^\alpha \rho u^2 \right) = -r^\alpha \frac{\partial P}{\partial r}, \end{aligned}$$
(81)
$$\begin{aligned}&\frac{\partial }{\partial r} \left( r^\alpha \rho H u \right) = 0, \end{aligned}$$
(82)

where \(\alpha =0,\;1,\;2\) for Cartesian, cylindrical, or spherical coordinates, respectively. The variables are scaled by the values at a reference radius \(r=r_\mathrm {R}\):

$$\begin{aligned} \begin{array}{ll} {\tilde{r}}=r/r_\mathrm {R},&{}\quad \tilde{u}=u(r)/u_\mathrm {R},\\ \tilde{\rho }=\rho (r)/\rho _\mathrm {R},&{}\quad \tilde{p}=p(r)/p_\mathrm {R}, \end{array} \end{aligned}$$
(83)

where a subscript of \(\mathrm {R}\) indicates evaluation at \(r=r_\mathrm {R}\). Assuming an ideal gas, the equations become (dropping the tildes immediately):

$$\begin{aligned}&\frac{\partial }{\partial r} \left( r^\alpha \rho u \right) = 0, \end{aligned}$$
(84)
$$\begin{aligned}&\frac{\partial }{\partial r} \left( r^\alpha \rho u^2 \right) + r^\alpha \text {Eu} \frac{\partial P}{\partial r} =0, \end{aligned}$$
(85)
$$\begin{aligned}&\frac{\partial }{\partial r} \left[ r^\alpha \rho u \left( \frac{\gamma }{\gamma -1} \frac{p}{\rho } \text {Eu} + \frac{u^2}{2} \right) \right] = 0, \end{aligned}$$
(86)

subject to \(u(1)=1\), \(p(1)=1\), \(\rho (1)=1\), and where \(\text {Eu}=P_\mathrm {R}/(\rho _r u_\mathrm {R}^2)\). Integrating the first and third equation give:

$$\begin{aligned}&r^\alpha \rho u = c_1, \end{aligned}$$
(87)
$$\begin{aligned}&\left( \frac{\gamma }{\gamma -1} \frac{P}{\rho } \text {Eu} + \frac{u^2}{2} \right) = c_2. \end{aligned}$$
(88)

Evaluating at \(r=1\):

$$\begin{aligned} c_1 =1, \qquad c_2 = \left( \frac{\gamma }{\gamma -1} \text {Eu} + \frac{1}{2} \right) . \end{aligned}$$
(89)

Solving for P in terms of \(c_2\) and using \(\rho =1/(r^\alpha u)\):

$$\begin{aligned} P= \frac{\gamma -1}{\gamma \text {Eu}} \frac{1}{r^\alpha u}\left( c_2 -\frac{u^2}{2}\right) . \end{aligned}$$
(90)

Substituting into the momentum equation (85), and using \(r^\alpha \rho u=1\) yields

$$\begin{aligned} \frac{\hbox {d}u}{\hbox {d}r} = -r^\alpha \text {Eu} \frac{\hbox {d}}{\hbox {d}r} \left[ \frac{\gamma -1}{\gamma \text {Eu}} \frac{1}{r^\alpha u}\left( c_2 -\frac{u^2}{2}\right) \right] . \end{aligned}$$
(91)

Separating variables, integrating and applying the boundary conditions

$$\begin{aligned} \frac{1}{u} \left( \frac{2c_2-1}{2c_2-u^2}\right) ^{\frac{1}{\gamma -1}} = r^\alpha . \end{aligned}$$
(92)

This gives u implicitly as a function of r. However, r can be found explicitly as a function of u. Hence, for a range of values of u, the corresponding values of r may be found and then the density and pressure are given by

$$\begin{aligned} \rho&= \left( \frac{2c_2-u^2}{2c_2-1}\right) ^{\frac{1}{\gamma -1}}, \end{aligned}$$
(93)
$$\begin{aligned} P&= \frac{\gamma -1}{2\gamma \text {Eu}} \frac{\left( 2c_2-u^2\right) ^{\frac{\gamma +1}{\gamma -1}}}{\left( 2c_2-1\right) ^{\frac{1}{\gamma -1}}}. \end{aligned}$$
(94)

In order to find the interval of existence of the solution, writing (92) as

$$\begin{aligned} u \left( 2c_2-u^2\right) ^{\frac{1}{\gamma -1}} = r^{-\alpha } \left( 2c_2-1\right) ^{\frac{1}{\gamma -1}}, \end{aligned}$$
(95)

and differentiating implicitly led to

$$\begin{aligned}&\frac{\hbox {d}u}{\hbox {d}r}\left( 2c_2-u^2\right) ^{\frac{2-\gamma }{\gamma -1}}\left[ 2c_2-u^2 \left( \frac{\gamma +1}{\gamma -1}\right) \right] \nonumber \\&\quad = \alpha r^{-(\alpha +1)}(2c_2-1)^{\frac{1}{\gamma -1}}. \end{aligned}$$
(96)

The quantity in square brackets is more restrictive on the values of u than the factor before it. Using the definition of \(c_2\), we find that (in the unscaled variables)

$$\begin{aligned} u^2 < 2\frac{\gamma -1}{\gamma +1} H_\mathrm {R}=a^*, \end{aligned}$$
(97)

where \(H_\mathrm {R}\) is the enthalpy evaluated at \(r=R\) (or any other point, since H is constant) and \(a^*\) is the critical speed of sound. In particular, \(2c_2-u^2 \ne 0\) is equivalent to requiring the internal energy be positive, while

$$\begin{aligned} 2c_2-u^2 \frac{\gamma +1}{\gamma -1} \ne 0, \end{aligned}$$
(98)

is equivalent to requiring u to be subsonic.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Crittenden, P.E., Balachandar, S. The impact of the form of the Euler equations for radial flow in cylindrical and spherical coordinates on numerical conservation and accuracy. Shock Waves 28, 653–682 (2018). https://doi.org/10.1007/s00193-017-0784-y

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00193-017-0784-y

Keywords

Navigation