Skip to content
Snippets Groups Projects
Martin Bauer's avatar
Martin Bauer authored
- previously a LatticeBoltzmannMethod object was required to generate
  a lattice model for waLBerla
- problem: output fields, smagorinsky, entropic additions are only done
  when coverting the method to a collision rule
- the new interface now takes a collision rule instead of a LB method

to adapt your app have a look at example usage in
walberla/tests/lbm/codegen
569cc1d8

lbmpy-walberla

pipeline status

Formulate lattice Boltzmann methods in lbmpy and generate optimized C++ Code for waLBerla from it. Look at the waLBerla documentation on how to use it.

Install with

pip install lbmpy-walberla

and enable WALBERLA_BUILD_WITH_CODEGEN in waLBerla's CMake.