This function calls a C function to start the coupled simulation with CFD.
function cfdStartCosimulation extends Modelica.Icons.Function; input String cfdFilNam "CFD input file name"; input String[nSur] name "Surface names"; input Modelica.Units.SI.Area[nSur] A "Surface areas"; input Modelica.Units.SI.Angle[nSur] til "Surface tilt"; input Buildings.ThermalZones.Detailed.Types.CFDBoundaryConditions[nSur] bouCon "Type of boundary condition"; input Integer nPorts(min = 0) "Number of fluid ports for the HVAC inlet and outlets"; input String portName[nPorts] "Names of fluid ports as declared in the CFD input file"; input Boolean haveSensor "Flag, true if the model has at least one sensor"; input String sensorName[nSen] "Names of sensors as declared in the CFD input file"; input Boolean haveShade "Flag, true if the windows have a shade"; input Integer nSur "Number of surfaces"; input Integer nSen(min = 0) "Number of sensors that are connected to CFD output"; input Integer nConExtWin(min = 0) "number of exterior construction with window"; input Integer nXi(min = 0) "Number of independent species"; input Integer nC(min = 0) "Number of trace substances"; input Modelica.Units.SI.Density rho_start "Density at initial state"; output Integer retVal "Return value of the function (0 indicates CFD successfully started.)"; end cfdStartCosimulation;