A case-study in open-source CFD code verification, Part I: Convergence rate loss diagnosis

被引:2
作者
Noriega, H. [1 ]
Guibault, F. [1 ]
Reggio, M. [1 ]
Magnan, R. [2 ]
机构
[1] 2900 Blvd Edouard Montpetit,Campus Univ, Montreal, PQ H3T 1J4, Canada
[2] Inst Rech Hydro Quebec, 1800 Blvd Lionel Boulet, Varennes, PQ J3X 1S1, Canada
关键词
Verification; Manufactured solution; OpenFOAM; CFD; Poisson equation; FINITE-VOLUME METHOD; AUTOMATIC RESOLUTION CONTROL; MANUFACTURED SOLUTIONS; FLUXES;
D O I
10.1016/j.matcom.2017.12.002
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
This study analyzes the influence of cell geometry on the numerical accuracy of convection-diffusion operators in OpenFOAM. The large variety of solvers and boundary conditions in this tool, as well as the precision of the finite-volume method in terms of mesh quality, call for a verification process performed in steps. The work is divided into two parts. In the first (the current manuscript), we focus on the diffusion operator, which has been found to exhibit a loss in convergence rate. Although the cell-centered finite volume approach underlying OpenFOAM should preserve a theoretical second order convergence rate, loss of convergence order is observed when non-orthogonal meshes are used at the boundaries. To investigate the origins of this problem, the method of manufactured solutions is applied to yield analytical solutions for the Poisson equation and compute the numerical error. The root cause is identified and corrections to recover second-order convergence are proposed. In part two of this investigation, we show how convergence can be improved, and present results for problems described by the Poisson and Navier-Stokes equations. (C) 2017 International Association for Mathematics and Computers in Simulation (IMACS). Published by Elsevier B.V. All rights reserved.
引用
收藏
页码:152 / 171
页数:20
相关论文
共 29 条
  • [1] Abanto J., 2005, 43 AIAA AER SCI M EX, V1, P15693
  • [2] [Anonymous], 1994, THESIS IMPERIAL COLL
  • [3] [Anonymous], 2013, PROGR GUID OPENFOAM
  • [4] [Anonymous], 2013, US GUID OPENFOAM OP
  • [5] Blazek J., 2006, Computational Fluid Dynamics: Principles and Applications, VSecond
  • [6] Diskin B., 2012, 50 AIAA AER SCI M
  • [7] Comparison of Node-Centered and Cell-Centered Unstructured Finite Volume Discretizations: Inviscid Fluxes
    Diskin, Boris
    Thomas, James L.
    [J]. AIAA JOURNAL, 2011, 49 (04) : 836 - 854
  • [8] Comparison of Node-Centered and Cell-Centered Unstructured Finite-Volume Discretizations: Viscous Fluxes
    Diskin, Boris
    Thomas, James L.
    Nielsen, Eric J.
    Nishikawa, Hiroaki
    White, Jeffery A.
    [J]. AIAA JOURNAL, 2010, 48 (07) : 1326 - 1338
  • [9] Eça L, 2007, INT OFFSHORE POLAR E, P2012
  • [10] Verification of RANS solvers with manufactured solutions
    Eca, L.
    Hoekstra, M.
    Hay, A.
    Pelletier, D.
    [J]. ENGINEERING WITH COMPUTERS, 2007, 23 (04) : 253 - 270