Skip to content

streamcfd/HVAC-for-OpenFOAM

 
 

Repository files navigation

HVAC-for-OpenFOAM

OpenFOAM v2412+ License: GPL v3

Advanced HVAC simulation toolkit for OpenFOAM, providing specialized solvers and utilities for humidity modeling, thermal comfort analysis, and indoor climate assessment according to international standards (ISO 7730, ASHRAE-55, UTCI).

Features

Core Capabilities

  • Humidity Transport Modeling: Full integration of humidity physics into OpenFOAM's thermophysical framework
  • Thermal Comfort Analysis: Comprehensive comfort metrics (PMV, PPD, UTCI, ASHRAE-55)
  • Solar Radiation Integration: Support for EPW weather data and OpenFOAM's native solar models
  • Buoyancy-Driven Flows: Specialized solvers for natural and mixed convection with humidity effects
  • Building Physics: Advanced boundary conditions for multi-layer walls with thermal mass
  • Wind-Driven Rain: Lagrangian particle tracking for rain droplet impingement

Components

CFD Solvers

  • buoyantHumidityPimpleFoam: Transient solver for buoyant, turbulent flow with humidity transport
  • buoyantHumiditySimpleFoam: Steady-state solver using SIMPLE algorithm
  • buoyantBoussinesqPimpleDyMFoam: Dynamic mesh solver for Boussinesq approximation
  • windDrivenRainFoam: Wind-driven rain simulation with multiple droplet phases

Comfort Analysis Tools

  • comfortFoam: ISO 7730 thermal comfort (PMV, PPD, Draft Rating)
  • UTCIFoam: Universal Thermal Climate Index calculator
  • ASHRAE55Foam: ASHRAE Standard 55 compliance analysis
  • AoAFoam: Age of Air calculation for ventilation assessment

Boundary Conditions

  • buildingElementBC: Advanced thermal boundary condition for building walls with multi-layer support

Libraries

  • humidityRhoThermo: Thermophysical model extension for humidity calculations
  • solarCalculator: Solar position and radiation calculations

Documentation

Solver Documentation

Comfort Analysis Tools

Boundary Conditions

Technical Details

Humidity Modeling

The humidity transport is integrated into OpenFOAM's thermophysical framework through:

  • Extended equation of state with humidity effects
  • Humidity-dependent thermophysical properties
  • Custom boundary conditions (e.g., fixedHumidity)
  • Fields: relative humidity, specific humidity, water vapor partial pressure

Comfort Calculations

All comfort tools follow established standards:

  • ISO 7730: Fanger's PMV/PPD model with local draft rating
  • UTCI: 6th-order polynomial approximation with radiation effects
  • ASHRAE-55: Adaptive comfort model for naturally ventilated spaces

Applications

  • HVAC system design and optimization
  • Indoor air quality assessment
  • Natural ventilation design
  • Building energy simulation with dynamic thermal mass
  • Urban microclimate studies
  • Thermal comfort evaluation
  • Compliance checking with international standards
  • Building facade performance analysis
  • Rain penetration and moisture risk assessment

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.

About

HVACTools for OpenFOAM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 96.7%
  • C 3.3%