Go to the documentation of this file.
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
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;
tmp< GeometricField< Type, fvPatchField, volMesh > > surfaceSum(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
static constexpr const zero Zero
Global zero (0)
scalar rDeltaTSmoothingCoeff(pimpleDict.getOrDefault< scalar >("rDeltaTSmoothingCoeff", 0.1))
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
Ostream & endl(Ostream &os)
Add newline and flush stream.
basicSpecieMixture & composition
scalar maxCo(pimpleDict.get< scalar >("maxCo"))
const dictionary & pimpleDict
#define IOWarningIn(functionName, ios)
Report an IO warning using Foam::Warning.
messageStream Info
Information stream (stdout output on master, null elsewhere)
scalar alphaTemp(pimpleDict.getOrDefault< scalar >("alphaTemp", 0.05))
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
PtrList< volScalarField > & Y
CombustionModel< rhoReactionThermo > & reaction
scalar maxDeltaT(pimpleDict.getOrDefault< scalar >("maxDeltaT", GREAT))
const word & executable() const noexcept
Name of executable without the path.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
scalar alphaY(pimpleDict.getOrDefault< scalar >("alphaY", 1.0))
tmp< volScalarField > trDeltaT
volScalarField rDeltaT0("rDeltaT0", rDeltaT)
Type gMin(const FieldField< Field, Type > &f)
Foam::argList args(argc, argv)
Type gMax(const FieldField< Field, Type > &f)
scalar rDeltaTDampingCoeff(pimpleDict.getOrDefault< scalar >("rDeltaTDampingCoeff", 1.0))
void smooth(volScalarField &field, const scalar coeff)