Files
OpenFOAM-12/etc/caseDicts/functions/control/stopAtFile
2024-07-06 16:02:47 +01:00

20 lines
749 B
C++

/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 12
\\/ M anipulation |
-------------------------------------------------------------------------------
Description
Stops the run when the file "stop" is created in the case directory.
\*---------------------------------------------------------------------------*/
type stopAtFile;
libs ("libutilityFunctionObjects.so");
file "$FOAM_CASE/stop";
action nextWrite;
// ************************************************************************* //