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.
T lookupOrDefault(const word &, const T &) const
Find and return a T, if not found return the given default.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
const DimensionedField< scalar, fvMesh > & V() const
Return cell volumes.
static const dictionary & dict(const fvMesh &mesh, const word &algorithmName="PIMPLE")
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)
Type gMin(const UList< Type > &f, const label comm)
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensioned< Type > min(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
Type gMax(const UList< Type > &f, const label comm)
tmp< DimensionedField< scalar, GeoMesh, Field > > mag(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
dimensioned< Type > max(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)