modelCFD
Model of a room in which the air is computed using Computational Fluid Dynamics (CFD)
Extends from Buildings.ThermalZones.Detailed.BaseClasses.RoomHeatMassBalance.
Information
Room model that computes the room air flow using computational fluid dynamics (CFD). The CFD simulation is coupled to the thermal simulation of the room and, through the fluid port, to the air conditioning system.
Currently, the supported CFD program is the Fast Fluid Dynamics (FFD) program (Zuo 2010). See Buildings.ThermalZones.Detailed.UsersGuide for detailed explanations.
References
Wangda Zuo. Advanced simulations of air distributions in buildings. Ph.D. Thesis, School of Mechanical Engineering, Purdue University, 2010.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real[nConExtWin] | uSha_fixed | zeros(nConExtWin) | Constant control signal for the shading device (0: unshaded; 1: fully shaded) |
| Dynamics › Conservation equations | |||
| Modelica.Fluid.Types.Dynamics | massDynamics | Modelica.Fluid.Types.Dynamics.DynamicFreeInitial | Formulation of mass balance |
| Initialization | |||
| Medium.AbsolutePressure | p_start | Medium.p_default | Start value of pressure |
| CFD | |||
| Boolean | useCFD | true | Set to false to deactivate the CFD computation and use instead yFixed as output |
| String[:] | sensorName | Names of sensors as declared in the CFD input file | |
| String[nPorts] | portName | {"port_" + String(i) for i in 1:nPorts} | Names of fluid ports as declared in the CFD input file |
| String | cfdFilNam | CFD input file name | |
| Sampling | |||
| Modelica.Units.SI.Time | samplePeriod | Sample period of component | |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealOutput[nSen] | yCFD | Sensor for output from CFD |
Revisions
-
September 16, 2021, by Michael Wetter:
Removed parameterlatbecause the latitude is now obtained from the weather data bus.
This is for IBPSA, #1477. -
May 2, 2016, by Michael Wetter:
Refactored implementation of latent heat gain. This is for issue 515. -
April 21, 2016, by Michael Wetter:
Added parameterabsCfdFilNamas the call to Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath was removed from Buildings.ThermalZones.Detailed.BaseClasses.CFDExchange. This is for Buildings, #506. -
August 1, 2013, by Michael Wetter and Wangda Zuo:
First Implementation.