From 842a6021f7311fb728763fe2ece1cf6ab39c23f7 Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Fri, 18 Feb 2022 16:34:53 +0000 Subject: [PATCH] functionObjects::timeControl: Converted writeInterval and executeInterval to user-time Resolves bug-report https://bugs.openfoam.org/view.php?id=3807 --- src/OpenFOAM/db/functionObjects/timeControl/timeControl.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OpenFOAM/db/functionObjects/timeControl/timeControl.C b/src/OpenFOAM/db/functionObjects/timeControl/timeControl.C index 07e584f5d1..5c4c55bff4 100644 --- a/src/OpenFOAM/db/functionObjects/timeControl/timeControl.C +++ b/src/OpenFOAM/db/functionObjects/timeControl/timeControl.C @@ -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(intervalName); + interval_ = time_.userTimeToTime(dict.lookup(intervalName)); break; }