Shivanshu Siyanwal

Lattice Boltzmann · CFD

QCA CFD

Repository for a discrete solver of the 2D fluid equations based on quantum cellular automata. So far it holds a classical lattice-Boltzmann solver.

Public repository Quantum cellular automata / CFD / Lattice Boltzmann

Layman view

In plain words

A plain-language version is coming soon.

Expert view

The work, step by step

  1. 01

    Aim

    A discrete solver of the 2D fluid equations based on quantum cellular automata, as stated in the repository's README.

  2. 02

    What the repository holds

    A classical D2Q9 lattice-Boltzmann solver, built one component at a time: a YAML configuration manager that checks each file against a JSON schema; the D2Q9 lattice (velocities, weights and the equilibrium distribution); a geometry builder for circular, rectangular and NACA 4-digit aerofoil obstacles; and a core engine with BGK collision and streaming with bounce-back walls, compiled with Numba.

    It also has pytest tests, verification notebooks and an example configuration for flow past a cylinder at Re = 100 on an 800 × 400 grid. No quantum cellular automaton code is in the repository so far.

More threads