solver::deltaTFactor: renamed from maxIncreaseDeltaT to clarify that it is a multiplying factor

This commit is contained in:
Henry Weller
2023-02-01 10:59:19 +00:00
parent 5982e04bc8
commit 448e0382a9
4 changed files with 5 additions and 5 deletions

View File

@ -192,7 +192,7 @@ bool Foam::functionObjects::adjustTimeStepToCombustion::execute()
// time-step if it can.
const_cast<Time&>(time_).setDeltaTNoAdjust
(
min(deltaT/solver::maxIncreaseDeltaT, time_.deltaTValue())
min(deltaT/solver::deltaTFactor, time_.deltaTValue())
);
return true;

View File

@ -35,7 +35,7 @@ namespace Foam
}
const Foam::scalar Foam::solver::maxIncreaseDeltaT = 1.2;
Foam::scalar Foam::solver::deltaTFactor = 1.2;
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //

View File

@ -78,8 +78,8 @@ public:
// Public Static Data
//- Maximum fractional increase in deltaT
static const scalar maxIncreaseDeltaT;
//- deltaT increase factor
static scalar deltaTFactor;
private:

View File

@ -103,7 +103,7 @@ bool Foam::functionObjects::adjustTimeStepToChemistry::execute()
// if it can.
const_cast<Time&>(time_).setDeltaTNoAdjust
(
min(deltaT/solver::maxIncreaseDeltaT, time_.deltaTValue())
min(deltaT/solver::deltaTFactor, time_.deltaTValue())
);
return true;