Go to the documentation of this file.
42 pimpleDict.lookupOrDefault<scalar>(
"rDeltaTSmoothingCoeff", 0.1)
48 pimpleDict.lookupOrDefault<scalar>(
"rDeltaTDampingCoeff", 1.0)
59 Info<<
"Time scales min/max:" <<
endl;
76 << 1/
gMax(rDeltaT.primitiveField()) <<
", "
77 << 1/
gMin(rDeltaT.primitiveField()) <<
endl;
83 volScalarField::Internal rDeltaTT
88 Info<<
" Temperature = "
89 << 1/(
gMax(rDeltaTT.field()) + VSMALL) <<
", "
90 << 1/(
gMin(rDeltaTT.field()) + VSMALL) <<
endl;
92 rDeltaT.ref() =
max(rDeltaT(), rDeltaTT);
100 volScalarField::Internal rDeltaTY
120 if (Yref.found(Yi.name()))
123 const scalar Yrefi = Yref.get<scalar>(Yi.name());
125 rDeltaTY.field() =
max
140 Info<<
" Composition = "
141 << 1/(
gMax(rDeltaTY.field()) + VSMALL) <<
", "
142 << 1/(
gMin(rDeltaTY.field()) + VSMALL) <<
endl;
144 rDeltaT.ref() =
max(rDeltaT(), rDeltaTY);
149 <<
"Cannot find any active species in Yref " << Yref
155 rDeltaT.correctBoundaryConditions();
180 rDeltaT.correctBoundaryConditions();
183 << 1/
gMax(rDeltaT.primitiveField())
184 <<
", " << 1/
gMin(rDeltaT.primitiveField()) <<
endl;
tmp< GeometricField< Type, fvPatchField, volMesh > > surfaceSum(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
scalar rDeltaTDampingCoeff(pimpleDict.lookupOrDefault< scalar >("rDeltaTDampingCoeff", 1.0))
scalar alphaTemp(pimpleDict.lookupOrDefault("alphaTemp", 0.05))
static constexpr const zero Zero
Global zero.
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"))
scalar rDeltaTSmoothingCoeff(pimpleDict.lookupOrDefault< scalar >("rDeltaTSmoothingCoeff", 0.1))
const dictionary & pimpleDict
scalar alphaY(pimpleDict.lookupOrDefault("alphaY", 1.0))
const word & executable() const
Name of executable without the path.
#define IOWarningIn(functionName, ios)
Report an IO warning using Foam::Warning.
messageStream Info
Information stream (uses stdout - output is on the master only)
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.
scalar maxDeltaT(pimpleDict.lookupOrDefault< scalar >("maxDeltaT", GREAT))
PtrList< volScalarField > & Y
CombustionModel< rhoReactionThermo > & reaction
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
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)
void smooth(volScalarField &field, const scalar coeff)