File size: 818 Bytes
5a600cf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*--------------------------------*- 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;

// ************************************************************************* //