Files
openfoam/tutorials/compressible/rhoSimpleFoam/squareBendLiq/system/abort
Mark Olesen 00ec58a141 ENH: extend flexibility of abort function object (#1119)
- Now also responds to the contents of the trigger file,
  processing action= contents similar to used with external coupling.

  Previously it only handled an action that was defined in the
  dictionary. With this update, the user can chose a diferent action
  simply by echoing the appropriate action string into the trigger
  file.
2018-12-12 15:39:49 +01:00

18 lines
419 B
C++

// OpenFOAM dictionary -*- C++ -*-
abort
{
type abort;
libs ("libutilityFunctionObjects.so");
file "<case>/ABORT"; // Instead of default name
// action writeNow; // If we want to see immediate results
// Or use default (nextWrite) and force with
// "action=writeNow" in the trigger file
}
// ************************************************************************* //