A Python Extension for the Massively Parallel Multiphysics Simulation Framework waLBerla

11/23/2015
by   Martin Bauer, et al.
0

We present a Python extension to the massively parallel HPC simulation toolkit waLBerla. waLBerla is a framework for stencil based algorithms operating on block-structured grids, with the main application field being fluid simulations in complex geometries using the lattice Boltzmann method. Careful performance engineering results in excellent node performance and good scalability to over 400,000 cores. To increase the usability and flexibility of the framework, a Python interface was developed. Python extensions are used at all stages of the simulation pipeline: They simplify and automate scenario setup, evaluation, and plotting. We show how our Python interface outperforms the existing text-file-based configuration mechanism, providing features like automatic nondimensionalization of physical quantities and handling of complex parameter dependencies. Furthermore, Python is used to process and evaluate results while the simulation is running, leading to smaller output files and the possibility to adjust parameters dependent on the current simulation state. C++ data structures are exported such that a seamless interfacing to other numerical Python libraries is possible. The expressive power of Python and the performance of C++ make development of efficient code with low time effort possible.

READ FULL TEXT

page 12

page 13

research
05/04/2018

Pytrec_eval: An Extremely Fast Python Interface to trec_eval

We introduce pytrec_eval, a Python interface to the tree_eval informatio...
research
07/19/2023

Comparing with Python: Text Analysis in Stata

Text analysis is the process of constructing structured data from unstru...
research
08/31/2022

pPython for Parallel Python Programming

pPython seeks to provide a parallel capability that provides good speed-...
research
08/03/2023

PyPartMC: A Pythonic interface to a particle-resolved, Monte Carlo aerosol simulation framework

PyPartMC is a Pythonic interface to PartMC, a stochastic, particle-resol...
research
12/11/2017

automan: a simple, Python-based, automation framework for numerical computing

We present an easy-to-use, Python-based framework that allows a research...
research
09/07/2023

pPython Performance Study

pPython seeks to provide a parallel capability that provides good speed-...
research
04/30/2021

Speeding up Python-based Lagrangian Fluid-Flow Particle Simulations via Dynamic Collection Data Structures

Array-like collection data structures are widely established in Python's...

Please sign up or login with your details

Forgot password? Click here to reset