ivan-pi / periodic-lbm

A personal collection of research codes for LBM in periodic domains
Apache License 2.0
9 stars 1 forks source link

Collision kernels codegen #7

Open ivan-pi opened 2 years ago

ivan-pi commented 2 years ago

The lbmpy package (repository available here)provides the possibility to generate parallel collision kernels from a symbolic description of a lattice Boltzmann method.

For off-lattice Boltzmann methods, the two-population approach for PDF storage is needed, since the streaming kernels typically require irregular access and are difficult to interleave with collision. We can still use lbmpy however with the kernel_type set to "collide_only" in the LBMConfig instance.

ivan-pi commented 2 years ago

Also compatible with distribution shifting.

ivan-pi commented 2 years ago

More information in this issue: https://i10git.cs.fau.de/pycodegen/lbmpy/-/issues/36