PR-Unet: A Pressure-Conditioned Residual U-Net for Indoor Airflow and Temperature Prediction in Hospital Wards
Rapid assessment of indoor airflow and temperature distributions is essential at the schematic design stage, yet high-fidelity CFD simulation remains too computationally expensive for iterative comparison. Existing data-driven methods compress global driving conditions such as pressure into scalar inputs, which remain weakly coupled to the room geometry. This study proposes a pressure-conditioned residual U-Net (PR-Unet) for rapid assessment in rectangular hospital wards. A pressure-conditioned spatial encoding module (PCSE) combines Fourier feature encoding with feature-wise linear modulation (FiLM) to map the pressure difference, the inlet-outlet relation, and the room dimensions into spatial response fields injected into the U-Net backbone. Residual shortcuts and attention mechanisms further strengthen feature extraction and alleviate gradient degradation. Trained on 214 CFD cases covering naturally ventilated hospital wards with a single opening, variable dimensions, and pressure differences within ±8 Pa, the model jointly predicts the velocity and temperature distributions on the 0.9 m plane. On the test set, PR-Unet achieves velocity MAE, RMSE, and SSIM of 0.112, 0.143, and 0.727, and temperature values of 0.075, 0.092, and 0.974, outperforming the U-Net, CNN-base, and VGG baselines. Ablations and hierarchical feature analyses attribute these gains to selective integration of pressure information in the deeper encoding layers and improved gradient propagation, with millisecond-level inference enabling rapid screening of natural ventilation alternatives.
Authors
- Lei Yuan (ORCID: https://orcid.org/0000-0001-6541-013X)
- Hao Li (ORCID: https://orcid.org/0000-0002-6652-4793)
- Jintao Feng
- Xuesong Xu (ORCID: https://orcid.org/0000-0003-0426-7688)
Institutions
- Shenzhen University (CN)
Publication Details
- Journal
- Buildings
- Published
- 2026-11-26
- DOI
- https://doi.org/10.3390/buildings16234746
- Primary Topic
- Wind and Air Flow Studies
- Type
- article
- Field-Weighted Citation Impact
- 0.00