Move collision kernel to lbm module
Description started in VirtualFluids Paper section 7.2
lbm
new folder in lbm: collision contains:
-
K17CompressibleNavierStokes::runK17CompressibleNavierStokes() -
struct CollisionParameter -
TurbulenceModelmoved fromVirtualFluids_GPU -
removes some old unused function and classes from lbm module (BGK and CumulantChimera was old attempt of having collision kernel in lbm module)
gpu
- small refactorings:
- removed old DistributionHelper class (was redundant to LBM/GPUHelperFunctions/KernelUtilities)
- removed old "unified" kernel
important changes happend in:
- K17CompressibleNavierStokes
- is creating
GPUCollisionParameterand calling theglobalrunCollisionfunction - Declares the actual collision kernel function and passes it to the
runCollision
- is creating
- RunLBMCollision
- does gpu specific things
- creates the hardware independent structure
CollisionParameterfromGPUCollisionParameterand calls the actual collision kernel, which was passed as an argument
cpu
- new kernel class
K17CompressibleNavierStokesmakes use of new lbm module (fits the new naming schema) -
FlowAroundCylinderwas based on oldCompressibleCumulantLBMKernel. Its now using theK17CompressibleNavierStokes.
TODO:
-
update reference data for all regression tests -
do squash commit
Edited by Sören Peters