43 pimpleDict.getOrDefault<scalar>(
"rDeltaTSmoothingCoeff", 0.1)
49 pimpleDict.getOrDefault<scalar>(
"rDeltaTDampingCoeff", 1.0)
60 Info<<
"Time scales min/max:" << endl;
63 volScalarField
rDeltaT0(
"rDeltaT0", rDeltaT);
69 fvc::surfaceSum(mag(
phi))()()
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());
141 Info<<
" Composition = "
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;
const word & executable() const noexcept
Name of executable without the path.
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
basicSpecieMixture & composition
PtrList< volScalarField > & Y
scalar rDeltaTDampingCoeff(pimpleDict.getOrDefault< scalar >("rDeltaTDampingCoeff", 1.0))
scalar alphaY(pimpleDict.getOrDefault< scalar >("alphaY", 1.0))
const dictionary & pimpleDict
scalar rDeltaTSmoothingCoeff(pimpleDict.getOrDefault< scalar >("rDeltaTSmoothingCoeff", 0.1))
scalar alphaTemp(pimpleDict.getOrDefault< scalar >("alphaTemp", 0.05))
volScalarField rDeltaT0("rDeltaT0", rDeltaT)
tmp< volScalarField > trDeltaT
CombustionModel< rhoReactionThermo > & reaction
#define IOWarningIn(functionName, ios)
Report an IO warning using Foam::Warning.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
messageStream Info
Information stream (stdout output on master, null elsewhere)
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
Type gMin(const FieldField< Field, Type > &f)
Type gMax(const FieldField< Field, Type > &f)
Foam::argList args(argc, argv)
#define forAll(list, i)
Loop across all elements in list.