functioncfdStartCosimulation

Start the coupled simulation with CFD

Extends from Modelica.Icons.Function (Icon for functions).

Information

This function calls a C function to start the coupled simulation with CFD.

Inputs

TypeNameDefaultDescription
StringcfdFilNamCFD input file name
StringnameSurface names
Modelica.Units.SI.AreaASurface areas
Modelica.Units.SI.AngletilSurface tilt
Buildings.ThermalZones.Detailed.Types.CFDBoundaryConditionsbouConType of boundary condition
IntegernPortsNumber of fluid ports for the HVAC inlet and outlets
String[nPorts]portNameNames of fluid ports as declared in the CFD input file
BooleanhaveSensorFlag, true if the model has at least one sensor
String[nSen]sensorNameNames of sensors as declared in the CFD input file
BooleanhaveShadeFlag, true if the windows have a shade
IntegernSurNumber of surfaces
IntegernSenNumber of sensors that are connected to CFD output
IntegernConExtWinnumber of exterior construction with window
IntegernXiNumber of independent species
IntegernCNumber of trace substances
Modelica.Units.SI.Densityrho_startDensity at initial state

Outputs

TypeNameDefaultDescription
IntegerretValReturn value of the function (0 indicates CFD successfully started.)

Revisions

  • August 16, 2013, by Wangda Zuo:
    First implementation.