Towards generating efficient flow solvers with the ExaStencils approach

16Citations
Citations of this article
6Readers
Mendeley users who have this article in their library.
Get full text

Abstract

ExaStencils aims at providing intuitive interfaces for the specification of numerical problems and resulting solvers, particularly those from the class of (geometric) multigrid methods. It envisions a multi-layered domain-specific language and a sophisticated code generation framework ultimately emitting source code in a chosen target language. We present our recent advances in fully generating solvers applied to 3D fluid mechanics for nonisothermal/non-Newtonian flows. In detail, a system of time-dependent, nonlinear partial differential equations is discretized on a cubic, nonuniform, and staggered grid using finite volumes. We examine the contained problem of coupled Navier-Stokes and temperature equations, which are linearized and solved using the SIMPLE algorithm and geometric multigrid solvers, as well as the incorporation of non-Newtonian properties. Furthermore, we provide details on necessary extensions to our domain-specific language and code generation framework, in particular, those concerning the handling of boundary conditions, support for nonequidistant staggered grids, and supplying specialized functions to express operations reoccurring in the scope of finite volume discretizations. Many of these enhancements are generalizable and thus suitable for utilization in similar projects. Lastly, we demonstrate the applicability of our code generation approach by providing convincing performance results for fully generated and automatically parallelized solvers.

Cite

CITATION STYLE

APA

Kuckuk, S., Haase, G., Vasco, D. A., & Köstler, H. (2017). Towards generating efficient flow solvers with the ExaStencils approach. In Concurrency and Computation: Practice and Experience (Vol. 29). John Wiley and Sons Ltd. https://doi.org/10.1002/cpe.4062

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free