HODG:high-order discontinuous Galerkin methods for solving compressible Euler and Navier-Stokes equations-an open-source component-based development framework

被引:5
|
作者
He, Xiaofeng [1 ,2 ,4 ]
Wang, Kun [1 ,2 ,3 ]
Liu, Tiegang [1 ,2 ]
Feng, Yiwei [1 ,2 ]
Zhang, Bin [1 ,2 ]
Yuan, Weixiong [1 ,2 ]
Wang, Xiaojun [3 ]
机构
[1] Beihang Univ, LMIB, Beijing, Peoples R China
[2] Beihang Univ, Sch Math Sci, Beijing, Peoples R China
[3] Beihang Univ, Sch Aeronaut Sci & Engn, Beijing, Peoples R China
[4] Beijing Internet Based Engn Co Ltd, Beijing, Peoples R China
基金
中国博士后科学基金; 中国国家自然科学基金;
关键词
Computational fluid dynamics; Compressible flow; Discontinuous Galerkin methods; Direct Discontinuous Galerkin methods; DG development framework; FINITE-ELEMENT-METHOD; CONSERVATION-LAWS; WENO RECONSTRUCTION; FLOWS;
D O I
10.1016/j.cpc.2023.108660
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
In this work, we present HODG, an open-source component-based development framework based on high order Discontinuous Galerkin (DG) methods for solving compressible Euler and NavierStokes equations. This framework is written in pure C++11, and proposes "component" as the basic function unit, which is the key to the Interface-Oriented Programming principle and Aspect-Oriented Programming (AOP) technology. Built on the top-level design of components, HODG is a flexible yet pragmatic development framework that works right out of the box and is easy to use for starters and developers.The current release of HODG supports structured, unstructured, hybrid, and second-order meshes available. It is capable of solving Euler and Navier-Stokes (N-S) equations in two dimensions and three dimensions. In this development framework, spatial accuracy is easy to be extended to higher orders, and DG-P0, DG-P1, DG-P2 (up to third order) are implemented in the current version. Moreover, implicit temporal discretization and explicit discretization are available. Especially for viscous fluxes, the direct Discontinuous Galerkin (DDG) formulation and Bassi and Rebay II (BR2) scheme are implemented. In the case of strong discontinuities or shock waves, artificial viscosity is applied to capture shock waves. Various benchmark numerical examples are provided to demonstrate the full capabilities of HODG. The software is freely available under an MIT license.Program summaryProgram Title: HODG v2.0.0CPC Library link to program files: https://doi .org /10 .17632 /835732yz8s .1Code Ocean capsule: https://codeocean .com /capsule /4788938 Licensing provisions: MIT Programming language: C++11 Nature of problem: Compressible Euler and Navier-Stokes equations of fluid dynamics; potential for any advection-diffusion type problem. Solution method: DG-P0, DG-P1, DG-P2 spatial discretization, combining with DDG and BR2 schemes for viscous fluxes, explicit and implicit time schemes, and supporting structured, unstructured, hybrid, and high-order meshes.unusual features: developed based on modern C++11 features; propose the "component" as basic function unit, which follows the practice of Interface-Oriented Programming principle; Special component named
引用
收藏
页数:17
相关论文
共 50 条
  • [1] A high-order stochastic Galerkin code for the compressible Euler and Navier-Stokes equations
    Duerrwaechter, Jakob
    Meyer, Fabian
    Kuhn, Thomas
    Beck, Andrea
    Munz, Claus-Dieter
    Rohde, Christian
    COMPUTERS & FLUIDS, 2021, 228
  • [2] On the Boundary Treatment for the Compressible Navier-Stokes Equations Using High-Order Discontinuous Galerkin Methods
    Richter, Andreas
    Stiller, Joerg
    COMPUTATIONAL FLUID DYNAMICS 2010, 2011, : 197 - 202
  • [3] Multigrid solution for high-order discontinuous Galerkin discretizations of the compressible Navier-Stokes equations
    Oliver, Todd A.
    Fidkowski, Krzysztof J.
    Darmofal, David L.
    COMPUTATIONAL FLUID DYNAMICS 2004, PROCEEDINGS, 2006, : 455 - +
  • [4] High-order implicit discontinuous Galerkin schemes for unsteady compressible Navier-Stokes equations
    Jiang Zhenhua
    Yan Chao
    Yu Jian
    CHINESE JOURNAL OF AERONAUTICS, 2014, 27 (06) : 1384 - 1389
  • [5] High-order implicit discontinuous galerkin schemes for unsteady compressible Navier-Stokes equations
    Chao, Yan (yanchao@buaa.edu.cn), 1600, Chinese Journal of Aeronautics (27):
  • [6] Multigrid algorithms for high-order discontinuous Galerkin discretizations of the compressible Navier-Stokes equations
    Shahbazi, Khosro
    Mavriplis, Dimitri J.
    Burgess, Nicholas K.
    JOURNAL OF COMPUTATIONAL PHYSICS, 2009, 228 (21) : 7917 - 7940
  • [7] A robust implicit high-order discontinuous Galerkin method for solving compressible Navier-Stokes equations on arbitrary grids
    Yan, Jia
    Yang, Xiaoquan
    Weng, Peifen
    ACTA MECHANICA SINICA, 2024, 40 (08)
  • [8] An implicit high-order Discontinuous Galerkin method for the steady state compressible Navier-Stokes equations
    Bassi, F
    Rebay, S
    COMPUTATIONAL FLUID DYNAMICS '98, VOL 1, PARTS 1 AND 2, 1998, : 1226 - 1233
  • [9] On the stability of projection methods for the incompressible Navier-Stokes equations based on high-order discontinuous Galerkin discretizations
    Fehn, Niklas
    Wall, Wolfgang A.
    Kronbichler, Martin
    JOURNAL OF COMPUTATIONAL PHYSICS, 2017, 351 : 392 - 421
  • [10] p-Multigrid solution of high-order discontinuous Galerkin discretizations of the compressible Navier-Stokes equations
    Fidkowski, KJ
    Oliver, TA
    Lu, J
    Darmofal, DL
    JOURNAL OF COMPUTATIONAL PHYSICS, 2005, 207 (01) : 92 - 113