Field
Windows click to open
Conditions
flat climate · 85 m² · Lisbon · drag to rotatet = 0 min
idea
Airing a flat is a trade-off: fresh air brings CO₂ down, but every minute with the window open costs heat. Most people guess. This prototype simulates it.
approach
At Hochschule München I built FEM and CFD models in Ansys. This is the same workflow, geometry, boundary conditions, solver and post-processing, rebuilt as a lightweight solver that runs live in the browser, so you can change the boundary conditions and see the result immediately.
how it works
- Geometry: 12.0 × 7.6 m floor plan on a 10 cm grid (about 9,000 cells), 2.6 m ceilings, six rooms, double casement windows with 0.9 m sill
- Each room is a zonal model with an air node and a thermal-mass node; radiators (0.5 to 1.6 kW) run on a 21 °C thermostat, envelope losses match older Lisbon masonry
- Airflows follow standard natural-ventilation correlations (CIBSE AM10, BS 5925): buoyancy and wind for single-sided openings, openings and inner doors in series for cross ventilation with a northerly wind
- People exhale 0.25 to 0.30 L/min of CO₂ each, outdoor air is at 420 ppm; after a night with two people and the door closed, the bedroom starts at 2,350 ppm
- A finite-difference grid adds the spatial field (cold plumes at open windows, warm plumes over radiators) and is renormalised to the zonal room values every 3 s time step
- Post-processing in 3D like a CFD result: translucent walls, window and door openings, and the field on a horizontal cut plane at 1.1 m breathing height. Drag to orbit
- Every two simulated minutes the model runs seven window combinations ahead and recommends the one that gets every room below 1,000 ppm fastest with the least heat loss
results
- Bedroom window alone: 2,350 → below 1,000 ppm in about 5 min, for roughly 0.15 kWh of heat
- Cross ventilation (living north + bedroom south): the same in about 2 min, the living room air dips by 2 to 3 °C while the walls lose less than 0.1 °C
- Windows closed: CO₂ creeps back above 1,000 ppm in occupied rooms within the hour
skills
simulation · Ansys workflow · finite differences · building physics · data visualisation · javascript