BUG: Fixing crankConRod re-reading controlDict
This commit is contained in:
parent
67e41f02ef
commit
85ff3d39d4
@ -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_;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user