Go to the documentation of this file.
8 pimpleDict.lookupOrDefault<scalar>(
"maxCo", 0.8)
13 pimpleDict.lookupOrDefault<scalar>(
"rDeltaTSmoothingCoeff", 0.02)
18 pimpleDict.lookupOrDefault<scalar>(
"rDeltaTDampingCoeff", 1.0)
23 pimpleDict.lookupOrDefault<scalar>(
"maxDeltaT", GREAT)
29 rDeltaT.dimensionedInternalField() =
max
44 rDeltaT.dimensionedInternalField() =
max
46 rDeltaT.dimensionedInternalField(),
53 rDeltaT.correctBoundaryConditions();
55 Info<<
"Flow time scale min/max = "
56 <<
gMin(1/rDeltaT.internalField())
57 <<
", " <<
gMax(1/rDeltaT.internalField()) <<
endl;
64 Info<<
"Smoothed flow time scale min/max = "
65 <<
gMin(1/rDeltaT.internalField())
66 <<
", " <<
gMax(1/rDeltaT.internalField()) <<
endl;
74 && runTime.timeIndex() > runTime.startTimeIndex() + 1
81 Info<<
"Damped flow time scale min/max = "
82 <<
gMin(1/rDeltaT.internalField())
83 <<
", " <<
gMax(1/rDeltaT.internalField()) <<
endl;
tmp< GeometricField< Type, fvPatchField, volMesh > > surfaceSum(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
surfaceScalarField phid("phid", fvc::interpolate(psi) *((mesh.Sf() &fvc::interpolate(HbyA))+rhorAUf *fvc::ddtCorr(rho, U, phi)/fvc::interpolate(rho)))
rDeltaT dimensionedInternalField()
tmp< surfaceScalarField > interpolate(const RhoType &rho)
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensioned< scalar > mag(const dimensioned< Type > &)
scalar rDeltaTSmoothingCoeff(pimpleDict.lookupOrDefault< scalar >("rDeltaTSmoothingCoeff", 0.1))
const dictionary & pimpleDict
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
scalar maxCo(readScalar(pimpleDict.lookup("maxCo")))
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
scalar maxDeltaT(pimpleDict.lookupOrDefault< scalar >("maxDeltaT", GREAT))
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
scalar rDeltaTDampingCoeff(pimpleDict.lookupOrDefault< scalar >("rDeltaTDampingCoeff", 1))
const volScalarField & psi
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
tmp< volScalarField > trDeltaT
const dictionary & pimple
volScalarField rDeltaT0("rDeltaT0", rDeltaT)
Type gMin(const FieldField< Field, Type > &f)
Type gMax(const FieldField< Field, Type > &f)
void smooth(volScalarField &field, const scalar coeff)