lbmpy: A flexible code generation toolkit for highly efficient lattice Boltzmann simulations

01/31/2020
by   Martin Bauer, et al.
0

Lattice Boltzmann methods are a popular mesoscopic alternative to macroscopic computational fluid dynamics solvers. Many variants have been developed that vary in complexity, accuracy, and computational cost. Extensions are available to simulate multi-phase, multi-component, turbulent, or non-Newtonian flows. In this work we present lbmpy, a code generation package that supports a wide variety of different methods and provides a generic development environment for new schemes as well. A high-level domain-specific language allows the user to formulate, extend and test various lattice Boltzmann schemes. The method specification is represented in a symbolic intermediate representation. Transformations that operate on this intermediate representation optimize and parallelize the method, yielding highly efficient lattice Boltzmann compute kernels not only for single- and two-relaxation-time schemes but also for multi-relaxation-time, cumulant, and entropically stabilized methods. An integration into the HPC framework waLBerla makes massively parallel, distributed simulations possible, which is demonstrated through scaling experiments on the SuperMUC-NG supercomputing system

READ FULL TEXT

page 1

page 2

research
01/31/2020

lbmpy: Automatic code generation for efficient parallel lattice Boltzmann methods

Lattice Boltzmann methods are a popular mesoscopic alternative to macros...
research
11/04/2022

Advanced Automatic Code Generation for Multiple Relaxation-Time Lattice Boltzmann Methods

The scientific code generation package lbmpy supports the automated desi...
research
11/30/2017

Lattice Boltzmann Benchmark Kernels as a Testbed for Performance Analysis

Lattice Boltzmann methods (LBM) are an important part of current computa...
research
09/30/2019

waLBerla: A block-structured high-performance framework for multiphysics simulations

Programming current supercomputers efficiently is a challenging task. Mu...
research
08/10/2022

Designing a 3D Parallel Memory-Aware Lattice Boltzmann Algorithm on Manycore Systems

Lattice Boltzmann method (LBM) is a promising approach to solving Comput...
research
05/17/2023

Scalable Flow Simulations with the Lattice Boltzmann Method

The primary goal of the EuroHPC JU project SCALABLE is to develop an ind...

Please sign up or login with your details

Forgot password? Click here to reset