A Python extension for the massively parallel framework waLBerla

Beitrag bei einer Tagung

Details zur Publikation

Autor(en): Bauer M, Schornbaum F, Godenschwager C, Markl M, Anderl D, Köstler H, Rüde U
Jahr der Veröffentlichung: 2014
Tagungsband: online
Seitenbereich: 1-8
Sprache: Englisch


We present a Python extension to the massively parallel HPC framework 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 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 a text-filebased 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.

FAU-Autoren / FAU-Herausgeber

Anderl, Daniela
Lehrstuhl für Strömungsmechanik
Bauer, Martin
Lehrstuhl für Informatik 10 (Systemsimulation)
Godenschwager, Christian
Lehrstuhl für Informatik 10 (Systemsimulation)
Köstler, Harald Prof. Dr.
Lehrstuhl für Informatik 10 (Systemsimulation)
Markl, Matthias Dr.-Ing.
Lehrstuhl für Werkstoffwissenschaften (Werkstoffkunde und Technologie der Metalle)
Rüde, Ulrich Prof. Dr.
Lehrstuhl für Informatik 10 (Systemsimulation)
Schornbaum, Florian
Lehrstuhl für Informatik 10 (Systemsimulation)


Bauer, M., Schornbaum, F., Godenschwager, C., Markl, M., Anderl, D., Köstler, H., & Rüde, U. (2014). A Python extension for the massively parallel framework waLBerla. In online (pp. 1-8). New Orleans, US.

Bauer, Martin, et al. "A Python extension for the massively parallel framework waLBerla." Proceedings of the 4th Workshop on Python for High Performance and Scientific Computing, New Orleans 2014. 1-8.


Zuletzt aktualisiert 2018-25-08 um 07:12