EconPapers    
Economics at your fingertips  
 

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

H. Noriega, F. Guibault, M. Reggio and R. Magnan

Mathematics and Computers in Simulation (MATCOM), 2018, vol. 147, issue C, 152-171

Abstract: 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.

Keywords: Verification; Manufactured solution; OpenFOAM; CFD; Poisson equation (search for similar items in EconPapers)
Date: 2018
References: View complete reference list from CitEc
Citations:

Downloads: (external link)
http://www.sciencedirect.com/science/article/pii/S0378475417303774
Full text for ScienceDirect subscribers only

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:eee:matcom:v:147:y:2018:i:c:p:152-171

DOI: 10.1016/j.matcom.2017.12.002

Access Statistics for this article

Mathematics and Computers in Simulation (MATCOM) is currently edited by Robert Beauwens

More articles in Mathematics and Computers in Simulation (MATCOM) from Elsevier
Bibliographic data for series maintained by Catherine Liu ().

 
Page updated 2025-03-19
Handle: RePEc:eee:matcom:v:147:y:2018:i:c:p:152-171