43 pimpleDict.getOrDefault<scalar>(
"rDeltaTSmoothingCoeff", 0.1)
49 pimpleDict.getOrDefault<scalar>(
"rDeltaTDampingCoeff", 1.0)
60 Info<<
"Time scales min/max:" <<
endl;
77 << 1/
gMax(rDeltaT.primitiveField()) <<
", " 78 << 1/
gMin(rDeltaT.primitiveField()) <<
endl;
84 volScalarField::Internal rDeltaTT
89 Info<<
" Temperature = " 90 << 1/(
gMax(rDeltaTT.field()) + VSMALL) <<
", " 91 << 1/(
gMin(rDeltaTT.field()) + VSMALL) <<
endl;
93 rDeltaT.ref() =
max(rDeltaT(), rDeltaTT);
101 volScalarField::Internal rDeltaTY
121 if (Yref.found(Yi.name()))
124 const scalar Yrefi = Yref.get<scalar>(Yi.name());
126 rDeltaTY.field() =
max 142 << 1/(
gMax(rDeltaTY.field()) + VSMALL) <<
", " 143 << 1/(
gMin(rDeltaTY.field()) + VSMALL) <<
endl;
145 rDeltaT.ref() =
max(rDeltaT(), rDeltaTY);
150 <<
"Cannot find any active species in Yref " << Yref
156 rDeltaT.correctBoundaryConditions();
181 rDeltaT.correctBoundaryConditions();
184 << 1/
gMax(rDeltaT.primitiveField())
185 <<
", " << 1/
gMin(rDeltaT.primitiveField()) <<
endl;
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
scalar maxDeltaT(pimpleDict.getOrDefault< scalar >("maxDeltaT", GREAT))
Type gMin(const FieldField< Field, Type > &f)
basicSpecieMixture & composition
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
Ostream & endl(Ostream &os)
Add newline and flush stream.
scalar alphaY(pimpleDict.getOrDefault< scalar >("alphaY", 1.0))
void smooth(volScalarField &field, const scalar coeff)
volScalarField rDeltaT0("rDeltaT0", rDeltaT)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
psiReactionThermo & thermo
const word & executable() const noexcept
Name of executable without the path.
scalar rDeltaTDampingCoeff(pimpleDict.getOrDefault< scalar >("rDeltaTDampingCoeff", 1.0))
#define IOWarningIn(functionName, ios)
Report an IO warning using Foam::Warning.
Type gMax(const FieldField< Field, Type > &f)
scalar rDeltaTSmoothingCoeff(pimpleDict.getOrDefault< scalar >("rDeltaTSmoothingCoeff", 0.1))
CombustionModel< rhoReactionThermo > & reaction
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
PtrList< volScalarField > & Y
scalar maxCo(pimpleDict.get< scalar >("maxCo"))
const dictionary & pimpleDict
messageStream Info
Information stream (stdout output on master, null elsewhere)
tmp< GeometricField< Type, fvPatchField, volMesh > > surfaceSum(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
tmp< volScalarField > trDeltaT
Foam::argList args(argc, argv)
scalar alphaTemp(pimpleDict.getOrDefault< scalar >("alphaTemp", 0.05))
static constexpr const zero Zero
Global zero (0)