functionObjects::timeControl: Converted writeInterval and executeInterval to user-time

Resolves bug-report https://bugs.openfoam.org/view.php?id=3807
This commit is contained in:
Henry Weller
2022-02-18 16:34:53 +00:00
parent d40ecd78eb
commit 842a6021f7

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -125,7 +125,7 @@ void Foam::timeControl::read(const dictionary& dict)
case timeControls::cpuTime:
case timeControls::adjustableRunTime:
{
interval_ = dict.lookup<scalar>(intervalName);
interval_ = time_.userTimeToTime(dict.lookup<scalar>(intervalName));
break;
}