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.
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 theLBMConfig
instance.