37 lines
815 B
C++
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);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|