Repository navigation
☕ CappuSim v0.2.0
·
52 commits
to main
since this release
☕ CappuSim v0.2.0 - Beta
CappuSim is a fast, modular and extensible Lattice Boltzmann Method (LBM) simulator built with Rust + OpenCL.
This beta release lays the foundation for a high-performance, GPU-accelerated solver, designed to be both educational and efficient. It provides a platform for experimentation and research of fluid dynamics.
Updates in v0.2-beta
- Improved overall performance
- Bug fixes
- Validated against classical CFD scenarios (will be released soon)
✨ Features in Beta
-
🔬 LBM Core Solver
- Supports
D2Q9,D3Q7,D3Q15,D3Q19,D3Q27models - Streaming + collision (BGK)
- Modular flags:
FLUID,SOLID,EQ
- Supports
-
🌊 Simulation Examples
- Taylor–Green Vortex
- Poiseuille Flow
- Lid-Driven Cavity
- Von Kármán Vortex Street
- Splash
- Lid-driven Cavity
- Airfoil
-
📤 Output Formats
.csv.vtkfor visualization in ParaView- Exports: velocity, density (vorticity, Q-criterion are currently disabled)
-
🧪 Benchmark Ready
- Standard Benchmark example
- MLUPs calculation
- Scalable to large 3D grids
📁 Project Layout
/src/core/– OpenCL kernels + LBM engine/docs/– LBM theory and usage (in progress)/output/– simulation results
🚀 Getting Started
git clone https://github.com/gustavoverneck/CappuSim
cd CappuSim
cargo build --release
cargo run --release⚠️ Notes
- This is a beta release — experimental, under development.
- Currently tested with OpenCL 1.2+ on NVIDIA/AMD GPUs.
- Focused on correctness, modularity, and ease of experimentation.
🛣️ Roadmap (no promises)
- Formal validation
- Temperature
- Forces (will be released on next version)
- (Maybe) Graphical interface
- Multiphase fluid
- 3D solids input
- Plasma extension