Commit Graph

8 Commits

Author SHA1 Message Date
aa89c7806e timeControl: Moved timeToNextWrite functionality from timeControlFunctionObject
to simplify the interface and make it more extensible
2023-06-13 15:54:09 +01:00
b37141932a functionObjects::timeControl: Corrected initialisation of executionIndex_
needed by the adjustableRunTime option for restarted cases.
2022-03-03 15:54:32 +00:00
842a6021f7 functionObjects::timeControl: Converted writeInterval and executeInterval to user-time
Resolves bug-report https://bugs.openfoam.org/view.php?id=3807
2022-02-18 16:34:53 +00:00
562df25d13 functionObjects::timeControl: Updated to use beginTime
for consistency with the handling of restarts in Time.  See

commit 7aca9bfa78
Author: Henry Weller <http://cfd.direct>
Date:   Fri Dec 11 13:37:16 2020 +0000

    Time: Added beginTime used to rationalise the write times when restarting

    Now if a case is restarted from an arbitrary time, for example one generated at
    a premature stop condition, or with an increased writeInterval, the subsequent
    time directories written are referenced to the original start time of the case
    rather than the restart time.
2021-05-21 11:50:40 +01:00
5eaf74c3a4 dictionary scalar lookup: simplified syntax using the type templated lookup function
Replaced
    readScalar(dict.lookup("name"))
with
    dict.lookup<scalar>("name")
2019-11-27 14:56:32 +00:00
8ed92de98c src/OpenFOAM: Rationalised use of enumerations by using the C++11 scoped form
for

    db/functionObjects/timeControl/timeControl.H: timeControls
    primitives/bools/Switch/Switch.H: class switchType
    primitives/strings/fileName/fileName.H: fileType
    primitives/strings/wordRe/wordRe.H: compOption
2018-08-25 07:26:51 +01:00
bf54ab67e1 Updated OpenFOAM Foundation web-link in headers 2018-07-06 21:42:54 +01:00
3c272484c5 functionObjects: Separated 'execute' and 'write' functions to simplify support for post-processing 2016-05-13 09:05:29 +01:00