TL;DR
This paper introduces a semi-automated pipeline that transforms a simple 360-degree video from a consumer camera into simulation-ready 3D assets for Computational Fluid Dynamics (CFD) airflow analysis. By combining Neural Radiance Fields (NeRF) and text-prompted segmentation (SAM 3), the workflow eliminates the need for expensive laser scanners or tedious manual CAD modeling, enabling rapid, low-cost ventilation studies of real-world indoor spaces.
What Problem Does This Paper Address?
Evaluating indoor air quality and ventilation effectiveness has become a major priority, particularly in shared spaces like classrooms. Computational Fluid Dynamics (CFD) is the tool of choice for simulating how air and contaminants move through a room. However, deploying CFD at scale faces a massive bottleneck: geometry preparation.
Currently, creating an accurate 3D model of a room requires either expensive terrestrial laser scanners ($50k–$200k) or days of manual CAD modeling from physical measurements. Furthermore, standard "Scan-to-BIM" tools generate monolithic surface representations rather than decomposing a room into distinct, manipulable objects (like individual chairs and tables). This makes parametric "what-if" testing—such as rearranging furniture or changing occupancy layouts—prohibitively time-consuming and expensive.
Methods
The authors present an end-to-end workflow that bridges the gap between casual video capture and rigorous engineering simulation:
- Data Acquisition & Reconstruction: A consumer 360-degree camera (under $500) captures the room in minutes. The video frames are projected into perspective views, camera poses are calculated via Structure-from-Motion (COLMAP), and a dense 3D point cloud is generated using a Neural Radiance Field (NeRF) framework.
- Semantic Processing: The pipeline utilizes the Segment Anything Model 3 (SAM 3) with text prompts (e.g., "chair") to isolate objects in 2D. These masks are projected into 3D space and refined using multi-view consensus voting and depth-band filtering to eliminate background noise and occlusion artifacts.
- Geometry Alignment & Healing: Individual object point clouds are extracted using an octree structure. Occlusion gaps (like missing chair legs) are repaired using a graph-based healing algorithm. Standardized objects (chairs) are fitted to CAD templates using Iterative Closest Point (ICP) alignment, while variable objects (tables) are generated procedurally using Principal Component Analysis (PCA).
- Human-in-the-Loop Editing: A lightweight, browser-based GUI allows users to quickly review the automated placements, correct misalignments, rearrange layouts, or batch-place occupant mannequins.
- CFD Simulation: The final watertight STL geometries are automatically prepared for OpenFOAM, utilizing a steady Reynolds-averaged Navier-Stokes (RANS) closure to solve the airflow field, followed by a transient passive-scalar transport solve to model contaminant clearance.
Datasets
The workflow was evaluated on three real-world university environments captured by the authors:
- A Mixed-Furniture Classroom (32 chairs, 17 tables) used for parametric layout testing.
- A Chair-Dominant Classroom (47 chairs, 3 tables) to test generalizability.
- A large, tiered Lecture-Hall Auditorium (242 chairs, 2 tables) to test geometric and computational scalability.
The underlying CFD framework was validated against the canonical IEA Annex 20 two-dimensional benchmark room dataset to ensure accurate representation of wall-attached supply jets and room-scale recirculation.
Key Insights and Ideas
- Non-Monotonic Clearance Behavior: Intuitively, one might think adding furniture simply restricts airflow and slows down ventilation. However, the simulations revealed that adding tables actually decreased pollutant clearance times compared to a room with just chairs. Broad horizontal table surfaces redistribute descending air currents, fundamentally altering the room's recirculation zones.
- The Necessity of Per-Room Capture: Cross-room comparisons demonstrated that ventilation performance cannot be reliably extrapolated from a reference room. Minor differences in room envelopes, furniture distributions, and HVAC layouts dominate clearance behavior, justifying the need for a low-cost method to capture individual room geometries.
- Decoupling Recall and Precision: Instead of trying to filter out point cloud noise early during the NeRF reconstruction phase, the authors deliberately preserved a noisy point cloud to maximize geometric recall. Precision was recovered downstream where semantic context (SAM 3 masks) could cleanly separate true object geometry from floating artifacts.
Key Results
- Processing Speed: The entire capture-to-geometry pass takes only 2 to 5 hours per room on a standard consumer workstation (NVIDIA RTX 4070 GPU).
- Scalability: The pipeline successfully scaled from a 4.5 million cell mesh for an empty classroom up to a 27.9 million cell mesh for the large tiered auditorium.
- Quantifiable IAQ Metrics: In the mixed-furniture classroom sequence, the calculated half-clearance time ($t_{50}$) varied non-monotonically: 130.4 seconds for the empty room, rising to 143.3 seconds with chairs added, and dropping back down to 135.6 seconds when tables were introduced.
Limitations and Future Work
- Simplified Physics: To maintain a comparative framework, the current CFD model is isothermal and treats occupant mannequins as passive solid obstructions. It omits thermal plumes from human body heat and breathing jets, which are critical for absolute exposure predictions.
- Idealized HVAC Boundary Conditions: Supply diffusers are represented as flat rectangular patches with uniform downward velocity rather than resolving complex louvered or swirl diffuser hardware.
- Instance Separation Failures: The octree-based connected-component algorithm struggled with the vertically stacked, tiered seating of the auditorium, resulting in a 12.8% overcount (detecting 273 chairs instead of the actual 242) because seat backs and cushions from adjacent rows were spatially close enough to merge.
Future work includes coupling the reconstructed geometry directly with unfitted finite-element methods (like the Shifted Boundary Method) to completely bypass the need for watertight surface generation and mesh healing.
Summary updated