41 { limitControls::lcNone,
"none" },
42 { limitControls::lcGradient,
"gradient" },
43 { limitControls::lcZeroGradient,
"zeroGradient" },
44 { limitControls::lcAlpha,
"alpha" },
57 fixedGradientFvPatchScalarField(
p, iF),
70 fixedGradientFvPatchScalarField(
p, iF),
71 limit_(limitControlNames_.
get(
"limit",
dict))
73 if (this->readGradientEntry(
dict))
75 fixedGradientFvPatchScalarField::updateCoeffs();
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)
147 if (limit_ == limitControls::lcAlpha)
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
List of values generated by applying the access operation to each list item.
commsTypes
Communications types.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
virtual void write(Ostream &) const
Write.
string evaluate(label fieldWidth, const std::string &s, size_t pos=0, size_t len=std::string::npos)
String evaluation with specified (positive, non-zero) field width.
OBJstream os(runTime.globalPath()/outputName)
void operator=(const Field< scalar > &)
Copy assignment.
Represents 0/1 range or concept. Used for tagged dispatch or clamping.
Enum is a wrapper around a list of names/values that represent particular enumeration (or int) values...
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const std::string patch
OpenFOAM patch number as a std::string.
dimensionSet clamp(const dimensionSet &a, const dimensionSet &range)
static constexpr const zero Zero
Global zero (0)