DOI QR코드

DOI QR Code

A study on temporal accuracy of OpenFOAM

  • Lee, Sang Bong (Department of Naval Architecture and Offshore Engineering, Dong-A University)
  • Received : 2016.08.01
  • Accepted : 2016.11.26
  • Published : 2017.07.31

Abstract

Cranke-Nicolson scheme in native OpenFOAM source libraries was not able to provide 2nd order temporal accuracy of velocity and pressure since the volume flux of convective nonlinear terms was 1st accurate in time. In the present study the simplest way of getting the volume flux with 2nd order accuracy was proposed by using old fluxes. A possible numerical instability originated from an explicit estimation of volume fluxes could be handled by introducing a weighting factor which was determined by observing the ratio of the finally corrected volume flux to the intermediate volume flux at the previous step. The new calculation of volume fluxes was able to provide temporally accurate velocity and pressure with 2nd order. The improvement of temporal accuracy was validated by performing numerical simulations of 2D Taylor-Green vortex of which an exact solution was known and 2D vortex shedding from a circular cylinder.

Keywords

References

  1. Cao, S., Ge, Y., Tamura, Y., 2010. Mechanism of the lift force on the circular and square cylinders in shear flows. In: 5th International Symposium on Computational Wind Engineering, May 23-27, North Carolina, USA.
  2. Kim, K., Baek, S.-J., Sung, H.J., 2002. An implicit velocity decoupling procedure for the incompressible Navier-Stokes equations. Int. J. Numer. Methods Fluids 38, 125-138. https://doi.org/10.1002/fld.205
  3. Lee, H.B., Rhee, S.H., 2015. A dynamic interface compression method for VOF simulations of high-speed planing watercraft. J. Mech. Sci. Technol. 29, 1849-1857. https://doi.org/10.1007/s12206-015-0405-6
  4. Lee, S.B., 2014. Application of OpenFOAM to prediction of hull resistance. In: 9th International OpenFOAM Workshop, June 23-26, Zagreb, Croatia.
  5. Leonard, B.P., 1979. A stable and accurate convective modelling procedure based on quadratic upstream interpolation. Comput. Methods Appl. Mech. Eng. 19 (1), 59-98. https://doi.org/10.1016/0045-7825(79)90034-3
  6. OpenFOAM User Guide by OpenFOAM Foundation Ltd. (founded in http://openfoam.org/).
  7. Park, S., Rhee, S.H., 2012. Computational analysis of turbulent supercavitating flow around a two-dimensional wedge-shaped cavitator geometry. Comput. Fluids 70, 73-85. https://doi.org/10.1016/j.compfluid.2012.09.012
  8. Park, S., Rhee, S.H., 2013. Numerical analysis of the three-dimensional cloud cavitating flow around a twisted hydrofoil. Fluid Dyn. Res. 45, 1-20.
  9. Rajani, B.N., Kandasamy, A., Majumdar, S., 2009. Numerical simulation of laminar flow past a circular cylinder. Appl. Math. Model. 33, 1228-1247. https://doi.org/10.1016/j.apm.2008.01.017
  10. van Leer, B., 1979. Towards the ultimate conservative difference scheme, V. A second order sequel to Godunov's method. J. Comput. Phys. 32, 101-136. https://doi.org/10.1016/0021-9991(79)90145-1
  11. Williamson, C.H.K., 1989. Oblique and parallel modes of vortex shedding in the wake of a circular cylinder at low Reynolds numbers. J. Fluid Mech. 206, 579-627. https://doi.org/10.1017/S0022112089002429

Cited by

  1. Large-Eddy Simulation of Reacting Flows in Industrial Gas Turbine Combustor vol.34, pp.5, 2018, https://doi.org/10.2514/1.b36842
  2. 초저속 영역에서 난류 촉진기 주위 천이 유동의 직접 수치 및 대형 와 모사 vol.55, pp.3, 2018, https://doi.org/10.3744/snak.2018.55.3.265
  3. Coupling of volume of fluid and level set methods in condensing heat transfer simulations vol.34, pp.1, 2017, https://doi.org/10.1080/10618562.2019.1693546
  4. A three-phase VOF solver for the simulation of in-nozzle cavitation effects on liquid atomization vol.406, pp.None, 2017, https://doi.org/10.1016/j.jcp.2019.109068
  5. The importance of compatible sub-grid scale and spatial discretization models on the simulation of large-scale pool fire vol.42, pp.12, 2020, https://doi.org/10.1007/s40430-020-02700-z
  6. Computational simulations of transitional flows around turbulence stimulators at low speeds vol.13, pp.None, 2017, https://doi.org/10.1016/j.ijnaoe.2021.03.004
  7. Entrainment of Sediment Particles in Protection Layers vol.147, pp.10, 2017, https://doi.org/10.1061/(asce)hy.1943-7900.0001898
  8. Evaluation of OpenFOAM’s discretization schemes used for the convective terms in the context of fire simulations vol.232, pp.None, 2017, https://doi.org/10.1016/j.compfluid.2021.105208