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

21 lines
817 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 if the time-step drops below the specified value in seconds
and optionally write results before stopping.
\*---------------------------------------------------------------------------*/
type stopAtTimeStep;
libs ("libutilityFunctionObjects.so");
minDeltaT <minDeltaT>;
action writeNow;
// ************************************************************************* //