etc/caseDicts/postProcessing/control/stopAtTimeStep: Configuration file for functionObjects::stopAtTimeStep

Example:

functions
{
    #includeFunc stopAtTimeStep(minDeltaT=1e-8)
    .
    .
    .
}
This commit is contained in:
Henry Weller
2023-04-13 13:28:27 +01:00
parent 4974cc2e1d
commit 2bb760e912

View File

@ -0,0 +1,20 @@
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: dev
\\/ 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;
// ************************************************************************* //