solver::deltaTFactor: renamed from maxIncreaseDeltaT to clarify that it is a multiplying factor
This commit is contained in:
@ -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;
|
||||
|
||||
@ -35,7 +35,7 @@ namespace Foam
|
||||
}
|
||||
|
||||
|
||||
const Foam::scalar Foam::solver::maxIncreaseDeltaT = 1.2;
|
||||
Foam::scalar Foam::solver::deltaTFactor = 1.2;
|
||||
|
||||
|
||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
||||
|
||||
@ -78,8 +78,8 @@ public:
|
||||
|
||||
// Public Static Data
|
||||
|
||||
//- Maximum fractional increase in deltaT
|
||||
static const scalar maxIncreaseDeltaT;
|
||||
//- deltaT increase factor
|
||||
static scalar deltaTFactor;
|
||||
|
||||
|
||||
private:
|
||||
|
||||
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user