43 const scalar rDeltaTSmoothingCoeff
48 const scalar rDeltaTDampingCoeff
62 if (pimpleDict.
found(
"maxDeltaT") || minRDeltaT < rootVSmall)
64 const scalar clipRDeltaT = 1/pimpleDict.
lookup<scalar>(
"maxDeltaT");
65 rDeltaT.
max(clipRDeltaT);
66 minRDeltaT =
max(minRDeltaT, clipRDeltaT);
67 maxRDeltaT =
max(maxRDeltaT, clipRDeltaT);
69 if (pimpleDict.
found(
"minDeltaT") || maxRDeltaT > rootVGreat)
71 const scalar clipRDeltaT = 1/pimpleDict.
lookup<scalar>(
"minDeltaT");
72 rDeltaT.
min(clipRDeltaT);
73 minRDeltaT =
min(minRDeltaT, clipRDeltaT);
74 maxRDeltaT =
min(maxRDeltaT, clipRDeltaT);
77 Info<<
"Flow time scale min/max = "
78 << 1/maxRDeltaT <<
", " << 1/minRDeltaT <<
endl;
83 if (rDeltaTSmoothingCoeff < 1.0)
88 Info<<
"Smoothed flow time scale min/max = "
97 rDeltaTDampingCoeff < 1.0
103 *
max(rDeltaT/rDeltaT0, scalar(1) - rDeltaTDampingCoeff);
105 Info<<
"Damped flow time scale min/max = "
Generic GeometricField class.
void max(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 min(const dimensioned< Type > &)
void correctBoundaryConditions()
Correct boundary field.
label timeIndex() const
Return current time index.
virtual label startTimeIndex() const
Return start time index.
A list of keyword definitions, which are a keyword followed by any number of values (e....
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) 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, 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.
tmp< VolField< Type > > surfaceSum(const SurfaceField< Type > &ssf)
void smooth(volScalarField &field, const scalar coeff)
Ostream & endl(Ostream &os)
Add newline and flush stream.
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
dimensioned< scalar > mag(const dimensioned< Type > &)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
Type gMin(const FieldField< Field, Type > &f)
Type gMax(const FieldField< Field, Type > &f)