Communications on Applied Mathematics and Computation ›› 2022, Vol. 4 ›› Issue (2): 657-696.doi: 10.1007/s42967-021-00134-5

Previous Articles     Next Articles

Extendible and Efcient Python Framework for Solving Evolution Equations with Stabilized Discontinuous Galerkin Methods

Andreas Dedner1, Robert Klöfkorn2   

  1. 1 University of Warwick, Coventry CV4 7 AL, UK;
    2 Lund University, Box 118, 22100 Lund, Sweden
  • Received:2020-09-25 Revised:2021-03-18 Online:2022-06-20 Published:2022-04-29
  • Contact: Andreas Dedner, Robert Klöfkorn E-mail:robertk@math.lu.se;A.S.Dedner@warwick.ac.uk

Abstract: This paper discusses a Python interface for the recently published Dune-Fem-DG module which provides highly efcient implementations of the discontinuous Galerkin (DG) method for solving a wide range of nonlinear partial diferential equations (PDEs). Although the C++ interfaces of Dune-Fem-DG are highly fexible and customizable, a solid knowledge of C++ is necessary to make use of this powerful tool. With this work, easier user interfaces based on Python and the unifed form language are provided to open Dune-Fem-DG for a broader audience. The Python interfaces are demonstrated for both parabolic and frst-order hyperbolic PDEs.

Key words: Dune, Dune-Fem, Discontinuous Galerkin, Finite volume, Python, Advection-difusion, Euler, Navier-Stokes

CLC Number: