Carbonfly: An easy-to-use python library and grasshopper toolbox for CO2-based indoor airflow and air quality CFD simulation
Abstract
This paper introduces Carbonfly, an open-source Python library and Grasshopper toolbox. This tool enables users to execute CFD simulations for CO 2 -based indoor airflow and air quality analysis within parametric design workflows using the OpenFOAM framework in the background. Validated preset boundary conditions are provided and can be applied to building models with mechanical, natural, or hybrid ventilation systems. Comprehensive documentation, video tutorials, and examples are provided to guide users through the installation and utilization process. Carbonfly addresses the gap in easy-to-use CO 2 simulation tools that can be integrated into the early design stages of buildings within a parametric design workflow in Grasshopper within Rhino. This is particularly significant for architectural design, especially in the context of healthy buildings, especially those centered on indoor air quality.
Fields of Study & Subjects
Infection Control and Ventilation
Lattice Boltzmann Simulation Studies
Heat Transfer and Optimization
Publication details
- Journal / source
- SoftwareX
- Publisher
- Elsevier BV
- Volume
- 34
- Pages
- 102580–102580
- Publication date
- 27 February 2026
- Language
- EN