41 { limitControls::lcNone,
"none" },
42 { limitControls::lcGradient,
"gradient" },
44 { limitControls::lcAlpha,
"alpha" },
54 const DimensionedField<scalar, volMesh>& iF
57 fixedGradientFvPatchScalarField(
p, iF),
70 fixedGradientFvPatchScalarField(
p, iF),
71 limit_(limitControlNames_.get(
"limit",
dict))
73 if (this->readGradientEntry(
dict))
75 fixedGradientFvPatchScalarField::updateCoeffs();
76 fixedGradientFvPatchScalarField::evaluate();
81 extrapolateInternal();
90 const alphaContactAngleTwoPhaseFvPatchScalarField& acpsf,
92 const DimensionedField<scalar, volMesh>& iF,
93 const fvPatchFieldMapper& mapper
96 fixedGradientFvPatchScalarField(acpsf,
p, iF, mapper),
107 fixedGradientFvPatchScalarField(acpsf),
119 fixedGradientFvPatchScalarField(acpsf, iF),
131 if (limit_ == limitControls::lcGradient)
134 patch().deltaCoeffs()
140 else if (limit_ == limitControls::lcZeroGradient)
145 fixedGradientFvPatchScalarField::evaluate();
160 os.writeEntry(
"limit", limitControlNames_[limit_]);
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Enum is a wrapper around a list of names/values that represent particular enumeration (or int) values...
void operator=(const Field< scalar > &)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
commsTypes
Communications types.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual void write(Ostream &) const
Write.
A FieldMapper for finite-volume patch fields.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Represents 0/1 range or concept. Used for tagged dispatch or clamping.
OBJstream os(runTime.globalPath()/outputName)
dimensionSet clamp(const dimensionSet &a, const dimensionSet &range)
static constexpr const zero Zero
Global zero (0).