A two-level computational graph method for the adjoint of a finite volume based compressible unsteady flow solver

被引:3
作者
Talnikar, Chaitanya [1 ]
Wang, Qiqi [1 ]
机构
[1] MIT, Aerosp Computat Design Lab, Cambridge, MA 02139 USA
关键词
Compressible flow solver; Finite volume method; Computational graphs; Automatic differentiation; GPU Programming; !text type='Python']Python[!/text; MPI;
D O I
10.1016/j.parco.2018.12.001
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The adjoint method is a useful tool for finding gradients of design objectives with respect to system parameters for fluid dynamics simulations. But the utility of this method is hampered by the difficulty in writing an efficient implementation for the adjoint flow solver, especially one that scales to thousands of cores. This paper demonstrates a Python library, called adFVM, that can be used to construct an explicit unsteady flow solver and derive the corresponding discrete adjoint flow solver using automatic differentiation (AD). The library uses a two-level computational graph method for representing the structure of both solvers. The library translates this structure into a sequence of optimized kernels, significantly reducing its execution time and memory footprint. Kernels can be generated for heterogeneous architectures including distributed memory, shared memory and accelerator based systems. The library is used to write a finite volume based compressible flow solver. A wall clock time comparison between different flow solvers and adjoint flow solvers built using this library and state of the art graph based AD libraries is presented on a turbo-machinery flow problem. Performance analysis of the flow solvers is carried out for CPUs and GPUs. Results of strong and weak scaling of the flow solver and its adjoint are demonstrated on subsonic flow in a periodic box. (C) 2018 Elsevier B.V. All rights reserved.
引用
收藏
页码:68 / 84
页数:17
相关论文
共 50 条
  • [21] NUMERICAL INVESTIGATION OF UNSTEADY FLOW PAST A CIRCULAR CYLINDER USING 2-D FINITE VOLUME METHOD
    Rahman, Md. Mahbubar
    Karim, Md. Mashud
    Alim, Md. Abdul
    JOURNAL OF NAVAL ARCHITECTURE AND MARINE ENGINEERING, 2007, 4 (01): : 27 - 42
  • [22] Two-level parallelization for finite-element based design optimization via case studies
    Rajan, S. D.
    Belegundu, A. D.
    Damle, A. S.
    Lau, D.
    OPTIMIZATION AND ENGINEERING, 2008, 9 (01) : 69 - 93
  • [23] Two-level parallelization for finite-element based design optimization via case studies
    S. D. Rajan
    A. D. Belegundu
    A. S. Damle
    D. Lau
    Optimization and Engineering, 2008, 9 : 69 - 93
  • [24] Numerical study of transient 2-D compressible flow with heat and mass transfer using the finite volume method
    Ambethkar, V.
    Srivastava, Mohit Kumar
    INTERNATIONAL JOURNAL FOR COMPUTATIONAL METHODS IN ENGINEERING SCIENCE & MECHANICS, 2018, 19 (01) : 31 - 41
  • [25] CONSTRUCTION OF A FLOW-SIMULATING METHOD WITH FINITE VOLUME BASED ON A VORONOI DIAGRAM
    TANIGUCHI, N
    ARAKAWA, C
    KOBAYASHI, T
    JSME INTERNATIONAL JOURNAL SERIES II-FLUIDS ENGINEERING HEAT TRANSFER POWER COMBUSTION THERMOPHYSICAL PROPERTIES, 1991, 34 (01): : 18 - 23
  • [26] OUTFLOW BOUNDARY CONDITION IN THE FINITE-VOLUME METHOD FOR UNSTEADY-STATE FLUID FLOW COMPUTATION WITH VARIABLE DENSITY
    Matsushita, Yohsuke
    COMPUTATIONAL THERMAL SCIENCES, 2011, 3 (06): : 531 - 537
  • [27] Finite Volume Method for Transient Pipe Flow with an Air Cushion Surge Chamber Considering Unsteady Friction and Experimental Validation
    Liu, Yue
    Lu, Jianwei
    Chen, Jian
    Xia, Yong
    Liu, Daohua
    Hu, Yinying
    Feng, Ruilin
    Liu, Deyou
    Zhou, Ling
    WATER, 2023, 15 (15)
  • [28] Finite volume model for the simulation of 1D unsteady river flow and water quality based on the WASP
    Gordillo, Geovanny
    Morales-Hernandez, Mario
    Garcia-Navarro, Pilar
    JOURNAL OF HYDROINFORMATICS, 2020, 22 (02) : 327 - 345
  • [29] A second-order time-accurate finite volume method for unsteady incompressible flow on hybrid unstructured grids
    Kim, D
    Choi, H
    JOURNAL OF COMPUTATIONAL PHYSICS, 2000, 162 (02) : 411 - 428
  • [30] Solution of the advection-dispersion equation in two dimensions by a finite-volume Eulerian-Lagrangian localized adjoint method
    Healy, RW
    Russell, TF
    ADVANCES IN WATER RESOURCES, 1998, 21 (01) : 11 - 26