43 const scalar rDeltaTSmoothingCoeff
48 const scalar rDeltaTDampingCoeff
61 if (pimpleDict.
found(
"maxDeltaT") || minRDeltaT < rootVSmall)
63 const scalar clipRDeltaT = 1/pimpleDict.
lookup<scalar>(
"maxDeltaT");
64 rDeltaT.
max(clipRDeltaT);
65 minRDeltaT =
max(minRDeltaT, clipRDeltaT);
66 maxRDeltaT =
max(maxRDeltaT, clipRDeltaT);
68 if (pimpleDict.
found(
"minDeltaT") || maxRDeltaT > rootVGreat)
70 const scalar clipRDeltaT = 1/pimpleDict.
lookup<scalar>(
"minDeltaT");
71 rDeltaT.
min(clipRDeltaT);
72 minRDeltaT =
min(minRDeltaT, clipRDeltaT);
73 maxRDeltaT =
min(maxRDeltaT, clipRDeltaT);
76 Info<<
"Flow time scale min/max = "
77 << 1/maxRDeltaT <<
", " << 1/minRDeltaT <<
endl;
82 if (rDeltaTSmoothingCoeff < 1.0)
87 Info<<
"Smoothed flow time scale min/max = "
96 rDeltaTDampingCoeff < 1.0
102 *
max(rDeltaT/rDeltaT0, scalar(1) - rDeltaTDampingCoeff);
104 Info<<
"Damped flow time scale min/max = "
Generic GeometricField class.
void max(const dimensioned< Type > &)
void min(const dimensioned< Type > &)
Internal & internalFieldRef()
Return a reference to the dimensioned internal field.
const Internal::FieldType & primitiveField() const
Return a const-reference to the primitive field.
void correctBoundaryConditions()
Correct boundary field.
label timeIndex() const
Return current time index.
virtual label startTimeIndex() const
Return start time index.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
T lookupOrDefault(const word &, const T &, const bool writeDefault=writeOptionalEntries > 0) const
Find and return a T, if not found return the given default.
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
const DimensionedField< scalar, volMesh > & V() const
Return cell volumes.
virtual const dictionary & dict() const
Return the solution dictionary.
pimpleNoLoopControl pimple
PIMPLE inner-loop controls.
const Time & runTime
Time.
const fvMesh & mesh
Region mesh.
const surfaceScalarField & phi
Reference to the volumetric-flux field.
tmp< volScalarField > trDeltaT
Optional LTS reciprocal time-step field.
void setRDeltaT()
Set rDeltaT for LTS.
Provides functions smooth spread and sweep which use the FvFaceCellWave algorithm to smooth and redis...
Surface integrate surfaceField creating a volField. Surface sum a surfaceField creating a volField.
void smooth(volScalarField &field, const scalar coeff)
tmp< VolInternalField< Type > > surfaceSum(const SurfaceField< Type > &ssf)
Ostream & endl(Ostream &os)
Add newline and flush stream.
void mag(LagrangianPatchField< scalar > &f, const LagrangianPatchField< Type > &f1)
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
Type gMin(const FieldField< Field, Type > &f)
Type gMax(const FieldField< Field, Type > &f)