openfoam/tutorials/heatTransfer/chtMultiRegionFoam/externalCoupledHeater/system/externalCoupled
2019-08-30 16:45:45 +02:00

37 lines
815 B
C++

// -*- C++ -*-
// Control for external coupled simulation
externalCoupled
{
type externalCoupled;
libs (fieldFunctionObjects);
log true;
// Directory to use for communication
commsDir "<case>/comms";
// Does external process start first
initByExternal true;
regions
{
// Region name (wildcards allowed)
"(topAir|heater)"
{
// In topAir adjust the minX patch (fixedValue)
// Patch or patchGroup
coupleGroup
{
// Fields to output in commsDir
writeFields (T);
// Fields to read from commsDir
readFields (T);
}
}
}
}
// ************************************************************************* //