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

TypeNameDefaultDescription
Real[nConExtWin]uSha_fixedzeros(nConExtWin)Constant control signal for the shading device (0: unshaded; 1: fully shaded)
Dynamics › Conservation equations
Modelica.Fluid.Types.DynamicsmassDynamicsModelica.Fluid.Types.Dynamics.DynamicFreeInitialFormulation of mass balance
Initialization
Medium.AbsolutePressurep_startMedium.p_defaultStart value of pressure
CFD
BooleanuseCFDtrueSet to false to deactivate the CFD computation and use instead yFixed as output
String[:]sensorNameNames 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
StringcfdFilNamCFD input file name
Sampling
Modelica.Units.SI.TimesamplePeriodSample period of component

Components

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealOutput[nSen]yCFDSensor for output from CFD

Revisions