Carbonfly for indoor CO2 CFD simulation

:tada: I’d like to share our newly developed plugin with you, which might serve as a great complement to Ladybug Tools (especially Butterfly :butterfly:) and help everyone out.

Carbonfly is an easy-to-use Python library and Grasshopper toolbox for indoor CO2 CFD simulation, based on OpenFOAM and the Windows Subsystem for Linux (WSL).

:key: Key Features:

  1. Indoor ventilation CFD: Run steady-state and transient simulations of CO2 transport, airflow, and buoyancy-driven temperature.

  2. Rhino-to-CFD in “one click”: Use Rhino/Grasshopper geometry. Carbonfly handles meshing and other setups - no OpenFOAM text files to edit.

  3. Plug-and-play boundaries: Presets for inlets, outlets, natural ventilation, and dynamic respiration etc., with sensible defaults you can tweak.

  4. Fast what-if studies: Change flow rate, supply temperature, CO2 concentration, and diffuser placement and quickly rerun for comparison.

  5. Visualization-ready outputs: Exports a standard OpenFOAM case for viewing CO2 / velocity / temperature / pressure etc. in ParaView.

  6. In-Grasshopper post-processing & IAQ assessment: Directly read OpenFOAM results inside Grasshopper for visualization and CO2-based Indoor Air Quality (IAQ) assessment based on different standards.

Workflow overview:
carbonfly_overview

Post-processing in ParaView (Dynamic Respiration):
05_dynamic_respiration_ParaView

Post-processing in Grasshopper, including IAQ assessment using EN 16798-1:
carbonfly_postprocessing

Carbonfly is free and open source! See our GitHub Repo: https://github.com/RWTH-E3D/carbonfly

:film_projector: Video tutorials are also provided to help you get started:

  1. How to Install
  2. How to Visualize Results in ParaView
  3. Build a simple rooom from scratch

I would greatly appreciate any suggestions or feedback!! :smile:

Btw, I’m very thankful to Butterfly :butterfly:, which was my gateway to OpenFOAM! :heart:

11 Likes

Thank you for sharing your great work! I have been trying to add CO2 to the Butterfly for a while, but I’ve never had the chance to work on it. It’s great to see that you’ve picked it up!

3 Likes

This is so cool! Thank you for sharing!

1 Like

Awesome new plugin, I will follow it !!!

1 Like