Javascript must be enabled to continue!
CG-LBM-CUDA: An open-source C/CUDA C implementation and verification package for color-gradient MRT lattice Boltzmann simulation of immiscible two-phase flow
View through CrossRef
CG-LBM-CUDA is an open-source C/CUDA C software package that implements established color-gradient multiple-relaxation-time lattice Boltzmann formulations for immiscible two-phase flow. The package is designed as a computational-science implementation and verification package rather than a new multiphase LBM formulation. It provides a serial C baseline solver, a CUDA C solver, validation scripts, example cases, and reference result files. The CUDA C implementation follows a node-wise data-parallel mapping with stage-wise kernel decomposition, CUDA constant-memory usage for read-only coefficients, ping-pong PDF buffers for streaming, and reduced host–device data transfers. The software reproduces the flat-surface sessile-droplet contact-angle benchmark of Xu, Liu, and Valocchi for prescribed contact angles of 60°, 90°, and 120°. It also includes CPU–GPU final-field comparisons, PDF-based mass-conservation diagnostics, velocity diagnostics, and stage-wise numerical equivalence checks. The central verification feature is the stage-wise comparison workflow, which records intermediate fields after individual LBM operations and helps distinguish local implementation discrepancies from long-time floating-point drift. The package is intended to support users implementing, validating, and porting color-gradient MRT-LBM solvers to CUDA C-based GPU architectures.
Title: CG-LBM-CUDA: An open-source C/CUDA C implementation and verification package for color-gradient MRT lattice Boltzmann simulation of immiscible two-phase flow
Description:
CG-LBM-CUDA is an open-source C/CUDA C software package that implements established color-gradient multiple-relaxation-time lattice Boltzmann formulations for immiscible two-phase flow.
The package is designed as a computational-science implementation and verification package rather than a new multiphase LBM formulation.
It provides a serial C baseline solver, a CUDA C solver, validation scripts, example cases, and reference result files.
The CUDA C implementation follows a node-wise data-parallel mapping with stage-wise kernel decomposition, CUDA constant-memory usage for read-only coefficients, ping-pong PDF buffers for streaming, and reduced host–device data transfers.
The software reproduces the flat-surface sessile-droplet contact-angle benchmark of Xu, Liu, and Valocchi for prescribed contact angles of 60°, 90°, and 120°.
It also includes CPU–GPU final-field comparisons, PDF-based mass-conservation diagnostics, velocity diagnostics, and stage-wise numerical equivalence checks.
The central verification feature is the stage-wise comparison workflow, which records intermediate fields after individual LBM operations and helps distinguish local implementation discrepancies from long-time floating-point drift.
The package is intended to support users implementing, validating, and porting color-gradient MRT-LBM solvers to CUDA C-based GPU architectures.
Related Results
Crescimento de feijoeiro sob influência de carvão vegetal e esterco bovino
Crescimento de feijoeiro sob influência de carvão vegetal e esterco bovino
<p align="justify"><span style="color: #000000;"><span style="font-family: 'Times New Roman', serif;"><span><span lang="pt-BR">É indiscutível a import...
On Flores Island, do "ape-men" still exist? https://www.sapiens.org/biology/flores-island-ape-men/
On Flores Island, do "ape-men" still exist? https://www.sapiens.org/biology/flores-island-ape-men/
<span style="font-size:11pt"><span style="background:#f9f9f4"><span style="line-height:normal"><span style="font-family:Calibri,sans-serif"><b><spa...
Klinische Relevanz MRT-fähiger Tiefer Hirnstimulations-Systeme
Klinische Relevanz MRT-fähiger Tiefer Hirnstimulations-Systeme
Bei THS handelt sich um einen operativen Eingriff der Neurochirurgie, bei dem Impulse in tiefere Hirnstrukturen appliziert werden, ohne diese zu beschädigen. Die THS stellt eine et...
Stellenwert der Schädel-MRT zur Diagnostik der Beteiligung des Zentralen Nervensystems bei Kindern mit akuter lymphoblastischer Leukämie
Stellenwert der Schädel-MRT zur Diagnostik der Beteiligung des Zentralen Nervensystems bei Kindern mit akuter lymphoblastischer Leukämie
Bei Kindern mit akuter lymphoblastischer Leukämie ist eine möglichst frühe und genaue Diagnostik der Infiltration des Zentralen Nervensystems für die Festlegung der weiteren Therap...
Evaluation of Miscible Water Alternating Gas WAG Injection by Comparing with Lesson Learnt from an Immiscible Gas Injection Pilot
Evaluation of Miscible Water Alternating Gas WAG Injection by Comparing with Lesson Learnt from an Immiscible Gas Injection Pilot
Abstract
To sustain the long term production from a giant offshore reservoir, a simulation study evaluating and comparing miscible hydrocarbon (HC) Water-Alternating...
Immiscible Viscous Fingering: the Effects of Wettability/Capillarity and Scaling
Immiscible Viscous Fingering: the Effects of Wettability/Capillarity and Scaling
Abstract
Realistic immiscible viscous fingering, showing all of the complex finger structure observed in experiments, has proved to be very difficult to model using direct ...
Coupling double-distribution-function thermal lattice Boltzmann method based on the total energy type
Coupling double-distribution-function thermal lattice Boltzmann method based on the total energy type
Micro-scale flow is a very important and prominent problem in the design and application of micro-electromechanical systems. With the decrease of the scale, effects, such as viscou...
Lattice Boltzmann simulation of convection-diffusion to model viscous fingering with polymer additives
Lattice Boltzmann simulation of convection-diffusion to model viscous fingering with polymer additives
Viscous fingering occurs when a less viscous fluid is injected into a
rock matrix saturated with a more viscous fluid. Our past research using
the Rothman-Keller (RK) color gradien...

