Abstract
OpenFOAM is a widely used numerical simulation software, and Discontinuous Galerkin method (DGM), a high-order numerical method, has been developed on OpenFOAM. In order to obtain meaningful numerical simulations, curve boundary is needed, but it has not been implemented on OpenFOAM. In this paper, based on codeStream function of original OpenFOAM, we design and implement curve boundary interface with reference to the interface of original OpenFOAM, so that users can use C++ code to describe curve boundary. Furthermore, in order to move the high-order points on the linear boundary to the curve boundary, we propose an algorithm to move each high-order point to a specific position on the curve, where the normal of this position passes through the origin point. Experimental results based on the flow around a cylinder show that curve boundary is needed by DGM numerical simulation, and DGM high-order simulation is much more efficient than DGM low-order. Typically, when the error of drag coefficient is about 0.03, the DGM high-order can save \(89.6\%\) time cost and \(83.0\%\) memory cost.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Anderson, J.D., Wendt, J.: Computational Fluid Dynamics, vol. 206. Springer, Heidelberg (1995)
Bassi, F., Rebay, S.: Accurate 2D Euler computations by means of a high order discontinuous finite element method. In: Deshpande, S.M., Desai, S.S., Narasimha, R. (eds.) Fourteenth International Conference on Numerical Methods in Fluid Dynamics, pp. 234–240. Springer, Heidelberg (1995)
Bassi, F., Rebay, S.: High-order accurate discontinuous finite element solution of the 2D Euler equations. J. Comput. Phys. 138(2), 251–285 (1997)
Cockburn, B.: Discontinuous Galerkin methods. ZAMM-J. Appl. Math. Mech./Z. Angew. Math. Mech. 83(11), 731–754 (2003)
Favero, J., Secchi, A., Cardozo, N., Jasak, H.: Viscoelastic flow analysis using the software openfoam and differential constitutive equations. J. Nonnewton. Fluid Mech. 165(23), 1625–1636 (2010)
Gao, H., Wang, Z., Liu, Y.: A study of curved boundary representations for 2D high order Euler solvers. J. Sci. Comput. 44(3), 323–336 (2010)
Gordon, W.J., Hall, C.A.: Construction of curvilinear co-ordinate systems and applications to mesh generation. Int. J. Numer. Methods Eng. 7(4), 461–477 (1973)
Gordon, W.J., Hall, C.A.: Transfinite element methods: blending-function interpolation over arbitrary curved element domains. Numer. Math. 21(2), 109–129 (1973)
Greenshields, C.J.: Openfoam user guide. Version 3(1), OpenFOAM Foundation Ltd. (2015)
Guo, X.W., Yang, W.J., Xu, X.H., Cao, Y., Yang, X.J.: Non-equilibrium steady states of entangled polymer mixtures under shear flow. Adv. Mech. Eng. 7(6), 1687814015591923 (2015)
Guo, X.W., Zou, S., Yang, X., Yuan, X.F., Wang, M.: Interface instabilities and chaotic rheological responses in binary polymer mixtures under shear flow. RSC Adv. 4(105), 61167–61177 (2014)
Hesthaven, J.S., Warburton, T.: Nodal Discontinuous Galerkin Methods: Algorithms, Analysis, and Applications. Springer Science & Business Media, New York (2007)
Higuera, P., Lara, J.L., Losada, I.J.: Simulating coastal engineering processes with openfoam®. Coast. Eng. 71, 119–134 (2013)
Jasak, H., Jemcov, A., Tukovic, Z., et al.: OpenFOAM: a C++ library for complex physics simulations. In: International Workshop on Coupled Methods in Numerical Dynamics, vol. 1000, pp. 1–20. IUC Dubrovnik, Croatia (2007)
Jian-hua, Z.: Review of commercial CFD software. J. Hebei Univ. Sci. Technol. 2, 160–165 (2005)
John, V.: Reference values for drag and lift of a two-dimensional time-dependent flow around a cylinder. Int. J. Numer. Methods Fluids 44(7), 777–788 (2004)
Reed, W.H., Hill, T.: Triangular mesh methods for the neutron transport equation. Los Alamos Report LA-UR-73-479 (1973)
Roy, C.J.: Grid convergence error analysis for mixed-order numerical schemes. AIAA J. 41(4), 595–604 (2003)
Slater, J.W.: Examining spatial (grid) convergence. Public tutorial on CFD verification and validation, NASA Glenn Research Centre, MS 86 (2006)
Versteeg, H.K., Malalasekera, W.: An Introduction to Computational Fluid Dynamics: The Finite Volume Method. Pearson Education, New York (2007)
Wang, Z.J., Fidkowski, K., Abgrall, R., Bassi, F., Caraeni, D., Cary, A., Deconinck, H., Hartmann, R., Hillewaert, K., Huynh, H.T., et al.: High-order CFD methods: current status and perspective. Int. J. Numer. Methods Fluids 72(8), 811–845 (2013)
Yano, M., Darmofal, D.L.: Case C1.3: Flow over the NACA 0012 airfoil: Subsonic inviscid, transonic inviscid, and subsonic laminar flows. In: First international workshop on high-order CFD methods (2012)
Acknowledgments
The authors would like to thank the National Key Research and Development Program of China (No. 2016YFB0201301), Science Challenge Project (No. JCKY2016212A502) and the open fund from the State Key Laboratory of High Performance Computing (Grant No. 201503-01 and 201503-02).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2017 Springer International Publishing AG
About this paper
Cite this paper
Feng, Y., Xu, X., Tang, Y., Xu, L., Zhang, Y. (2017). The Curve Boundary Design and Performance Analysis for DGM Based on OpenFOAM. In: Ibrahim, S., Choo, KK., Yan, Z., Pedrycz, W. (eds) Algorithms and Architectures for Parallel Processing. ICA3PP 2017. Lecture Notes in Computer Science(), vol 10393. Springer, Cham. https://doi.org/10.1007/978-3-319-65482-9_18
Download citation
DOI: https://doi.org/10.1007/978-3-319-65482-9_18
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-65481-2
Online ISBN: 978-3-319-65482-9
eBook Packages: Computer ScienceComputer Science (R0)