21 lines
817 B
C++
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;
|
|
|
|
// ************************************************************************* //
|