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
| Type | Name | Default | Description |
|---|---|---|---|
| String | cfdFilNam | CFD input file name | |
| String | name | Surface names | |
| Modelica.Units.SI.Area | A | Surface areas | |
| Modelica.Units.SI.Angle | til | Surface tilt | |
| Buildings.ThermalZones.Detailed.Types.CFDBoundaryConditions | bouCon | Type of boundary condition | |
| Integer | nPorts | Number of fluid ports for the HVAC inlet and outlets | |
| String[nPorts] | portName | Names of fluid ports as declared in the CFD input file | |
| Boolean | haveSensor | Flag, true if the model has at least one sensor | |
| String[nSen] | sensorName | Names of sensors as declared in the CFD input file | |
| Boolean | haveShade | Flag, true if the windows have a shade | |
| Integer | nSur | Number of surfaces | |
| Integer | nSen | Number of sensors that are connected to CFD output | |
| Integer | nConExtWin | number of exterior construction with window | |
| Integer | nXi | Number of independent species | |
| Integer | nC | Number of trace substances | |
| Modelica.Units.SI.Density | rho_start | Density at initial state |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | retVal | Return value of the function (0 indicates CFD successfully started.) |
Revisions
-
August 16, 2013, by Wangda Zuo:
First implementation.