mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
- 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.
18 lines
419 B
C++
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
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|