Files
OpenFOAM-12/etc/caseDicts/functions/control/stopAtClockTime
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 when the specified clock time in seconds has been reached
and optionally write results before stopping.
\*---------------------------------------------------------------------------*/
type stopAtClockTime;
libs ("libutilityFunctionObjects.so");
stopTime <clockTime>;
action nextWrite;
// ************************************************************************* //