impure functionexchange
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | flag | Communication flag to write to CFD | |
| Modelica.Units.SI.Time | t | Current simulation time in seconds to write | |
| Modelica.Units.SI.Time | dt | Requested time step length | |
| Real | u | Input for CFD | |
| Integer | nU | Number of inputs for CFD | |
| Real | yFixed | Fixed values (used for debugging only) | |
| Integer | nY | Number of outputs from CFD |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Time | modTimRea | Current model time in seconds read from CFD | |
| Real | y | Output computed by CFD | |
| Integer | retVal | The exit value, which is negative if an error occurred |