Skip to main content

An Improved Density-Based Compressible Flow Solver in OpenFOAM for Unsteady Flow Calculations

  • Chapter
  • First Online:
Advances in Fluid Mechanics

Part of the book series: Forum for Interdisciplinary Mathematics ((FFIM))

Abstract

OpenFOAM is a C++ programming language-based open-source platform for finite volume calculations in CFD. rhoCentralFoam is a density-based compressible flow solver widely used in the OpenFOAM community either directly for various kinds of flow solutions or for the development of other derived solvers for handling some specialized problems such as combustion, high enthalpy hypersonic flow simulations etc. The current implementation of rhoCentralFoam solver is second-order accurate in space but provides a stable solution with first-order time accurate scheme only. Moreover, rhoCentralFoam solver has been reported to breakdown for the solution of very low Mach number flows. In rhoCentralFoam, the governing equations are time-integrated sequentially resulting in numerical instabilities such as spurious oscillations even at low CFL numbers. To remedy this issue, the authors implement and demonstrate an improved solution technique, which time integrates the governing equations simultaneously for inviscid flow. The viscous solution is still obtained through an operator-splitting method as used in rhoCentralFoam. Implicit discretization of the corrector step ensures that there is no added restriction on time step for diffusion dominated flows due to high Peclet number. However, the maximum CFL number needs to be restricted to 1.0 due to the use of explicit time integration method. This improved algorithm is found to be highly stable without much numerical dissipation and can produce non-oscillatory solutions at a CFL number close to 1.0.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 139.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 179.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 179.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. C.J. Greenshields, OpenFOAM Foundation Ltd, version 3(1), 47 (2015)

    Google Scholar 

  2. Greenshields, C.J., Weller, H.G., Gasparini, L., Reese, J.M.: Int. J. Numer. Meth. Fluids 63(1), 1 (2010)

    Google Scholar 

  3. Casseau, V., Espinoza, D., Scanlon, T., Brown, R.: Aerospace 3(4), 45 (2016)

    Article  Google Scholar 

  4. Kraposhin, M., Bovtrikova, A., Strijhak, S.: Procedia Comput. Sci. 66, 43 (2015)

    Article  Google Scholar 

  5. Chase  M.W., Jr: J. Phys. Chem. Ref. Data, Monograph 9 (1998)

    Google Scholar 

  6. Kurganov, A., Tadmor, E.: J. Comput. Phys. 160(1), 241 (2000)

    Article  MathSciNet  Google Scholar 

  7. Kurganov, A., Noelle, S., Petrova, G.: SIAM J. Sci. Comput. 23(3), 707 (2001)

    Article  MathSciNet  Google Scholar 

  8. Sod, G.A.: J. Comput. Phys. 27(1), 1 (1978)

    Article  MathSciNet  Google Scholar 

  9. Taylor, E.M., Wu, M., Martín, M.P.: J. Comput. Phys. 223(1), 384 (2007)

    Article  Google Scholar 

  10. Emery, A.F.: J. Comput. Phys. 2(3), 306 (1968)

    Article  MathSciNet  Google Scholar 

  11. Chang, S.M., Chang, K.S.: Shock Waves 10(5), 333 (2000)

    Article  Google Scholar 

  12. Ladenburg, R., Van Voorhis, C., Winckler, J.: Phys. Rev. 76(5), 662 (1949)

    Article  Google Scholar 

  13. Armaly, B.F., Durst, F., Pereira, J., Schönung, B.: J. Fluid Mech. 127, 473 (1983)

    Article  Google Scholar 

  14. Kraposhin, M.V., Smirnova, E.V., Elizarova, T.G., Istomina, M.A.: Comput. Fluids 166, 163 (2018)

    Article  MathSciNet  Google Scholar 

  15. https://turbmodels.larc.nasa.gov/naca0012_val.html. Accessed 2020-09-19

  16. Spalart, P., Allmaras, S.: In: 30th Aerospace Sciences Meeting and Exhibit (1992), p. 439

    Google Scholar 

  17. Spalding, D.: J. Appl. Mech. 28(3), 455 (1961)

    Article  Google Scholar 

  18. Gregory, N., O’reilly, C.: Low-Speed aerodynamic characteristics of NACA 0012 aerofoil section, including the effects of upper-surface roughness simulating hoar frost. HM Stationery Office London (1973)

    Google Scholar 

  19. Ladson, C.L., Hill, A.S., Johnson, W.G. Jr: (1987)

    Google Scholar 

  20. McAlister, K.W., Carr, L.W., McCroskey, W.J.: (1978)

    Google Scholar 

Download references

Acknowledgements

Simulations are carried out on the computers provided by National PARAM Supercomputing Facility (CDAC) (www.cdac.in) and the manuscript preparation as well as data analysis have been carried out using the resources available at IITK. The support is gratefully acknowledged.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Gaurav Kumar .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Kumar, G., De, A. (2022). An Improved Density-Based Compressible Flow Solver in OpenFOAM for Unsteady Flow Calculations. In: Zeidan, D., Zhang, L.T., Da Silva, E.G., Merker, J. (eds) Advances in Fluid Mechanics. Forum for Interdisciplinary Mathematics. Springer, Singapore. https://doi.org/10.1007/978-981-19-1438-6_2

Download citation

Publish with us

Policies and ethics