Skip to main content
Log in

Numerical simulation of shock-induced motion of a cuboidal solid body using the overset grid functionality of OpenFOAM

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

Abstract

Numerical simulation of the motion of a cuboidal solid body induced by a propagating shock wave was conducted by using the overset grid functionality of OpenFOAM (v1712). A body-fitted grid associated with the moving body was overlapped with a background Cartesian grid fixed in space, and transient, three-dimensional, inviscid flows around the moving body were simulated coupled with the six-degrees-of-freedom motion of the solid body. The results from the present simulation were compared with those from shock tube experiments, in which the shock-induced motion of a cuboidal solid body floating in air and the flow field around the solid body were visualized using the shadowgraph technique and recorded by a high-speed video camera with a frame rate of 20,000 frames per second. The good agreement found between the numerical and experimental results for the translational and angular displacements of the shocked solid body indicates the capability of OpenFOAM to predict the shock-induced motion of a solid body.

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.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12

Similar content being viewed by others

References

  1. Courant, R., Friedrichs, K.O.: Supersonic Flow and Shock Waves, pp. 178–179. Springer, New York (1976)

    Book  Google Scholar 

  2. Fan, L.-S., Zhu, C.: Principles of Gas-Solid Flows, p. 265. Cambridge University Press, Cambridge (1997). https://doi.org/10.1017/CBO9780511530142

    Book  Google Scholar 

  3. Igra, O., Ben-Dor, G.: Dusty shock waves. Appl. Mech. Rev. 41, 379–437 (1988). https://doi.org/10.1115/1.3151872

    Article  Google Scholar 

  4. Hoglund, R.F.: Recent advances in gas particle nozzle flows. J. Am. Rocket Soc. 32, 662–671 (1962). https://doi.org/10.2514/8.6121

    Article  Google Scholar 

  5. Eckhoff, R.K.: Explosion Hazards in the Process Industries, 2nd edn., pp. 253–383. Elsevier, Amsterdam (2016). https://doi.org/10.1016/C2014-0-03887-7

    Book  Google Scholar 

  6. Sun, M., Takayama, K., Timofeev, E., Voinovich, P.: Numerical simulation of the aerodynamic shock-cylinder interaction. In: Houwing, A.F.P. (ed.) Proceedings of the 21st International Symposium on Shock Waves, pp. 1481–1486. University of Queensland, Australia (1997)

  7. Falcovitz, J., Alfandary, G., Hanoch, G.: A 2-D conservation laws scheme for compressible flows with moving boundaries. J. Comput. Phys. 138, 83–102 (1997). https://doi.org/10.1006/jcph.1997.5808

    Article  MathSciNet  MATH  Google Scholar 

  8. Meakin, R.L.: Composite overset structured grids. In: Thompson, J.F., Soni, B.K., Weatherill, N.P. (eds.) Handbook of Grid Generation, pp. 11.1-11.20. CRC Press, Boca Raton (1999)

    Google Scholar 

  9. OpenCFD Ltd.: OpenFOAM. Accessed Sept. 18, 2019. https://www.openfoam.com/

  10. Jasak, H.: Error analysis and estimation for finite volume method with applications to fluid flows. Ph.D. thesis, Imperial College, University of London (1996)

  11. Weller, H.G., Tabor, G., Jasak, H., Fureby, C.A.: A tensorial approach to computational continuum mechanics using object-oriented techniques. Comput. Phys. 12, 620–631 (1998). https://doi.org/10.1063/1.168744

    Article  Google Scholar 

  12. Stroustrup, B.: The C++ Programming Language, 4th edn. Addison-Wesley, Boston (2013)

    MATH  Google Scholar 

  13. Robertson, E., Choudhury, V., Bhushan, S., Walters, D.K.: Validation of OpenFOAM numerical methods and turbulence models for incompressible bluff body flows. Comput. Fluids 123, 122–145 (2015). https://doi.org/10.1016/j.compfluid.2015.09.010

    Article  MathSciNet  MATH  Google Scholar 

  14. Bensow, R.E., Bark, G.: Simulating cavitating flows with LES in OpenFOAM. In: Pereira, J.C.F., Sequeria, A. (eds.) 5th European Conference on Computational Fluid Dynamics, ECCOMASS CFD 2010 (2010)

  15. Hori, T., Hanasaki, M., Komae, J., Matsumura, E., Senda, J.: Compressible large-eddy simulation of diesel spray structure using OpenFOAM. SAE Technical Paper 2015-01-1858 (2015). https://doi.org/10.4271/2015-01-1858

  16. Chen, G., Xiong, Q., Morris, P.J., Paterson, E.G., Sergeev, A., Wang, Y.-C.: OpenFOAM for computational fluid dynamics. Not. Am. Math. Soc. 61, 354–363 (2014). https://doi.org/10.1090/noti1095

    Article  MathSciNet  MATH  Google Scholar 

  17. Ltd, OpenCFD.: OpenFOAM®v1706: New and improved numerics. Accessed Sept. 18, 2019 (2017). https://www.openfoam.com/news/main-news/openfoam-v1706/numerics#numerics-overset. Accessed 14 Sept 2021

  18. OpenCFD Ltd.: OpenCFD release OpenFOAM®v1712. Accessed Sept. 18, 2019 (2017). https://www.openfoam.com/releases/openfoam-v1712

  19. Goldstein, H., Poole, C., Safko, J.: Classical Mechanics, 3rd edn., pp. 198–200. Addison-Wesley, San Francisco (2002)

  20. Murman, S.M., Aftosmis, M.J., Berger, M.J.: Simulations of 6-DOF motion with a Cartesian method. 41st Aerospace Sciences Meeting and Exhibit, Reno, NV, AIAA Paper 2003-1246 (2003). https://doi.org/10.2514/6.2003-1246

  21. Issa, R.I.: Solution of implicitly discretized fluid flow equations by operator-splitting. J. Comput. Phys. 62, 40–65 (1986). https://doi.org/10.1016/0021-9991(86)90099-9

    Article  MathSciNet  MATH  Google Scholar 

  22. Patankar, S.V.: Numerical Heat Transfer and Fluid Flow, pp. 126–130. CRC Press, Boca Raton (1980). https://doi.org/10.1201/9781482234213

    Book  MATH  Google Scholar 

  23. Fertziger, J.H., Perić, M.: Computational Methods for Fluid Dynamics, 3rd edn., pp. 71–89. Springer, Berlin (2002). https://doi.org/10.1007/978-3-642-56026-2

  24. Sod, G.A.: A survey of several finite-differences methods for systems of nonlinear hyperbolic conservation laws. J. Comput. Phys. 27, 1–31 (1978). https://doi.org/10.1016/0021-9991(78)90023-2

    Article  MathSciNet  MATH  Google Scholar 

  25. Newmark, N.M.: A method of computation for structural dynamics. J. Eng. Mech. Div. 85, 67–94 (1959)

    Article  Google Scholar 

  26. Liepmann, H.W., Roshko, A.: Elements of Gasdynamics, p. 64. Dover Pub, New York (2001)

    MATH  Google Scholar 

  27. OpenCFD Ltd.: OpenFOAM Documentation. Accessed Sept. 18, 2019 (2018). https://openfoam.com/documentation

  28. Tisovska, P.: Description of the overset mesh approach in ESI version of OpenFOAM. In: Nilsson, H. (ed.) Proceedings of CFD with Open Source Software (2019). https://doi.org/10.17196/OS_CFD#YEAR_2019

  29. Oshima, M., Nakayama, K., Sakamura, Y.: Shock wave interaction with a solid body floating in the air. In: Kontis, K. (ed.) Shock Wave Interactions, pp. 73–82. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-73180-3_5

  30. Settles, G.S.: Schlieren and Shadowgraph Techniques, pp. 143–163. Springer, Berlin (2001). https://doi.org/10.1007/978-3-642-56640-0

    Book  MATH  Google Scholar 

  31. Ayachit, U.: The ParaView Guide: A Parallel Visualization Application. Kitware, New York (2015)

    Google Scholar 

  32. Anderson, J.D.: Introduction to Flight, 6th edn., p. 563. McGraw-Hill, New York (2008)

    Google Scholar 

  33. Hirsch, C.: Numerical Computation of Internal and External Flows, Vol. 2: Computational Methods for Inviscid and Viscous Flows, pp. 204–209. Wiley, Chichester (1990)

  34. Roache, P.J.: Verification and Validation in Computational Science and Engineering, pp. 130–132. Hermosa, Abuquerque (1998)

    Google Scholar 

Download references

Acknowledgements

The authors are grateful to S. Nakagawa from Toyama Prefectural University for introducing OpenFOAM and helpful suggestions on the use of OpenFOAM. This work was supported by JSPS KAKENHI Grant Number JP21K03880.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Y. Sakamura.

Additional information

Communicated by A. Hadjadj.

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

This paper is based on work that was presented at the 32nd International Symposium on Shock Waves, Singapore, July 14–19, 2019.

Appendices

Validation of the numerical solver

This appendix describes the validation test for the numerical solver used in the present work. The numerical solver was validated by the standard shock tube (or one-dimensional Riemann) problem, which was first suggested by Sod [24]. The initial conditions are the following:

$$\begin{aligned} \left\{ \begin{array}{llll} u =0~\mathrm {m/s}, &{} p=100~\mathrm {kPa}, &{} \rho =1~\mathrm {kg/m}^3 &{} \text{ for } x < 5~\mathrm {m}\\ u = 0~\mathrm {m/s}, &{} p=10~\mathrm {kPa}, &{} \rho =0.125~\mathrm {kg/m}^3 &{} \text{ for } x >5~\mathrm {m} \end{array} \right. \end{aligned}$$
(9)

where x is the one-dimensional coordinate along the longitudinal direction of a shock tube of 10 m in length, in which a diaphragm is located at \(x=5~\mathrm {m}\), and u is the flow velocity in the x-direction. In the present validation test, the shock tube was divided by 250 cells in the x-direction.

Figure 13a–c illustrates the distributions of density, pressure, and velocity along the shock tube, respectively, at 6 ms after the rupture of the diaphragm. The analytical solutions for the shock tube problem [33] are also shown in these figures by solid lines. It is seen from these figures that these typical flow properties obtained from the present numerical solvers well agree with those from the analytical solutions. Although there are overshoot and oscillation in the velocity distribution from the numerical solution, they are limited just behind the shock front, and the overall flow velocity is well captured. From the comparison between the numerical and the analytical solutions, it can be said the present numerical solvers can be used for the simulation of unsteady flows with shock waves.

Fig. 13
figure 13

Comparisons of typical flow properties at 6 ms after the rupture of the diaphragm obtained by the numerical solvers used in the present work with those from the analytical solutions (open circles: numerical solutions, solid lines: analytical solutions)

Grid convergence test

Preliminary numerical simulations were conducted to determine the cell size required to reproduce the shock-induced motion of the cuboidal solid body. The cell numbers of the grid systems used for the present and preliminary simulations are summarized in Table 2.

In Fig. 14, the time histories of the translational and angular displacements of the shocked solid body such as shown in Fig. 11 are compared with each other. It is found that these results clearly show the converging trend for the grid refinement. In particular, the translational displacements of the solid body obtained with Grid 1 are practically the same as those with Grid 2 (see Fig. 14a, b).

On the other hand, the discrepancy in the angular displacement between the two results becomes noticeable with time (Fig. 14c). In order to estimate how much the solutions were converged, we determined the observed order of convergence P for the angular displacement at \(t=5\) ms according to Roache’s methodology (Eq. (5.10.6.3) in [34]) and found that \(P = 1.71\) based on the cell numbers of the body-fitted grids. The grid convergence index (GCI) for Grid 1 and Grid 2 and that for Grid 2 and Grid 3 were then evaluated as GCI\(_{12}=11.0\)% and GCI\(_{23}=18.1\)%, respectively. Since the ratio \(\mathrm {GCI}_{23}/(r_{12}^P\mathrm {GCI}_{12})\), where \(r_{12}\) is the effective grid refinement ratio [34] for Grid 1 and Grid 2, is approximately one, it can be said that the solutions are within the asymptotic range of convergence for the angular displacement of the solid body. We have eventually decided to use Grid 1 for the present work.

Table 2 Cell numbers of the three different grid systems
Fig. 14
figure 14

Comparisons of the time histories of the displacements of the shocked solid body obtained with three different grid systems shown in Table 2

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Sakamura, Y., Nakayama, K. & Oshima, M. Numerical simulation of shock-induced motion of a cuboidal solid body using the overset grid functionality of OpenFOAM. Shock Waves 31, 583–595 (2021). https://doi.org/10.1007/s00193-021-01035-5

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00193-021-01035-5

Keywords

Navigation