Skip to content
Snippets Groups Projects
Commit 85ff3d39 authored by sergio's avatar sergio
Browse files

BUG: Fixing crankConRod re-reading controlDict

parent 67e41f02
Branches
Tags
No related merge requests found
......@@ -6,6 +6,7 @@
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2017 OpenFOAM Foundation
Copyright (C) 2021 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
......@@ -42,7 +43,6 @@ namespace Foam
void Foam::crankConRod::timeAdjustment()
{
deltaT_ = degToTime(deltaT_);
endTime_ = degToTime(endTime_);
if
......@@ -93,6 +93,7 @@ Foam::crankConRod::crankConRod
startTime_ = degToTime(startTime_);
value() = degToTime(value());
deltaT_ = degToTime(deltaT_);
deltaTSave_ = deltaT_;
deltaT0_ = deltaT_;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment