diff --git a/src/engine/engineTime/crankConRod/crankConRod.C b/src/engine/engineTime/crankConRod/crankConRod.C index 7c9446debe3eb2ce49d33ed29302798d5519af1d..b17a85bbd0610e28dd9da9ac76bf8d68fc53064d 100644 --- a/src/engine/engineTime/crankConRod/crankConRod.C +++ b/src/engine/engineTime/crankConRod/crankConRod.C @@ -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_; }