4 const dictionary& pimpleDict =
pimple.dict();
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)
53 rDeltaT.correctBoundaryConditions();
55 Info<<
"Flow time scale min/max = " 56 <<
gMin(1/rDeltaT.primitiveField())
57 <<
", " <<
gMax(1/rDeltaT.primitiveField()) <<
endl;
64 Info<<
"Smoothed flow time scale min/max = " 65 <<
gMin(1/rDeltaT.primitiveField())
66 <<
", " <<
gMax(1/rDeltaT.primitiveField()) <<
endl;
74 && runTime.timeIndex() > runTime.startTimeIndex() + 1
81 Info<<
"Damped flow time scale min/max = " 82 <<
gMin(1/rDeltaT.primitiveField())
83 <<
", " <<
gMax(1/rDeltaT.primitiveField()) <<
endl;
scalar maxCo(readScalar(pimpleDict.lookup("maxCo")))
scalar maxDeltaT(pimpleDict.lookupOrDefault< scalar >("maxDeltaT", GREAT))
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
Type gMin(const FieldField< Field, Type > &f)
scalar rDeltaTDampingCoeff(pimpleDict.lookupOrDefault< scalar >("rDeltaTDampingCoeff", 1))
const dictionary & pimple
Ostream & endl(Ostream &os)
Add newline and flush stream.
tmp< surfaceScalarField > interpolate(const RhoType &rho)
void smooth(volScalarField &field, const scalar coeff)
volScalarField rDeltaT0("rDeltaT0", rDeltaT)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
surfaceScalarField phid("phid", fvc::interpolate(psi)*(fvc::flux(HbyA)+rhorAUf *fvc::ddtCorr(rho, U, phi)/fvc::interpolate(rho)))
Type gMax(const FieldField< Field, Type > &f)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
dimensioned< scalar > mag(const dimensioned< Type > &)
tmp< GeometricField< Type, fvPatchField, volMesh > > surfaceSum(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
const volScalarField & psi
tmp< surfaceScalarField > flux(const volVectorField &vvf)
Return the face-flux field obtained from the given volVectorField.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
tmp< volScalarField > trDeltaT
scalar rDeltaTSmoothingCoeff(pimpleDict.lookupOrDefault< scalar >("rDeltaTSmoothingCoeff", 0.1))