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;
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)
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.
volScalarField & alpha1(mixture.alpha1())
scalar rDeltaTDampingCoeff(pimpleDict.lookupOrDefault< scalar >("rDeltaTDampingCoeff", 1.0))
scalar alphaSpreadDiff(pimpleDict.lookupOrDefault< scalar >("alphaSpreadDiff", 0.2))
void smooth(volScalarField &field, const scalar coeff)
scalar maxAlphaCo(pimpleDict.lookupOrDefault< scalar >("maxAlphaCo", 0.2))
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const dimensionSet dimTime
label nAlphaSpreadIter(pimpleDict.lookupOrDefault< label >("nAlphaSpreadIter", 1))
void sweep(volScalarField &field, const volScalarField &alpha, const label nLayers, const scalar alphaDiff=0.2)
scalar maxCo(pimpleDict.lookupOrDefault< scalar >("maxCo", 0.9))
scalar rDeltaTSmoothingCoeff(pimpleDict.lookupOrDefault< scalar >("rDeltaTSmoothingCoeff", 0.1))
scalar alphaSpreadMin(pimpleDict.lookupOrDefault< scalar >("alphaSpreadMin", 0.01))
dimensionedScalar pos0(const dimensionedScalar &ds)
Type gMax(const FieldField< Field, Type > &f)
label nAlphaSweepIter(pimpleDict.lookupOrDefault< label >("nAlphaSweepIter", 5))
scalar alphaSpreadMax(pimpleDict.lookupOrDefault< scalar >("alphaSpreadMax", 0.99))
volScalarField rDeltaT0("rDeltaT0", rDeltaT)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
scalar maxDeltaT(pimpleDict.lookupOrDefault< scalar >("maxDeltaT", great))
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