Expand description
Lattice Boltzmann Method (LBM) simulation API for Python interop.
Provides PyLbmSimulation: a 2-D D2Q9 LBM solver with BGK collision,
configurable boundaries (no-slip walls, periodic, inlet/outlet),
and full velocity and density field extraction.
Structs§
- LbmStats
- Per-step statistics for a 2-D LBM simulation.
- MrtRelaxation
- MRT relaxation rates for D2Q9 (9 rates, one per moment).
- PyLbm3d
Config - Configuration for a 3-D D3Q19 LBM simulation.
- PyLbm3d
Simulation - A 3-D D3Q19 Lattice-Boltzmann simulation.
- PyLbm
Config - Configuration for the LBM simulation.
- PyLbm
Simulation - A 2-D D2Q9 Lattice-Boltzmann fluid simulation.
Enums§
- LbmBoundary
- Boundary condition type for an LBM cell.
Functions§
- apply_
moving_ wall_ 3d - Apply a moving-wall (Zou-He) velocity boundary to a row of cells.
- zou_
he_ pressure_ outlet - Zou-He outlet boundary condition: prescribe zero-gradient at x = width-1.
- zou_
he_ velocity_ inlet - Zou-He inlet boundary condition: prescribe velocity at x=0.