TUD LBM
A lattice Boltzmann method package developed at Delft University of Technology. This package provides tools for simulating fluid dynamics using the lattice Boltzmann method, supporting both single-phase and multi-phase simulations.
The project setup is documented in project_setup.md.
Installation
TUD-LBM requires Python 3.10 or newer.
We recommend using uv for installation because it provides a fast, consistent, and cross-platform workflow for Linux, macOS, and Windows. For most users, uv is the simplest way to create an isolated environment and install the package from the repository.
If you already work in a conda-based scientific Python environment, on an HPC system, or need non-Python/system-level dependencies managed outside the project, conda remains a good optional alternative.
Install uv
Install uv by following the official instructions for your platform:
Linux and macOS
git clone git@github.com:szkuds/tud_lbm.git
cd tud_lbm
uv venv --python 3.14
source .venv/bin/activate
uv pip install .
python -c "import tud_lbm"
Windows
git clone git@github.com:szkuds/tud_lbm.git
cd tud_lbm
uv venv --python 3.14
.venv\Scripts\activate
uv pip install .
python -c "import tud_lbm"
Optional: editable install for contributors
uv pip install -e .[dev]
Optional: conda
If you prefer conda for scientific Python environments, you can still use the conda-based workflow documented in project_setup.md.
Documentation
For full documentation, visit tud-lbm.readthedocs.io.
Quick Start
Python API
from app_setup import SimulationSetup
from runner import Run
setup = SimulationSetup(
grid_shape=(100, 100),
tau=0.6,
nt=10000,
save_interval=1000,
)
sim = Run(setup)
sim.run(verbose=True)
TOML Configuration File
tud_lbm example/config_simple.toml
Interactive CLI
tud_lbm # launches interactive parameter prompts
For the full package reference (module-by-module API, operator tables, and architecture details), see the developer documentation.
Contributing
If you want to contribute to the development of tud_lbm, have a look at the contribution guidelines.
Credits
This package was created with Copier and the NLeSC/python-template.
Metadata
Release files for tud-lbm 2026.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tud_lbm-2026.0.1.tar.gz | 394.5 kB | Without provenance | Details for tud_lbm-2026.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tud_lbm-2026.0.1-py3-none-any.whl | Python 3 | none | any | Details for tud_lbm-2026.0.1-py3-none-any.whl |
Total release size: 667.0 kB
Release files / tud_lbm-2026.0.1.tar.gz
| Download URL | tud_lbm-2026.0.1.tar.gz |
|---|---|
| Size | 394.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2c809a1ed9ad4feda8e59a65621646bf58c6a94f133cb0ef49110d1f08d5b4ab
|
|
BLAKE2b-256 checksum How to use checksums |
5514bbfe545ff3489690d56ecc19296939e9392d99b005fcfe3d40e7d9272555
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.5
|
Release files / tud_lbm-2026.0.1-py3-none-any.whl
| Download URL | tud_lbm-2026.0.1-py3-none-any.whl |
|---|---|
| Size | 272.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bff12c773f0b79454cea6d1a67c54ab7b2776a2acb4c82eddd9a705a8b2be3ff
|
|
BLAKE2b-256 checksum How to use checksums |
05d6844df7c985191deaf143e9f13ec0cb385f4f41866ee454dab6f684d8e5e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.5
|
Security for tud-lbm 2026.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.