.Buildings.ThermalZones.Detailed.BaseClasses.cfdExchangeData

Information

This function calls a C function to conduct the data exchange between Modelica and CFD program during the coupled simulation.

Interface

function cfdExchangeData
  extends Modelica.Icons.Function;
  input Integer flag "Communication flag to CFD";
  input Modelica.Units.SI.Time t "Current Modelica simulation time to CFD";
  input Modelica.Units.SI.Time dt(min = 100*Modelica.Constants.eps) "Requested synchronization time step size";
  input Real[nU] u "Input to CFD";
  input Integer nU "Number of inputs to CFD";
  input Integer nY "Number of outputs from CFD";
  output Modelica.Units.SI.Time modTimRea "Current model time from CFD";
  output Real[nY] y "Output computed by CFD";
  output Integer retVal "Return value for CFD simulation status";
end cfdExchangeData;

Revisions


Generated at 2024-04-28T18:16:21Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos