Rocking Bioreactor 2D — Simulation Suite¶
Two-phase CFD solver for a rocking bioreactor, implemented in Basilisk. Developed at the Harris Lab (Brown University) in collaboration with the Cimpeanu group (Warwick).
Publication: doi: 10.1016/j.ijmultiphaseflow.2025.105375 | preprint: arXiv: 2504.05421
The solver resolves two-phase (VOF) hydrodynamics and dissolved-oxygen transport (Henry's law), producing kLa (volumetric oxygen mass-transfer coefficient) and shear-stress KPIs as optimization objectives. A multi-fidelity Bayesian optimization suite sits on top, using a KRR-LR-GPR surrogate to trade off cheap low-fidelity screening runs against expensive high-fidelity corrections.
How this documentation is organized¶
- Tutorials — learning by doing, start to finish, with real output shown. Start here if you're new to the project.
- How-to guides — task-focused instructions assuming you already know the basics: sweep one parameter, sweep any parameter combination, batch sampling, run the BO loop, generate videos, choose a fidelity level, diagnose a stalled chain.
- Reference — dry, structured lookup material: params.json fields, output files, the fidelity table, scripts, project layout.
- Explanation — the "why": checkpoint restart and warm-start chains, non-dimensionalization, multi-fidelity Bayesian optimization, and an honest account of where validation against Kim et al. (2024) actually stands.
New to CFD/HPC terminology used throughout? Read the Glossary first. Setting up an environment? See Setup.
Repository layout at a glance¶
├── src/ # Basilisk solver (BioReactor.c + headers)
├── scripts/ # Python orchestration (simulate, sweep, BO loop, postprocess, ...)
├── examples/ # Runnable, self-contained tutorial companions
├── config/ # YAML/JSON configs for each workflow
├── tests/ # Unit, integration, and numerical-verification tests
├── experiments/ # Sweep metadata, chain manifests, generated figures
├── docs/ # Reference papers (Kim et al. 2024/2025) and the canonical validation case
└── mkdocs.yml # This documentation site (see Reference → Project structure for the full tree)
See Project structure for the complete annotated tree.