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>(
"maxDeltaT", great)
53 pimpleDict.lookupOrDefault<scalar>(
"minDeltaT", small)
89 rDeltaT.correctBoundaryConditions();
91 Info<<
"Flow time scale min/max = " 92 <<
gMin(1/rDeltaT.primitiveField())
93 <<
", " <<
gMax(1/rDeltaT.primitiveField()) <<
endl;
118 Info<<
"Smoothed flow time scale min/max = " 119 <<
gMin(1/rDeltaT.primitiveField())
120 <<
", " <<
gMax(1/rDeltaT.primitiveField()) <<
endl;
127 pimpleDict.found(
"rDeltaTDampingCoeff")
128 && runTime.timeIndex() > runTime.startTimeIndex() + 1
134 pimpleDict.lookup<scalar>(
"rDeltaTDampingCoeff")
140 (scalar(1) - rDeltaTDampingCoeff)*
rDeltaT0 143 Info<<
"Damped flow time scale min/max = " 144 <<
gMin(1/rDeltaT.primitiveField())
145 <<
", " <<
gMax(1/rDeltaT.primitiveField()) <<
endl;
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
FvWallInfoData< WallInfo, label > label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const scalar minDeltaT(pimpleDict.lookupOrDefault< scalar >("minDeltaT", small))
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)
Type gMin(const FieldField< Field, Type > &f)
Ostream & endl(Ostream &os)
Add newline and flush stream.
volScalarField & alpha1(mixture.alpha1())
const label nAlphaSweepIter(pimpleDict.lookupOrDefault< label >("nAlphaSweepIter", 5))
void smooth(volScalarField &field, const scalar coeff)
const volScalarField rDeltaT0("rDeltaT0", rDeltaT)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const dimensionSet dimTime
void sweep(volScalarField &field, const volScalarField &alpha, const label nLayers, const scalar alphaDiff=0.2)
const scalar maxAlphaCo(pimpleDict.lookupOrDefault< scalar >("maxAlphaCo", 0.2))
const label nAlphaSpreadIter(pimpleDict.lookupOrDefault< label >("nAlphaSpreadIter", 1))
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
const scalar alphaSpreadDiff(pimpleDict.lookupOrDefault< scalar >("alphaSpreadDiff", 0.2))
const scalar maxCo(pimpleDict.lookupOrDefault< scalar >("maxCo", 0.9))
const scalar alphaSpreadMax(pimpleDict.lookupOrDefault< scalar >("alphaSpreadMax", 0.99))
dimensionedScalar pos0(const dimensionedScalar &ds)
Type gMax(const FieldField< Field, Type > &f)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const scalar rDeltaTSmoothingCoeff(pimpleDict.lookupOrDefault< scalar >("rDeltaTSmoothingCoeff", 0.1))
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 > &)
const scalar rDeltaTDampingCoeff(pimpleDict.lookupOrDefault< scalar >("rDeltaTDampingCoeff", 1.0))
const scalar alphaSpreadMin(pimpleDict.lookupOrDefault< scalar >("alphaSpreadMin", 0.01))
tmp< GeometricField< Type, fvPatchField, volMesh > > surfaceSum(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
tmp< volScalarField > trDeltaT
const scalar maxDeltaT(pimpleDict.lookupOrDefault< scalar >("maxDeltaT", great))