Code verification for multiphase flows using the method of manufactured solutions

被引:11
作者
Choudhary, Aniruddha [1 ,2 ]
Roy, Christopher J. [2 ]
Dietiker, Jean-Francois [3 ]
Shahnam, Mehrdad [1 ]
Garg, Rahul [1 ]
Musser, Jordan [1 ]
机构
[1] Natl Energy Technol Lab, Morgantown, WV 26507 USA
[2] Virginia Tech, Dept Aerosp & Ocean Engn, Blacksburg, VA 24061 USA
[3] W Virginia Univ, Corp Res, Morgantown, WV 26506 USA
关键词
Multiphase flows; Code verification; Method of manufactured solutions; Order of accuracy; Two-fluid model; COMPUTATIONAL FLUID-DYNAMICS; BOUNDARY-CONDITIONS; SOLVERS; VALIDATION; SIMULATION; SCHEMES;
D O I
10.1016/j.ijmultiphaseflow.2015.12.006
中图分类号
O3 [力学];
学科分类号
08 ; 0801 ;
摘要
Code verification is the process of ensuring, to the extent possible, that there are no algorithm deficiencies and coding mistakes (bugs) in a scientific computing simulation. Order of accuracy testing using the Method of Manufactured Solutions (MMS) is a rigorous technique that is employed here for code verification of the main components of an open-source, multiphase flow code - MFIX. Code verification is performed here on 2D and 3D, uniform and stretched meshes for incompressible, steady and unsteady, single-phase and two-phase flows using the two-fluid model of MFDC Currently, the algebraic gas-solid exchange terms are neglected as these can be verified via techniques such as unit-testing. The no-slip wall, free-slip wall, and pressure outflow boundary conditions are verified. Temporal orders of accuracy for first-order and second-order time-marching schemes during unsteady simulations are also assessed. The presence of a modified SIMPLE-based algorithm in the code requires the velocity field to be divergence free in case of the single-phase incompressible model. Similarly, the volume fraction weighted velocity field must be divergence-free for the two-phase incompressible model. A newly-developed curl based manufactured solution is used to generate manufactured solutions that satisfy the divergence-free constraint during the verification of the single-phase and two-phase incompressible governing equations. Manufactured solutions with constraints due to boundary conditions as well as due to divergence-free flow are derived in order to verify the boundary conditions. (C) 2015 Elsevier Ltd. All rights reserved.
引用
收藏
页码:150 / 163
页数:14
相关论文
共 42 条
  • [41] Comprehensive code verification techniques for finite volume CFD codes
    Veluri, Subrahmanya P.
    Roy, Christopher J.
    Luke, Edward A.
    [J]. COMPUTERS & FLUIDS, 2012, 70 : 59 - 72
  • [42] Wolfram Research Inc, 2013, MATH VERS 9 0 1