Bijay Karki

WindFlow

A free Windows app that shows architects how wind moves air through a building and how much fresh air each room gets.

Air · Released · 2026

Solver
D3Q19 lattice Boltzmann, regularised BGK, Smagorinsky LES
Throughput
About 1,300 to 3,400 million cell updates a second on an RTX 5070 Ti
Standard grid
About 5.1 million cells at 170 mm on the sample house
Validation
Meets all four metrics on Tominaga & Blocken's cross-ventilation case at the finer grid
Release
v0.2.0 · Windows 10/11 · MIT licence
A quick tour: set the wind, then open or close a window.
Air streaming through a house, seen from every side.
Air moving over and through an apartment block.
Load a building model and see the air move through it.
Air curls through the rooms, with each room listed beside it.
Technical notesProblem, data and physics, method, resultReadClose

Problem

Natural ventilation is decided early, with the size and position of every window, but checking how wind actually moves air through a building usually needs CFD software and a specialist.

WindFlow puts that check in the architect's hands at design stage. Move the window, see the air.

Data and physics

The input is the building itself: a model exported by WindFlow's Revit add-in, or an OBJ, glTF, FBX, STL, 3DS, DAE or PLY file. A live link keeps it in step with Revit while you edit.

The wind is a direction and a speed: steady for Preview and Standard runs, gusty to EN 1991-1-4 for High.

Method

The solver is a D3Q19 lattice Boltzmann method with regularised BGK collision and Smagorinsky LES (constant 0.16), written in C# and run on the GPU through ILGPU, on CUDA or OpenCL with a CPU fallback. A Standard run on the sample house is about 5.1 million cells at 170 mm; an RTX 5070 Ti updates about 1,300 to 3,400 million cells a second, depending on load.

Fresh air per room comes from the age of air: air changes per hour equal 3600 divided by the mean age. Each opening reports its flow in m³/s, rooms are flagged stuffy, draughty or uneven, and results export as a PDF report, screenshots and a turntable video.

Result

Version 0.2.0 is the first public release: a Windows installer that needs no admin rights, or a portable zip. It is free under the MIT licence.

Validation is published in the repo. Against Tominaga and Blocken's cross-ventilation measurements (2015) it meets all four acceptance metrics at 40 cells across the building height (FAC2 0.78, FB 0.12, NMSE 0.22, q 0.75); at 20 cells it does not. Two other measured rooms, MINIBAT and IEA Annex 20, miss on q, and single-sided ventilation is not validated yet. A heated cavity matches the reference Nusselt number within 1%.

Its stated limits: results differ by about 35% per room and 20% for the whole building between grid sizes, so they are for comparing options, not for a single exact number or a code-compliance check.

Built with: C# · .NET 10 · ILGPU · Avalonia · Direct3D 12 · Velopack · GitHub

Next project · WaterHydroReconA free Windows app for run-of-river hydropower screening: click a river, get a scheme with its uncertainty attached.