4 const dictionary& pimpleDict =
pimple.dict();
8 pimpleDict.lookupOrDefault<scalar>(
"maxCo", 0.9)
13 pimpleDict.lookupOrDefault<scalar>(
"maxAlphaCo", 0.2)
18 pimpleDict.lookupOrDefault<scalar>(
"rDeltaTSmoothingCoeff", 0.1)
23 pimpleDict.lookupOrDefault<
label>(
"nAlphaSpreadIter", 1)
28 pimpleDict.lookupOrDefault<scalar>(
"alphaSpreadDiff", 0.2)
33 pimpleDict.lookupOrDefault<scalar>(
"alphaSpreadMax", 0.99)
38 pimpleDict.lookupOrDefault<scalar>(
"alphaSpreadMin", 0.01)
43 pimpleDict.lookupOrDefault<
label>(
"nAlphaSweepIter", 5)
48 pimpleDict.lookupOrDefault<scalar>(
"rDeltaTDampingCoeff", 1.0)
53 pimpleDict.lookupOrDefault<scalar>(
"maxDeltaT", great)
84 rDeltaT.correctBoundaryConditions();
86 Info<<
"Flow time scale min/max = " 87 <<
gMin(1/rDeltaT.primitiveField())
88 <<
", " <<
gMax(1/rDeltaT.primitiveField()) <<
endl;
113 Info<<
"Smoothed flow time scale min/max = " 114 <<
gMin(1/rDeltaT.primitiveField())
115 <<
", " <<
gMax(1/rDeltaT.primitiveField()) <<
endl;
132 Info<<
"Damped flow time scale min/max = " 133 <<
gMin(1/rDeltaT.primitiveField())
134 <<
", " <<
gMax(1/rDeltaT.primitiveField()) <<
endl;
scalar maxCo(readScalar(pimpleDict.lookup("maxCo")))
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
pimpleNoLoopControl & pimple
void spread(volScalarField &field, const volScalarField &alpha, const label nLayers, const scalar alphaDiff=0.2, const scalar alphaMax=0.99, const scalar alphaMin=0.01)
label nAlphaSpreadIter(pimpleDict.lookupOrDefault< label >("nAlphaSpreadIter", 1))
scalar alphaSpreadDiff(pimpleDict.lookupOrDefault< scalar >("alphaSpreadDiff", 0.2))
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
Type gMin(const FieldField< Field, Type > &f)
Ostream & endl(Ostream &os)
Add newline and flush stream.
scalar alphaSpreadMax(pimpleDict.lookupOrDefault< scalar >("alphaSpreadMax", 0.99))
void smooth(volScalarField &field, const scalar coeff)
volScalarField rDeltaT0("rDeltaT0", rDeltaT)
scalar alphaSpreadMin(pimpleDict.lookupOrDefault< scalar >("alphaSpreadMin", 0.01))
GeometricField< scalar, fvPatchField, volMesh > volScalarField
void sweep(volScalarField &field, const volScalarField &alpha, const label nLayers, const scalar alphaDiff=0.2)
scalar maxAlphaCo(pimpleDict.lookupOrDefault< scalar >("maxAlphaCo", 0.2))
const volScalarField & alpha1
scalar rDeltaTDampingCoeff(pimpleDict.lookupOrDefault< scalar >("rDeltaTDampingCoeff", 1.0))
dimensionedScalar pos0(const dimensionedScalar &ds)
Type gMax(const FieldField< Field, Type > &f)
scalar maxDeltaT(pimpleDict.lookupOrDefault< scalar >("maxDeltaT", great))
label nAlphaSweepIter(pimpleDict.lookupOrDefault< label >("nAlphaSweepIter", 5))
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
tmp< GeometricField< Type, fvPatchField, volMesh > > average(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Area-weighted average a surfaceField creating a volField.
dimensioned< scalar > mag(const dimensioned< Type > &)
tmp< GeometricField< Type, fvPatchField, volMesh > > surfaceSum(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
tmp< volScalarField > trDeltaT
scalar rDeltaTSmoothingCoeff(pimpleDict.lookupOrDefault< scalar >("rDeltaTSmoothingCoeff", 0.1))